From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] vt MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-zckozykjlqnongbjkyzlpcqgfj" Message-Id: <20010407012253.2BD7919A54@mail.cse.psu.edu> Date: Fri, 6 Apr 2001 21:22:51 -0400 Topicbox-Message-UUID: 7aaa7ebc-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-zckozykjlqnongbjkyzlpcqgfj Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I take it back, I just can't read terminfo's (imagine that). I added this code to vt.c, I'll put it in the next wrap. --upas-zckozykjlqnongbjkyzlpcqgfj Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Apr 3 20:32:21 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Apr 3 20:32:20 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 6424919A0B; Tue, 3 Apr 2001 20:32:07 -0400 (EDT) Received: from cnm-vra.com (cnm-vra.com [209.76.64.46]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 850CA199EC for <9fans@cse.psu.edu>; Tue, 3 Apr 2001 20:31:30 -0400 (EDT) Received: from micah by cnm-vra.com with local (Exim 3.12 #1 (Debian)) id 14kgT2-00054v-00; Tue, 03 Apr 2001 23:08:32 -0700 From: Micah Stetson To: 9fans@cse.psu.edu Message-ID: <20010403230832.B19367@cnm-vra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Subject: [9fans] vt Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 3 Apr 2001 23:08:32 -0700 I notice that there are a bunch of improvements in vt with this update. I want to thank whoever did all that work (Russ, I think?). But I noticed that some garbage was being left on my screen while scrolling in mutt. Although, strange stuff still goes on once in a while, most of the problem seemed to disappear with the following change to vt.c: /mnt/wrap/sys/src/cmd/vt/vt.c:581 c /sys/src/cmd/vt/vt.c:581 < clear(Rpt(pt(0, 0), pt(x, ymax+1))); --- > clear(Rpt(pt(0, 0), pt(xmax+1, y))); The code is supposed to clear from the first character on the screen up through the current position. As it was, this line would clear everything to the left of the current position and the next would clear everything on the current line up to the current position. I think the line should really clear everything above the current position, and at least mutt seems to work a little better that way. Micah --upas-zckozykjlqnongbjkyzlpcqgfj--