>From the replies I got it looks like I was the only one that didn't know
the answer to my own question. :-) Thanks to all that replied. Here is
the question then the answer.
> One of my users asked me why this happens and I can't seem to find
> the answer.
>
> When I vi test and do the command !!date it says
>
> stty: : No such device or address
> stty: : No such device or address
> Wed Jan 8 16:51:53 PST 1997
####################################################
The user had stty commands outside of an if statement in his .cshrc,
example:
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
set history=32
endif
stty erase '^?'
stty werase '^h'
####################################################
To fix the problem I moved the stty commands above the endif, exampe:
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
set history=32
stty erase '^?'
stty werase '^h'
endif
So, with this setup the stty commands won't be exicuted when the user
does a shell escape from within vi.
Thanks Everybody!
-- Craig Mason System Administrator800-333-4613 x3493 cmason@diasonics.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT