Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2000 13:47:37 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Andreas Mutschlechner <amutsch@abaid.com>
Cc:        Joseph Wright <rjoseph@speakeasy.org>, questions@FreeBSD.ORG
Subject:   Re: tty config
Message-ID:  <20000413134737.B4381@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.10004132142360.1094-100000@wap.sam.com>; from amutsch@abaid.com on Thu, Apr 13, 2000 at 09:45:03PM %2B0000
References:  <Pine.LNX.4.21.0004131220480.302-100000@grace.speakeasy.org> <Pine.BSF.4.10.10004132142360.1094-100000@wap.sam.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <amutsch@abaid.com> [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




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