On 12/4/06, chris <[EMAIL PROTECTED]> wrote:
I understand that owfs is unlikely to run on windows but is it possible to
tun
Au-contraire! (Though the windows port is not yet of the same quality. There
have been reports of memory leaks that need to be investigated).
owpython on a windows box connected to owserver without resorting to
Ahh! You want to communicate (with owserver?) via python, but not use the
libow library (which builds under cygwin).
This has been done for other languages:
owshell -- uses C to talk to the owserver directly. Perhaps a little
complex, since it includes the Bonjour code and came from a stripped version
of libow in the first place.
owsim -- a work in progress that uses Tcl to talk to owserver. Tcl has great
network support and we essentially parse the owserver protocol in Tcl code.
I suspect that you could do the same in python. Probably a few days project
for a python expert. The owserver network protocol is documented on the
website: http://www.owfs.org/index.php?page=owserver-protocol
(And in the code, of course).
For TCL
network basics:
http://owfs.cvs.sourceforge.net/owfs/owfs/module/simulants/ownet.tcl?revision=1.5&view=markup
server code:
http://owfs.cvs.sourceforge.net/owfs/owfs/module/simulants/owhandler.tcl?revision=1.8&view=markup
(Note that owsim is a owserver, rather than client).
excellent but rather cumbersome methods like cygwin?
I am keen to be able to monitor the one wire network in several places all
of
which are windows devices with users who are even more simplistic than
myself
( if that can be believed, my only defence is that some of them are 6
years
old)
You underestimate your progeny! If they can hack python, they are probably
os agnostic.
owpython seems only to be availabe as an rpm, can I just copy the source
across to site-packages or are you now wondering how to get this rather
irritating newbie of your fine list?
I presume you want to display (and perhaps control) your system on
distributed computers, with more than one platform. Have you considered
building a web app? Your cgi code can use python or bash or whatever. You
can expose whatever you want, even full owhttpd. It would be easier to
develope and use a central http server, trusting that all other machines can
easily load a browser.
Chris
p.s. I my style irritates please tell me, and I will assume a less fatous
tone
from here on.
I fear the prior state of the art in prose has given you unwarranted concern
about our playfulness. Besides, we believe in cultural diversity. And we
have great sympathy for non-native American speakers.
Paul Alfille
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers