[Bug 1103320] New: screen running with TERM=screen.xterm is broken
http://bugzilla.opensuse.org/show_bug.cgi?id=1103320 Bug ID: 1103320 Summary: screen running with TERM=screen.xterm is broken Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: All Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: mls@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: alexander_naumov@opensuse.org, jdsn@suse.com Found By: Development Blocker: --- After upgrading from 42.3 to 15.0 I found that bug 940459 was re-introduced in 15.0 when the ncurses changes in bug 935736 were reverted by Werner via https://build.opensuse.org/request/show/497888 People say "use tmux instead" and indeed, tmux uses TERM=screen in its virtual windows, which works fine. But screen uses TERM=screen.xterm which breaks alt-leftarrow (and ctrl-leftarrow) to skip a word in bash prompt - even locally. and over ssh to a SLE-12 it is a total mess anyway (see old bugs). Also, you cannot override it using a 'term screen' in .screenrc or with ^A:term screen or with screen -T screen which is a bug in itself because documentation clearly says that this should work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1103320
http://bugzilla.opensuse.org/show_bug.cgi?id=1103320#c1
--- Comment #1 from Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1103320
http://bugzilla.opensuse.org/show_bug.cgi?id=1103320#c9
--- Comment #9 from Dr. Werner Fink
Wow, I wonder how that screen.xterm entry got created. It's insane that there are so many differences.
from patched ncurses-6.1/misc/terminfo.src I see
#:screen.xterm|screen for modern xterm,
#: use=screen.xterm-new,
+screen.xterm|screen customized for modern xterm,
+ bce@, bw,
+ invis@, kIC@, kNXT@, kPRV@, meml@, memu@,
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
+ %t;7%;%?%p4%t;5%;%?%p5%t;2%;m,
+ E3@, use=screen+italics, use=screen+fkeys,
+ use=xterm+x11mouse, use=xterm-suse,
with standard xterm-suse used for xterm entry
+# For SuSE Linux: Werner Fink
+ comment-out "screen.xterm" entry, and inherit screen.xterm-256color from xterm-new (report by Richard Birkett) -TD
with the entry added from the discussion on the mailing list. If you have an better entry then let me know or DISABLE screen.* entries -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com