From owner-freebsd-bugs Thu Nov 29 4:21:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2494237B43B for ; Thu, 29 Nov 2001 04:20:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fATCK5M66810; Thu, 29 Nov 2001 04:20:05 -0800 (PST) (envelope-from gnats) Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id E9D8B37B435 for ; Thu, 29 Nov 2001 04:10:10 -0800 (PST) Received: (from uucp@localhost) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) id fATCA8218796 for FreeBSD-gnats-submit@FreeBSD.org; Thu, 29 Nov 2001 13:10:08 +0100 (MET) Message-Id: <200111291204.fATC4Hd02117@klemm.gtn.com> Date: Thu, 29 Nov 2001 13:04:17 +0100 (CET) From: Andreas Klemm Reply-To: Andreas Klemm To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/32374: vi -r doesn't work, file contained unexpected binary data Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32374 >Category: bin >Synopsis: vi -r doesn't work, file contained unexpected binary data >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 29 04:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Andreas Klemm >Release: FreeBSD-4.4 >Organization: FreeBSD >Environment: System: FreeBSD titan.klemm.gtn.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Nov 21 18:48:59 CET 2001 root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN i386 >Description: vi -r recover operation failed because of binary data in the saved file Was modifying an existing index.html file. Unfortunately I power cycled the machine (hit buttom with my foot *argh*). Couldn't recover file, because it contained binary data on which vi choked prompting me to quit probably from within ed mode. ":" command wasn't allowed. Here some samples how some lines looked
SCO Xenix 80286 (was first able to compile rogue successfully) ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@ ^@^@^@^M^@
    When browsing down the following happened:
  • Education as Microsoft Certified System Engineer (MS CSE) (5 of 6 courses)
