Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backspace key doesn't work

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
Hi,

I automatically get put into cshell when I log onto a unix server. I've changed my .mycshrc file as follows:

umask 007
#ksh
setenv VISUAL vi
setenv PS1='$HOSTNAME'": "'$PWD'" > "
#setenv PS1='$USER'" on "`hostname`": "'$PWD'" > "
exec ksh -o vi
alias pckeys 'xmodmap $HOME/Xkeycodes-PC'
setenv NORTE

How would I change the settings so that the backspace deletes things instead of the delete key and or so that both the delete key and the backspace key delete things?

Thanks in advance,

Chris
 
> exec ksh -o vi
> alias pckeys 'xmodmap $HOME/Xkeycodes-PC'
The alias command will never execute as your csh will transfer control to ksh and then terminate.
Anyway you can maybe take a look at
Code:
 man stty
for the erase character.

Hope This Help
PH.
 
stty erase "^H" seems to work for me.

If you are using a terminal emulator (Exceed, Reflection, etc.), there would be a setting for the keyboard that will control the backspace key, too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top