Hi!

24-Фев-2005 13:43 [EMAIL PROTECTED] (Eric Auer) wrote to
[email protected]:

EA> to know more... Or, alternatively, call something like
EA> if (isatty(1)) { printf("-- more --"); r.h.ah = 7; intdos(&r, &r);
EA> printf("\n"); }
EA> after every 20something lines of help screen.

     As I alerady write some time ago, RAR does something like this:

if ((ioctl (1, 0) & 0x82) != 0x82) { ... <pause> ... }

this makes pause only on CON device, but not on NUL, for example. (To be
precise, Eugeny checks "(ioctl & 0x80) && (ioctl & 3)", but I suggest,
checking for `stdin' is useless).




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to