Quote:
Quote:
Suggestions?

Expect?

Peter


Yes, expect is ideal for this task. I've used it before to do exactly this. Basically you give it a string to send, then a range of strings to 'expect' that can trigger different responses. You can set a timeout clause that will trigger if none of the other responses get triggered first etc.

I also used expect to modify my hijack Makefile - I modified the 'install' target to call an expect script that would ftp hijack to my player and reboot it if successful.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.