This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tcsh Win2000: command line editing does not work


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]