Article View: comp.sys.next.misc
Article #4319Re: emacs-18.59 pkg for NeXT posted
From: Charles William Swiger
Date: Sun, 13 Dec 1992 22:59
Date: Sun, 13 Dec 1992 22:59
24 lines
1668 bytes
1668 bytes
Excerpts from netnews.comp.sys.next.misc: 13-Dec-92 Re: emacs-18.59 pkg for NeX.. by Michael Gersten@stb.info > >or (d) Rewrite EtermView.m to look for /usr/local/bin/emacs and then > >/usr/bin/emacs; better yet, have it search through current users' search > >path for 'emacs'.... > > Or, better still, why not use the "system" call and let the shell find it, > or use "execvp/execlp" library calls (the 'p' means search the entire path)? > I'm suprised that more people don't use these. Those calls were I meant by "having it search through the users' search path." I wish that the NeXT had the "run" command. It has the same syntax as "system", but it requires an absolute pathname, as "run" does *no* searching through the path. It's therefore the fastest way to execute another program from within your program.... -Chuck +------------------------------------------+ "Foosh. Aaughh!!" | Charles William Swiger -- CMU...crunch! | "Foosh. Aauuggghh!!" | AMS & normal mail: cs4w+@andrew.cmu.edu | "Cold spray deodorant...." | NeXTmail: chuck@mon.slip.andrew.cmu.edu | +------------------------------------------+ -- Opus, Bloom County [RIP]
Technical Details
Message-ID:
<of_w1Uq00WBNA2g_dA@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+Show Full Headers
Complete Article Headers
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+ Newsgroups: comp.sys.next.misc Message-ID: <of_w1Uq00WBNA2g_dA@andrew.cmu.edu> Date: Sun, 13 Dec 1992 17:59:44 -0500 From: Charles William Swiger <cs4w+@andrew.cmu.edu> Subject: Re: emacs-18.59 pkg for NeXT posted In-Reply-To: <1992Dec13.025955.13216@stb.info.com> Distribution: comp Lines: 25