Article View: comp.os.msdos.programmer
Article #7036Re: Using EDLIN to insert ^C in a file (???)
From: Bill Mitchell
Date: Tue, 11 Jun 1991 17:36
Date: Tue, 11 Jun 1991 17:36
27 lines
1549 bytes
1549 bytes
In article <1991Jun11.161125.23246@wdl1.wdl.loral.com> ekman@wdl30.wdl.loral.com (Donald Ekman) writes: >In article <1991Jun11.145649.10912@noao.edu> buchholz@noao.edu (Nick Buchholz) writes: >>From article <1991Jun10.213629.1591@unlinfo.unl.edu>, by khawand@hoss.unl.edu (Nancy Khawand): >>> Using EDLIN, how can I insert the ^C character into a file? >>>[...] >> >> >>try getting into insert mode and typeing 003 while holding down the alt key >>This enters the ascii character 3 (^C) into the file. >> >> >>[...] > >In my edlin (PC-DOS 3.3) this doesn't work. It escapes from insert mode >just as if you had pressed Ctrl-C. > >I don't know how to do it either. I tried ^V^C, but that didn't work. >Anybody got any other ideas? > The only quick answer I've found is to place another char where you want the control-c, and then use debug to edit the file and replace that char with a byte containing 0x03. -- mitchell@mdi.com (Bill Mitchell)
Technical Details
Message-ID:
<1991Jun11.173645.26051@MDI.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mdisea!mitchellReferences:
<1991Jun10.213629.1591@unlinfo.unl.edu> <1991Jun11.145649.10912@noao.edu> <1991Jun11.161125.23246@wdl1.wdl.loral.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mdisea!mitchell From: mitchell@MDI.COM (Bill Mitchell) Subject: Re: Using EDLIN to insert ^C in a file (???) Message-ID: <1991Jun11.173645.26051@MDI.COM> Sender: news@MDI.COM Organization: Motorola, Mobile Data Division - Seattle, WA References: <1991Jun10.213629.1591@unlinfo.unl.edu> <1991Jun11.145649.10912@noao.edu> <1991Jun11.161125.23246@wdl1.wdl.loral.com> Date: Tue, 11 Jun 1991 17:36:45 GMT Lines: 27