/
Change behaviour of Delete key [1]
Change behaviour of Delete key [1]
Change behaviour of Delete key
Thursday, July 24, 2003 8:03 PM - Gregor Heine
Hi,
I'm using Xmanager on Solaris 9. When I open an xterm window, the Delete key behaves like the Backspace key, as it deletes the character left of the cursor. How do I change the behaviour of the Delete key so that it deletes the character under the cursor instead? I'm using the vanilla UK_102 keyboard mapping.
I'm using Xmanager on Solaris 9. When I open an xterm window, the Delete key behaves like the Backspace key, as it deletes the character left of the cursor. How do I change the behaviour of the Delete key so that it deletes the character under the cursor instead? I'm using the vanilla UK_102 keyboard mapping.
Re: Change behaviour of Delete key
Friday, July 25, 2003 5:27 PM - zookeyan
Hi,
You can get what you want by changing SHELLs.
I'm using 'bash' for my SHELL.
I'v edit $HOME/.inputrc and $HOME/.Xdefaults like this:
$vi .inputrc
set editing-mode emacs
"^?":delete-char
$vi .Xdefaults (if not exist, you should make it)
XTerm*VT100*translations: #override \
BackSpace: string(0x7F)\n\
Delete: string("^?")
Or you could use 'tcsh' for the 'Delete' key to delete characters under the cursor.
Then just do like this:
$bindkey "^?" delete-char
Unfortunately I couldn't find it when using the SHELL, csh or ksh.
There might be good solutions about csh, ksh.
Just try to find them.
Bye.
You can get what you want by changing SHELLs.
I'm using 'bash' for my SHELL.
I'v edit $HOME/.inputrc and $HOME/.Xdefaults like this:
$vi .inputrc
set editing-mode emacs
"^?":delete-char
$vi .Xdefaults (if not exist, you should make it)
XTerm*VT100*translations: #override \
BackSpace: string(0x7F)\n\
Delete: string("^?")
Or you could use 'tcsh' for the 'Delete' key to delete characters under the cursor.
Then just do like this:
$bindkey "^?" delete-char
Unfortunately I couldn't find it when using the SHELL, csh or ksh.
There might be good solutions about csh, ksh.
Just try to find them.
Bye.
Previous views: 115
, multiple selections available,
Related content
Bug in default Backspace setting for TERM=xterm [3]
Bug in default Backspace setting for TERM=xterm [3]
More like this
The Backspace and Del key works incorrectly... [2]
The Backspace and Del key works incorrectly... [2]
More like this
Sending Delete for Backspace in key map for DEC VMS [2]
Sending Delete for Backspace in key map for DEC VMS [2]
More like this
Backspace not Recognized
Backspace not Recognized
More like this
Issue with 'Backspace' and 'Delete' Keys [17]
Issue with 'Backspace' and 'Delete' Keys [17]
More like this
xshell 3.0 backspace and del not work [3]
xshell 3.0 backspace and del not work [3]
More like this