AWCTTYPA@UIAMVS.BITNET ("David A. Lyons") (01/29/89)
>Date: Thu, 26 Jan 89 01:31:05 GMT >From: "Patrick A. Townson" <att!chinet!patrick@UCBVAX.BERKELEY.EDU> >Subject: Re: Getting a CATALOG into a file >You might also write line 120 to say CALL XXXXX, where XXXXX is the >pro-DOS location for the catalog routine. (In DOS 3.3, 'call 42350' >will do a catalog. I do not know what the pro-DOS location would >be.) [Not meaning to pick on you, Patrick, but come on folks--it's capitalized like this: ProDOS. Always has been, always will be.] Now, this is important: Under ProDOS and BASIC.SYSTEM, there are generally _not_ places that you can CALL. Sure, you can find places to CALL, but they will be dependent on particular versions of the software. Unlike DOS 3.3, ProDOS and BASIC.SYSTEM have well-defined interfaces to the outside world, and the internals change more or less regularly. There is no location defined that you can CALL to get a catalog listing under BASIC.SYSTEM. >[...] By the way, I would also suggest one other change when you >write that catalog to a file: If you have a long catalog, it is going >to pause after about a screenful and wait for a keypress, which it >will never find since the computer is getting its input from the >disk. No--BASIC.SYSTEM does not pause its catalog listings. (You can pause with Ctrl-S, though.) >Patrick Townson > patrick@chinet.chi.il.us / US Mail: 60690-1570 (personal zip code) > FIDO: 115/743 / AT&T Mail: 529-6378 (!ptownson) / MCI Mail: 222-4956 --David A. Lyons bitnet: awcttypa@uiamvs DAL Systems CompuServe: 72177,3233 P.O. Box 287 GEnie mail: D.LYONS2 North Liberty, IA 52317 AppleLinkPE: Dave Lyons
archer@hsi.UUCP (Garry Archer) (02/01/89)
In article <8901290133.aa16254@SMOKE.BRL.MIL>, AWCTTYPA@UIAMVS.BITNET ("David A. Lyons") writes: > >[...] By the way, I would also suggest one other change when you > >write that catalog to a file: If you have a long catalog, it is going > >to pause after about a screenful and wait for a keypress, which it > >will never find since the computer is getting its input from the > >disk. > >Patrick Townson > > No--BASIC.SYSTEM does not pause its catalog listings. (You can > pause with Ctrl-S, though.) Now there would be nice patch! I've often wished I could emulate Unix's "more" command on ProDOS's "cat" (basic list) or "catalog" (extra file info) commands. I hate the CTRL-S method. I've often thought of writing an Applesoft program to read the directory and await a keypress after a screen full of information. Is there an easier way? A few pokes to patch "cat" and "catalog" perhaps? -- Garry Archer Esq. {noao, yale, uunet}!hsi.com!archer Health Systems International New Haven, CT 06511 U.S.A.