[[Make time to explain recurring question about [expect]ing alternatives.]] Model question: "need something like 'if expect is {y/n} send y; if not, send quit'". Skeleton answer: expect { y/n { send y\r } timeout { send quit\r } } ---- The above code confuses me a bit - it looks as if it sends along to the program a "y" if the user types "y/n" - was that intentional? ---- !!!!!! %| [Category Example] | [Category Expect] | [Category Control Structure] |% !!!!!!