- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stty : not typewriter
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
06-24-2004 11:15 PM
06-24-2004 11:15 PM
stty :: not typewriter . Has anyone seen this and could you suggest any fixes please ?
Many thnaks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 11:18 PM
06-24-2004 11:18 PM
Re: stty : not typewriter
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 11:19 PM
06-24-2004 11:19 PM
Solutionthis is very common:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=35433
read what the master, James has to say.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 11:19 PM
06-24-2004 11:19 PM
Re: stty : not typewriter
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85520
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 11:21 PM
06-24-2004 11:21 PM
Re: stty : not typewriter
"how can i configure what keys do what if you haven't got a keyboard!!"
When seen through cron, these errors can happily be ignored. If you really don't want to see them, redirect output to /dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 11:48 PM
06-24-2004 11:48 PM
Re: stty : not typewriter
#!/bin/sh tty -s if [ "$?" != "0" ] then . /etc/profile fi exp FILE=/disc5/Exports/Full_Prod0.dmp GRANTS=Y CONSTRAINTS=Y FULL=Y USERID=system/passwd exit 0
And in /etc/profile I have
tty -s istty=$? [ "$istty" = "0" ] && trap "echo logout" 0 Coul you please suggest wether there is any way of rewriting this which will get rid of my error - ~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 12:05 AM
06-25-2004 12:05 AM
Re: stty : not typewriter
that contains all your common environment variable that
your scripts need. Source *that*, and quit sourcing the profile.
Either that, or rewrite the profile so that stty command
execution is conditional on being sourced via tty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 01:17 AM
06-25-2004 01:17 AM
Re: stty : not typewriter
tty -s [ "$?" = "0" ] && stty erase '^?'
and it is okay now
Many Thanks