- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PuTTY: key mapping
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
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
тАО03-07-2007 11:40 PM
тАО03-07-2007 11:40 PM
PuTTY: key mapping
we're using PuTTY and Reflection to access our HP-UX Servers (and Linux too). I currently using the dtterm emulation. PuTTY works fine with dtterm emulation, but I'm missing something like "keyboard mapping" which is availlabe in Reflection.
For example the "home" and "end" keys are not working with PuTTY. Does somebody knows a possibility to map some escape sequences to a key or something like that to solve that issue?
--
Regards
Marco
- Tags:
- putty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 12:04 AM
тАО03-08-2007 12:04 AM
Re: PuTTY: key mapping
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/key-mapping.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 12:32 AM
тАО03-08-2007 12:32 AM
Re: PuTTY: key mapping
-> I don't want to use another term emu! PuTTY is so uncomplicate. I liked it before the "keymapping issue" happend. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 03:57 AM
тАО03-08-2007 03:57 AM
Re: PuTTY: key mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 04:56 AM
тАО03-08-2007 04:56 AM
Re: PuTTY: key mapping
I have version 0.58 here an Help section 4.4.2 has something about HOME/END
[quote PUTTY help]
The Unix terminal emulator rxvt disagrees with the rest of the world about what character sequences should be sent to the server by the Home and End keys.
xterm, and other terminals, send ESC [1~ for the Home key, and ESC [4~ for the End key. rxvt sends ESC [H for the Home key and ESC [Ow for the End key.
If you find an application on which the Home and End keys aren't working, you could try switching this option to see if it helps.
[/quote]
May be you can switch this flag ?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2007 05:05 AM
тАО03-08-2007 05:05 AM
Re: PuTTY: key mapping
Now if the program understands these special codes (something like ESC h when you press the HOME key) then the program interprets the two characters and sends codes to your terminal screen to move the cursor and reposition the file display as necessary. This is exactly what happens in vi. I suspect you may be asking the question relative to vi in which case, the answer is found in the .exrc file. In this file, settings and keymaps are defined, essentially taking special character sequences and mapping them to a vi command.
NOTE: .exrc is NOT self configuring. HP-UX supplies a very nice one for HP terminals ONLY. Unfortunately, WRQ has a family of emulators and they all have the name Reflection, but they are VERY different. Reflection/X is an Xwindow emulator and since you said dtterm, I suspect you are using Reflection/X (and not the true terminal emulators for HP or DEC/Unix or the web version of Reflection).
In Xwindows, you are 'stealing' services from your HP-UX computer. dtterm (and xterm and hpterm) are not running on your PC but are running on HP-UX and sending the graphic images to your PC Xwindow emulator. So dtterm's behavior is defined by that program.
PuTTY is very different from Reflection/X. It runs only on your PC and opens a telnet or ssh connection. All the keyboard features are defined by the PuTTY emulator and the way you have it configured. You'll need to spend time in the PuTTY docs to figure out the special keys. And be careful about .exrc -- it must match your terminal.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2018 07:44 AM
тАО01-18-2018 07:44 AM
Re: PuTTY: key mapping
Have you tried setting the keyboard type in PuTTY to Xterm R6? (Category: --> Keyboard --> Xterm R6)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2018 05:16 PM
тАО01-20-2018 05:16 PM
Re: PuTTY: key mapping
> Have you tried setting the keyboard type in PuTTY to Xterm R6? (Category: --> Keyboard --> Xterm R6)
Hmm, I recently had to do that too. I got a new laptop layout and instead of the Pg-up/Pgdn keys, they were on the numeric keypad. I later figured out where they hid them, somewhere hard to reach. :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2018 11:07 PM
тАО04-02-2018 11:07 PM
Re: PuTTY: key mapping
I'm not sure if this will help, but "FWIW":
I have a .inputrc mainly for bash on HP-UX.
[ arwen ~ ] $ cat .inputrc set editing-mode emacs set horizontal-scroll-mode on "\e[1~": beginning-of-line "\e[4~": end-of-line "\e[7~": beginning-of-line "\e[8~": end-of-line "\e[3~": delete-char
When I login through PuTTY and type <Home><End><Enter><Ctrl-D> to od, I get this:
[ arwen ~ ] $ od -xc 0000000 1b5b 317e 1b5b 347e 0a00 033 [ 1 ~ 033 4 ~ \n
So it looks like the first two mappings are covering the PuTTY case (the next two seem to work for HP-UX/Linux terminals). The last line maps the "Delete" key.
--
ranga