tech-kern archive

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

Re: wsvt25 backspace key should match terminfo definition



On Wed, 24 Nov 2021, Greg Troxel wrote:

wscons is supposed to abstract all this, so making wsvt25-foo for
different keyboard classes seems like the wrong approach.

[...]

The underlying issue is that the norms of some systems are to map that
"user wants to delete left easily reachable key" to BS and some want to
map it to DEL.  I see these as the PC tradition and the UNIX tradition.

So I think NetBSD should decide that we're following the UNIX tradition
that this key is DEL, have wskbd map it that way for all keyboard types,
and have stty erase start out DEL.  (Plus of course carrying this across
ssh so cross-deletionism works, which I think is already the case.)


On Wed, 24 Nov 2021, Michael van Elst wrote:

Some people also helped themselves with $TERMCAP. But I wouldn't
create new entries for ps2 or usb (if anything use '-bs'/'-del').


Or, maybe have `erase=^?' and also a new `erase2=^H' like FreeBSD does? It
seemed extravagant to have 2 erase chars. when I first encountered it, but,
now I'm beginning to see why...

-RVP



Home | Main Index | Thread Index | Old Index