Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 17:21:19 GMT
From:      Alexander Best <alexbestms@wwu.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/145921: the line calculation in ee(1) doesn't get reinitialised upon line deletion
Message-ID:  <201004211721.o3LHLJdJ017844@www.freebsd.org>
Resent-Message-ID: <201004211730.o3LHU2Ye069434@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004211721.o3LHLJdJ017844>