gharris999;593852 Wrote: > Would all this be easier if ReallyPreventStandby had a CLI request > like: > > reallypreventstandby isidle > > ..returning 1 for yes and 0 for no?
Yes. :) That would be the way I'd go, if I knew how. gharris999;593852 Wrote: > Probably the script will still need to use telnet and expect rather than > nc since I don't see any way to make nc work with the 'login' CLI > request. I think it could be done with a small amount of some script or other, no telnet. Expect itself will allow us to make direct use use of socket in the underlying Tcl, rather than telnet. It also has a built in timeout. So I'll try and have a look at it over the next week, while the script and Expect remain fresh in my mind. Just to confirm that I understand your proposal, if I am working from the keyboard I would get into the CLI and then type: reallypreventstandby isidle To which the server would respond: a) With plug-in installed Either: reallypreventstandby isidle 0 or: reallypreventstandby isidle 1 b) Without plug-in installed reallypreventstandby isidle I checked that last one. -- mrw ------------------------------------------------------------------------ mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins