Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!eb15+ From: eb15+@andrew.cmu.edu (Edward D. Berger) Newsgroups: comp.sys.amiga.programmer Subject: Amiga Application Startup Code question Message-ID: Date: 22 Jun 91 02:14:24 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 22 I'm working on a tutorial to give my local usergroup members about writing an 'Amiga-ized' application program. I will be using C as the language, and have come across the following question. How do I 'runback' my program if the user starts from CLI with any arguments other than "?", but echo the command template to the CLI if that is what they obviously want. I have an example using SAS/C that if I link with cback.o doesn't allow the command template to be given, but then leaves the cli window 'stuck open' if I link with c.o instead. I don't really like having to hog a cli window by starting my program, but I think the user should be able to get a command template. I also don't think users should be expected to have third party software like runback for uses like this. (Though I use it all the time.) I would like generic code that would work with SAS/C, DICE, MANX, PDC, etc. (This is for a generic tutorial, after all, and compatibility between both workbench 1.3, and Release 2 AmigaOS is desired) ...Sorry to those folks who would rather this post be about Source Code availability..... Ed Berger eb15@andrew.cmu.edu