1827286 Members
3386 Online
109717 Solutions
New Discussion

stty: : not a typewriter

 
SOLVED
Go to solution

stty: : not a typewriter

I receive all days in mail root this message :
"stty: : not a typewriter".
What do I do ?

Thank you for your answer.
Best regards.

Arnaud
Administrator Unix
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor
Solution

Re: stty: : not a typewriter

Hello Arnaud,

Check next link, gives you more info and solutions.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x27ed5f260cafd4118fef0090279cd0f9,00.html

Robert-Jan.
Jean-Louis Phelix
Honored Contributor

Re: stty: : not a typewriter

hi,

Yes, you're executing a script (perhaps from crontab) which uses 'stty' command while it shouldn't because the process is not attached to a terminal.

You could use something like :

[ -t 1 ] && stty kill ^U intr ^C susp ^Z

Rather than forcing stty in your .profile.

Regard.
It works for me (© Bill McNAMARA ...)
john korterman
Honored Contributor

Re: stty: : not a typewriter

Hi,
it probably comes from your cron jobs whenever stty or another command requiring terminal input is activated.
Bill Hassel suggests several solutions in this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcfb23fa720f3d5118ff40090279cd0f9,00.html

regards,
John K.
it would be nice if you always got a second chance