From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 21 17:30:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55BE2106566B for ; Wed, 21 Apr 2010 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 184458FC0A for ; Wed, 21 Apr 2010 17:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3LHU2DZ069437 for ; Wed, 21 Apr 2010 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3LHU2Ye069434; Wed, 21 Apr 2010 17:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 21 Apr 2010 17:30:02 GMT Resent-Message-Id: <201004211730.o3LHU2Ye069434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Best Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06261065679 for ; Wed, 21 Apr 2010 17:21:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DFC5B8FC1E for ; Wed, 21 Apr 2010 17:21:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3LHLJM4017845 for ; Wed, 21 Apr 2010 17:21:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3LHLJdJ017844; Wed, 21 Apr 2010 17:21:19 GMT (envelope-from nobody) Message-Id: <201004211721.o3LHLJdJ017844@www.freebsd.org> Date: Wed, 21 Apr 2010 17:21:19 GMT From: Alexander Best To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/145921: the line calculation in ee(1) doesn't get reinitialised upon line deletion X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 17:30:03 -0000 >Number: 145921 >Category: bin >Synopsis: the line calculation in ee(1) doesn't get reinitialised upon line deletion >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 21 17:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206813: Wed Apr 21 18:01:52 CEST 2010 root@otaku:/usr/obj/usr/local/src/clangbsd/sys/ARUNDEL amd64 >Description: when deleting a line ee(1) seems to misses to adjust some attributes to correspond with the changed amount of lines. this leads to various problems. please see the report section for an example which triggers the problem. >How-To-Repeat: 1) start `ee` 2) enter the following: "A%enter%B%enter%C" 3) navigate to the first line and hit "ctrl+k" 4) navigate to line 2 and observe ee mistaking line 2 for line 3 5) now hit the delete key twice and see "top" changing to -1 6) hit the delete key again and see how the cursor jumps right into the middle of the window >Fix: >Release-Note: >Audit-Trail: >Unformatted: