On Thu, Nov 08, 2007 at 03:36:05PM +0800, hhding.gnu wrote: > I have some program which show some dialog by whiptail as UI to users, > can I use expect to run the program without any interaction?
I would think not since expect will also see all the terminal control codes used to make the dialog/whiptail UI. Also, I don't know what happens if you try to run a dialog/whiptail program if it doesn't have a tty for which to grab termcap data. Your best bet is to provide the program with with a parameter that causes it to forgo dialog/whiptail and just use standard IO. Similar to debconf using readline instead of dialog. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

