- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'linux' terminal support in HP UX 11.23
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
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
тАО07-27-2008 03:30 PM
тАО07-27-2008 03:30 PM
'linux' terminal support in HP UX 11.23
We've recently just migrated from PA-RISC HP U 11.22 to ITANIUM HP UX 11.23.
However an issue we've found is that some of our legacy clients which are based on LINUX are unable to work properly due to the fact that the terminal type of 'linux' is unknown.
It worked just fine in HP UX 11.22, but it seems that HP UX 11.23 doesn't recognise this terminal type.
When they log on they get a terminal type of 'UNKNOWN'.
Our application environment (Progress OpenEdge 10.1C) DOES understand the terminal of 'linux' (and has its own termcap dubbed protermcap entries for it).
What can I do?
Why does HP UX 11.23 NOT support this terminal type whilst the older 11.22 did?!
This is causing me some real grief. I don't want to throw out the old thin client terminals as they're still very good.
We have a workaround in place for now using a PC instead of the thin clients but our users prefer the Linux based terminals.
Any ideas?
-John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 04:47 PM
тАО07-27-2008 04:47 PM
Re: 'linux' terminal support in HP UX 11.23
>When they log on they get a terminal type of 'UNKNOWN'.
What caused it to be "linux" before? Hard coded in .profile? Or the terminals returned that string?
>What can I do?
Set the value of TERM to linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 04:55 PM
тАО07-27-2008 04:55 PM
Re: 'linux' terminal support in HP UX 11.23
Sorry, it was 11.11 U 9000/9000 on the PA-RISC machine.
The terminals are based on LTSP, running off Red Had 9.
They just open a TELNET session to the designated host.
They identify themselves are type 'Linux'.
-John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 05:23 PM
тАО07-27-2008 05:23 PM
Re: 'linux' terminal support in HP UX 11.23
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1155618
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1033501
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 05:40 PM
тАО07-27-2008 05:40 PM
Re: 'linux' terminal support in HP UX 11.23
The UNIX system (11.23) comes back with 'Unknown Terminal type linux'.
My Progress application comes up and the screen/menu appear ok even with bolding and highlighting etc.
But my Function keys and backspace keys don't work...I have to use CTRL-X to achieve same thing as a 'F1' key.
I was wondering..
Could I put something in the .profile to set up the F1, F2, F4 and BACKSPACE/DEL keys for 'unknown' terminal tpes.
We're going to be retiring these LTSP based consoles later this year with HP thin clients that use SSH anyway.
That would get my LTSP based Linux clients up and running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 05:47 PM
тАО07-27-2008 05:47 PM
Re: 'linux' terminal support in HP UX 11.23
xterm
vt100
wy60
linux (Progress has a terminal type in its PROTERMCAP file for 'linux').
No joy... can get progress application to run, seems to dispaly everything correctly, just need to sort out the Function keys, backspace and delete and good to go.
-John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 05:54 PM
тАО07-27-2008 05:54 PM
Re: 'linux' terminal support in HP UX 11.23
What command gives this error?
I'm not sure if ttytype(4) would help? (I guess your system returns the type but not recognized?)
If you still have your 11.11 system around, you may be able to copy your old terminfo(4) files for linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 06:02 PM
тАО07-27-2008 06:02 PM
Re: 'linux' terminal support in HP UX 11.23
I say "may work" because an incoming system may say it uses a certain terminal protocol but may not. HP recognized this problem a long time ago and created a terminal identifier program: ttytype. What the program does is to query the terminal with the 3 most common terminal categories. If one query fails, the program times out and tries another. Once a response is seen, some additional codes are sent to further identify the exact model and set TERM, LINES, COLUMNS and ERASE. Try this:
ttytype -s
You'll see that the terminal is queried and for your Linux terminals, some version of vt100 series will be returned.
The problem is that the default code in /etc/profile bypasses this critical setup if TERM is already set. This makes no sense because there is no reason to expect that other systems set the TERM value correctly in the communication protocol.
So replace all this archaic code in /etc/profile:
# set term if it's not set
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" \
-o "$TERM" = "network" ]
then
eval `ttytype -s -a`
fi
export TERM
# set erase to ^H, if ERASE is not set
if [ "$ERASE" = "" ]
then
ERASE="^H"
export ERASE
fi
stty erase $ERASE
with this one line:
eval $(ttytype -sa)
Now, every terminal will be identified at login and the appropriate settings will be in force.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 06:24 PM
тАО07-27-2008 06:24 PM
Re: 'linux' terminal support in HP UX 11.23
Really appreciate the help so far :) However i am still stuck :(
Here's what my profile has to say about terminals.
# Be sure that VUE does not invoke tty commands
if ! "$VUE" ];then # set term if it's not set
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" -o "$TERM" = "network" ]
then
eval `ttytype -a`
fi
export TERM
So I don't get it... when the login process runs I see 'Unknown Terminal type linux' appearing before I get the odd output.
Yet when i set another user which doesn't run the application and get a shell.. then type ttytype -s -a' it reports
VT100
Columns 80
Lines 24
DELETE=^?
Which is odd.
Any more ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 02:58 AM
тАО07-28-2008 02:58 AM
Re: 'linux' terminal support in HP UX 11.23
What odd output? You may have to add echo statements in your /etc/profile or .profile to track this down.
>Yet when I set another user which doesn't run the application and get a shell. then type ttytype -s -a' it reports: VT100 ..
So this isn't linux.
What happens if you do: eval `ttytype -s -a`
Then invoke your application?