- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VT Terminal Configuration
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
10-22-2001 12:16 AM
10-22-2001 12:16 AM
Could anyone please point me to the right resources/help for configuring VT terminals (VT220 & VT320) in the HP-UX11i environment. Most importantly keyboard mapping how-to, most specifcally the Backspace key (CTRL-H).
Thanks again.
Rob.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:26 AM
10-22-2001 12:26 AM
Re: VT Terminal Configuration
Take a look here;
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90743/B2355-90743_top.html&con=/hpux/onlinedocs/B2355-90743/00/00/8-con.html&toc=/hpux/onlinedocs/B2355-90743/00/00/8-toc.html&searchterms=VT%7c220%7cterminal&queryid=20011022-012828
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:38 AM
10-22-2001 12:38 AM
Re: VT Terminal Configuration
stty erase ^H
should do the trick. Set this in your .profile if necessary.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:19 AM
10-22-2001 05:19 AM
Re: VT Terminal Configuration
Look at the thread below. Might help you.
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B2355-90675&service=archive/hpux&path=../B2355-90675/00/00/1&title=%28old%29%20Configuring%20HP-UX%20For%20Peripherals
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 06:09 AM
10-22-2001 06:09 AM
Solutionit is fairly important to set the $TERM environment variable correctly, as many programs use this to *learn* about your terminal equipment.
Usually you do this autmagically using commands like "tset" or "ttytype", which in turn use definition/config files like "/etc/ttytype". And in there you have lines for each and every *terminal* device - which today will be networked TELNET sessions, most often. So you would insert lines for ALL YOUR PSEUDO DEVICES for TELNET and RLOGIN, plus lines for your really serially connected terminals. Each line consists of the terminal type name (for TERMINFO) and the "basename" part of the device, e.g. for a VT220 on MUX 2 port 3 it should look like:
vt220 tty1p2
since instances are counted starting with 0, the second MUX will be number "1", and the third port will be number "2".
Now to activate this, you would have to insert a line like this in your stations "/etc/profile" (I do assume you use POSIX- or Korn-shells):
...
eval $(tset -shQ)
...
without the ellipsis, of course. :-)
If you now login on a serial terminal, your TERM variable should be set correctly.
Then try "untic" to display the settings you get from TERMINFO that way. In there you will find so called Escape-Code-Sequences for clearing the screen, moving the cursor, definitions wht your terminals send to your UNIX station when you press some function- or cursor-key, and such.
That has to match your setup in the terminal itself! No point in setting up the terminal to use "DELETE" for the *backspace* key, when HP expects this key to send the code \010 (which is 8 = backspace)!
Hence the next command in your "/etc/profile" just following the one above, would be like:
stty erase ^h kill ^u susp ^z intr ^c echoe echok -istrip
This would set your correction key to "backspace" ("^h" reads control-H), ignore-the-whole-input-line key to Control-U (read: undo), the key for Job-Control to Control-Z, and the interrupt key (to abort processes running in the foreground) to Control-C, while echoing *space*backspace*space* for every correction key you type (so the *wrong* keys really disappear), and sending a new-line, whenever your press Control-U (to show you that the input line has been discarded and you have to retype everything).
Tell me, if you read that far and/or need more information :-)
HTH,
Wodisch (who managed to write and compile TERMINFO entries and burn according terminal (E)EPROMs for many years)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 11:10 PM
10-22-2001 11:10 PM
Re: VT Terminal Configuration
Yes, the $TERM variable is important, but having the system determine it using tset or whatever from either my old VT's or my PC terminal emulator, it doesn't always get it right and/or doesn't find the corresponding vt in the provided config files. If I force TERM to vt220 it seems to work OK. What other VT's are supported ?
On the clue for the stty settings I noticed when you do a stty -a on the DEC UNIX box it actually returns erase = ^? So when entering this into HP-UX it works ! Interestingly stty -a shows this on HP to be erase = DEL
Interestingly the backspace key on a VT keyboard is actually labelled as a
Thanks for all.
Rob.