Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!cernvax!chx400!hslrswi!merak.hasler.uucp!barr From: barr@merak.hasler.uucp Newsgroups: comp.editors Subject: VI macro problem inserting pipe Keywords: vi macro pipe-symbol help! Message-ID: <1543@hslrswi.UUCP> Date: 13 Sep 90 14:18:04 GMT Sender: news@hslrswi.UUCP Reply-To: barr@merak.hasler.uucp () Organization: Ascom Hasler AG, CH-3000 Berne 14, Switzerland Lines: 19 Hi people, I have a problem with vi in SunOs UNIX 4.0.3. I'm attempting to include the pipe symbol in a macro, but I can't stop vi interpreting the pipe, instead of just taking it as a simple character. A trivial example is: map # r| (the simplest one to prove the point). All I want to do is to change the text to | but vi complains to me. I've tried quotes, backslash, swearing at the machine... all to no avail. Can anybody please put me out of my misery and help me out? Thanks, Stuart. _ ___ __ Stuart J. Barr (_ | |_) _, ,_ ,_ Ascom Hasler AG, Berne, Switzerland _)._/. |_) (_| | | UUCP: ...!mcsun!hslrswi!barr "If it works, POTS: (+41) 031 63 16 04 don't fix it!"