Thanks, that was i was looking for.. :) On 3/18/06, Remy Blank <[EMAIL PROTECTED]> wrote: > apix kernel wrote: > > how does "it" knows how big is the line in order to print the DONE > > part just before the end of line. > > There are two ways I know of: > > - If you use bash (I don't know about other shells), look at the > COLUMNS environment variable: > > echo $COLUMNS > > - Use the TIOCGWINSZ ioctl on stdin (file descriptor 0). > > HTH. > -- Remy > > > Remove underscore and suffix in reply address for a timely response. > > -- > [email protected] mailing list > >
-- Ack and you shall receive. -- [email protected] mailing list

