[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.9, vt220 and control-U (ie stty kill)
On a freshly installed 2.9 system, typing ctrl-U doesn't
appear to kill the line properly:
% please erase me^U^R
please erase me^M
please: Command not found.
%
while on 2.8 it works fine. ctrl-W (word erase) works
fine. Taking the TERMCAP env variable, changing every ':'
to a newline to make diff function nicely gets:
% diff tcap_2.8 tcap_2.9
8,9c8,9
< co#110
< li#55
---
> co#80
> li#24
48c48
< kd=\EOB
---
> kd=\E[B
50,52c50,52
< kl=\EOD
< kr=\EOC
< ku=\EOA
---
> kl=\E[D
> kr=\E[C
> ku=\E[A
What's interesting is that the window sizes are the same
(2.8 picked that up, 2.9 didn't), and the substitution of '['
for 'O' in the other lines. I suspect that's the problem, but
lack enough time w/ termcap to easily fix the problem.
Is anybody else having this problem? Anybody fixed it yet?
Tweaking inside of /etc/termcap (well, /usr/share/misc/termcap)
doesn't have an effect, and I'm not seeing how the compiled
(termcap.db, terminfo.db) are built. Clues welcomed.
Thanks much,
-eric