- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring Functions Keys on HP-UX
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
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
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-10-2003 08:33 AM
тАО07-10-2003 08:33 AM
Configuring Functions Keys on HP-UX
I have a Bar Code Reader that they are connected to UNIX. But, need it to use Functions Key (f1, F2, etc).
How i do the configurations for this Functions?
REgards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 08:42 AM
тАО07-10-2003 08:42 AM
Re: Configuring Functions Keys on HP-UX
If you need to know what they are then do an untic (for the current TERM setting) or untic vt100 to specify a vt100. You then look at the kf1= , kf2= , ... for each function key.
If you want to query the terminfo database for each sequence, you do something like this (assuming TERM is set and exported):
KF1=$(tput kf1)
KF2=$(tput kf2)
${KF1} will not contain the key sequences of F1.
Typically what you are trying to do is beyond the scope of simple scripting and requires the curses library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 01:57 PM
тАО07-17-2003 01:57 PM
Re: Configuring Functions Keys on HP-UX
The applications which is installed on the Server have other Funtions Keys activated and it is working fine!!!.
Just the Function Key F5 isn't working, i don't know how to do to this Key work.
This Key by default is a BREAK, i press the key and do it some like ENTER, open a new line on the prompt of UNIX.
This is because, stty is configured to -ignbrk by default.
If i deactive this key (stty ignbrk) and i press the key F5, nothing happen. :S
Any idea, about the configure this Key for a particular applications or function???
Regards...
Pablo Salazar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2003 09:23 PM
тАО07-17-2003 09:23 PM
Re: Configuring Functions Keys on HP-UX
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 03:28 PM
тАО07-21-2003 03:28 PM
Re: Configuring Functions Keys on HP-UX
The development people send the key secuence for F5 defined on the application "\1BOT".
So, any idea about the configure this secuence on the Key F5???
Regards...
Pablo Salazar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 05:32 PM
тАО07-21-2003 05:32 PM
Re: Configuring Functions Keys on HP-UX
has absolutely nothing to do with the OS (unless this is a workstation or other directly attached keyboard). It is determined solely by the terminal. If you tell us what king of terminal this is (or emulator) we might be able to tell you how to reprogram F5 or at least define a programmable function key.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 05:58 PM
тАО07-21-2003 05:58 PM
Re: Configuring Functions Keys on HP-UX
The only fix for this is to rewrite the application. Perhaps it was never intended (or tested) to work correctly on HP-UX. There is nothing you can do since the keys are programmed by \1BOT, not by HP-UX.
As a general note: programming serial interface devices require a great deal of effort when porting between different flavors of Unix.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2007 12:21 PM
тАО02-12-2007 12:21 PM