home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / 11 next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.7 KB

  1. Xref: sparky comp.unix:11 comp.unix.questions:10919 comp.unix.misc:3624 comp.unix.ultrix:6821
  2. Newsgroups: comp.unix,comp.unix.questions,comp.unix.misc,comp.unix.ultrix,cocomp.unix.wizards
  3. Path: sparky!uunet!haven.umd.edu!news.umbc.edu!umbc4.umbc.edu!williamf
  4. From: williamf@umbc4.umbc.edu (TheBigBopper)
  5. Subject: Help with defining the default Unix mail editor
  6. Message-ID: <1992Sep10.184854.19129@umbc3.umbc.edu>
  7. Sender: newspost@umbc3.umbc.edu (News posting account)
  8. Organization: Univ. of MD, Baltimore County
  9. Date: Thu, 10 Sep 1992 18:48:54 GMT
  10. Lines: 20
  11.  
  12.  I am a Unix novice so if anyone can help with this question please couch
  13.  your response as simply as you can to help me.
  14.  
  15.  I am attempting to mail a letter to someone.  I invoked Mail and used the
  16.  tilde ~r to include a file.  Next, I tried to edit the file using ~e  
  17.  Trouble is I keep getting a message saying permission denied.  I have checked
  18.  the PATH variable in the .cshrc file and the path indicated there is the 
  19.  correct one for Emacs (which is what I want to invoke).  I placed the
  20.  statement 'set EDITOR = /usr/local/bin/emacs in the .cshrc, logged out and 
  21.  in and tried again to edit the file from w/in mail w/o success.  I also tried
  22.  using setenv EDITOR /usr/local/bin/emacs and this string showed up in response
  23.  to the 'printenv' command but the mail editor still didn't default to emacs.
  24.  
  25.  Is there some other way to alter the default editor in mail?  Curiously, the
  26.  same thing happens in News where the default editor's path points to VI.  I
  27.  can change this on the fly by just typing in the correct path in RN but the
  28.  same isn't true for mail.  If anyone can offer any help please e-mail me the
  29.  answer and I'll post a summary of the answer if it solves the problem.
  30.   Thanks 
  31.       TheBigBopper
  32.