Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3C06B4FA.694F1419@acm.org>
Date: Thu, 29 Nov 2001 17:21:46 -0500
From: Tom Porcher <porcher@acm.org>
Organization: None
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Line editing not working in Cygwin apps on NT4.0 console
X-MIMETrack: Itemize by SMTP Server on lntril01/Servers/Trilogy(Release 5.0.6a |January
 17, 2001) at 11/29/2001 05:21:50 PM,
	Serialize by Router on lntril01/Servers/Trilogy(Release 5.0.6a |January 17, 2001) at
 11/29/2001 05:21:52 PM,
	Serialize complete at 11/29/2001 05:21:52 PM
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

I looked through the Archives and the FAQs and problems similar to this have
been reported in the past.  I tried various combinations of TERM=ansi,
TERM=cygwin, CYGWIN=tty, CYGWIN=notty but none of these seem to have corrected
my problem.

I'm running Cygwin 1.3.5, NT 4.0 SP6a.

The problem is that the Cygwin apps (cat, telnet, perl, etc.) do not allow
command editing when run in a console window.  In particular, the Backspace
key inserts a Ctrl-H, and the arrow keys move the cursor around and insert
their escape sequences.  bash does not exhibit this behaviour, probably because
it does its own line editing.

I had been running Cygwin B20 and this problem does not occur with the apps that
come with that package.

I can run "cat" from the NT Start->Run... dialog and cat will still not have line
editing.  I would have to presume that there's some setting or configuration for
the Cygwin DLL which I need to change to make this work.  Does anyone know of
any settings which could possibly cause this behavior?

Thanks!
                  --Tom Porcher

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

