[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Writing journal and output file to current directory
From: |
John Darrington |
Subject: |
Re: Re: Writing journal and output file to current directory |
Date: |
Thu, 16 Oct 2008 17:20:01 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Oct 16, 2008 at 10:54:03AM +0200, unknown-1 wrote:
>If running a program sets the current directory to the program's
>installation directory, then the natural question is: What is a
>good default place to put PSPP's output files?
Some points of view. Possible places:
a) the temp directory
b) the home directory
c) the directory where the datafile is stored
Some thoughts about it.
c) may be not available because the data is not saved at that moment
b) could be. Although creating "Application Data/PSPP " and placing them
there seems to be more Windows like. Anything would the home directory has
to be checked as I beleave Microsoft changed something with this in Vista.
a) looks somehow the easiest but there are objections against.
Following the Unix way, it should be B. (or the B+ as described above)
Coming from a unix background, I really expect programs to dump their
output in the current directory (not the home directory) unless
otherwise instructed. I mean it would be crazy if I did:
cd ~/thesis/chapter2/section3 ; latex draft35.tex
and the dvi file got dumped into ~/draft35.dvi
However, if this would make sense to windows users then I think we
could make a conditionally compiled get_default_output_dir function to
keep them happy.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature