X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 20 Mar 2011 13:19:28 +0000 Message-ID: Subject: Re: Problems with terminal doesn't display visual elements properly From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 -- 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