home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17022 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.os.linux
  2. From: alovell@kerberos.demon.co.uk (Anthony Lovell)
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!mrccrc!warwick!pipex!demon!kerberos.demon.co.uk!alovell
  4. Subject: H.J.Lu's distribution and ELM in MailPak 
  5. Distribution: world
  6. References: <1eb4crINN52e@uwm.edu>
  7. Organization: The Home for Three Headed Canines
  8. Lines: 26
  9. Date: Tue, 17 Nov 1992 18:44:37 +0000
  10. Message-ID: <722025877snx@kerberos.demon.co.uk>
  11. Sender: usenet@gate.demon.co.uk
  12.  
  13.  
  14. In article <1eb4crINN52e@uwm.edu> rick@ee.uwm.edu writes:
  15.  
  16. >
  17. >I compiled the mailpak's ELM last night, and couldn't get it to work...
  18. >until I found the bug in the /.bash_profile...
  19. >
  20. >MAIL=/usr/spool/mail/$USER      <--The problem is that $USER is undefined.
  21. >
  22. >Adding the line:
  23. >
  24. >        USER=`whoami`
  25. >
  26. >*BEFORE* the "MAIL" variable is set solves the problem nicely.
  27. >
  28. >
  29.  
  30. Or do what I did change $USER to $LOGNAME which is defined
  31.  
  32. anthony
  33.  
  34. ------------------------------------------------------------------------------
  35. alovell@kerberos.demon.co.uk          |   If at first you don't succeed
  36.                                       | 
  37. alovell@cix.compulink.co.uk           |   Get a Bigger Hammer 
  38. ------------------------------------------------------------------------------
  39.