From owner-freebsd-ports Mon Jun 25 14:40: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 367E737B407 for ; Mon, 25 Jun 2001 14:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5PLe2n30375; Mon, 25 Jun 2001 14:40:02 -0700 (PDT) (envelope-from gnats) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.49.166]) by hub.freebsd.org (Postfix) with ESMTP id 09CE837B407 for ; Mon, 25 Jun 2001 14:35:36 -0700 (PDT) (envelope-from stephen@cauchy.math.missouri.edu) Received: (from stephen@localhost) by cauchy.math.missouri.edu (8.11.4/8.11.4) id f5PLZZB44201; Mon, 25 Jun 2001 16:35:35 -0500 (CDT) (envelope-from stephen) Message-Id: <200106252135.f5PLZZB44201@cauchy.math.missouri.edu> Date: Mon, 25 Jun 2001 16:35:35 -0500 (CDT) From: Stephen Montgomery-Smith Reply-To: Stephen Montgomery-Smith To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28405: display port does not display properly if number of lines change Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28405 >Category: ports >Synopsis: display port does not display properly if number of lines change >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 25 14:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 4.3-STABLE i386 >Organization: University of Missouri >Environment: System: FreeBSD cauchy 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jun 12 09:38:34 CDT 2001 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386 >Description: This is a problem with the port /usr/ports/misc/display. Suppose one types display program and the program outputs some number of lines. Then suddenly the program starts outputting less lines. Then the old lines are not appropriately deleted from the output. >How-To-Repeat: mkdir junk cd junk touch a b c d e f g h display ls Then open another window. cd junk rm a b c d e >Fix: Actually the original program is correct. The problem is is that patch-aa introduces this bug by deleting a line that is: clrtobot(); So this is the fix: --- ../display/files/patch-aa Thu Oct 12 10:48:55 2000 +++ files/patch-aa Mon Jun 25 16:22:52 2001 @@ -35,11 +35,11 @@ char ch; if (!(fp = popen(Command, "r"))) { -@@ -83,7 +81,6 @@ +@@ -83,7 +81,7 @@ addch(ch); } clrtoeol(); -- clrtobot(); + clrtobot(); refresh(); pclose(fp); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message