home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2912 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!odin!sgi.com!scotth
  3. From: scotth@hoshi.corp.sgi.com (Scott Henry)
  4. Subject: Re: ??? Standard output into a buffer
  5. In-Reply-To: shankar@sgi.com's message of Thu, 20 Aug 1992 21: 50:56 GMT
  6. Message-ID: <SCOTTH.92Aug20161254@hoshi.corp.sgi.com>
  7. Sender: news@odin.corp.sgi.com (Net News)
  8. Nntp-Posting-Host: hoshi.corp.sgi.com
  9. Organization: Silicon Graphics Inc, Mountain View, CA
  10. References: <1992Aug19.161217.16223@awdprime.austin.ibm.com> <oqr90gc@fido.asd.sgi.com>
  11. Date: Thu, 20 Aug 1992 21:12:54 GMT
  12. Lines: 20
  13.  
  14.  
  15. >>>>> In article <oqr90gc@fido.asd.sgi.com>, shankar@sgi.com (Shankar Unni) writes:
  16. shankar> In article <1992Aug19.161217.16223@awdprime.austin.ibm.com> burky@austin.ibm.com writes:
  17. >I'm trying to find a way to execute a program from within my emacs buffer
  18. >such that the standard output of that program is directed to the insertion
  19. >point in my buffer.
  20. >
  21. >The best I've come up with so far is to open a shell buffer, run the program,
  22. >and copy/paste the results.
  23.  
  24. C-u M-! <command>
  25.  
  26. will insert the output of <command> into the current buffer at mark.
  27. See the docs for "shell-command".
  28.  
  29. =-=-=-=
  30. --
  31.  Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
  32.  Networking Services,        / Help! My disclaimer is missing!
  33.  Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
  34.