🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1996

Re: nn's use of editor: emacs

#1996
From: John Nemeth
Date: Mon, 19 Aug 1991 09:11
26 lines
1802 bytes
In article <93@raider.RAIDERNET.COM> tob@raider.RAIDERNET.COM (Tom Barron) writes:
>ric@updike.sri.com (Richard Steinberger) writes:
>
>>	I would like to have nn be able to cause emacs to come up
>>in the same window that nn is running in, not a separate X window.
>>Does anyone know how to do this?  Thanks in advance for any 
>>suggestions.
>
>Could you set EDITOR to "emacs -nw"?

     If you mean the environment variable, EDITOR, then no.  This
variable is supposed to contain a filename only.  Many programs will
do something like this to invoke an editor:

    ...
    ...fork()...
    ...
    execlp(getenv("EDITOR"), ...
    ...

If you put an option in EDITOR, you will make it so that many programs
will not be able to invoke the editor.  
--
John Nemeth                                                   jnemeth@cue.bc.ca
System Administrator                                {uw-beaver,ubc-cs,ssc-vax}!
Computer Using Educators of B.C.                            uvicctr!cue!jnemeth
Technical Details
Message-ID: <1991Aug19.091144.6986@softwords.bc.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!swrinde!mips!atha!aunro!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!news.UVic.CA!softwords!cue.bc.ca!jnemeth
References: <27176@unix.SRI.COM> <93@raider.RAIDERNET.COM>

Show Full Headers
Complete Article Headers
Message-ID: <1991Aug19.091144.6986@softwords.bc.ca>
Subject: Re: nn's use of editor: emacs
Date: Mon, 19 Aug 1991 09:11:44 +0000
From: jnemeth@cue.bc.ca (John Nemeth)
References: <27176@unix.SRI.COM> <93@raider.RAIDERNET.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!swrinde!mips!atha!aunro!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!news.UVic.CA!softwords!cue.bc.ca!jnemeth
Newsgroups: news.software.nn
Sender: root@softwords.bc.ca (Operator)
Organization: Computer Using Educators of B.C., Canada
Lines: 26
Nntp-Posting-Host: cue.bc.ca