[Top][All Lists]

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

Re: lynx-dev please $CYGWIN=notty ?

From: Thomas Dickey
Subject: Re: lynx-dev please $CYGWIN=notty ?
Date: Mon, 16 Dec 2002 19:43:54 -0500
User-agent: Mutt/1.3.27i

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");

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 <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]