X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0	tests=BAYES_00,SPF_NEUTRAL,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BDC64A1.2000003@cornell.edu>
Date: Sat, 01 May 2010 13:28:01 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: "Error opening terminal: cygwin." when attempting to start lynx
References: <545472025.20100501114001@mtu-net.ru> <20100501080821.GA3809@ghost.local.lan> <20100501160824.GA21508@ednor.casa.cgf.cx> <925535189.20100501203918@mtu-net.ru> <20100501165357.GA21753@ednor.casa.cgf.cx>
In-Reply-To: <20100501165357.GA21753@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 5/1/2010 12:53 PM, Christopher Faylor wrote:
> On Sat, May 01, 2010 at 08:39:18PM +0400, Andrey Repin wrote:
>> Greetings, Christopher Faylor!
>>
>>>>> I'm receiving this error message when trying to start
>>>>> lynx browser:
>>>>>
>>>>> [C:\]$lynx
>>>>> Error opening terminal: cygwin.
>>>>
>>>> Hello,
>>>>
>>>> What does `echo $TERM' tells you? (I'm guessing TERM=cygwin)
>>>> Does `export TERM=xterm' solve the problem?
>>>> Note that it works for me whatever TERM is: cygwin, xterm, screen...
>>>> I can only force to fail if I set TERM to nonsense `TERM=sjdfjsfjsf'
>>>>
>>>> (What I don't know is why TERM=cygwin fails for you)
>>
>>> At this point we normally ask for someone to read:
>>
>>> http://cygwin.com/problems.html
>>
>>> and provide the type of information suggested there.
>>
>> Though it's apparent that I've just launched lynx as normal application, as
>> I've always did in the past.
>> TERM show nothing, this variable is undefined in common Windows environment.
>>
>> May I ask you what cygcheck mean when listing Far FTP plugin host definitions?
>> I've left it included, as it contains no private data, but it shouldn't be there.
>
> cygcheck did not list your installed packages for some reason which sounds like
> you may have more than one cygwin1.dll on your system.  For sure it is obvious
> that your PATH isn't right.  Cygwin's directories should always come first.  So
> maybe you aren't running a cygwin versin of lynx but are, instead, running something
> which does not understand the cygwin TERM type.

The cygcheck output also shows two Cygwin installations, one contained 
in the other.  That seems risky.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

