Xref: utzoo comp.os.msdos.programmer:5587 comp.os.msdos.misc:2402 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!wdl1!wdl30!ekman From: ekman@wdl30.wdl.loral.com (Donald Ekman) Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc Subject: Re: Using EDLIN to insert ^C in a file (???) Message-ID: <1991Jun11.161125.23246@wdl1.wdl.loral.com> Date: 11 Jun 91 16:11:25 GMT References: <1991Jun10.213629.1591@unlinfo.unl.edu> <1991Jun11.145649.10912@noao.edu> Sender: news@wdl1.wdl.loral.com Organization: Loral Western Development Labs Lines: 27 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? >> Right now it simply terminates the edit. >> -- >> Nancy Khawand Internet: khawand@hoss.unl.edu >> University of Nebraska - Lincoln Phone : (402) 472-5663 >> Computing Resource Center FAX : (402) 472-5280 > > >try getting into insert mode and typeing 003 while holding down the alt key >This enters the ascii character 3 (^C) into the file. > > >Nick C Buchholz >buchholz@yogi.tuc.noao.edu | "Time is an illusion, Lunchtime doubly so" > | - Ford Prefect >Time is an illusion perpetrated by the manufacturers of space. 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? -- Donald E. Ekman, Space Systems/Loral, Palo Alto, CA ekman@wdl30.wdl.loral.com