- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Console control codes showing
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
04-07-2003 06:21 AM
04-07-2003 06:21 AM
Console control codes showing
Without rebooting the server, is there a way to turn off these extraneous codes?
This was caused by the accidental display of binary information to STDOUT.
Any ideas would be appreciated.
Thanks,
Drew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:42 AM
04-07-2003 06:42 AM
Re: Console control codes showing
# stty sane
A log-out and login should also correct.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:46 AM
04-07-2003 06:46 AM
Re: Console control codes showing
Try "stty sane".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 06:48 AM
04-07-2003 06:48 AM
Re: Console control codes showing
Try this -
$ reset
- that should reset your term.
also logout and login and that automatically resets your terminal.
hope that helps.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 07:51 AM
04-07-2003 07:51 AM
Re: Console control codes showing
I logged in as root and tried both
stty sane
and
reset
Neither had any effect. This problem continues to exist even when I log out of root and is evident on the console screen after loggin out. Seems that annoying setting is deeper rooted. Rebooting the server may be the only option unless we can come up with another solution to try.
Thanks,
Drew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 09:31 AM
04-07-2003 09:31 AM
Re: Console control codes showing
a 700/9x HP terminal?
if so, turn the power to the console off, hold the D key down, turn on hte power and continue to hold hte d key pressed for about 10 seconds, hten release, this should reset the terminal to defaults.
If not, use the special function keys (F1-F8) and you will find by selecting hte SYSTEM keys, you get a number of them showing things like REMOTE, FUNCTIONS etc. if one is activated, there will be a * in hte box. the ONLY one htat should have this is the REMOTE key.
Essentiall you have the console set to show Function Characters back to hte screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2003 09:40 AM
04-07-2003 09:40 AM
Re: Console control codes showing
# stty
outputs the following -
speed 9600 baud; evenp hupcl -cread
min = 1; intr = ^C; erase = DEL; kill = ^U;
swtch
brkint -inpck icrnl -ixany ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke
what does stty on your terminal output? see if there's any significant difference.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 07:20 AM
04-08-2003 07:20 AM
Re: Console control codes showing
So my problem on the HP 9000 with a HP 910 terminal/monitor did not get resolved using a power off of the monitor and then holding the D key down while powering the monitor on. That just printed a couple of lines of d's across the screen, so that fix may not apply to this type of terminal. Interesting idea though.
The terminal set up as displayed by stty:
# stty
speed 9600; -parity hupcl clocal
intr = ^C; erase = ^H; kill = ^U;
eol2 = ^@; swtch = ^@;
brkint -inpck icrnl ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke
So comparing this to what was provided above did show differences but based on my understanding of these settings from the man pages, I didn't see that these differences would cause the problem.
So as it turns out, someone in the know on site said that we could shutdown the system and so I did. Problem solved!
Thanks to those of you that provided those possible solutions, they will be used the next time I screw up a console window!
Dre