andynormancx;346456 Wrote: 
> echo "PWON" | nc 192.168.2.101 23

Pedantry: `echo "PWON"` will output "PWON<LF>". I'd recommend the
crystal-clear `printf 'PWON\r'` though `echo -n -e 'PWON\r'` would also
produce "PWON<CR>" on Linuxy/GPLish systems. Shame about netcat; hope
you can install that easily. What you want should be easy to do in
Perl, Python, etc., too.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime 
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=53350

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to