Operating System - HP-UX
1753488 Members
5070 Online
108794 Solutions
New Discussion юеВ

Re: TERM settings for ibm3151 terminal

 
Stephen Keane
Honored Contributor

TERM settings for ibm3151 terminal

I have an IBM 3151 terminal connected to a HP-UX 11.00 box (don't ask). I have set TERM=ibm3151 and exported it, but SAM refuses to co-operate and a few curses based applications are displaying esc/ctrl characters rather than interpreting them properly. Any clues as to how to proceed?

Take it as a given that I have to use an IBM 3151.
9 REPLIES 9
JASH_2
Trusted Contributor

Re: TERM settings for ibm3151 terminal

Stephen,

I know you probably have, but have you tried setting a terminal emulator of vt100?

Just a thought.

JASH
If I can, I will!
Fabio Ettore
Honored Contributor

Re: TERM settings for ibm3151 terminal

Hi Stephen,

does the terminfo file about ibm3151 exist?

/usr/lib/terminfo/i/ibm3151

Best regards,
Fabio
WISH? IMPROVEMENT!
Stephen Keane
Honored Contributor

Re: TERM settings for ibm3151 terminal

Yes I've tried vt100 (sigh) and vt220 etc.

No, the file /usr/lib/terminfo/i/ibm3151 doesn't exist on my machine, but unfortunately I am trying to fix the problem on another machine which (may) have the file.
James R. Ferguson
Acclaimed Contributor

Re: TERM settings for ibm3151 terminal

Hi Stephen:

Perhaps just "ibm".

Regards!

...JRF...
Victor BERRIDGE
Honored Contributor

Re: TERM settings for ibm3151 terminal

Hi Stephen,
Would a aix4.3.3 terminfo/ibm3151 be of any help?
I attached the file in case...

All the best
Victor
Stephen Keane
Honored Contributor

Re: TERM settings for ibm3151 terminal

I'll give just "ibm" a go and see what happens. Trouble is I'm directing someone in the US using IM, and I can't see what they are doing or what the response is, so I'm relying on (a) them doing exactly what I tell them and (b) accurately reporting the result.
Stephen Keane
Honored Contributor

Re: TERM settings for ibm3151 terminal

I've managed to blag a "trial" version of a terminal emulator that supports ibm3151 (allegedly). So here goes ...
A. Clay Stephenson
Acclaimed Contributor

Re: TERM settings for ibm3151 terminal

I untic'ed (well, actually infocmp'ed) an ibm3151 from a RH ES3 box to get the terminfo source for an ibm3151. I then copied to an HP-UX box and it tic'ed sucessfully so this should work.

See the attached, ibm3151.src.

All you need to do, is "tic ibm3151.src" as root and that will install the compiled version in /usr/lib/terminfo.

If it ain't broke, I can fix that.
Stephen Keane
Honored Contributor

Re: TERM settings for ibm3151 terminal

Thanks Clay, but I've fixed it by copying /usr/local/share/terminfo/i/ibm3151 to /usr/share/lib/terminfo/i/ibm3151

and now curses is happy. SAM isn't, but there you go.

If I get time I'll try and use Clay's file.