1833779 Members
2110 Online
110063 Solutions
New Discussion

Setup stty erase key

 
Sachin Patel
Honored Contributor

Setup stty erase key

Hi All,
I am loggin in to hp system from linux workstation by using xterm -e rlogin system1. In this case by backspace key is not working.
If I put stty erase '^?' in .cshrc then by backspace key work but then it wont work for xterm which is coming from HP workstation.

So I think solution is to find out where is the rlogin coming from. if it is from linux then set stty to ^? or left default.

Is there a way to find this out in remote system?

Sachin
Is photography a hobby or another way to spend $
3 REPLIES 3
Darrell Allen
Honored Contributor

Re: Setup stty erase key

Hi Sachin,

My preference is to change the setting in my terminal emulation instead of .profile or .cshrc. I've not tried this but xterm on HPUX has an "-tm" argument where you can set erase similarly to how stty would. At least that's how I read the man page.

Does xterm on your Linux system have the same or a similar argument?

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Darrell Allen
Honored Contributor

Re: Setup stty erase key

Just remembered I have access to a Red Hat 7.2 (?) system. man xterm on it also refers to "-tm".

I'll be interested to know if it works. Unfortunately I don't have time to test it now.

Good luck,
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
MANOJ SRIVASTAVA
Honored Contributor

Re: Setup stty erase key

Hi Sachin


you may like to look at this site :

http://www.eleves.ens.fr:8080/home/madore/linux/linux-old.html


Manoj Srivastava