cons25 and xterm
William M. Grim
wgrim at siue.edu
Thu Jan 29 17:48:59 PST 2004
Erik Trulsson wrote:
>On Thu, Jan 29, 2004 at 03:16:37PM -0800, zera holladay wrote:
>
>
>>Hello, when I ssh to my school Unix account
>>(unfortunately solaris) from my local host's command
>>line and when I attempt to clear the screen, I get an
>>error message from the remote host: `cons25`: unknown
>>terminal type. The remote host is $TERM=xterm. My
>>local machine is FreeBSD's default $TERM=cons25.
>>
>>My question is: how can I switch my local terminal
>>type so that it works correctly with the remote
>>machine? I don't want to install X, but if that is
>>the only option then I'll reconsider.
>>
>>
>
>The way I handle that problem is to run screen(1) (from the
>sysutils/screen port) locally, and set TERM=vt102 on the remote
>machine. Works perfectly.
>
>The "correct" solution is of course to upgrade the terminal
>descriptions on the remote machine to include 'cons25', but that might
>not be practical in this case.
>
>
>
>
In your .profile (or equivalent file) on the remote system, set
TERM=ansi. ansi terminals on Sun have full colors support, etc.
--
William Michael Grim
Student, Southern Illinois University at Edwardsville
Unix Network Administrator, SIUE, Computer Science dept.
Phone: (217) 341-6552
Email: wgrim at siue.edu
More information about the freebsd-hackers
mailing list