Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!voder!pyramid!unify!siva!mark From: mark@siva.UUCP (Mark Marsh) Newsgroups: comp.unix.questions Subject: Re: Vi question Message-ID: <59@siva.UUCP> Date: 16 Jun 90 20:31:17 GMT References: <13132@ulysses.att.com> Reply-To: mark@siva.UUCP (Mark Marsh) Organization: Camozotz Research Theatre Lines: 23 In article <13132@ulysses.att.com> mab@ulysses.att.com (Muhammad Basit) writes: >I have a simple vi question. How do I substitute a character with the >newline character in vi? I tried '\n', '\\n', the ascii code etc but >it doesn't seem to work. When substituting a non-printing (ie control-character) into text in vi the following sequence may be used: s//[Ctrl-v]