- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling "alt-b" through stty
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
тАО07-09-2008 07:31 AM
тАО07-09-2008 07:31 AM
does anyone know how to disable the key sequence "Alt-b".
Im on a v11-2 itanium box with that sequence currently jumping to the begining of the line at the prompt. It also breaks out of the package im using.
My current stty settings are
root@lonunix1-/ujobs/flag_dir/open_ports: stty -a
speed 38400 baud; line = 0;
rows = 44; columns = 137
min = 1; time = 0;
intr = ^C; quit = ^\; erase = DEL; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp
werase
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3
root@lonunix1-/ujobs/flag_dir/open_ports:
does anyone know what stty sequence i need to issue to disable? Many thks
Solved! Go to Solution.
- Tags:
- stty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 10:02 AM
тАО07-09-2008 10:02 AM
Solutionxd -xc
This will not give you any prompt, but as you type the special characters, finish the input with CTRL-d and you'll see the hex (and visible ASCII codes) on the line. Hint: 0a is the carriage return (\n) and the rest of the characters can be decoded with the ascii man page.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 02:54 AM
тАО07-10-2008 02:54 AM
Re: Disabling "alt-b" through stty
I got the following results...
# xd -xc
"keyboard break key press" <----
ctrl-d (2ce)
then the returned values were....
0000000 1a00
1a
0000001
how would i disable/ trap these ?
Many thks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 04:23 AM - edited тАО09-11-2011 06:39 AM
тАО07-10-2008 04:23 AM - edited тАО09-11-2011 06:39 AM
Re: Disabling "alt-b" through stty
>I got the following results...
# xd -xc
"keyboard break key press" <----
ctrl-d (2ce)
What did you type? (Using "2ce" instead of the word "twice" is not conductive to effective communication.)
Yes, I had to use control-D twice. Why did you mention "break key"?
>then the returned values were....
0000000 1a00
This is a control-Z.
I typically have that as: stty susp ^z