Xref: utzoo comp.bugs.sys5:1319 comp.unix.i386:7269 comp.unix.questions:24096 comp.unix.xenix:12570 Path: utzoo!attcan!uunet!mcsun!hp4nl!dutrun!dutncp8!rob From: rob@dutncp8.tudelft.nl (Rob Kurver) Newsgroups: comp.bugs.sys5,comp.unix.i386,comp.unix.questions,comp.unix.xenix Subject: Re: Obscure Vi bug? Message-ID: Date: 27 Jul 90 01:03:54 GMT References: <798@intelhf.hf.intel.com> <846@mwtech.UUCP> <618@tetrauk.UUCP> Sender: news@dutrun.UUCP Lines: 23 Organisation: Delft University of Technology, The Netherlands In <618@tetrauk.UUCP> rick@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@dutncp8.tudelft.nl Computational Physics Group rob@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