Subject: Re: Problems with 1.3alpha
To: None <simonb@telstra.com.au>
From: maximum entropy <entropy@zippy.bernstein.com>
List: port-pmax
Date: 11/14/1997 00:26:28
>From: Simon Burge <simonb@telstra.com.au>
>
>On Thu, 13 Nov 1997 12:38:32 -0700  "emanuel stiebler" wrote:
>
>and not "kern.tar.gz" in the distribution directory.  I'll fix this now
>if it's not done already.
>
>> 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 :-)

Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.