X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:from:to:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=xBscjRHdPxwbp09v
	rjiscUlH3/hQXGFJ98gRiAa0RDN0fhExrz9K/+qLERvJYisPW1TQ5yNgh8d/oldY
	4wrCK8aF0c/Xg2dg8NHnWpSqL6CBiR1nh7EcW2E4kQbK4cLmRwkPf7RUIFEDT4g1
	wyLnwlKk5J+gg7CjucTCAY3FBKc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:from:to:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=5x0QRbrZmoMHLWlpGrFXbk
	jxEG4=; b=Abyf1a1Td1sKS7YPOgueRvGdXkKbiId0Ei4gWQDFmoOKiM9aMaRd9I
	Ej3o1FVKJOfD1AkNuGWnN32MVu96fgG5bewAhxfS6E9S9e9y7h5PkeB8C7ZsqpfL
	XqPDVK2TeLYkgI+VvKAciu0Ujb1MJaqLVARhCNE4TgHIR6a5s7XcU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=videos, intercept, 13112018, 13.11.2018
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.4
References: <announce.c595f006-ca8c-1a8a-25ac-8c9a6564ad20@towo.net> <1878070607.20181113005032@yandex.ru> <559c8b3d-af18-626a-c2bb-14d546d288ac@towo.net> <87o9asesn8.fsf@Rainer.invalid> <46aabb4b-8620-9a6b-d304-c9b7d0ae5845@SystematicSw.ab.ca> <b5bd3e0f-4a28-2f60-a53c-e246ebd3fa40@towo.net>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
To: cygwin@cygwin.com
Message-ID: <9f7c2e6c-f406-a313-a486-687760f22f33@SystematicSw.ab.ca>
Date: Wed, 14 Nov 2018 07:59:45 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <b5bd3e0f-4a28-2f60-a53c-e246ebd3fa40@towo.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 2018-11-13 16:10, Thomas Wolff wrote:
> Am 13.11.2018 um 22:16 schrieb Brian Inglis:
>> On 2018-11-13 11:31, Achim Gratz wrote:
>>> Thomas Wolff writes:
>>> There are many applications that simply don't give you the option to
>>> chose from such multi-typed selections (which makes it even more
>>> important that the application capable of producing them can be
>>> configured).  In fact, the only ones I know of are MS Office and then
>>> they don't always give you that choice in an unobtrusive or convenient
>>> way and sometimes not at all depending on context.
>> If you insist on pasting HTML, please enclose each clip in <pre> preformatted
>> text tags, with symbolic character entities for &, <, >, and numeric character
>> entities for non-ASCII UTF-8 characters, output enclosed in <samp> sample output
>> tags, input enclosed in <kbd> keyboard input tags, <strong> and <style> tags for
>> font and colour effects.
> Bold is represented as class=bd, like in xterm-generated HTML. <pre> is used
> globally, <class> vs. <style> is a matter of taste to some extent, I was
> following xterm here. Why <samp> or <kbd>, I don't see, and what's "input" after
> it's been echoed to a terminal screen?

Classes may not have consistent or any defaults across apps and browsers.
OpenOffice Paste Special C-S-v offers me all four formats (plain text, RTF,
HTML,  HTML no comments) but the content appears to be the same with only pre
and table formats, no attributes in any formatting.
Does mintty being run under X make any difference to e.g. colour attributes?

Mintty knows the difference between typed and echoed input and generated output,
so can appropriately tag content: if it's not echoed input, it's output.

> There is an initial meta charset=UTF-8, so the encoding should be fine, and
> clearly readable rather than cryptic entities.

>> If would be great if you could intercept all screenshot attempts and generate
>> HTML instead, as most screenshot pastes (or worse, videos) show huge windows
>> with little useful content in tiny unreadable fonts, and little context to
>> explain relevant content e.g. on github mintty project issues ;^>
> By intercept screen attempts you mean the Alt+PrtScrn key event? Mintty could
> easily generate HTML additionally in that case, better not instead.

That may be a matter of opinion, but agreed!

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

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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

