* Arbitrary file descriptors for child process
@ 2015-10-07 6:34 Łukasz Stelmach
2015-10-07 8:26 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Łukasz Stelmach @ 2015-10-07 6:34 UTC (permalink / raw)
To: emacs-devel
Hi,
Is there a way start a child process (like in start-process) with an
arbitrary set of file-descriptors attached to Emacs buffers?
What I am trying to achieve is an OTR "filter" for erc.el. The way I see
it four file descriptors to send and receive messages.
a) sending: "keyboard" -1-> otr filter -2-> erc -> network (direct or gnutls)
b) receiving: network -> erc -3-> otr filter -4-> "screen"
Do you have any suggestions on this idea?
--
Łukasz Stelmach z podróży
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Arbitrary file descriptors for child process
2015-10-07 6:34 Arbitrary file descriptors for child process Łukasz Stelmach
@ 2015-10-07 8:26 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2015-10-07 8:26 UTC (permalink / raw)
To: Łukasz Stelmach; +Cc: emacs-devel
Łukasz Stelmach <stlman@poczta.fm> writes:
> Is there a way start a child process (like in start-process) with an
> arbitrary set of file-descriptors attached to Emacs buffers?
The process-filter can do whatever it needs to do, including
communicating with other process objects.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-07 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 6:34 Arbitrary file descriptors for child process Łukasz Stelmach
2015-10-07 8:26 ` Andreas Schwab
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).