Bug #294
closedONNV terminal definitions are old and crufty
60%
Description
With a default install of snv_134 or oi_147, running something like vim inside screen produces very broken colours and what not.
I've attached an example screenshot someone has provided of an example issue. I believe their TERM is set to xterm-color, and they have exited vim from inside a screen. This combination is reportedly working fine in Linux.
I'm not a terminal emulation expert so I apologise for this problem description being a bit vague, but the default terminal definitions (termcap/terminfo?) break things like vim inside screen.
There seems to be a blog post about the issue by Lewellyn over here with a potential fix:
http://www.greenviolet.net/articles/2010/02/24/opensolaris-updated-terminal-databases.gv
Although a simple and seemingly unimportant issue, I'd actually classify this as reasonably important as it is the simple annoyances that put off new users and converts from other UNIX platforms who expect this stuff to work out of the box.
Installing ncurses and setting "export TERMINFO=/usr/gnu/share/terminfo" works well as a workaround.
Files
Related issues
Updated by Gary Mills over 12 years ago
Here's one that replaces the standard xterm terminfo to
provide colour support in gnome-terminal. I've been using
it with Solaris 9 and 10 for several years. I took pains to
ensure that it's compatible with those systems.
Updated by Matt Lewandowsky over 12 years ago
- Assignee set to Matt Lewandowsky
- % Done changed from 0 to 60
Updated by Yuri Pankov about 12 years ago
- Difficulty set to Medium
- Tags set to needs-triage
Are there any showstoppers/problems for this to be resolved? I'd really love to see sun-color changes go into the tree :-)
Updated by Garrett D'Amore almost 12 years ago
- Category set to lib - userland libraries
- Status changed from New to Resolved
- Tags deleted (
needs-triage)
changeset: 13444:c1ed50709bff
tag: tip
user: Yuri Pankov <yuri.pankov@nexenta.com>
date: Tue Aug 30 15:16:15 2011 -0700
description:
294 ONNV terminal definitions are old and crufty
1149 tic issues useless warnings about filenames longer than 16 chars
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>