'backspace' differs between sun machine and windows with exceed
Posted on 2002-07-01
I work with a Sun workstation and a Windows PC.
Largely for cut and paste reasons and not having to remember which keyboard I'm supposed to use - I use exceed on my PC to work on the unix machine.
Strangely, the 'backspace' key behaves differently between the two environments, however.
My shell is tcsh. 'edit' is set.
On the actual Sun machine, 'backspace' works as a "backward-delete-char", which seems to be like ^h
Via Exceed, 'backspace' works as a "delete-char-or-list-or-eof", which seems to be like ^d.
There seem to be a lot of ways to map keys in unix:
- set/unset 'edit'
- use bindkey
There's ^h and ^d type characters; then there's "backward-delete-char" and "delete-char-or-list-or-eof", etc.
I don't understand how they all connect together and where the backspace key is getting messed up.
For xterm, I can set a macro in exceed that does a "^h" character, but that doesn't work for other things like emacs, which doesn't interpret ctrl-h as "backward-delete-char".
Please help me understand this!!