From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: Corinna Vinschen Subject: Re: tcsh Win2000: command line editing does not work Date: Thu, 22 Mar 2001 18:49:00 -0000 Message-id: <20010322214944.B16302@redhat.com> References: <5.0.2.1.0.20010315162012.027de478@pop.atg.com> <20010315231508.A17229@cygbert.vinschen.de> X-SW-Source: 2001-03/msg01461.html 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