Public bug reported:

Binary package hint: screen

Popping around on the internet, I discovered that there is a pretty well known 
problem, namely backspace not working correctly in many cases (wuff wuff!).  
The standard solution has been some form of TERM hackery, doing something like 
aliasing:
TERM=screen screen

for the screen command.  This seems to work be simply defeating the term
lookup on most systems, so that screen loads the terminfo for 'screen'
only.  The description of how screen finds it's terminfo is here (
http://www.delorie.com/gnu/docs/screen/screen_102.html ), so I went to
go look for why screen works on my Mac, but not my Ubuntu box.  Well, I
can't tell you why it works on my Mac, but I was able to get screen
working properly by setting a TERM besides 'screen'.  It seems to be
looking for files in /usr/share/terminfo, and if it finds one, it works.
Otherwise, from the docs:

When screen tries to figure out a terminal name for itself, it first
looks for an entry named screen.term, where term is the contents of your
$TERM variable. If no such entry exists, screen tries `screen' (or
`screen-w', if the terminal is wide (132 cols or more)). If even this
entry cannot be found, `vt100' is used as a substitute.

Maybe this is a terminfo bug?

** Affects: screen (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Screen missing terminfo entries for 'xterm'
https://bugs.launchpad.net/bugs/190852
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to