all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Reading from pipes directly with a process-filter
@ 2023-01-13 19:01 Peter
  2023-01-13 19:43 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Peter @ 2023-01-13 19:01 UTC (permalink / raw)
  To: emacs-devel

Hello!

I've been slowly sliding into using Emacs more and more like a Lisp OS,
so one thing that has come up is directly reading data from pipes or
special devices (like /dev/input/event...). I can do that fine by
running `start-process' with `cat /dev/input/event..', however that
seems a bit wasteful. Is there any way to *directly* open such a file
and put a process-filter in front of it?

Semi-relatedly, is there any support for `fnctl' or `ioctl' in elisp, so
that I could even *write* to those special devices?

Thanks for any help with this!

Greetings,
Peter



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-14  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-13 19:01 Reading from pipes directly with a process-filter Peter
2023-01-13 19:43 ` Eli Zaretskii
2023-01-13 21:51   ` Peter
2023-01-14  6:56     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.