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 derfloh 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
Joined
Jul 27, 2001
Messages
16
Location
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