Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!thelake!steve From: steve@thelake.mn.org (Steve Yelvington) Newsgroups: comp.sys.atari.st Subject: Re: TOS Command Line Message-ID: Date: 8 May 91 02:27:52 GMT Article-I.D.: thelake.A2876905127 References: Organization: St. Croix Valley C and Ski Lines: 25 [In article , ersys!mforget@nro.cs.athabascau.ca (Michel Forget) writes ... ] > Does anyone know how to use the Pexec function so that it will take a > command line longer than 80 charactes. I am writing a program that will > require longer command lines, but I'm stumped on this one. The > documentation that I have does not mention anything about command lines > longer than 80 characters, yet they are possible... Command lines can be up to 125 characters long. If you need to pass more information than that, there are three currently used methods, of which one, XARG, is currently endorsed by Atari Corp. The file EXARG.DOC in the Gemini distribution (see comp.binaries.atari.st) will tell you all you need to know. There's some code in the samples folder to show how it's done. The Sozobon C compiler and dlibs support another method called ARGV. See the dlibs sources. Mark Williams Co. uses a third method with its C compiler, which, as has been mentioned, is no longer being updated. ---- Steve Yelvington, Marine on St. Croix, Minnesota, USA / steve@thelake.mn.org