delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/21/14:10:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Diego Queiroz <queiroz DOT diego AT gmail DOT com>
Date: Mon, 21 Mar 2011 15:01:03 -0300
Message-ID: <AANLkTi=SWD6jFM+7rEn8MrbjNPdGWcx1+-3t9ZKTtGAk@mail.gmail.com>
Subject: Re: Problems with terminal doesn't display visual elements properly
To: cygwin <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 20 March 2011 13:19, Andy Koppe wrote:
>
>On 20 March 2011 09:18, Diego Queiroz wrote:
>
>> On 18 March 2011 06:12, Andy Koppe wrote:
>>>
>>> On 17 March 2011 22:09, Diego Queiroz wrote:
>>> > Hello.
>>> >
>>> > I need some help.
>>> > My terminal started with a very strange behavior today.
>>> > Many programs are not displaying correctly and I don't know why.
>>> >
>>> > I uploaded this picture: http://img851.imageshack.us/i/screenshotfc.png/
>>> > The two windows at the top are displaying the "nano" and "top"
>>> > programs using putty.
>>> > The two windows at the bottom are displaying the same programs using
>>> > cygwin, respectively.
>>> >
>>> > As you can see, the visual of the applications is different, and that's not all.
>>> > I'm really not able to work with these applications because of this
>>> > problem. Actually, any visual enhancement is not working properly.
>>> > Even grep with --color option isn't working correctly.
>>> >
>>> > In the image, both programs are connected to the same server thru ssh,
>>> > so IMO the problem is not related with server configuration or any
>>> > tool specific setting.
>>> > The problem also occurs when using cygwin in the local machine.
>>> >
>>> > I'm almost sure the problem is related with the dos emulator, but I
>>> > don't have an idea whats wrong.
>>> > The problem started when I did the last cygwin update (but I also
>>> > updated many programs in the machine together, so I don't know if
>>> > cygwin caused this).
>>>
>>>> What's the server? Are you connecting with cygwin ssh (i.e.
>>> /usr/bin/ssh)? What's the TERM setting on the server? It should be
>>> 'cygwin'. or, if the server doesn't know that, 'vt100' should do.
>>>
>>>> You might also want to try mintty (where TERM should be 'xterm').
>>>>>
>>> Andy
>>>
>>> Hello Andy.
>>> Thanks for your reply.
>>>
>>> But it doesn't really matter.
>>>
>> Quote:
>> "IMO the problem is not related with server configuration or any tool
>> specific setting. The problem also occurs when using cygwin in the
>> local machine."
>>
>> I mean, the same problem also occurs when I am connected with no
>> server at all (just the local installation of cygwin).
>
>Right. So have you checked the TERM setting? Here's my wild guess:
>you've got MS's "Subsystem for Unix Applications" (aka "Services for
>Unix", aka "Interix") installed, and that's set TERM to "dumb" in the
>system-wide settings.
>
>Andy

Andy.
You're my hero.

You guessed absolutely right (and I need to apologize because I didn't
follow your hint at the first).


Thank you so much.
---
Diego Queiroz

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019