- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting stty defaults
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
Discussions
Discussions
Forums
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
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
тАО09-06-2001 05:16 AM
тАО09-06-2001 05:16 AM
setting stty defaults
(The actual command was ...
stty stop $(echo "\023\c") ...because I could not find any other way
to get a ^S entered for the command.)
Then checked it with "stty -a The next day, I checked it again and "stop" was set back to
I am having trouble finding any clues as to what could be changing the default setting back to
I would like to know how the /dev/ttyconf file is used. There is no "man ttyconf". The only reference I could find is in "man stty".
"ll /dev/ttyconf" shows
crw------- 1 root sys 0 0x000001 Nov 11 1999 /dev/ttyconf
"lssf /dev/ttyconf" shows
pseudo driver cn minor 0x000001 /dev/ttyconf
The reason for all of this is a Fax sending package that was not working properly. I suspect that X-ON/X-OFF flow control was not working. Making the change fixed the problem, but I would like to make it permanent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 08:26 AM
тАО07-11-2002 08:26 AM
Re: setting stty defaults
Here is the solution.
1st, to set x-off you can use "stty stop '^S' < /etc/ttyconf" Where "^" and "S" are two separate characters. stty will see them and convert them to a single control character.
2nd, suggestion was to add a line to the /etc/inittab file like this...
stt1::sysinit:/sbin/stty erase '^S' (which did not work for my situation)
3rd, actual cause was a daily make_tape_recovery run to create an Ignite tape. This was changing it for a still unknown reason. So I added a line to our Ignite script to reset it.
EG:/sbin/stty stop '^S' intr '^?' quit '^\'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 08:30 AM
тАО07-11-2002 08:30 AM
Re: setting stty defaults
To set ^S manully, try
shift+6 for "^" and then "S".
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 08:53 AM
тАО07-11-2002 08:53 AM
Re: setting stty defaults
This is intresting , create a file and may be use cntrl v and cntrl s together , or you may like to change to a new shell.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 10:09 AM
тАО07-11-2002 10:09 AM
Re: setting stty defaults
This is the only way that I know of to make this change permanant.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2002 10:50 AM
тАО07-11-2002 10:50 AM
Re: setting stty defaults
I don't think that anyone read my 2nd followup message.
I already solved this one myself.
If you really want points, answer why Ignite would be changing this setting and how to fix it. That is the 10 point question.