[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/47674: vt220 terminfo description seems incorrect
>Synopsis: vt220 terminfo description seems incorrect
>Arrival-Date: Wed Mar 20 23:05:00 +0000 2013
>Originator: Valery Ushakov
>Release: NetBSD 6.1
I use putty with TERM=vt220. I've upgraded one of my machines to
netbsd6 recently and noticed that cursor keys started to misbehave in
some apps, e.g. in GNU screen copy mode.
After a bit of poking around I found that the terminfo description of
vt220 seems incorrect. I assume we get it from ncurses as upstream
and the problem is present there too.
* It declares cursor keys to transmit normal \E[ aka CSI sequences:
* But it declares init string that switches them to applicaction mode
that uses \EO aka SS3 sequences:
Use misc/screen package.
Run it with TERM=vt220.
Enter copy mode with C-a [ (assuming default C-a escape)
Try to use cursor keys.
Observe copy mode aborted.
Change is2 to use \E[?1l (normal mode) instead of \E[?1h (app mode).
Main Index |
Thread Index |