delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/23/19:57:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4B847943.9030907@cwilson.fastmail.fm>
Date: Tue, 23 Feb 2010 19:56:35 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Cygwin Mailing List <cygwin AT cygwin DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: terminfo [Re: console enhancements: mouse events etc]
References: <4B266F9B DOT 6070204 AT towo DOT net> <20091214171323 DOT GS8059 AT calimero DOT vinschen DOT de> <20091215130036 DOT GA19394 AT calimero DOT vinschen DOT de> <4B28ACE8 DOT 1050305 AT towo DOT net> <20091216145627 DOT GM8059 AT calimero DOT vinschen DOT de> <4B29934A DOT 80902 AT towo DOT net> <4B2C0715 DOT 8090108 AT towo DOT net> <20091221101216 DOT GA5632 AT calimero DOT vinschen DOT de> <20100125190806 DOT GA9166 AT calimero DOT vinschen DOT de> <4B5F0585 DOT 9070903 AT towo DOT net> <20100126161036 DOT GA31281 AT calimero DOT vinschen DOT de> <4B718CB8 DOT 7070308 AT towo DOT net> <4B72083C DOT 2090205 AT cwilson DOT fastmail DOT fm> <4B83A73C DOT 1000208 AT towo DOT net>
In-Reply-To: <4B83A73C.1000208@towo.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: 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
>> maintainer.
>>
>>    
> 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.
Sorry.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019