Subject: bin/25556: vi -r broken on certain files
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <abs@mono.org>
List: netbsd-bugs
Date: 05/13/2004 12:47:36
>Number: 25556
>Category: bin
>Synopsis: vi -r broken on certain files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 13 11:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: John Q Root
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD styx.i.purplei.com 2.0_BETA NetBSD 2.0_BETA (_X86_NOACPI_) #0: Thu May 6 21:02:22 BST 2004 root@styx.i.purplei.com:/var/obj/i386/files/netbsd/2.0/sys/arch/i386/compile/_X86_NOACPI_ i386
Architecture: i386
Machine: i386
>Description:
On a certain file 'vi -r' displays a list of errors followed by
"Press any key to continue [q to quit]:". Hitting a normal key
repeats the errors, hitting q scrolls up blank lines to clear
the screen then just repeats the prompt. ^C, ^\, ^Z are trapped,
leaving the only option to login on another screen and kill the
process.
Errors are of the form:
+=+=+=+=+=+=+=+
makedoc: new file: line 1; Error: unable to retrieve line 64.
Error: unable to retrieve line 65; Error: unable to retrieve line 66.
Error: unable to retrieve line 67; Error: unable to retrieve line 68.
Error: unable to retrieve line 69; Error: unable to retrieve line 70.
Error: unable to retrieve line 64; Error: unable to retrieve line 65.
Error: unable to retrieve line 66; Error: unable to retrieve line 67.
Error: unable to retrieve line 68; Error: unable to retrieve line 69.
Error: unable to retrieve line 70; Error: unable to retrieve line 71
>How-To-Repeat:
Extract the following into /var/tmp/vi.recover, then
run 'vi -r makedoc'
begin 664 recover.tbz
M0EIH.3%!629361(F#D<`$?S______________^??______]$1$1$1$1$3$1%
M1$1$_$1(8!"@J^\"C@0Q0Z[8``T#-ATUU04`4!H`#0%#I!*0@313P4]/0)JG
MM3P)Z1I@$TT*>$TU-/4]0T-```]0:`:#(`&@`:#U-J>4&@E$A,:!,@C4Q`--
M-`T!H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