Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!sun-barr!oliveb!tymix!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: comp.sys.amiga.tech Subject: Re: Execute function and ^C Summary: Use "NewCLI from ..." instead of execute. Message-ID: <281@tardis.Tymnet.COM> Date: 28 Jun 89 02:29:47 GMT References: <17114@gryphon.COM> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: McDonnell Douglas Field Service Co, San Jose CA Lines: 15 In article <17114@gryphon.COM> collins@pnet02.cts.com (Steven Collins) writes: >I have a C program that uses the Execute function to perform the >cli command: execute mybatchfile. The batchfile then goes off and >performs a bunch of time consuming commands. What I want to be able to >do is interrupt the thing in the middle (perhaps by typing ^C at the console). Instead of doing an "execute mybatchfile", try using: "NewCLI con:0/0/600/160/foo from mybatchfile". The new CLI will execute your commands, and it has this nice big window where you can type ^C and/or ^D. You will need to put an "EndCLI" statement at the end of the file. -- Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@tymix.tymnet.com McDonnell Douglas FSCO | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-D21 | PDP-10 support: My car's license plate is "POPJ P," San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"