From owner-freebsd-questions@FreeBSD.ORG Mon May 31 10:03:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BB7F16A4CE for ; Mon, 31 May 2004 10:03:06 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69AF843D41 for ; Mon, 31 May 2004 10:03:05 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.34 #0 (FreeBSD 4.9)) id 1BUqB6-00084K-86 by authid for ; Mon, 31 May 2004 20:02:24 +0300 Date: Mon, 31 May 2004 20:02:24 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20040531170224.GB19426@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org References: <20040529120436.GA5216@ns2.wananchi.com> <20040529143349.GA1054@lori.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040529143349.GA1054@lori.mine.nu> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.6i (2004-02-01) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.6i Subject: Re: FreeBSD 4.10 and terminal woes - FIXED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 17:03:06 -0000 * Geert Hendrickx [20040529 21:55]: wrote: > On Sat, May 29, 2004 at 03:04:36PM +0300, Odhiambo Washington wrote: > > I decided to upgrade the box that I read my mail on (using mutt) to > > FreeBSD 4.10-STABLE. It has been running 4.9-STABLE since those days ;) > > > > Now all too suddenly, I have a mad terminal, display getting messed up > > when I read my mail, edit a file, almost anything. The only change was > > the upgrade. To give a little more details I can gather, when I ssh to > > the box from another Unix terminal, this madness is not there at all. > > But before I upgraded, I was using Microshit windows for a couple of > > days, connecting to this box using Telneat (aka ShellGuard) and there > > was no problem. > > IIRC, there was no change at all to /etc/termcap during mergemaster. > > > > I'll appreciate any clues. > > > > Not that I desperately need to run on Windows, but just so that I can > > know what happened and how to fix it. In my .bash_profile, I init my > > terminal as cons25. > > > > I checked UPDATING to see if anything is mentioned, but no. > > > > > > Thank you in adv. > > > > > > -Wash > > Check your $TERM variable. Make it "cons25". > > For /bin/sh or bash: > TERM=cons25; export TERM > You can make this permanent putting it in /etc/profile > > For csh: > setenv TERM cons25 > You can make this permanent putting it in /etc/csh.cshrc > > Probably the upgrade replaced one of these files so you lost your TERM. > By default, it's set to "dumb" and then you can't use vi, mutt, ... > > Having no problems with ssh means that your client automatically uses > vt100 or xterm as $TERM, which works fine for those programs. When I configured the Telneat (Shellguard) thingy to init its terminal as cons25, I can now say I am the HAPPIEST folk the world over. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Matter cannot be created or destroyed, nor can it be returned without a receipt.