Operating System - HP-UX
1826351 Members
3849 Online
109692 Solutions
New Discussion

Re: locking and unlocking terminal

 
SOLVED
Go to solution
Shivkumar
Super Advisor

locking and unlocking terminal

Hi,

i am using xterm of reflection X software tool to connect hpux boxes. It seems there some key strokes which if typed unknowingly locks the terminal and no further character can be typed on the terminal. It locks the terminal. What are the key sequences be typed to unlock the terminal ?

Thanks,
Shiv
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: locking and unlocking terminal

Hi Shiv:

You can try:

# stty sane

Regards!

...JRF...
Lee Harris_5
Valued Contributor
Solution

Re: locking and unlocking terminal

Hi Shiv,

By default in most terminal emulators, the keystrokes CTRL+S and CTRL+Q perform a flow control function equivalent to Xon and Xoff.

CTRL+S will perform Xoff and freeze your terminal. If you get into this situation, press CTRL+Q to perform Xon which will make the terminal start responding again.

Hope that helps - Lee
Arunvijai_4
Honored Contributor

Re: locking and unlocking terminal

Hi Shiv,

You can probably use the following,

http://docs.hp.com/en/B1171-90147/rn03.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: locking and unlocking terminal

Shalom Shiv,

This should be preventable.

There is probably a conflcit between termcap, TERM type and stty settings.

Check stty -a

You should be able to prevent the locking.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com