- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Terminal Problems?
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
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
11-17-2000 06:58 PM
11-17-2000 06:58 PM
I have a new box, actually it's used but freshly installed, anyway, when I log on it says it cannot recognize my terminal type, something like "70098 Not Recognized," So I set the TERM variable from the command line to vt220. When I go into vi or sam the screen fills up with garbage and bombs out my session. I am working from the console when this happens. I know I am missing something simple.
Many TIA's
Robert Smith
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 07:23 PM
11-17-2000 07:23 PM
Re: Terminal Problems?
export TERM=hp
vi the file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 07:27 PM
11-17-2000 07:27 PM
Re: Terminal Problems?
To find out what the device thinks it is, do:
# ttytype -a
You should be able to set TERM=70098
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 08:29 PM
11-17-2000 08:29 PM
SolutionLooks like your terminal is a hp 700/98. The default mode of these terminals is HP compatible not vt/ansi compatible, thats why you saw the garbage when setting the TERM variable to vt220.
The message "70098 Not Recognized" is caused by there being no entry for this terminal in the /usr/lib/terminfo/7 directory.
I believe the 700/92/94/96/98 terminals are pretty similar so you can probably fix this problem by copying:
/usr/lib/terminfo/7/70092
to
/usr/lib/terminfo/7/70098
Regards, Trevor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 11:32 PM
11-17-2000 11:32 PM
Re: Terminal Problems?
If you're running a posix, bourne or Korn shell, type the following:
export TERM=hp
You could add the preceeding line in your $HOME/.profile file
If you're running a c-shell (csh), type the following:
setenv TERM hp
once again, you could add this line in your $HOME/.login file
Dan