Path: utzoo!attcan!uunet!lll-winken!ames!pacbell!att!homxb!homxc!marty From: marty@homxc.ATT.COM (M.B.BRILLIANT) Newsgroups: comp.sys.ibm.pc Subject: Thanks for vi.arc, but.... Summary: But how can I put a backspace in a regular expression? Message-ID: <5188@homxc.ATT.COM> Date: 26 Jan 89 17:18:38 GMT References: <4038@omepd.UUCP> <18200003@ugun21> Organization: AT&T BL Holmdel NJ USA Lines: 46 In article <18200003@ugun21>, loschner@ugun21.UUCP writes: > > begin 600 vi.arc > M&@A622Y%6$4 )24E)24EPI0 #<2RV10(&C# ,3;2@"2 &@"@ 0 "T$?#Ox > ...... > K$+('D !:P 3$ $*T !"P$3L !R[$! 0!]$ SNPY\H 2 , 4YN[,: .x > x > end > ------------------------------------ > BITNET: loeschner.pad@nixpbe.UUCP > UUCP: ...!uunet!linus!nixbur!nixpbe!loeschner.pad > ...!{cernvax|mcvax|inria|ukc}!unido!nixpbe!loeschner.pad > VMS-Mail: PSI%2624552519304::VMS4::LOSCHNER > Phone: nat-5251-10-5791 > S-mail: Nixdorf Computer AG > Jan G. Loeschner > Bereich EG > Unterer Frankfurter Weg 10 > D-4790 Paderborn > West Germany I downloaded this to my PC and tried it out. I like it. It has (when ANSI.SYS is installed) the basic look and feel of the vi editor as implemented on UNIX(r) systems. It's closer to the "real" vi than another version I tried before. But I have a problem using it. I get files on my PC with literal backspace characters embedded in them. I want to use vi to search and replace these backspace characters. In vi on a UNIX(r) system, I can create a regular expression with a backspace in it by typing either backslash backspace or CTRL-V backspace. In this version of vi on the PC, neither of these methods works. I have also tried backslash octal and ALT-keypad with no success. Somewhere in the chain of replies to my request, I fully expect someone to read a partial quotation from it and tell me to use a backslash or a CTRL-V before the backspace. I know that works on UNIX(r) systems and doesn't work on this version of vi on a PC. Does anyone know how to create a regular expression containing a backspace in this PC version? M. B. Brilliant Marty AT&T-BL HO 3D-520 (201) 949-1858 Home (201) 946-8147 Holmdel, NJ 07733 att!homxc!marty Disclaimer: Opinions stated herein are mine unless and until my employer explicitly claims them; then I lose all rights to them.