- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Keyboard Mapping function key
Operating System - HP-UX
1824976
Members
3459
Online
109678
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-18-2002 08:03 AM
тАО09-18-2002 08:03 AM
Keyboard Mapping function key
Hi,
we have installed third party software called star on HP-UX 11.00. I do telnet to that server from xterm on linux to HP-UX 11.00 box. After setting terminal TERM=vt220, i get into the application, then my function key (for example f9 is mapped to \E[20~) does not work, because "Escape key" has its own function within the application, like within the third party application if i am in a form and hit escape it comes to command prompt of application (some what similar to vi). when i press f9 it comes to command prompt of the application and puts [20~, it is not doing what it suppose to do.
I did untic on vt220 and made the change to function key f9 to ^B and ran tic on vt220 source, still the application looks at function key f9 as \E[20~.
I did checked the modified setting of newly compiled vt220 and it shows f9=^B.
Am i missing any important step in mapping the key??? Also how can someone tell me how to mapp "shift f9" to "control Z"???
thanks in advance.
we have installed third party software called star on HP-UX 11.00. I do telnet to that server from xterm on linux to HP-UX 11.00 box. After setting terminal TERM=vt220, i get into the application, then my function key (for example f9 is mapped to \E[20~) does not work, because "Escape key" has its own function within the application, like within the third party application if i am in a form and hit escape it comes to command prompt of application (some what similar to vi). when i press f9 it comes to command prompt of the application and puts [20~, it is not doing what it suppose to do.
I did untic on vt220 and made the change to function key f9 to ^B and ran tic on vt220 source, still the application looks at function key f9 as \E[20~.
I did checked the modified setting of newly compiled vt220 and it shows f9=^B.
Am i missing any important step in mapping the key??? Also how can someone tell me how to mapp "shift f9" to "control Z"???
thanks in advance.
Be Teachable
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2002 10:30 AM
тАО09-18-2002 10:30 AM
Re: Keyboard Mapping function key
Hi,
first: use "dtterm" not "xterm", as "xterm" is an VT101 emulation, but "dtterm" is an "VT220" emulation. The latter does have proper function keys, the former not.
Additionally you may configure your "$HOME/.Xdefaults" like here:
dtterm*translations: #override \n\ #
ShiftF9:string("\032") \n\ #
#
Due to problems with lines ending in back-slashes here in the forums you have to remove the "#" at the neds of the three lines...
HTH,
Wodisch
first: use "dtterm" not "xterm", as "xterm" is an VT101 emulation, but "dtterm" is an "VT220" emulation. The latter does have proper function keys, the former not.
Additionally you may configure your "$HOME/.Xdefaults" like here:
dtterm*translations: #override \n\ #
Shift
#
Due to problems with lines ending in back-slashes here in the forums you have to remove the "#" at the neds of the three lines...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2002 06:16 AM
тАО09-19-2002 06:16 AM
Re: Keyboard Mapping function key
Thanks for the reply.
No luck. I am having the same problem. I am telneting HP-UX box (11.00)from Gnome terminal running on Redhat linux. I dont know where is key the function is set, it is still taking "\E[20~" for F9, inspite of setting F9=^B
any more hints.....thanks
No luck. I am having the same problem. I am telneting HP-UX box (11.00)from Gnome terminal running on Redhat linux. I dont know where is key the function is set, it is still taking "\E[20~" for F9, inspite of setting F9=^B
any more hints.....thanks
Be Teachable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 04:14 AM
тАО09-20-2002 04:14 AM
Re: Keyboard Mapping function key
Hi,
when i did "ttytype -s" it shows TERM=vt100; export TERM. After i manually typed "export TERM=dtterm; export TERM", still ttytype shows as vt100. Please correct me if i am wrong, what i understood is ttytype finds what terminal type is and it does not set TERM variable and we can override with TERM variable.
still i am having problem mapping my keyboard to our specific application requirments. I am going nuts here.
Anybody can throgh some light on this issue
thanks......
when i did "ttytype -s" it shows TERM=vt100; export TERM. After i manually typed "export TERM=dtterm; export TERM", still ttytype shows as vt100. Please correct me if i am wrong, what i understood is ttytype finds what terminal type is and it does not set TERM variable and we can override with TERM variable.
still i am having problem mapping my keyboard to our specific application requirments. I am going nuts here.
Anybody can throgh some light on this issue
thanks......
Be Teachable
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP