Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!zephyr!tektronix!psueea!parsely!agora!rickc From: rickc@agora.UUCP (Rick Coates) Newsgroups: comp.editors Subject: Vi Turing machine question Keywords: vi Message-ID: <1570@agora.UUCP> Date: 13 Jul 89 15:36:05 GMT Organization: Advanced Solutions, Hillsboro, OR Lines: 30 First, I thought that the Turing machine simulation in vi is clever - a real tour de force. When I tried it on MKS vi (I would give you a version number if their documentation gave one), however, it bombed. Upon investigation, it is the map k ^V|D (where ^V is the control V character) line that is causing trouble. Then, I tried it from inside unix vi (instead of :so). No luck. Even with 'remap' set, unix vi gives the message I got from MKS - 'missing rhs'. What gives here? Another question - what's the easiest way to globally append/insert text on the end/beginning of lines? I don't know how to do it in vi at all - and in ex it's clumsy. Rick Coates Consulting H/W - S/W engineer (Graphics - Sun - Unix - ASIC design - imbedded systems) ...!tektronix!reed!percival!agora!rickc