Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!dftsrv!hq!sysp1!pallen From: pallen@sysp1.hq.af.mil (Pete Allen) Newsgroups: comp.unix.questions Subject: Re: vi question Message-ID: Date: 14 Nov 90 02:38:17 GMT References: <7103@ozdaltx.UUCP> Sender: news@hq.afcsa.af.mil Distribution: usa Organization: 7th Comm Gp (USAF) - The Pentagon Lines: 19 In <7103@ozdaltx.UUCP> root@ozdaltx.UUCP (root) writes: *>I have a few files that contain characters in the alternate character *>set, that is greater than \177, mostly stuff to do ansi graphics for *>boxes and such. When I edit the file with vi, all of the codes are *>stripped out and I get a plain text file. I beleive that there is a *>set flag in vi that allows 8 bit writing when saving a file. Can't *>locate the code - anyone help? I'm also interested in that, because I'm trying to enter some escape/control sequences and can't figure out how to do that either. Our man for vi is only seven pages long and I wasn't able to find the answer there. I remember having this problem with edlin on MS-DOS, and the answer was to enter ^v, which it translated into the ESC thingie. I'l keep my eyes open. -- ============================================================================== = Pete Allen - N L 7 O I = _ // = If the Air Force WANTED me to have an = = pallen@sysp1.hq.af.mil = \X/ = an opinion, they'd have ISSUED me one = ==============================================================================