- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TERM is set to VT100 instead of HP
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
тАО05-17-2002 08:11 AM
тАО05-17-2002 08:11 AM
of HP.
.profile execute a tset -s -Q command and pick up value of TERM which is set to VT100 before that.
- I was unable to identify where is set up the VT100
- I have tried to modify /etc/ttytype to hp or 70096 for the console but it doesn't fix the problem.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:16 AM
тАО05-17-2002 08:16 AM
Re: TERM is set to VT100 instead of HP
You can set the TERM value either in /etc/profile or in $HOME/.profile file.
If you want to set it to hp, then add this in any of those files:
TERM=hp
export TERM
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:16 AM
тАО05-17-2002 08:16 AM
Re: TERM is set to VT100 instead of HP
vt100 is the correct setting for the console on these newer systems
You can change it back to 70096 if you want to, but can expect some issues in some situations (e.g. ignite cold install/recovery screens)
To change the settings you need to change the configuration of the console itself, this is accomplished via the function keys at the top od the console itself. I don't have one in front of me right now, so I'll leave it to someone else to give you the exact key strokes...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:20 AM
тАО05-17-2002 08:20 AM
Re: TERM is set to VT100 instead of HP
It is happening on a N-Class machine
- Modifying the "/.profile" is not a solution, since the terminal type is set and used before.
- The workaround to adapt TERM and the console terminal can make the issue more worse since during the next reboot the machine will display a mixup of characters and some programs will not get requested instructions. (the console "hangs")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:22 AM
тАО05-17-2002 08:22 AM
Re: TERM is set to VT100 instead of HP
The only other place left to see is /etc/profile , or you can just add
export TERM=hp aat the end of the .profile for the root.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:22 AM
тАО05-17-2002 08:22 AM
Re: TERM is set to VT100 instead of HP
The best option would be to look at the console settings.
HTH,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 08:52 AM
тАО05-17-2002 08:52 AM
Re: TERM is set to VT100 instead of HP
With N4000 servers staged with a previous application the default terminal type was "vt100".
With N4000 servers staged with current application the default terminal type is "hp".
Background:
To execute HP specific support with the tool STM a password is necessary.
If the wrong terminal type is set up, special characters are not interpreted like they should be (example: "Backspace" will be send as "Ctrl ?").
Please provide an instruction, how such N4000 servers can be set to terminal type "hp"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 09:02 AM
тАО05-17-2002 09:02 AM
Re: TERM is set to VT100 instead of HP
Assuming you're talking about a 70096 console terminal, here's what you can do:
At the console keyboard,
1)press menu to get the menu on the bottom of the screen.
2)press user/system to get the system menu
3)press config keys (f8)
4)press terminal config (f5)
5)tab down to TermMode field
6)press f2 (next choice) until TermMode is hp
7)press f1 to save config
8)press menu to return to normal mode
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2002 12:59 PM
тАО05-17-2002 12:59 PM
Re: TERM is set to VT100 instead of HP
if [ "$TERM" = "" -o "$TERM" = "hp" ]
then
eval ` tset -h -s -Q `
else
eval ` tset -s -Q `
fi
and set the term type on the console itself the way Pete suggested and you should be ok.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 01:36 AM
тАО05-22-2002 01:36 AM
Re: TERM is set to VT100 instead of HP
I did modify the console settings as told by Pete Randall in the above mail.
and rebooted the machine.
When the machine came up and when i did
echo $TERM
it was set to vt100 again
This is the piece of the code in my .profile file.
It's a 700/96 console.
________________________________
# Be sure that VUE does not invoke tty commands
if [ ! "$VUE" ]; then
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
________________________________________
Is anything wrong with this piece of code ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 01:47 AM
тАО05-22-2002 01:47 AM
Re: TERM is set to VT100 instead of HP
You've changed the behaviour of your console that that it thinks it's a HP one, but you haven't changed the Terminal ID that is reported to the OS when tset is called. Go back into the config screen where you changed the mode, and on the left hand side of the second row, you will see a field called "Terminal ID" set this to hp or 70096 and everything should be fine.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 03:20 AM
тАО05-22-2002 03:20 AM
Re: TERM is set to VT100 instead of HP
As you said, i changed the
TerminalID to hp ( it was 70096 before i changed )
and
TermMode to HP
in the console settings.
I rebooted the machine.
When i logged in as root and did echo $TERM it is still setting to vt100.
Where is this setting from which the machine is setting to vt100 ?
Thanks
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 03:29 AM
тАО05-22-2002 03:29 AM
Re: TERM is set to VT100 instead of HP
Are you sure you pressed F1 to save the config?
Try commenting out the tset code from your profile, login as root and then run the tset manually to see what it returns.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 08:59 AM
тАО05-22-2002 08:59 AM
Re: TERM is set to VT100 instead of HP
_________________________________________
# Be sure that VUE does not invoke tty commands
#if [ ! "$VUE" ]; then
# Set up the terminal:
#if [ "$TERM" = "" ]
#then
#eval ` tset -s -Q -m ':?hp' `
#else
#eval ` tset -s -Q `
#fi
#stty erase "^H" kill "^U" intr "^C" eof "^D"
#stty hupcl ixon ixoff
#tabs
echo
echo "Value of TERM has been set to \"$TERM\" . "
export TERM
EDITOR=vi
export EDITOR
#fi # if !VUE
___________________________________________
I exitted and logged in as root.
The term was set to vt100 again.
When i executed the tset command
The output was
Erase is backspace 74.3 $
when i executed the tset -s command
The output was
export TERM
TERM=vt100
Erase is backspace 74.3
I do not know what to do next ?
Thanks
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:09 AM
тАО05-22-2002 09:09 AM
Re: TERM is set to VT100 instead of HP
I'm sorry to say I'm at a loss here. It sounds like we have the same setup but are getting different results. When I look at my Config Keys/Term Config, the Terminal ID is set to 70096 (and there is no other choice - I'm not quite sure how you managed to change it) and my TermMode is hp. When I log in as root, my profile has the exact same tset code as yours. And my TERM gets set to hp. The only thing I can think of is that you didn't save the config by pressing f1 after you changed TermMode. If you look at TermConfig now, does it show TermMode hp?
Pete
P.S. You don't have to reboot after changing the TermConfig.
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:23 AM
тАО05-22-2002 09:23 AM
Re: TERM is set to VT100 instead of HP
I have very much making sure that i press F1 to save the config.
Initially the Terminal ID was set to 70096.
Then i changed it to hp by typing hp and two spacebars.
I didn't use F2 key for Next choice, as there are no other choice.
It didn't help.
Later i changed the TerminalID back to 70096 and saved the config and logged in as root but terminal again is setting to vt100.
Frustrating..
The ignite i am using is B.2.4.307
Could this be an issue with the ignite itself ?
It's just a guess !
How come it is so tricky ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:29 AM
тАО05-22-2002 09:29 AM
Re: TERM is set to VT100 instead of HP
At this point, I would say that you should force TERM to be hp in your .profile. After the tset code, just add this:
TERM=hp;export TERM
That will get it set the way you want.
Sorry we couldn't figure this out.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 10:06 AM
тАО05-22-2002 10:06 AM
Re: TERM is set to VT100 instead of HP
if [ "$TERM" = "" -o "$TERM" = "hp" ]
then
eval ` tset -h -s -Q `
else
eval ` tset -s -Q `
fi
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:04 PM
тАО05-22-2002 09:04 PM
Re: TERM is set to VT100 instead of HP
2392 conslole
2392 tty0p0
2392 tty0p1
2392 tty0p2
2392 tty0p3
2392 tty0p4
2392 tty0p5
~
~
Mark,
What should i change in the above file. ?
Thx
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:20 PM
тАО05-22-2002 09:20 PM
Re: TERM is set to VT100 instead of HP
if [ "$TERM"= "" -o "$TERM"="hp" ]
then
eval `tset -h -s -Q`
else
eval `tset -s -Q`
fi
Now after this change,
the term is now getting set to 2392 !
echo $TERM
2392
it seems it is looking to my /etc/ttytype file and picking it's value from there.
How do i make it set to 'hp' term
Thanks
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 09:55 PM
тАО05-22-2002 09:55 PM
Re: TERM is set to VT100 instead of HP
I've got the very same problem. To make it even worse (for me :-), there's a terminal next to the "problem" terminal that has exactly the same configuration, exactly the same type of terminal, and the systems are clones of each other ...
While searching for a more definite solution, I added the "-h" option to all "tset" commands in the ".profile" of root. In /etc/ttytype we have the following :
root/ref-fvs2#more /etc/ttytype
2392 console
2392 tty0p0
2392 tty0p1
2392 tty0p2
2392 tty0p3
2392 tty0p4
2392 tty0p5
It works now, but instead of having the TERM set to hp, it now gets set to 2392.
Very strange,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 10:03 PM
тАО05-22-2002 10:03 PM
Re: TERM is set to VT100 instead of HP
One more question,
What is 2392 ? Port number ?
Aravind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 10:20 PM
тАО05-22-2002 10:20 PM
Re: TERM is set to VT100 instead of HP
As far as I know its a type of (common) terminal. Check "man terminfo" for more information. B.t.w. sorry that my last post stated the obvious. I was testing the terminal and hadn't refreshed for new answers.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 12:16 AM
тАО05-23-2002 12:16 AM
Re: TERM is set to VT100 instead of HP
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2002 10:45 PM
тАО05-23-2002 10:45 PM
Re: TERM is set to VT100 instead of HP
in one of the mails above you wrote:
"Is the server a N/L/A Class or newer? "
We have a N4000 server.
"vt100 is the correct setting for the console
on these newer systems "
From which ignite image version this behaviour of setting vt100 term as default started ?
any idea.?
Any patches which has changed the default behaviour of setting term from hp to vt100 ?
Thanks
Aravind