New terminal capability in fhandler_console.cc

Corinna Vinschen cygwin-patches@cygwin.com
Sat Mar 31 10:18:00 GMT 2001


On Sat, Mar 31, 2001 at 12:46:02PM -0500, Christopher Faylor wrote:
> On Sat, Mar 31, 2001 at 11:31:18AM +0200, Corinna Vinschen wrote:
> >On Fri, Mar 30, 2001 at 07:36:58PM -0500, Christopher Faylor wrote:
> >> On Sat, Mar 31, 2001 at 01:52:52AM +0200, Corinna Vinschen wrote:
> >> >> I don't think it works that way, does it?  I just tried this.  There
> >> >> is no wrapping.  Characters at the end of the line are truncated.
> >> >
> >> >Did you try that under linux? Hmm, I'm perhaps misleaded by the
> >> >behaviour of the shell.
> >> 
> >> Yes.  I still have a little bit of state left on this from when I wrote
> >> an editor years ago.  I was also involved in the project which eventually
> >> became ncurses many years ago.
> >> 
> >> Anyway, I was pretty sure that there was no wrapping involved.  I have a
> >> test file, if you're interested.
> >
> >Thank you but it's not needed anymore. I've just added insert mode and
> >the `im' and `ei' capability to fhandler_console. You're right, the
> >wrapping is managed by the shell itself. Fine. That was pretty easy!
> 
> How about insert character (\E[%p1%d@) and delete character (\E[%p1%dP)?
> 
> They should be trivial now as well, shouldn't they?

They are the most trivial ones. They already exist ;-)

Corinna



More information about the Cygwin-patches mailing list