On 30 Sep 2004, Ted Zlatanov wrote: > Would it be possible to have network access to Ion's internals? > > This can be as simple as reading commands from a network port and > feeding them to the Lua interpreter, or it can be as complex as a HTTP > server that does some simple templates for status info or management.
Another option would be to have an additional input channel to ion which is set to a fifo on the machine, assuming the OS has got such a notion. (I know some window managers implement something like this.) Writing to the fifo is then equivalent to sending input to the window manager, except it can be done by any process. I'm not sure if the reverse is possible in a meaningful way (ie get info out from WM to some client that's reading the FIFO). Presumably this becomes networkable using ssh? The reason I was vaguely thinking about this is that I use a single emacs for all my editing and aliased emacs to emacs-client, so that typing emacs file.txt in an xterm opens file.txt in the currently open emacs. One thing it'd be nice to do is set if to also `query_gotoclient' the emacs window, and I guess a fifo would make this possible. However, I decided trying to implement this was far too much work for too little benefit. -- __cheers, dave____________________________________________ www.inf.ed.ac.uk/people/staff/David_Tweed.html tel: +44 131 651 3447 fax: +44 131 651 3435 X wrote a book about this, which Y was carrying around for a long time with little discernible effect -- John Baez
