Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Preserving early console output (pre-Copyright stuff)



On Thu, Jul 01, 2010 at 05:18:36AM -0700, Paul Goyette wrote:
> b) a way to pause long enough to manually transcribe the output?  (A  
> simple timed delay would work, although a "Press any key to continue"  
> would be easier!)

It may work to do

   printf("Press a key...\n");
   cnpollc(1);
   (void)cngetc();
   cnpollc(0);

... it used to, but that was ~15 years ago.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index