Discussion:
cons25 and xterm
zera holladay
2004-01-29 23:16:37 UTC
Permalink
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.

Thank you,

-zh

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
Erik Trulsson
2004-01-29 23:25:03 UTC
Permalink
Post by zera holladay
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.
--
<Insert your favourite quote here.>
Erik Trulsson
***@student.uu.se
William M. Grim
2004-01-30 01:48:57 UTC
Permalink
Post by Erik Trulsson
Post by zera holladay
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: ***@siue.edu
Jamie Bowden
2004-01-30 12:10:56 UTC
Permalink
Post by zera holladay
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.
Once you've logged into the Solaris box:

setenv TERM sun

or whatever equivalent is appropriate for your shell. This works for me
logging into Sun and SGI boxes from a FreeBSD console. You can also set
it to vt100, but type sun appears to be slightly more SCO compatibile to
me.

Jamie Bowden
--
"It was half way to Rivendell when the drugs began to take hold"
Hunter S Tolkien "Fear and Loathing in Barad Dur"
Iain Bowen <***@alaric.org.uk>
Loading...