home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Subject: Re: O Wizards, is there vi w/out shell?
- Message-ID: <1992Dec17.193838.15886@mp.cs.niu.edu>
- Organization: Northern Illinois University
- References: <Bz0x63.Fqq@ucunix.san.uc.edu> <1992Dec11.180118.1144@leland.Stanford.EDU> <67@nearside.UUCP>
- Date: Thu, 17 Dec 1992 19:38:38 GMT
- Lines: 20
-
- In article <67@nearside.UUCP> shwake@nearside.UUCP (Raymond Shwake) writes:
- >dkeisen@leland.Stanford.EDU (Dave Eisen) writes:
- >
- > I like to set SHELL to /bin/echo; the only point is to invoke
- > something innocuous.
- >
- >>This doesn't do any good. The user can still type :set shell=/bin/csh
- >>and give himself a shell whenver he wants. The SHELL environment
- >>vaiable is only used to initialize the internal vi shell variable.
- >
- > Quite true. What I've done is binary patch the "set" string to
- > include an embedded space (like "s x"). Seems to work.
-
- Try doing
-
- :r !command
-
- chances are you find that still uses /bin/sh, regardless of your SHELL
- environment.
-
-