From: Aaron Montgomery (agm@purduenc.edu)
Date: 16 Sep 99, 01:38 EST
From: Aaron Montgomery <agm@purduenc.edu> Subject: Re: "saveas -f filename" >(First, there is no "saveas" command anywhere! I only see a "saveAs" >command. Is this what you mean, Aaron?) yep, sorry for the confusion. >saveAs >--> The SFPutFile dialog appears, with the name of the front window > put into the filename-editing field. > >saveAs blahblah >--> The SFPutFile dialog appears, with "blahblah" put into the > filename-editing field. In both of these cases, the file is written to the disk, and marked as clean, correct? >saveAs -f blahblah >--> If there is no file named "blahblah" already existing in the > current directory, then, nothing happens, except that the > StatusWin displays a message saying: "Can't launch file." Yep, I just saw the C code that does that. Is this appropriate or should saveAs create the file? >--> If there is already some file named "blahblah" in the current > directory, then, running the above command simply renames the > front window to "blahblah", and makes the window marked "dirty". > (Nothing is actually written to disk at this time.) That's what I thought, is this what people want? Admittedly, I am really (really, really, really, ...) hesitant to change the meaning of any of Alpha's commands, but this seems a little incongruous with the other two cases. At the very least, this ought to make it into the documentation so someone doesn't use saveas -f in a script and lose data. Aaron <finger:agm@purduenc.edu> <mailto:agm@purduenc.edu> <http://faculty.purduenc.edu/agm/>