*BSD News Article 93890


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-feed5.bbnplanet.com!news.bbnplanet.com!bloom-beacon.mit.edu!ai-lab!usenet
From: Joel Ray Holveck <joelh@gnu.ai.mit.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with Telnet
Date: 18 Apr 1997 21:31:42 -0400
Organization: MIT Artificial Intelligence Lab
Lines: 38
Sender: joelh@diazepam.gnu.ai.mit.edu
Message-ID: <sejn2qv6bnl.fsf@diazepam.gnu.ai.mit.edu>
References: <01bc4a2b$50901400$b69fbf82@dan.sdsu.edu>
	<5j4ba0$sjc$2@easystreet03> <5j56go$8j1@ui-gate.utell.co.uk>
NNTP-Posting-Host: diazepam.gnu.ai.mit.edu
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39311


>>> I was wondering if someone could help me solve this problem I just recently
>>> started having with my FreeBSD box.  When I use my win95 box to log into my
>> Edit your .profile file in your home directory and put the
>> following lines in it:
>> TERM=vt100
>> export TERM
> Eek, no.  Read my other post in this thread.  telnet negotiates the value
> of your TERM variable according to what the client wants.  The client
> should be configured with the correct TERM value, not the server.
> The best you should do in a profile is set TERM *only* if it's not
> already set.

But Win95 Telnet doesn't do that.  It doesn't allow you to tell it
what type of term to emulate.

I have three suggestions:

1) Type 
  stty rows 25 ; export TERM=vt100
as the first thing after logging in.

2) Add the line
  case $TERM in ansi) TERM=vt100; stty rows 25;; esac
to your .profile (or .bashrc).

3) Download a better terminal program.  I like CRT myself; check out
http://www.tucows.com/ for it and others.
  
  Best,
joelh

-- 
http://www.wp.com/piquan --- Joel Ray Holveck --- joelh@gnu.ai.mit.edu
All my opinions are my own, not the Free Software Foundation's.

Second law of programming:
Anything that can go wrong wi
sendmail: segmentation violation -- core dumped