home *** CD-ROM | disk | FTP | other *** search
- In article <1993Apr29.020655.7430@cas.org> zfs60@cas.org () writes:
- >sometimes i want to ask a lemacs to run a function from say a shell script.
- >i can use the -batch, which starts and kills a new lemacs, quite expensive
- >and slow. i am wondering if there is a way to send a request to a running
- >lemacs. this would be similar to emacsclient, but instead of editing,
- >it executes the function(s) and/or scripts as well, if i say
- >emacsrequest -l foo.el
- >the running lemacs will then execute foo.el
- >
- >thanks for any ideas,
- >
- >--john
-
- The gnuserv package includes a client called 'gnudoit', that does exactly
- that.
-
- gnuserv is available by anon ftp from archive.ohio-state.edu
-
- an enhanced version of gnuserv.el for lemacs is availble from the
- help-lucid-emacs or bug-lucid-emacs archives on labrea.
-
- gnuserv works over internet or unix domain sockets, so your client
- can be on a different machine than your server.
-
- I posted a patch to gnuserv awhile ago that fixes the security
- hole introduced by using internet domain sockets, but as far as I know,
- I'm the only one that uses it :-)
-
- I must say its pretty cool to have an edit command one machine bring up
- a screen on a lemacs running on a different, incompatible machine.
- Unix on a good day :-)
-
- Cheers,
-
- David
- --
- David Bremner / bremner@cs.sfu.ca / ubc-cs!fornax!bremner / (604)291-5938(days)
-
-