[SunHELP] stty erase

Brian Hechinger sunhelp at sunhelp.org
Tue Mar 27 21:21:20 CST 2001


> | 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

how does this work?  i don't think it does.  this works if they were sharing
a home directory via NFS, but that's not what the question is about.  he needs
to know where his user is telnetting from.

i don't have a solution off hand, but i'll think about it, that's a tricky one.

cheers,

-brian



More information about the SunHELP mailing list