Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 00:25:03 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        zera holladay <zera_holladay@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: cons25 and xterm
Message-ID:  <20040129232502.GA24592@falcon.midgard.homeip.net>
In-Reply-To: <20040129231637.28637.qmail@web41408.mail.yahoo.com>
References:  <20040129231637.28637.qmail@web41408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040129232502.GA24592>