🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #209

Re: Obscure Vi bug?

#209
From: Moellers
Date: Wed, 01 Aug 1990 14:42
22 lines
1434 bytes
In <11626@ingr.com> lester@ingr.com (Lester Bartel) writes:

>While we are on the subject of vi macro bugs, I have one to add.
>I cannot seem to make the | (pipe) work in a macro.  What I want is
>a macro that will move my cursor to the 70th column (70|) so that I can
>split long lines onto shorter similar length lines easily.

The problem is, that the bar (|) is a meta character "in the command
line" (How do I express what I want to say?).
You can write "map a b | map c d"
Unfortunately, there is no way of escaping the bar, like escaping the
brackets ([]) by prefixing a backslash.

I have given up trying to position into the 72nd column to do a line
split. I write "map 0 072lBhs^M^[".
Unformtunately this completely ignores tabs, but that's life.

--
| Josef Moellers		|	c/o Nixdorf Computer AG	|
|  USA: mollers.pad@nixbur.uucp	|	Abt. PXD-S14		|
| !USA: mollers.pad@nixpbe.uucp	|	Heinz-Nixdorf-Ring	|
| Phone: (+49) 5251 104662	|	D-4790 Paderborn	|
Technical Details
Message-ID: <josef.649521753@peun11>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!mit-eddie!media-lab!snorkelwacker!spdcc!merk!alliant!linus!nixbur!nixpbe!peun11!josef
References: <39591@sequent.UUCP> <11626@ingr.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!mit-eddie!media-lab!snorkelwacker!spdcc!merk!alliant!linus!nixbur!nixpbe!peun11!josef
From: josef@nixpbe.UUCP (Moellers)
Newsgroups: comp.bugs.sys5,comp.unix.questions
Subject: Re: Obscure Vi bug?
Message-ID: <josef.649521753@peun11>
Date: 1 Aug 90 14:42:33 GMT
References: <39591@sequent.UUCP> <11626@ingr.com>
Sender: news@nixpbe.UUCP
Followup-To: comp.bugs.sys5
Lines: 22