[SunHELP] stty erase
Dale Ghent
sunhelp at sunhelp.org
Tue Mar 27 16:04:14 CST 2001
On Tue, 27 Mar 2001, zarif wrote:
| Hi guys, it's an old problem but I could find anything in the FAQ.
| Here it is.
|
| I used to login from my IRIX box to Sun server (Solaris 7) and had
| stty erase ^H
| line in the .profile.
| Now I have a couple of guys sharing the same account with me. They have to
| login to the box, but they are on Linux stations and they have to type
| stty erase ^?
|
| Is there any way to determine a type of a machine I'm coming from (to put
| some "if - else" statement into .profile)?
| Or is there better solution?
TYPE = `uname -s`
if [ "$TYPE" = "Linux" ]; then
stty erase ^?
else
stty erase ^H
fi
/dale
More information about the SunHELP
mailing list