From owner-freebsd-questions Thu Apr 13 13:20:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E6B0937BB77 for ; Thu, 13 Apr 2000 13:20:36 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e3DKlb113760; Thu, 13 Apr 2000 13:47:37 -0700 (PDT) Date: Thu, 13 Apr 2000 13:47:37 -0700 From: Alfred Perlstein To: Andreas Mutschlechner Cc: Joseph Wright , questions@FreeBSD.ORG Subject: Re: tty config Message-ID: <20000413134737.B4381@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from amutsch@abaid.com on Thu, Apr 13, 2000 at 09:45:03PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > andreas > > > On Thu, 13 Apr 2000, Joseph Wright wrote: > > > My ISP provides me with a unix shell account. It's very cool, as it has allowed > > me to use ssh, which was easy and fun to set up. > > The problem I have is not being able to use some programs like pine or vi > > over the account because it doesn't recognize my terminal type, > > cons25. > > However, it works fine from an xterm, because I'm writing from it now. > > What type should I set in /etc/ttys? I suppose I should just choose of the > > virtual terminals to configure and always use that one when logging in to my > > ISP. Correct? > > * Andreas Mutschlechner [000413 13:15] wrote: > hello, > > you can set your terminaltype in the TERM environment variable. > with csh use setenv TERM vt100 > with bash i think export TERM=vt100 > you can put this commands in the .login script on the isp host. > Sorry, you're both wrong. A simple solution is to get the ISP to add a cons25 entry to thier termcap (it's in your /etc/termcap). Another solution is to run screen (/usr/ports/misc/screen) locally and on the remote side setting your TERM enviorment variable to vt100. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message