Article View: comp.mail.elm
Article #3527Re: Elm 2.3 Bugs -- Does 2.4 fix them?
From: Rosebud
Date: Mon, 25 Jan 1993 02:18
Date: Mon, 25 Jan 1993 02:18
45 lines
2348 bytes
2348 bytes
syd@DSI.COM ponders: >schwim@Xenon.Stanford.EDU (Rosebud) writes: [Query on bugs in 2.3PLll asking if 2.4 fixes them] Sydney, Thanks for the prompt response! >>2) Improper expansion of ~ >> In other programs I use ((t)csh, rn, tin, mail, etc) ~ is >>expanded to the value of the environmental variable HOME (getenv). Elm >>appears to use the pasword entry of the user's root directory >>(getpwuid). >> I understand why elm needs the .elm directory in the user's >>root directory, but there's no reason to assume that the user's root >>directory and $HOME are the same thing. >This one is a feature. Elm ignores $HOME, so that when su'd you read >the right mail file. Its a choice of one or the other and we chose >to allow su over $HOME. When is that necessary? filter has everything it needs in the .elm directory. >>5) Hard coded path in the default user's elmrc file >> Why? >because.... On systems with a lot of accounts, it is common for accounts to switch partitions due to disk space problems. Elm gives an error message each time that the Mail directory doesn't exist and asks if you want to create it. Of course, you can't becuase the path is wrong. If 2.4 or 3 still hard codes the path, could I suggest that the program check to see if the path even exists (and possibly that it matches the user's passwd entry)? (Or at least make it a compile time option if this causes problems on some systems? Or have some way to have the elmrc file default to a specified variable, such as $HOME/Mail or even ~/Mail, instead of a hard coded path?) As a side note, this one-liner works for (t)csh on elm 2.3PL11: perl -i -pe 's%^maildir.*%maildir = \$HOME/Mail%;' ~$USER/.elm/elmrc Yours, Larry Schwimmer schwim@xenon.stanford.edu
Technical Details
Message-ID:
<1993Jan25.021844.7588@CSD-NewsHost.Stanford.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!schwimReferences:
<1993Jan22.113711.25261@CSD-NewsHost.Stanford.EDU> <1993Jan22.123859.25929@CSD-NewsHost.Stanford.EDU> <1jqcqiINNanp@dsinc.dsi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!schwim From: schwim@Xenon.Stanford.EDU (Rosebud) Subject: Re: Elm 2.3 Bugs -- Does 2.4 fix them? Message-ID: <1993Jan25.021844.7588@CSD-NewsHost.Stanford.EDU> Sender: news@CSD-NewsHost.Stanford.EDU Organization: The Land of Chocolate References: <1993Jan22.113711.25261@CSD-NewsHost.Stanford.EDU> <1993Jan22.123859.25929@CSD-NewsHost.Stanford.EDU> <1jqcqiINNanp@dsinc.dsi.com> Date: Mon, 25 Jan 1993 02:18:44 GMT Lines: 45