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