This is the mail archive of the
mailing list for the Cygwin project.
Re: terminfo [Re: console enhancements: mouse events etc]
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 23 Feb 2010 19:56:35 -0500
- Subject: Re: terminfo [Re: console enhancements: mouse events etc]
- References: <4B266F9B.email@example.com> <20091214171323.GS8059@calimero.vinschen.de> <20091215130036.GA19394@calimero.vinschen.de> <4B28ACE8.firstname.lastname@example.org> <20091216145627.GM8059@calimero.vinschen.de> <4B29934A.email@example.com> <4B2C0715.firstname.lastname@example.org> <20091221101216.GA5632@calimero.vinschen.de> <20100125190806.GA9166@calimero.vinschen.de> <4B5F0585.email@example.com> <20100126161036.GA31281@calimero.vinschen.de> <4B718CB8.firstname.lastname@example.org> <4B72083C.email@example.com> <4B83A73C.firstname.lastname@example.org>
- Reply-to: Cygwin Mailing List <cygwin at cygwin dot com>
Redirected to the cygwin list.
Thomas Wolff wrote:
> Charles Wilson wrote:
>> Thomas Wolff wrote:
>>> Actually, I just remember again that I though I should change the
>>> terminfo entry too. Just - where's the source to patch?
>> So, send me patches against terminfo.src from that -src tarball, and
>> once we've got it figured out, I'll push it upstream to the ncurses
> Sorry for the slightly late response. Attached is a small patch.
> Two notes:
> * I used the occasion to add PC graphics mode to the linux console, too,
> which have always been missing there.
I'm not sure about this. The only situation where you'd be using the
cygwin terminfo database while interacting with a linux console is if
you were running a cygwin shell, under WINE, from a console mode linux
login. Or maybe if you were remotely accessing a cygwin box from a
console mode linux session. However, in both cases, the terminal
description would DIFFER from the one the actual linux box, the one
you'd be sitting in front of, uses. This sounds like trouble to me.
I think the better approach -- doomed to rejection, unfortunately (*) --
is to submit this change directly upstream to ncurses (Thomas Dickey).
If it's picked up there, then it will filter down thru the linux
distributions, AND we'll get it.
(*) Thomas (Dickey) has a policy of accepting terminal description
changes ONLY from the maintainers of the emulator/console code: e.g.
konsole from the KDE devs, linux from lkml only, etc.
He's unlikely to accept a patch to the linux terminfo description from
us. But, give it a try anyway...
> * I patched "cygwinDBG" only for now, because if the patch goes
> upstream, the new VT100 graphics mode will not be available for remote
> login from an older cygwin console for a while. Feel free to modify the
> entry "cygwin" accordingly if you feel confident with it.
No, I think it would be best to update cygwin itself (and maybe
cygwinDBG. Anybody use that?) If we want to add cygwin-old (cygwin-1p5?
suggestion for a better name?) for backwards compatibility, we can. But
the current cygwin terminal description should describe the current
cygwin terminal capabilities.
BTW, does this "fix" 'pstree -G'?
I'll adapt and release an update relatively soon. Thanks for your
efforts, Thomas (Wolff).
Apologies, all, for the confusion about mailing lists. My fault; I
suggested Thomas send "a patch" during a conversation on the the
-developers list. I forgot to specify /where/ it should have been sent.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple