[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
piping data directly to xemacs
- To: <linux-il(at-nospam)linux.org.il>
- Subject: piping data directly to xemacs
- From: mulix <mulix(at-nospam)actcom.co.il>
- Date: Wed, 12 Sep 2001 12:33:06 +0300 (IDT)
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
anyone knows (or knows a relevant FM) how i can execute a command in the
shell, and have its output _piped_ to an xemacs buffer?
example:
i currently use this nifty alias in my .cshrc[1] to get cvs diffs to
open up directly in xemacs [2]:
alias cvsdiff "cvs diff -u >&! ./.diff ; gnuclient ./.diff; rm -f .diff"
i'd like to skip the temporary file there and pipe the data directly to
gnuclient, but couldn't find any way to do it. [3]
ideas? [4]
[1] yes, i use tcsh. shoot me.
[2] and xemacs, too.
[3] checked the source - the gnuclient doesn't read from stdin, unless
it's a batch command. so i could probably write elisp code that says
"display this in a new buffer" and then pipe the output. unfortunately
my elisp suckth.
[4] using the emacs shell is not a viable option.
--
mulix
http://www.advogato.com/person/mulix
http://www.sf.net/projects/syscalltrack
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il