Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 19:48:57 -0600
From:      "William M. Grim" <wgrim@siue.edu>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        zera holladay <zera_holladay@yahoo.com>
Subject:   Re: cons25 and xterm
Message-ID:  <4019B809.4020209@siue.edu>
In-Reply-To: <20040129232502.GA24592@falcon.midgard.homeip.net>
References:  <20040129231637.28637.qmail@web41408.mail.yahoo.com> <20040129232502.GA24592@falcon.midgard.homeip.net>

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




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