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: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,

so xterm works, but:

# echo $TERM ; infocmp | fgrep kdch
vt220


... 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.

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

Martin


Home | Main Index | Thread Index | Old Index