🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.apple2.gno
Article #363

Re: Improving EMACS

#363
From: Phillip Vandry
Date: Fri, 11 Dec 1992 15:51
31 lines
1995 bytes
gwlester@cpu.com (Gerald W. Lester) writes:
>	How about adding a shell command (as opposed to shell-commad).  What
>this command does on most EMACS is to create a window in emacs into which you
>can type shell commands, have them execute (when you hit return), and get the

Well, there is something close to that: you can pipe a single command into a
buffer.

>results in the same window.  You can (of course) cut and paste in the window
>and between that window and others.

>	I realize that this would be a GNO specific feature, but that is ok.

No ,it wouldn't! If you write it well, it should work on any UNIX. All you need
is to make the c system() call (I think that's it -- I don't have C) with
output piped for the shell's output and for input, input the same way any other
text is entered into emacs, and when enter is pressed (and the hypothetical
mode "SHELL" is active), the line under the cursor is passed to the shell.

As for the usefulness, I don't know. How often does one need that? (Though I'm
sure someone has a VERY good use for it)

Oh, and you know what would be really neat?

Nah, there's already a lot of changes planned for 1.1  I'll keep this for much
later, 1.2 or something :)
 ______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | (Advertsing space available)       |
|________________|________________|____________________________________|
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <Bz3qq1.69x@CAM.ORG>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!clyde.concordia.ca!altitude!vandry
References: <BytLpn.1pw@CAM.ORG> <1992Dec10.232353.21036@cpu.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!newsflash.concordia.ca!clyde.concordia.ca!altitude!vandry
From: vandry@CAM.ORG (Phillip Vandry)
Newsgroups: comp.sys.apple2.gno
Subject: Re: Improving EMACS
Message-ID: <Bz3qq1.69x@CAM.ORG>
Date: 11 Dec 92 15:51:36 GMT
References: <BytLpn.1pw@CAM.ORG> <1992Dec10.232353.21036@cpu.com>
Organization: Champlain Regional College, St-Lambert QC CANADA
Lines: 31