Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!nuug!bibsyst!tore From: tore@bibsyst.UUCP (Tore Morkemo) Newsgroups: comp.unix.questions Subject: Re: INSERT CONTROL CHRACTERS INTO vi editor... Message-ID: <369@bibsyst.UUCP> Date: 6 Dec 90 07:53:10 GMT References: <1148@shakti.ncst.ernet.in> Reply-To: tore@bibsyst.UUCP (Tore Morkemo) Organization: Bibliotek-Systemer A/S, N-3250 Larvik, Norway Lines: 26 In article <1148@shakti.ncst.ernet.in> jagdeep@ncst.ernet.in (Jagdeep Antani) writes: > hello!! Hi ! > I am looking for the manner to insert any control character in vi In input mode you can enter ctrl-characters by first pressing -v and then pressing the ctrl-character. example : To enter ctrl-l into the text : Press -v and then -l. You can also enter by pressing -v and the the key. This is very useful with :map and makes it possible to enter and other useful ctrl-characters in macros. Tore. +----------------------------------------------------------------------+ ! Tore Morkemo, Bibliotek-Systemer A/S, N-3250 Larvik, Norway ! ! uucp: ...nuug!bibsyst!tore Tel: +47 34 82 202 ! ! tore@bibsyst.uucp Fax: +47 34 85 185 ! +----------------------------------------------------------------------+