Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 22 Mar 2001 21:49:44 -0500 From: Christopher Faylor To: Corinna Vinschen Subject: Re: tcsh Win2000: command line editing does not work Message-ID: <20010322214944.B16302@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Corinna Vinschen References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010315162012 DOT 027de478 AT pop DOT atg DOT com> <20010315231508 DOT A17229 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; 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 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