home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / editors / 2217 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.2 KB

  1. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!olivea!mintaka.lcs.mit.edu!spdcc!dirtydog.ima.isc.com!laidbak!tellab5!ruth.wheaton.edu!gmribeir
  2. From: gmribeir@david.wheaton.edu (Glauber)
  3. Newsgroups: comp.editors
  4. Subject: Re: Is there .rc file for Elvis
  5. Keywords: elvis
  6. Message-ID: <1992Sep14.064207.24933@wheaton.wheaton.edu>
  7. Date: 14 Sep 92 06:42:07 GMT
  8. References: <c99-aa.716156904@danube.Berkeley.EDU> <1992Sep12.172721.25198@dragon.acadiau.ca>
  9. Sender: news@wheaton.wheaton.edu (USENET News System)
  10. Organization: (n.) Body of persons united for a specific purpose.
  11. Lines: 47
  12.  
  13. In article <1992Sep12.172721.25198@dragon.acadiau.ca> rob@dragon.acadiau.ca (Rob Hutten) writes:
  14. >c99-aa@danube.Berkeley.EDU (c99 account) writes:
  15. >
  16. >>I've been using Elvis on my PC, and have been happy camper, except...
  17. >>1. How do you do comfiguration file of any kind? (what's the name)?
  18. >
  19. >I couldn't figger out a way of forcing elvis to read a exrc file,
  20. >so I kludged a vi.bat file which looks like this:
  21. >
  22. >elvis +"so c:\elvis\exrc" %1 %2 %3 %4 %5 %6 %7 %8 %9
  23. >
  24. >(man oh man I hate dos)
  25. >
  26. >It does the trick, but, like most things in dos, it's butt-ugly.
  27. >
  28. >-Rob
  29.  
  30. This is my second chance to say RTFM about this, and i'll
  31. take it. :-)
  32.  
  33. You have to set home=directory_where_elvis.rc_is,
  34. then elvis will read a elvis.rc file. Another way, probably,
  35. with a exinit variable. (e.g. set home=c:\vi)
  36. (don't you love dos unixisms?)
  37.  
  38. It is very possible, according to author, that in the future
  39. elvis will be able to read elvis.rc in the directory where
  40. elvis is (assuming DOS 3.x or higher). It would be trivial
  41. to do this myself, fiddling with the source, but the #@$%#!
  42. BCC 3.0 compiler here didn't like the source code, and i
  43. don't have time to do serious debugging.
  44.  
  45. There is an option that you can set in the main elvis.rc
  46. that will make elvis look for an aditional elvis.rc in the
  47. directory where you are when you invoke it (so you can have
  48. different deffaults according to what kind of work).
  49.  
  50.                         Glauber
  51.  
  52. P.S.: above answer assumes elvis 1.6. If you are using an
  53.     earlier version, get 1.6 quick.
  54.  
  55.  
  56. -- 
  57. Glauber Ribeiro - Wheaton College, IL  (USA)
  58.                   glauber@david.wheaton.edu 
  59.                   glauber@vpnet.chi.il.us
  60.