Subject: Re: Problems with 1.3alpha
To: maximum entropy <entropy@zippy.bernstein.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 11/14/1997 16:36:35
On Fri, 14 Nov 1997 00:26:28 -0500 (EST) maximum entropy wrote:
> >> Wishlist:
> >>
> >> please put some sleep(5) in all warnings/error in sysinst. it is very hard to
> >> read the errors/warnings because they are only visible for a moment, then the
> >> screen is cleared.
> >
> >This one isn't too easy. sysinst runs a lot of external commands (like
> >tar, newfs & disklabel), and it's these external commands that produce
> >the error messages. sysinst itself doesn't really know there are error
> >messages happening.
>
> Is this really that hard?
>
> Simple idea #1:
>
> if (system("foo") != 0)
> sleep(5);
>
> Simple idea #2:
>
> endwin();
> system("foo");
> printf("press return to continue");
> getchar();
> initscr();
>
> Goofy idea #3:
>
> Manually fork and exec everything, dup2 fd's 1 and 2 onto sockets in
> the child, and paginate the output in your curses app :-)
Hmm, you've thought about this then! I'll add it to the TODO list for
sysinst.
Simon.