On Mon, Dec 16, 2002 at 06:24:29PM -0300, Fr?d?ric L. W. Meunier wrote:
> What does this error mean ? I tried CYGWIN=notty lynx and got
> the same error from LYMain.c.
>
> It happens using Lynx on Cygwin with screen.
It's from this chunk of code:
#if defined(__CYGWIN__)
if (strcmp(ttyname(fileno(stdout)), "/dev/conout") != 0) {
printf("please \"$CYGWIN=notty\"\n");
exit(EXIT_SUCCESS);
}
#endif
The ttyname() function gives the same result as a command-line 'tty'
would. Running in screen you would certainly not have some variation
of /dev/console as your tty. So it breaks. Lacking any better idea
of what it's trying to prevent, I'd just remove that chunk of code.
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]