home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / misc / 23010 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.6 KB  |  37 lines

  1. Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
  2. Path: sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+
  3. Newsgroups: comp.sys.next.misc
  4. Message-ID: <of_w1Uq00WBNA2g_dA@andrew.cmu.edu>
  5. Date: Sun, 13 Dec 1992 17:59:44 -0500 
  6. From: Charles William Swiger <cs4w+@andrew.cmu.edu>
  7. Subject: Re: emacs-18.59 pkg for NeXT posted
  8. In-Reply-To: <1992Dec13.025955.13216@stb.info.com>
  9. Distribution: comp
  10. Lines: 25
  11.  
  12. Excerpts from netnews.comp.sys.next.misc: 13-Dec-92 Re: emacs-18.59 pkg
  13. for NeX.. by Michael Gersten@stb.info 
  14. > >or (d) Rewrite EtermView.m to look for /usr/local/bin/emacs and then
  15. > >/usr/bin/emacs; better yet, have it search through current users' search
  16. > >path for 'emacs'....
  17. >  
  18. > Or, better still, why not use the "system" call and let the shell find it,
  19. > or use "execvp/execlp" library calls (the 'p' means search the entire path)?
  20. > I'm suprised that more people don't use these.
  21.  
  22. Those calls were I meant by "having it search through the users' search path."
  23.  
  24. I wish that the NeXT had the "run" command.  It has the same syntax as
  25. "system", but it requires an absolute pathname, as "run" does *no*
  26. searching through the path.  It's therefore the fastest way to execute
  27. another program from within your program....
  28.  
  29. -Chuck
  30.  
  31. +------------------------------------------+ "Foosh.  Aaughh!!"
  32. | Charles William Swiger -- CMU...crunch!  | "Foosh.  Aauuggghh!!"
  33. | AMS & normal mail: cs4w+@andrew.cmu.edu  | "Cold spray deodorant...."
  34. | NeXTmail: chuck@mon.slip.andrew.cmu.edu  |
  35. +------------------------------------------+   -- Opus, Bloom County [RIP]
  36.  
  37.