NetBSD-Users archive

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

backspace in wscons console sends ^H to processes


I have a problem with my backspace key in wscons console (vt220 emulated); backspace appears to send ^H, which is correctly interpreted by the line editor, but not by child processes, e.g.

    $ cat
    hello wold^H^Hrld

My assumption is this can be fixed by remapping the keycode the backspace is sending with something like:

    wsconsctl -w map+="keycode CODE = backspace"

But after trawling through apropos I haven't found a command to monitor keycode input and so don't know what keycode backspace is actually sending, if that makes sense...

Or am I completely on the wrong track? Any guidance at all would be appreciated.

Thank you for your time,

Paul W. Rankin

The single best thing you can do for the world is delete your social media accounts.

Home | Main Index | Thread Index | Old Index