I'm thinking fuse might work. I'l look into working with fuse in python when I get to a real computer. Thanks! On Jun 30, 2009, at 10:35 PM, "J. R. Mauro" <jrm8005@gmail.com> wrote:
On Jun 30, 2009, at 22:24, Mike Frysinger <vapier@gentoo.org> wrote:
On Tuesday 30 June 2009 21:47:18 J. R. Mauro wrote:
please dont top post
Who did?
On Jun 30, 2009, at 21:42, Alex Camilo <alex.camilo@gmail.com> wrote:
I'm trying to extend the functionality of a piece of CAD software i'm using. The software package is called eagle and it has a custom in application scripting language that allows you to access an open CAD document by manipulating a tree of objects. The scripting language is fairly limited when it comes to talking to the outside world and only offers rudimentary file IO. I was wondering if any of you know how to make one end of a unix socket look like a file?
Unfortunately, you can't. It's one of the design flaws of Unix. You might be able to wrap it with a FUSE filesystem. But sockets and FIFOs are unfortunately "special"
i imagine you could use netcat to redirect from a named pipe so that you can
FIFOs are kind of a hack. Make a fuse filesystem in 20 lines of python and you get something more robust and specialized, plus network transparency for free
read/write via the network ... seems to work for me
$ mkfifo fifo shell 1: $ nc -l -p 12345 localhost > fifo shell 2: $ cat fifo shell 3: $ nc localhost 12345 -mike
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug