Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!uwm.edu!bionet!agate!ucbvax!hplabs!hpl-opus!hpcc05!hpdmd48!alien From: alien@hpdmd48.boi.hp.com (Tom von Alten) Newsgroups: comp.editors Subject: vi map magic for "embolden"? Message-ID: <15030001@hpdmd48.boi.hp.com> Date: 27 Mar 91 16:24:24 GMT Organization: Hewlett Packard - Boise, ID Lines: 21 This sort of thing has undoubtedly been hashed over before, so I ask for your indulgence to a newcomer to comp.editors. I'd like to be able to create bold text in a vi document, without the constraints of having the source be nroff input. One way that occurred to me was to embolden one character at a time, to get the same result that nroff produces, e.g. S^HS^HS^HS for a bold 'S'. "ayla\^H\^H\^H^[hh"apl"apl"apl works in the editor, but when mapped, it inserts the 3 backspaces, beeps twice and leaves me on the next line. I think it has to do with the buffer transaction, but i'm not sure. It seems to me that I've had some trouble with ^[ in those map strings before... Thanks for any clues, or suggestions for better solutions to the original problem. _____________ Tom von Alten email: alien@hpdmd48.boi.hp.com Hewlett-Packard Disk Mechanisms Division 208 323-2711____________________________