Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!sunybcs!ugkamins From: ugkamins@sunybcs.uucp (John Kaminski) Newsgroups: comp.sys.amiga Subject: Re: Creating a CLI Message-ID: <5164@cs.Buffalo.EDU> Date: 11 Apr 89 00:51:54 GMT References: <149@dunkirk.DKK> Sender: nobody@cs.Buffalo.EDU Reply-To: ugkamins@sunybcs.UUCP (John Kaminski) Distribution: comp.sys.amiga Organization: SUNY/Buffalo Computer Science Lines: 42 In article <149@dunkirk.DKK> will1990@dunkirk.UUCP (The phone Cops) writes: > >Being a one drive user, I am trying to create a disk that will boot on >its own, run a vt100 emulator (handshake) from icon, and be able >to open a CLI (or shell, whatever) for disk activity... such as >unarcing and copying, etc. > >Simple task, right....? >So I get everything working fine, having all the neccessary libs, devs >and handlers, etc. Are you sure? You have C:Run sitting there waiting? I had similar "rude awakenings" when trying to get a CLI going. I believe the basic algorithm for the program goes something like: open a new unit of the console to run the CLI (i.e., Open("CON:etc.",...)) call Execute() with the 2nd & 3rd args as pointers to the FileHandle just obtained with that Open() call and of course, STOOPID Execute() just HAS to have C:Run to accomplish anything >I try to get a CLI, first by copying it over(including) >s:CLi-STartup, and everything that even looked like it was neccassary.. ^^^^^^^^^^ necessary? >But when I run it(double click the icon), it opens a CLI window for >a split second and closes it up again. I've even tried using the WB1.2 >prefs to "turn on a CLI" (1.3 doesn't have this feature), assigning C: >, and everything I can Think of. > >I cannot understand what I'm doing wrong, any suggestions? Let us know if that was the problem. That was what my problem was. Well, OK, my news poster is complaining about including more stuff than what I actually wrote, so let's hope I can type enough stuff here to make my news poster think a little differently about the ratios of new text to included text. One can only hope. Hmmm....maybe a .sig..... // "Do we get what we deserve, // or deserve what we get?" -- me \X/ The Amiga 1000 vows to never die