Project

General

Profile

Actions

Bug #294

closed

ONNV terminal definitions are old and crufty

Added by Alasdair Lumsden over 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
Start date:
2010-10-03
Due date:
% Done:

60%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

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

xterm.ti (2.08 KB) xterm.ti Gary Mills, 2010-10-03 06:44 PM

Related issues

Has duplicate illumos gate - Bug #381: Fix Home,end,pgup,pgdw in terminfo for xtermClosed2010-10-26

Actions
Actions #1

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.

Actions #2

Updated by Matt Lewandowsky over 12 years ago

  • Assignee set to Matt Lewandowsky
  • % Done changed from 0 to 60
Actions #3

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 :-)

Actions #4

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 <>
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 <>
Reviewed by: Garrett D'Amore <>
Approved by: Garrett D'Amore <>

Actions

Also available in: Atom PDF