delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/00:42:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <00c901c2d8a3$0af1c1c0$526286d9@webdev>
From: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>, <Hong_Lucifer AT hotmail DOT com>
References: <20030220133507 DOT 2A00 DOT HONG_LUCIFER AT hotmail DOT com>
Subject: Re: arrow keys under mc via SSH with PuTTY
Date: Thu, 20 Feb 2003 05:43:48 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> I setup sshd in cygwin and use PuTTY to login.  Everything seems going
> well.  But when I start mc(GNU Midnight Commander 4.5.55) and use
> arrow keys to move the cursor bar among listed files, strange things
> occured:
>
> When I press down key, a 'B' charactor appears in the prompt line (the
> line with a '$' at the most left) and cursor bar doesn't move. And when
> I press up key, a 'A' appears instead. However, I still have some
> chances (about 1 out of 10 tries) to move the cursor bar successfully.
>
> I have tried exporting TERM=linux, but the annoying A/B's still remains.
:(
>
> If I use the cygwin.bat directly form the start menu and export
> TERM=linux, mc works very well.
>
> I have searched the cygwin mailing list archive using keywords mc and
> putty, but nothing helpful is found.  Anyone had met the same problem
> here?  Any help will be much appreciated.

Does you CYGWIN environment variable contain a 'tty' bit in it? Like:

[elfyn AT webdev]:{884}:% echo $CYGWIN
binmode ntsec ntea tty
[elfyn AT webdev]:{885}:%

That may be the problem, then again ;-)


Regards,

Elfyn McBratney
elfyn AT exposure DOT org DOT uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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