[comp.sys.ibm.pc] Microemacs 'pipe-command' command

wirun@cpsc.ucalgary.ca (Da Ratt ) (01/09/89)

    I was browsing my way through the Microemacs 3.9 manual the other
night when I found something called a 'pipe-command' command. "Well hey,"
I thought, "that looks neat." So I tried it, (^X-@), and I got the '@'
prompt at the bottom. I typed in the good old 'dir' and I saw for a brief
fraction of a second 'Access denied' before the screen refreshed. Has
anybody ran across this? I'm running in EGA 43-line mode, so I'll have
to try it in 25-line mode to see what happens there.

It does sound neat though....

----------------------------------------------------------------------
"This of course is impossible ..." - Hitchhiker's Guide to the Galaxy
   wirun@ucalgary.ca   cwirun@uncaedu.BITNET wirun@uncamult.BITNET
----------------------------------------------------------------------

dennis@tifsie.UUCP (Dennis Draheim) (01/10/89)

in article <459@cs-spool.calgary.UUCP>, wirun@cpsc.ucalgary.ca (Da Ratt ) says:
> 
> 
>     I was browsing my way through the Microemacs 3.9 manual the other
> night when I found something called a 'pipe-command' command. "Well hey,"
> I thought, "that looks neat." So I tried it, (^X-@), and I got the '@'
> prompt at the bottom. I typed in the good old 'dir' and I saw for a brief
> fraction of a second 'Access denied' before the screen refreshed. Has
> anybody ran across this? I'm running in EGA 43-line mode, so I'll have
> to try it in 25-line mode to see what happens there.

I ran into this, too.  I believe the problem is that as delivered, 
MicroEMACS's pipe-command is broken.  It tries to put the output of the
command in a file called "command" in the current directory or the 
directory specified by the environment variable TMP, but the code that
builds the filename is broken, and results in EMACS trying to open your
TMP directory as a file.  We hacked the source at our site to fix this
and sent the patch to Dan Lawrence, but I don't know if he applied it.
It has nothing to do with your screen mode.

Dennis
-- 
Dennis Draheim			Internet:  ddraheim@pacvax.csc.ti.com
Texas Instruments			   dennis@tifsie.csc.ti.com
P.O. Box 655012, M/S 3635	UUCP:	   im4u!ti-csl!pacvax!ddraheim
Dallas, TX   75265		Voice:	   (214)-995-6747