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
Date: Thu, 22 Mar 2001 21:49:44 -0500
From: Christopher Faylor <cgf@redhat.com>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: tcsh Win2000: command line editing does not work
Message-ID: <20010322214944.B16302@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>
References: <5.0.2.1.0.20010315162012.027de478@pop.atg.com> <20010315231508.A17229@cygbert.vinschen.de> <s1spuf96bf7.fsf@jaist.ac.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <s1spuf96bf7.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Fri, Mar 23, 2001 at 01:00:44AM +0900

On Fri, Mar 23, 2001 at 01:00:44AM +0900, Kazuhiro Fujieda wrote:
>>>> On Thu, 15 Mar 2001 23:15:08 +0100
>>>> Corinna Vinschen <cygwin@cygwin.com> said:
>
>> Sure. It's a known problem. It only happens in a console window, not
>> in xterm or other tty/pty connections.
>
>Tcsh uses the insert mode in the terminal capability.  Cygwin
>console doesn't support it, nonetheless the termcap database
>tells it supports the insert mode. Therefore this problem can be
>solved by modifying the database as the following.
>
>cygwin:\
>	:xn@:op=\E[39;49m:Km=\E[M:im=:ei=:tc=linux:
>
>> Patches (probably to the Cygwin console code) welcome.
>
>I believe it is hard to implement the insert mode in the Cygwin DLL.

It should be fairly easy to do this.  There is a Windows API that 
can accomodate horizontal scrolling, I think: ScrollConsoleScreenBuffer.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

