From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 17:48:59 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DC7716A4CE for ; Thu, 29 Jan 2004 17:48:59 -0800 (PST) Received: from siue.dnsalias.net (student143-123.bh.siue.edu [146.163.143.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552BC43D41 for ; Thu, 29 Jan 2004 17:48:58 -0800 (PST) (envelope-from wgrim@siue.edu) Received: from siue.edu (unknown [192.168.0.84]) by siue.dnsalias.net (Postfix) with ESMTP id 9FFA1233D2C; Thu, 29 Jan 2004 19:48:57 -0600 (CST) Message-ID: <4019B809.4020209@siue.edu> Date: Thu, 29 Jan 2004 19:48:57 -0600 From: "William M. Grim" Organization: SIUE User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: Erik Trulsson References: <20040129231637.28637.qmail@web41408.mail.yahoo.com> <20040129232502.GA24592@falcon.midgard.homeip.net> In-Reply-To: <20040129232502.GA24592@falcon.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: zera holladay Subject: Re: cons25 and xterm X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 01:48:59 -0000 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