From: Ian M. <iw...@do...> - 2007-07-13 17:17:27
|
> >Hi All, > >I am using the Expect to give responses to the questions asked while >installation. Here is a problem I am facing. > >This is the question I am expecting to be asked and I am waiting for the >same question >Do you want to start Veritas Storage Foundation for DB2 processes now? >[y,n,q] (y) > >But, the problem is on some terminals the question appears as >Do you want to start Veritas Storage Foundation for DB2 processes now? >[y,n,q] (y) > >or even as >Do you want to start Veritas Storage Foundation for >DB2 processes now? [y,n,q] (y) > >How to handle such things? Please help. > >Thanks and Regards, >Prasad. Some problems like this are caused by the setup of the shell started using the spawn command. If the default line width is shorter than the ouput line from the program the line is wrapped on to the next line. What I often do is to wait for the first prompt and send a stty columns 200 so that output lines are not wrapped. Ian W Moor Department of Computing, iw...@do... Imperial College. 180 Queensgate London SW7 2AZ UK. |