home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10440 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!dsacg3.dsac.dla.mil!dsac.dla.mil!hq.dla.mil!fazc016
  2. From: fazc016@hq.dla.mil (Don Costello)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: how come : ! out of vi always uses sh instead of $SHELL ???
  5. Message-ID: <857@hq.dla.mil>
  6. Date: 27 Aug 92 14:32:17 GMT
  7. References: <fish.714853851@news2.gsfc.nasa.gov>
  8. Organization: HQ Defense Logistics Agency/DASC, Cameron Station, VA
  9. Lines: 34
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. fish@daacdev1.stx.com writes:
  13. : whenever i :! out of vi it uses /bin/sh instead of $SHELL
  14. : so all of my aliases are lost, etc and makes it very limited
  15. : i'm just beginning to see just how powerful vi really is but
  16. : this one is screwing me up royally  
  17.   On my BSD4.3 machine I get the following:
  18.  
  19.   :!
  20.   Incomplete shell escape command.  Use 'shell' to get a shell
  21.  
  22.   :shell
  23.  
  24.   shell-prompt: echo $SHELL
  25.   /etc/zsh
  26.  
  27.   If you're VI doesn't have "shell" you could explicitly execute it
  28.   (:! /bin/csh for example)
  29.  
  30.   What type/version of VI are you using?
  31.  
  32.   -- dcc --
  33.  
  34. --
  35. +------------------------------------+---------------------------+
  36. | Don Costello, DASC-ZSC             |  It's hard to cram this   |
  37. | DLA Cameron Station, VA            |  signature into just 4    |
  38. | TEL: (703) 274-7215  AV: 284-7215  |  lines!!!                 | 
  39. -- 
  40. +------------------------------------+---------------------------+
  41. | Don Costello, DASC-ZSC             |  It's hard to cram this   |
  42. | DLA Cameron Station, VA            |  signature into just 4    |
  43. | TEL: (703) 274-7215  AV: 284-7215  |  lines!!!                 | 
  44.