home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14647 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!murphy!jpradley!jpr
  3. From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
  4. Subject: Re: .exrc file for vi customization
  5. Organization: Unix in NYC
  6. Date: Sun, 13 Dec 1992 07:12:41 GMT
  7. Message-ID: <1992Dec13.071241.14691@jpradley.jpr.com>
  8. References: <smr.723822561@hitkw14> <1992Dec09.171536.9561@ssc.com> <MERLYN.92Dec10235241@romulus.reed.edu>
  9. Lines: 23
  10.  
  11. In article <MERLYN.92Dec10235241@romulus.reed.edu> merlyn@ora.com (Randal L. Schwartz) writes:
  12. >In article <1992Dec09.171536.9561@ssc.com> fyl@ssc.com (Phil Hughes) writes:
  13. >   I have one thing to add.  Much like Stephen's example I find that I need
  14. >   different vi setups based on what I am working on.  To automate this
  15. >   process I put the like
  16. >       so .viset
  17. >   in my .exrc file.  Whenever vi is started it looks for the file .viset in
  18. >   the current directory.  If found, it reads it in much the same as it reads
  19. >   .exrc.  If it doesn't find it an error message that that effect quickly
  20. >   blinks on the status line and things continue.
  21. >
  22. >Hoo boy.  Would *I* love to be a user on your system if you do that
  23. >*as root*.  (Heh, you probably have "." in your root's PATH as well.
  24. >Sheesh. :-)
  25. >
  26. >Think about it.  You can fire off arbitrary shell commands from an ex
  27. >script.  Not smart.
  28.  
  29. I'm thinking about it. If I do that as 'root' on my system, what difference
  30. does it make to what you, as 'merlyn' on my system, would be able to do?
  31.  
  32. -- 
  33. Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160.1341
  34.