home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / mail / elm / 4192 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.2 KB  |  57 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!schwim
  3. From: schwim@Xenon.Stanford.EDU (Rosebud)
  4. Subject: Re: Elm 2.3 Bugs -- Does 2.4 fix them?
  5. Message-ID: <1993Jan25.021844.7588@CSD-NewsHost.Stanford.EDU>
  6. Sender: news@CSD-NewsHost.Stanford.EDU
  7. Organization: The Land of Chocolate
  8. References: <1993Jan22.113711.25261@CSD-NewsHost.Stanford.EDU> <1993Jan22.123859.25929@CSD-NewsHost.Stanford.EDU> <1jqcqiINNanp@dsinc.dsi.com>
  9. Date: Mon, 25 Jan 1993 02:18:44 GMT
  10. Lines: 45
  11.  
  12. syd@DSI.COM ponders:
  13. >schwim@Xenon.Stanford.EDU (Rosebud) writes:
  14. [Query on bugs in 2.3PLll asking if 2.4 fixes them]
  15.     
  16. Sydney,
  17.     Thanks for the prompt response!
  18.  
  19. >>2) Improper expansion of ~
  20. >>    In other programs I use ((t)csh, rn, tin, mail, etc) ~ is
  21. >>expanded to the value of the environmental variable HOME (getenv).  Elm
  22. >>appears to use the pasword entry of the user's root directory
  23. >>(getpwuid).
  24. >>    I understand why elm needs the .elm directory in the user's
  25. >>root directory, but there's no reason to assume that the user's root
  26. >>directory and $HOME are the same thing.
  27. >This one is a feature.  Elm ignores $HOME, so that when su'd you read
  28. >the right mail file.  Its a choice of one or the other and we chose
  29. >to allow su over $HOME.
  30.  
  31.     When is that necessary?  filter has everything it needs in the
  32. .elm directory.
  33.  
  34. >>5) Hard coded path in the default user's elmrc file
  35. >>    Why?
  36. >because....
  37.  
  38.     On systems with a lot of accounts, it is common for accounts
  39. to switch partitions due to disk space problems.  Elm gives an error
  40. message each time that the Mail directory doesn't exist and asks if
  41. you want to create it.  Of course, you can't becuase the path is
  42. wrong.
  43.     If 2.4 or 3 still hard codes the path, could I suggest that
  44. the program check to see if the path even exists (and possibly that it
  45. matches the user's passwd entry)?  (Or at least make it a compile time
  46. option if this causes problems on some systems?  Or have some way to
  47. have the elmrc file default to a specified variable, such as
  48. $HOME/Mail or even ~/Mail, instead of a hard coded path?)
  49.  
  50.     As a side note, this one-liner works for (t)csh on elm 2.3PL11:
  51.  
  52. perl -i -pe 's%^maildir.*%maildir = \$HOME/Mail%;' ~$USER/.elm/elmrc
  53.  
  54.                 Yours,
  55.                     Larry Schwimmer
  56.                     schwim@xenon.stanford.edu
  57.