NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Delete key no longer works after update to 6.0_BETA2



On Thu, May 31, 2012 at 03:48:05PM +0200, Martin Husemann wrote:
> On Thu, May 31, 2012 at 03:35:12PM +0200, Martin Husemann wrote:
> > Actually if I try (inside rxvt) with TERM=vt220 it does misbehave,
> > but it works fine if I use xterm.
> 
> Looking only a bit closer shows:
> 
> # echo $TERM; infocmp | fgrep kdch          
> xterm
>       kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM,

kdch1 isn't what stty erase maps to.
It's kbs
 
> so xterm works, but:
> 
> # echo $TERM ; infocmp | fgrep kdch
> vt220

...probably kbs=^H
 
> ... and no key, no works!
> 
> However, I do not know if a real vt220 has a Delete key at all. I only have a
> vt420, which has one - and so has the terminfo entry.
> 
> So, basically the answer is: edit /etc/ttys and change vt220 to wsvt25
> for your ttyE* devices. Or do the equivalent change to your shell startup
> files.

that might be an improvement...
 
> I am not sure why the term type has not been fixed on most architectures,
> a few get it right (dreamcast, ews4800, macppc, sparc64).

Sounds as if the difference lies in the console driver (kernel).

-- 
Thomas E. Dickey <dickey%invisible-island.net@localhost>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index