From owner-freebsd-questions@FreeBSD.ORG Sat May 29 11:58:45 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 D0E3916A4CE for ; Sat, 29 May 2004 11:58:45 -0700 (PDT) Received: from outfbmx008.isp.belgacom.be (outfbmx008.isp.belgacom.be [195.238.3.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EC9343D54 for ; Sat, 29 May 2004 11:58:45 -0700 (PDT) (envelope-from geert@lori.mine.nu) Received: from outmx014.isp.belgacom.be (outmx014.isp.belgacom.be [195.238.2.69]) (8.12.11/8.12.11/Skynet-OUT-FALLBACK-2.22) with ESMTP id i4TEYI1W006560 for ; Sat, 29 May 2004 16:34:18 +0200 (envelope-from ) Received: from outmx014.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i4TEY2U8002718 for ; Sat, 29 May 2004 16:34:02 +0200 (envelope-from ) Received: from lori.mine.nu (199-55.240.81.adsl.skynet.be [81.240.55.199]) with ESMTP id i4TEXwaA002677; Sat, 29 May 2004 16:33:59 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 7AE2C3A1; Sat, 29 May 2004 16:33:49 +0200 (CEST) Date: Sat, 29 May 2004 16:33:49 +0200 From: Geert Hendrickx To: Odhiambo Washington Message-ID: <20040529143349.GA1054@lori.mine.nu> References: <20040529120436.GA5216@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040529120436.GA5216@ns2.wananchi.com> User-Agent: Mutt/1.4.2i X-PGP-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt X-Accept-Language: nl,en cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.10 and terminal woes 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: Sat, 29 May 2004 18:58:45 -0000 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. GH