- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VT320 Terminal troubles
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
тАО05-04-2001 06:48 PM
тАО05-04-2001 06:48 PM
a0:4:respawn:/usr/sbin/getty tty1p0 9600
but it still won't recognize it. can anyone help?Thanks,
-phil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2001 11:38 PM
тАО05-04-2001 11:38 PM
Re: VT320 Terminal troubles
1. At the System End unplug the cable and short 2and3 of the interface , then see whether what you type appears on the screen , this test that the connection till that is fine including the cable in FD mode .
2. ps -ef | grep getty should show you the list of tty's on which it is enabled.So in case getty is not enabled then enable it or just kill the process for that tty this will restart the getty.
3. Instead of 3 please change to 2345 so taht it gives getty in these states of Unix.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 03:06 AM
тАО05-05-2001 03:06 AM
Re: VT320 Terminal troubles
Try to change your /etc/inittab entry into
a0:4:respawn:/usr/sbin/getty tty1p0 H
Often for hard-wired terminals the label H should be used instead of 9600. Records of /etc/gettydefs labeled by H and 9600 are not equivalent (compare for example CS8 and CS7).
And sth more, are you sure, that you are at the run level 4, what assumes your entry in the inittab file.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 09:28 AM
тАО05-05-2001 09:28 AM
Re: VT320 Terminal troubles
I changed it to 2345, but ps-ef grep getty shows only one getty running, that for the system console, andnot the VT. SO,,,
-do I need to change tty1p0? It's a 712 and so only has 1 external RS-232, but I got this line from oue 735 mail server which uses the VT as the main console.
-does the name, surrently set as a0, matter? if so what should it be set to?
thanks for your time and help,
-phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 12:53 PM
тАО05-05-2001 12:53 PM
Re: VT320 Terminal troubles
101 smaug: / $clear
0y0C102 smaug: $
Does anyone know how to remedy this? I'd appreciate it.
-phil, the man who just killed the server by adding an extra "-1"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:19 PM
тАО05-05-2001 01:19 PM
SolutionYou solved the hardware problem now we need to solve the software side of things:
I don't have a VT420 (or documentation) but
we need to set your TERM environment variable. Unfortunately, a vt420 terminfo does not typically come with HP but I suspect that a vt320,vt220,vt100, etc. entry will work just fine.
Try this from the shell:
TERM=vt320
export TERM
tput clear
If that works try editing a textfile with vi.
If that works great otherwise try another TERM setting and export it.
You may also be able to put the VT420 in a VT320 emulation mode or an ANSI mode.
If you examine /usr/lib/terminfo/*
you will find a ton of terminfo entries; all of the vtxxx entries are under the 'v' directory. Likewise the 'ansi' entry would be under the 'a' directory. I'm betting that one of the vt's will do the trick.
When you've found a suitable entry then edit your .profile and add an entry like
export TERM=vt320 and your all set.
Hope this helps, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:37 PM
тАО05-05-2001 01:37 PM
Re: VT320 Terminal troubles
it's in a public lab so the non usix inclined will be using it. So, it there any way to set it up for all users? so they don't have to export TERM every time?
thanks for the help
-phil
ps. I set TERM to vt220 and went into the terminal setup and switched it to vt220 mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:43 PM
тАО05-05-2001 01:43 PM
Re: VT320 Terminal troubles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:51 PM
тАО05-05-2001 01:51 PM
Re: VT320 Terminal troubles
You have three options.
1) As I mentioned earlier
simply place the export TERM=vt220 statement in each user's .profile; it will then be set at login
or
2) Man tset to get some ideas. tset can query a terminal and attempt to determine what kind of terminal is attached and build a TERM=xxx command for you. It consult's a file called /etc/ttytype. Again man tset and man ttytype for details. (I like this one - it makes you learn; notice I intentionally didn't fill in all the blanks)
or
3)
You could modify /etc/skel/.profile so that when new users are added the export TERM is already in their profile. (This won't fix existing users however).
This should point you in the right direction,
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2001 01:59 PM
тАО05-05-2001 01:59 PM
Re: VT320 Terminal troubles
Your other option is to pick up an HP terminal.
(you can get them on the used market for well under $200).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2001 11:10 AM
тАО05-06-2001 11:10 AM
Re: VT320 Terminal troubles
You can do a stty -a < /dev/ttyxx to see the current port settings.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2001 01:25 PM
тАО05-06-2001 01:25 PM
Re: VT320 Terminal troubles
I played with tset for a while, so now I know that
tset - -m vt220:vt220 xterm
will test the term type, and if it's vt220, say so, elxe default to xterm which is what everything else on our network uses.
Clay, thanks for your help, and thanks to others who replied.
Now it's just a matter of putting this in the .profile. I can't figure out where in the file to put it, or how to get just the first output line (the terminal name) (I tried to pipe it to head -n 1 but for some reason it wouldn't work.) So, my problem has been solved.