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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stty :tcgetattr: a specified file does not support ....

Status
Not open for further replies.

kingjx

MIS
Jul 27, 2001
16
US
the ioctl function.

Ithink this is something to do with a script running when not associated with a terminal.

I know in csh you can stop this by

stty: tcgetattr: A specified file does not support the ioctl system call.
Not a terminal

adding a directive to your .cshrc that will not execute tty-dependent commands when you are in the batch environment.

if(! $?BATCH ) then
set notify
set ignoreeof
set filec
endif


What about for ksh ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top