From owner-freebsd-current@FreeBSD.ORG Wed Sep 22 21:49:58 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CBB21065698 for ; Wed, 22 Sep 2010 21:49:58 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id C62748FC1B for ; Wed, 22 Sep 2010 21:49:57 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 569E15ACFD; Wed, 22 Sep 2010 23:18:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 4FAAE5AC95; Wed, 22 Sep 2010 23:18:07 +0200 (CEST) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 2E0455CD76; Wed, 22 Sep 2010 23:18:07 +0200 (CEST) Received: from wep4035.physik.uni-wuerzburg.de ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.2) with ESMTP id 2010092223180652-54651 ; Wed, 22 Sep 2010 23:18:06 +0200 Date: Wed, 22 Sep 2010 23:18:05 +0200 From: Alexey Shuvaev To: Pyun YongHyeon Message-ID: <20100922211805.GA2202@wep4035.physik.uni-wuerzburg.de> References: <20100922205831.GI10299@michelle.cdnetworks.com> MIME-Version: 1.0 In-Reply-To: <20100922205831.GI10299@michelle.cdnetworks.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.20 (2009-06-14) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.2|August 10, 2010) at 09/22/2010 11:18:06 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.2|August 10, 2010) at 09/22/2010 11:18:06 PM, Serialize complete at 09/22/2010 11:18:06 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: freebsd-current@FreeBSD.org Subject: Re: "tput clear"/vi breakage on console X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 21:49:58 -0000 On Wed, Sep 22, 2010 at 01:58:31PM -0700, Pyun YongHyeon wrote: > Hi, > > It seems "tput clear" on console wipes out entire screen without > even showing a shell prompt. The only way I get characters is to > enter "enter" key. I'm under the impression that the first line of > console output is not displayed at all after "tput clear" command. > Another thing I noticed is vi also does not show the first line > of a file. Any idea? > Seems to work fine for me both in xterm and in the text console. ~> uname -a FreeBSD wep4035 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r212998: Wed Sep 22 16:28:09 CEST 2010 root@wep4035:/usr/obj/usr/src/sys/GENERIC amd64 [In xterm] ~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_NUMERIC=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES=C LC_ALL= [In text console] # locale LANG= LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= The 'cl' capability from the xterm session (part of TERMCAP): cl=\E[H\E[2J HTH, Alexey.