X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,e69f319f8c8ea97a X-Google-Attributes: gidf996b,public From: bgriffin@ic.sunysb.edu (Eli the bearded) Subject: Re: working with the escape character Date: 1996/02/16 Message-ID: <4g1hr1$rsm@abel.cc.sunysb.edu>#1/1 X-Deja-AN: 139626320 references: <4fo7ns$3ug@portal.gmu.edu> x-prohibition: Microsoft Network is prohibited from redistributing this organization: the-rapist is a poor choice of a name for the profession x-grepfood: My spleen has a Cantor and Siegel green card -- NSA series. newsgroups: alt.ascii-art x-us-congress: Moronic fucks. asantora@phosphorus wrote: >Greetings all... > >I have had a couple of requests for info on how to use ascii value 027 (escape) [proceeds to explain how to get an into a file] Oh yes, inventive. And quite unnecessary. As one of the vi gurus who hangs around comp.editors, I can tell you that learning how to put type escape in vi is one of the most important things to learn for using macros. To type escape in vi, hit -V, then hit escape. Here are some great vi macros for editing art in Replace mode: map ^[klR map ^[jlR map ^[R map ^[llR To use these, put them in a file called .exrc in your home directory. The ^[ in each is the escape character. The strings "", "", etc must be replaced by the key sequence of your arrow keys. To get that type -V and then hit the correct key. If you don't want to have those around all the time, you can put them in a different file. Then when you want to use them type ":source file" in vi. Elijah ------ feel free to ask me or the newsgroup comp.editors about any other vi problems