Obscure Vi bug?
Rob Kurver
rob at dutncp8.tudelft.nl
Fri Jul 27 11:03:54 AEST 1990
In <618 at tetrauk.UUCP> rick at tetrauk.UUCP (Rick Jones) writes:
>On this subject, this version has another annoying bug, involving the use of p
>or P in macros. E.g. I use a key mapping to swap adjacent characters, which is
>the sequence xph (the h keeps the cursor in the same position). As a macro,
>the h gets inserted into the text! This happens in any macro using p or P
>followed by other characters, all the subsequent characters get inserted, not
>obeyed as commands. Lots of macros won't work because of this, including the
>wonderful word-completion macro recently posted in comp.editors.
>Is this unique to the SCO version of vi? And will someone at SCO please fix
>it.
I've experienced the same problem with the ESIX version of vi. When used
in a macro, p and P don't work correctly.
--
Rob Kurver rob at dutncp8.tudelft.nl
Computational Physics Group rob at pact.nl
Faculty of Applied Physics, Delft University of Technology
Learning French is trivial: the word for horse is cheval, and
everything else follows in the same way.
-- Alan J. Perlis
More information about the Comp.unix.questions
mailing list