- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enabling/Disabling CAPS key in HP-UX Korn Shell pr...
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
03-27-2001 12:46 PM
03-27-2001 12:46 PM
I am trying to automatically enable CAPS key thru my shell program, so that when user inputs, the characters entered will be in CAPITAL Letters, and once he exist the function, the CAPS key should be turned off. I beleive this can be done using "tput" command.
Can anyone help ????
Thanks
Bala
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 12:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 01:27 PM
03-27-2001 01:27 PM
Re: Enabling/Disabling CAPS key in HP-UX Korn Shell program
Thanks again.
I tried stty olcuc. Characters are now displayed in CAPS. After that I tired to put it back to normal mode i.e caps off... it doesnot work. I tried stty iuclc
Please help
Thanks
Bala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 01:37 PM
03-27-2001 01:37 PM
Re: Enabling/Disabling CAPS key in HP-UX Korn Shell program
From the man page for stty,
stty olcuc
will map lowercase characters to uppercase.
stty -olcuc
will turn off this setting.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 01:43 PM
03-27-2001 01:43 PM
Re: Enabling/Disabling CAPS key in HP-UX Korn Shell program
# stty iuclc # disable CAPS key
# stty -iuclc # (re)enables CAPS key
# stty lcase # echo input & ouput in uppercase
# stty -lcase # reset
See man pages for 'stty'.
...JRF...