From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 15:25:08 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 31B8416A4CE for ; Thu, 29 Jan 2004 15:25:08 -0800 (PST) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by mx1.FreeBSD.org (Postfix) with SMTP id 30CA843D41 for ; Thu, 29 Jan 2004 15:25:05 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 24635 invoked by uid 1001); 29 Jan 2004 23:25:03 -0000 Date: Fri, 30 Jan 2004 00:25:03 +0100 From: Erik Trulsson To: zera holladay Message-ID: <20040129232502.GA24592@falcon.midgard.homeip.net> Mail-Followup-To: zera holladay , freebsd-hackers@freebsd.org References: <20040129231637.28637.qmail@web41408.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040129231637.28637.qmail@web41408.mail.yahoo.com> User-Agent: Mutt/1.5.5.1i cc: freebsd-hackers@freebsd.org 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: Thu, 29 Jan 2004 23:25:08 -0000 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. -- Erik Trulsson ertr1013@student.uu.se