Discussion Locked

stty: : Not a typewriter

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

On HP-Unix boxes I have seen log messages from root that always include the text" stty:: Not a typewriter"

What exactly does it mean?
What is the message coming from?

5 replies

by jacq

i am not familiar specifically with HP-Unix but in general i could give you some clues.

stty is a command used in unix to set specific behaviour for serial devices including "real serial" devices as typewriters and "virtual serial" devices like console sessions and telnet sessions.

if you issue a stty command for the wrong type of device you will get such a error message as you describe.

so probably you have a line in your .profile or another script you use without starting it specifically which issues that command.

maybe even such an "old days" thingy as to select red for computer and black for user, or the upper- lowercase version of that.

so i would suggest you scan these scripts .. starting with the .profile .. and find the stty command and compare it against the manual pages (man stty).

but...
this type of message will not influence the working of your computer or session. it probably is in on a just-in-case basis.

hope this helps :)

by cpfeiffe

The answer about checking your .profile is right (.cshrc if csh is used for the login shell). Also check your .login and don't forget /etc/profile. A lot of people forget /etc/profile.

This discussion is closed to new replies.