+=+=+=+=+=+=+=+ Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen Druecke beliebige Taste um fortzufahren Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Fehler: kann Zeile 80 nicht wiederherstellen. Druecke beliebige Taste um fortzufahren [q zum Verlassen]: But if I hit q, nothing happens ! Actually vi session seems locked / hung up... begin 644 vi.W0VtEz M8C$%``,`````!````````.L```"@```````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M``````````````````````````````````````````````$````````````` M``@````J`*@#^`/P`^@#X`/8`]`#R`/``[@#L`.H`\P!;`$(`9@````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M````````:@````!;/&$@:')E9CTB+BXO=6YI>"UV"YH=&UL M(CY5;FEX('9S+B!.5#PO83Y=(%L\82!H"YH=&UL(CY-96UB97)S:&EP"YH=&UL(CY(87)D=V%R93PO83Y=``!;`````%L\ M82!H"YH=&UL(CY,:6YKF4]+3$^6SQA(&AR968](BXN+VEN9&5X+FAT;6PB/DA/ M344\+V$^72!;/&$@:')E9CTB+BXO;F5W"YH=&UL(CY.97=S/"]A M/ET````-`````"=B;W5T(&UE/"]H,3X```0`````/&@Q/@`````````````` M5@`````\8F]D>2!T97AT/2(C,#`P,#`P(B!B9V-O;&]R/2(C1D9&1D9&(B!L M:6YK/2(C,#`P,$5&(B!V;&EN:STB(S4Q,3@X12(@86QI;FL](B-&1C`P,#`B M/@`'`````#PO:&5A9#Y=`````"`@(#QM971A(&YA;64](D=%3D52051/4B(@ M8V]N=&5N=#TB36]Z:6QL82\T+C7!E(B!C;VYT96YT/2)T97AT+VAT;6P[ M(&-H87)S970]:7-O+3@X-3DM,2(^!@````$````,````%P````L````4```` M"@````\````)````(`````@````F````!P```"8````&````$P````4````0 M````!````!`````#````#`````(````"``````````,````0````+`#,`;P# ML`.D`U0#(`.\`K`"5`),`D`"+`+,`0`````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M````````````````````````````````````````````6``````\9F]N="!S M:7IE/2TQ/EL\82!H"YH=&UL(CY(3TU%/"]A/ET@6SQA M(&AR968](BXN+VYE=W,O:6YD97@N:'1M;"(^3F5WFEL;&$O-"XW-R!;96Y=("A8,3$[(%4[($QI;G5X(#(N,BXQ,B!I,S@V*2!; M3F5T7!E(&AT;6P@<'5B;&EC("(M+R]W,V,O+V1T9"!H=&UL(#0N,"!T`"@`SP#S`)<`D0"^`&H M`5@!4`$L`<@`N`"H`)P`B`!X```````````````````````````````````` M````````````````````````````````````````````````````````"@`` M``!397!T+B`Q.3@R``X`````161U8V%T:6]N/"]H,CX`!``````\:#(^```` M"@`````\8G(^)FYB2X```!<`````#QP/C$P+C`S M+C$Y-C,L(&)O6]U M"YH=&UL(CXV-$)I=',\+V$^72!;/&$@:')E9CTB M+BXO<'5B;&EC871I;VYS+VEN9&5X+FAT;6PB/E!U8FQI8V%T:6]N"YH=&UL(CY&"YH=&UL(CY!<'-F:6QT97(\+V$^ M700````#````!0```!`````T`$P`L`.(`W@#$`/L`N0"V`*,`GP"+`+@`9`! M0`'P`*``3`````````````````````````````````!,`````'=E2!C;VUP87)E9"!T;R!T:&4@=V]R:R!I;G9O;'9E9"!I;B!T:&%T('1I;64L M('=H97)E('-O=7)C97,``$L`````86YD(#QI/F%U=&]C;VYF/"]I/B!M86ME M"!S;W5R8V5S(&EN(&YO M=V%D87ES2@````!C;VUP+G-O=7)C97,N=6YI>"!W87,@82!N:6-E(&%D=F5N M='5R92!I;B!F;W)M97(@=&EM97,N(#QI/DEM86ME/"]I/B9N8G-P.P!)```` M`&1I9F9E6EN9R!T;R!C;VUP:6QE(&%N9"!I M;G-T86QL(&9R964@56YI>"!S;W5R8V5S(&9R;VT``$<`````=&AI2!D:69F97)E;G0@3W!E M2!V97)Y(&5A MF4]*S$^ M5&%R9V5T(%!R87AI2D`'P````!I;B!T:&4@=VEN=&5R('=I=&@@;F\@<')O8FQE;7,I2``` M```\8G(^4$-3($-A9&UU65A:"P@36EC71H:6YG('-T87)T960@;VX@82!O`#V`/8`X0#;`-L`U0# M]`+L`I@"D`)``C@"W`'(`:`!C`%4`4`!^`#$`'0````````````````````` M```````$`````#QL:3X````$`````#QU;#X``````````````#0`````0B9A M;7`[2R!#;VUP=71E7-T96UE+"!$+30R,S(Y(%=U<'!E7-T96T@16YG:6YE97(@*$U3($-312EI/D``````("`@(#QL:3Y-:6-R M;W-O9G0@4')O9'5C="!3<&5C:6%L:7-T(&9O7-T96US(&%N9"!.971W;W)K(&-O M=7)S97,Z/"]L:3Y+`````"`@("`\;&D^0F%U<&QA;B!&3PO83XL(#$Y.3@M,C`P,3PO;&D^8V]M*@`````@ M(#QL:3X\82!H`%P`2P!)`'P`#X`````("`@ M(#QI;6<@4U)#/2)C:7-C;RUL;V=O+F=I9B(@0D]21$52/3`@:&5I9VAT/38R M('=I9'1H/3@W/CPO83X`)``````@("`@/&$@:')E9CTB:'1T<#HO+W=W=RYC M:7-C;RYC;VTO(CYC:7,-`````"`@/'1D($Y/4T%613Y#/4\`````("`@(#QL M:3Y3=6X@0V5R=&EF:65D(%-Y2!F;W(@3F5T=V]R:W,@ M86YD(%5N:7@@8F%S960@3W!E&%M/"]F;VYT/CPO8CX^+B``````("`@(#QP/CQB/CQF;VYT(&-O;&]R/2(C M.3DP,#`P(CXO8CXQ`````"`@("`@("`@5F]I8V4@;W9E2P@051-/"]F;VYT/CPO8CX^/B,`````("`@("`@/&)R/CQB/CQF;VYT M(&-O;&]R/2(C.3DP,#`P(CXA`````"`@("`@("`@0T-)12!.;RXZ(#8S-C(\ M+V9O;G0^/"]B/C`P(P`````@("`@("`\8G(^/&(^/&9O;G0@8V]L;W(](B,Y M.3`P,#`B/D4`````("`@("`@,38N,#8N,C`P,"`M('!AG5L;2YC;VTO(CYH='1P.B\O=W=W+FAE:6YZ=6QM+F-O;2\\ M+V$^/"]F;VYT/CPO8CX+````"@````P````0````0@!X`/@#Z`/@`]`#Q`.\ M`[`#?`-H`V`#(`/T`K@"<`)H`M@!S`&T`:P!G`$\`=P`>``,`@`"R`'``;0! M9`%0`4@!/`'H`.``S`#``+@`K`````````````````````````````````!= M`````%L\82!H"YH=&UL(CY(3TU%/"]A/ET@6SQA(&AR968](BXN+VYE=W,O M:6YD97@N:'1M;"(^3F5W2QA M$0`````\+W1A8FQE/CPO8V5N=&5R/@``!0`````\+W1R/FEOB``````\=&0^ M/&$@:')E9CTB:'1T<#HO+W=W=RYM:6-R;W-O9G0N8V]M+W1R86EN7V-E2!F;W(@3F5T M=V]R:W,@86YD(%5N:7@@8F%S960@3W!E"YH=&UL(CY0=6)L:6-A=&EO M;G,\+V$^73PO9F]N=#X`:@````!;/&$@:')E9CTB+BXO=6YI>"UV"YH=&UL(CY5;FEX('9S+B!.5#PO83Y=(%L\82!H"YH=&UL(CY-96UB97)S:&EP``` M```````````````````````````````````````````````````````````` M``````````````````````````````H`````4V5P="X@,3DX,@`.`````$5D M=6-A=&EO;CPO:#(^``0`````/&@R/@````H`````/&)R/B9N8G-P.P`(```` M`$=E2!P97)S M;VYA;"!D871A.@````,`````.RTI2`````!T;R!K;F]W+"!W:&\@=&AI"!3=5-%+"!T"!A;F0@26YT96P@4U92-"`H>65A M:"P@22!S87<@=&AI"!365-6(%(S20`````\8G(^ M4T-/(%5N:7@L(%-94U8@.#`S.#8@*&UY(&9IHow-To-Repeat: Didn't want to hit the power-off button several times ... All I can do is to attach here the recover file uuencoded. >Fix: no. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message