HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: not a typewriter
Operating System - HP-UX
1833842
Members
2440
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:42 AM
05-16-2001 12:42 AM
not a typewriter
Hi All,-
I get the following mesg when I type the command "mail"
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
What exactly the error means ?
Thanks
Animesh
I get the following mesg when I type the command "mail"
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
What exactly the error means ?
Thanks
Animesh
Did you take a backup?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:56 AM
05-16-2001 12:56 AM
Re: not a typewriter
Check in .kshrc for any tty and stty commands. You will find you
have a few tty and stty in there.
You shouldn't have this type of command in .kshrc, they need to
be moved to .profile.
1. Removed tty and stty commands from .kshrc and move them to
.profile.
2. Log out.
3. Log back in.
4. Run the at command and it should work fine.
have a few tty and stty in there.
You shouldn't have this type of command in .kshrc, they need to
be moved to .profile.
1. Removed tty and stty commands from .kshrc and move them to
.profile.
2. Log out.
3. Log back in.
4. Run the at command and it should work fine.
love computers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:56 AM
05-16-2001 12:56 AM
Re: not a typewriter
Hi
This sort of message normally comes when a .profile is executed in background and the stty command does not link to a physical tty.
There should be a check in a .profile not to execute the tty specific commands in background.
example
mytty=$(tty)
if [ "$mytty" = "not a tty" ]; then
echo not terminal > /dev/null
else
#
# commands and environment variables not appropriate for desktop
#
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty "1500:5:b70:3b:0:3:1c:8:15:4:0:0:0:1500:5:b70:3b:3:1c:8:15:4:0:0:0:ff:ff:f
f:4:0:1a:11:13:0:0:1a:0:0:18:50"
You should check that mail has not been aliased by a whence mail
Normal
>whence mail
/usr/bin/mail
alias it
>alias mail="ps -ef"
>whence mail
ps -ef
However please note that the message you see is in no way damaging.
regards
Steve Steel
This sort of message normally comes when a .profile is executed in background and the stty command does not link to a physical tty.
There should be a check in a .profile not to execute the tty specific commands in background.
example
mytty=$(tty)
if [ "$mytty" = "not a tty" ]; then
echo not terminal > /dev/null
else
#
# commands and environment variables not appropriate for desktop
#
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty "1500:5:b70:3b:0:3:1c:8:15:4:0:0:0:1500:5:b70:3b:3:1c:8:15:4:0:0:0:ff:ff:f
f:4:0:1a:11:13:0:0:1a:0:0:18:50"
You should check that mail has not been aliased by a whence mail
Normal
>whence mail
/usr/bin/mail
alias it
>alias mail="ps -ef"
>whence mail
ps -ef
However please note that the message you see is in no way damaging.
regards
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 03:29 AM
05-16-2001 03:29 AM
Re: not a typewriter
Best bet is that you have a stty command in your .kshrc file and it is
getting executed every time you startup a shell, including the vi escape.
Possible fix is "test -t && stty erase ^H".
getting executed every time you startup a shell, including the vi escape.
Possible fix is "test -t && stty erase ^H".
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP