[102434] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: RH 5.2 Telnet session

daemon@ATHENA.MIT.EDU (Jan Carlson)
Thu Dec 3 01:54:38 1998

Date: Thu, 03 Dec 1998 01:52:35 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Clare Teoh wrote:

> Hi!
>
> I've recently upgraded to RH 5.2 and when I telnet to another machine
> (HP-UX) on my network and run an application, I noticed that the lines
> and boxes does not draw correctly ie. instead of getting lines and
> boxes, I now get some other keyboard character

The HP does not have a terminfo or termcap for your Linux screen.
The plain character-based Linux console is called "linux".
You need to add terminfo and termcap entries called
    linux
to the HP.  Have the HP sysadmin do it if you have no access.

Then, when you telnet from a linux console to the HP, do
TERM=linux export TERM
and everything should display perfectly.
If you can't get linux added to the HP terminfo and termcap,
then try setting TERM to ansi or vt100 instead.
One of those may work alright.
Do "echo $TERM" to see what the HP thinks you are,
with telnet, and then with rlogin.

If you're in a Linux xterm while running X, do
TERM=xterm export TERM
on the HP.

Another way is to use rlogin instead of telnet.
They are similar, except that rlogin automatically
tells the remote what TERM is, while telnet does not.

>
>
> eg.
>
> In RedHat 5.1 telnet session
>
>   _______________________________________________________________
>
>         SOME APPLICATION
>   _______________________________________________________________
>
>     1. First Module
>     2. Second Module
>
>   _______________________________________________________________
>
> In RedHat 5.2 telnet session
>
>   qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
>
>         SOME APPLICATION
>   qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
>
>     1. First Module
>     2. Second Module
>
>   qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
>
> I have no idea where to begin looking to get back the nice look in the
> RH 5.1 telnet session.
>
> Any help would be appreciated.
>
> Thanks,
> Clare
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post