delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/11/12:29:26

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ABHTPPD3868370
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4ABHTPPD3868370
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=shHBz8lg
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99F1D3858429
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1731346163;
bh=99Xs4aZOIsawWOfCiSEx/WdODgs6j51TE2jXE8w9Q/4=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=shHBz8lgBJPgrfY7G2unV54cvMidji95JupF0ZEHplrqeIn6+1GLK92wguYRc2Lad
m/WFpbq4DcOyzcYNRFxup6ozVX3u7dzJMaCnnJWUBqRDaKs3AxpU4bke1M3XnmfjpV
XwYRt8Trm6//r8KZKNYq8Zih+SmZF9trqY5DBF+Q=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1088A3858C35
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1088A3858C35
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731346137; cv=none;
b=a6NSU2hQO6ziO3me1TzrJol1IsLYRTJCrRlY8eLwqcgy7Ty8qPwtjWnl6WXX8xVvJprdODfd9X3NjmM902Dgay9NOiOOf1snU+j6D3fHDCjXVQI9OoaOoJmK8l7cJriLTQx+p+hqDpZ5osUCv+ppjdW5yd77mBKPW3espHP67R8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1731346137; c=relaxed/simple;
bh=KV/rzgJy1C88GUFTncgzeTj5CiI/iBj2ZcGZ78ntftI=;
h=Message-ID:Date:MIME-Version:Subject:To:From:DKIM-Signature;
b=aMaRg4ednxu+TU2+W6+/ZTsCGjIJT8OvhAHicNYaS21URwn2gunBd/2eU+pryUazjLORmpFWM9dFnBp9Ztt+hAVfqC994WDOAAd92gtMZmEG+lWksH01zS0huVDHlg9Pd4FcLYUvHyaQICTL6vBtms2JMZIedZqiQAABIZbw+kI=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <167524f7-dea3-438e-9f1f-a0c9c9967c54@SystematicSW.ab.ca>
Date: Mon, 11 Nov 2024 10:28:30 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: same problem, reported 5 Sep 2024
To: cygwin AT cygwin DOT com
References: <CAP9tFS0PV0-VC2YcDVwu+4f-2W8nfy+b9UbfOUQsLrEG8_AW5g AT mail DOT gmail DOT com>
Organization: Systematic Software
In-Reply-To: <CAP9tFS0PV0-VC2YcDVwu+4f-2W8nfy+b9UbfOUQsLrEG8_AW5g@mail.gmail.com>
X-Rspamd-Queue-Id: 02E5260011
X-Rspamd-Server: rspamout03
X-Stat-Signature: 44kbfe7jteuubnsb8cfqj8phdniyyerb
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1/EQnVoCM+bEo2W93Yp5GuZD0g2ulC4zm8=
X-HE-Tag: 1731346103-338832
X-HE-Meta: U2FsdGVkX18H8bc8tx9G5LuH28Zo/vWJSTcf+iiuftctuAHlb7bGPIxJPM+q9VnktUtibVEA7rwVqcm1ML2hwGCrPuiYvIZW5mwImbW3CAs9rlK8iJ1VBhwW7gP/MT7xuNzE0kpyzDRLrC5+zYwXWGwwEavgWLxgRRmG6skpoKia+qLpCNtWZBk9QikPc2a8GoJUAQvz4BhYuwcKKAV22jVCRJD4MxBJ6xmnZtzrpoJhJpFdCJFb4yDGwz+Bg3wGS/5bgVyBbXh+s0sVZrkLj/jfB4vFQHnkzXRvMsn7c0/pVfCIKbUgtahrDoxgi8rgCPUElrQOm2VOqmcPHIHbgcKkfeo5+UCwLnXzFsGb0u+qRca1ggSJ/0je2qoWzRO+SrFBeXri7E6Jio8rGpZ1MCmzvqR55ieYD25O6CQ9MCfL6QWEcewdSQ==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4ABHTPPD3868370

On 2024-11-11 09:26, Lester Ingber via Cygwin wrote:
> Hi.  I still would appreciate some help with Mintty.
> 
> I recall there is a command for getting the info for a Mintty window, e.g.,
> title, coordinates, etc.  What is that command?

There are many control sequences which may be used, but you have to be aware of 
the orders of the arguments, the punctuation in the sequences and responses, and 
the units implied in the responses:

	https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

I have a 250 line shell script which shows the following (sequences and 
responses [cat -A] are in the 3rd and 4th columns [unwrapped]):

$ xterm-info
type features	VT420wpSeNThcrl	^[[c	^[[?64;1;2;4;6;9;11;15;21;22;28;29c$
type version	mintty v3.7.6-0	^[[>c		^[[>77;30706;0c$
window position	3 px 210+120	^[[13t		^[[3;210;120t$
window size	4 px 875x881	^[[14;2t	^[[4;881;875t$
text position	3 px 219+152	^[[13;2t	^[[3;219;152t$
text size	4 px 840x840	^[[14t		^[[4;840;840t$
text chars	8 ch 120x60	^[[18t		^[[8;60;120t$
char size	6 px 7x14	^[[16t		^[[6;14;7t$
screen chars	9 ch 274x77	^[[19t		^[[9;77;274t$
screen size	5 px 1920x1080	^[[15t		^[[5;1080;1920t$
window status	1 open	 	^[[11t		^[[1t$

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


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

- Raw text -


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