Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.UUCP Newsgroups: comp.sys.atari.st Subject: "file selector" blues, Megamax bug Message-ID: <639@batcomputer.tn.cornell.edu> Date: Wed, 8-Apr-87 22:31:42 EST Article-I.D.: batcompu.639 Posted: Wed Apr 8 22:31:42 1987 Date-Received: Sat, 11-Apr-87 13:48:39 EST Reply-To: braner@tcgould.tn.cornell.edu.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 39 Keywords: user-friendly C sizeof [] I was using UNSQZ.PRG the other day, and got very frustrated. Partly it is my fault, partly Atari/DRI's fault, and partly unsqz's author. Attempting to unsqueeze files on a RAMdisk, UNSQZ gave me a file selection dialog box (the standard TOS thing) showing the files in drive D:\ with a .?Q? suffix. After selecting one, it then spun DRIVE A to look for a target file! This is doubly silly, since: I 'was' in D:, and if the target file existed I wouldn't need to unsqueeze it! After inserting a floppy to calm TOS down, I clicked on "A:" and typed the long string "D:\*.*". After that unreasonable effort I automatically hit (habit? nature?), so I had to start all over again. After several trials I remembered to click in the file-list window, then type in the real target name, then (yes). (UNSQZ did display the appropriate target name at first, but TOS erased it when I requested a different directory.) Then I wanted to unsqueeze another file. UNSQZ went back to A:\... If there are shortcuts, I'd like to hear about them. Atari: please add a drive-selection button to the file-selection dialog (like on the Macintosh), and try to give the user more slack with that Return key (e.g., when there is _no_ file name selected, ignore , or equate it with a mouse click in a useful spot). Programmers: please take more care to change the defaults passed to that dialog box as appropriate, and to accomodate users that use the ST in a different fashion than you: RAMdisk, hard disk, color, B&W, etc. Yet another bug in Megamax C: sizeof("a string constant") always yields 4. (sizeof(s) where s is of type array-of-char works fine.) - Moshe Braner