delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/13/18:05:20

X-Recipient: archive-cygwin AT delorie DOT 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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=TRSq9iK+5Hsyt0rS
dzkCalAj3bf3R2jfbfaNZAIVEKCKMt1zAHSxYC2yfc8PJ6iMAU83rUKMKZW/4k5q
wlDvyc3PhXaF1athHaiqHDDUk7qCfn7Ft+mdy6sreOGbeemQunUdQIliutQtdLfE
ikNnQbDZtx/ji8LIYuSOv2NHVaA=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=cirzA8K62tKnrzQBKz6MDt
g8QUo=; b=XNVGZiTqKYtrEkaOl5g68Jf4pmCbyUUdPrT8Ad97kn0QaCaz5PEStm
z9njFbXIoeIePvULtwLr1bLUrnT2VAGMNpo53BwjKFtseSo9Ys3dNA84cGbuND5C
RS1Zx6aqH/anSOAVjPNBhBpWesGVl+WkWYkBo/1KdzvcmAdo1gN2A=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, english, intend, H*r:ip*192.168.1.10
X-HELO: forward103o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1542150304; bh=5KoS/f218sOxaTokdhD8PXYIGjQMggxnwIgC3SboBRU=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Z98r8VmOcJfwR/FDncWmaXB50dZS2Ve5oxSjR2dxtginIORF+FDo+r6BtFzziar5V 26IG3AlatajL4bq2Y6xxhvHlzJw8nOy6mLg3jARp1Kjnon+hkxdRzDXRFVVEdgvGpa PeaRe1DIsh/3GS74ieaH+xkia3p6Qy13QgCW5shc=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1542150303; bh=5KoS/f218sOxaTokdhD8PXYIGjQMggxnwIgC3SboBRU=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=KfRVQE1j8LEymkaShFY04wEJTOU1z5U3/g8D+P9lgZgbiTJ8ELw4eW6lGb2gn6I2U w+1Vtq19MAY1CpgpYqrxwJq1be5rMFDrr9qDcSgA29oJxMFhpDY7CJhdPkukwWji3v WvFU8sPPukxnEf6yBSdnkjEGbwNr3d8i4rdk3tHM=
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Wed, 14 Nov 2018 02:03:12 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <456656735.20181114020312@yandex.ru>
To: Thomas Wolff <towo AT towo DOT net>, cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.4
In-Reply-To: <7b5ffea1-c519-0ff2-9062-6cae3afcddd3@towo.net>
References: <announce DOT c595f006-ca8c-1a8a-25ac-8c9a6564ad20 AT towo DOT net> <1878070607 DOT 20181113005032 AT yandex DOT ru> <559c8b3d-af18-626a-c2bb-14d546d288ac AT towo DOT net> <961991501 DOT 20181113183206 AT yandex DOT ru> <7b5ffea1-c519-0ff2-9062-6cae3afcddd3 AT towo DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id wADN5JXB011504

Greetings, Thomas Wolff!

>>>>> I have uploaded mintty 2.9.4 with the following changes:
>>>>> Terminal features
>>>>>      * Copy as HTML (#811).
>>>> I should agree with Achim. This feature is utterly broken.
>>>> Copied fragments are inserted as HTML TABLES(of all the things!) with no formatting whatsoever.
>>> OK, it shall be made configurable. But please describe in which ways
>>> workflows are broken and how / in which application HTML tables (HTML source?) would appear.
>> When I copy a text string, I fully expect it to remain a string. Formatted,
>> colored, but still string.
> I'd interpret this to mean that the feature is welcome but its details 
> are not?
> If you want coloured text, it needs to remain HTML format (or RTF) as 
> plain text is not coloured.

Yes.

>>> Of course plain text clipboard format is still supplied (multiple
>>> formats can be copied to the Windows clipboard at the same time,
>>> otherwise I wouldn't have enabled this by default), and the assumption
>>> was that an application pasting plain text from the Windows clipboard
>>> would still retrieve that.
>> Plain text is pasted as text, that's not an issue.
>> But pasting into a text processor is broken.
>> When I copy a text from PuTTY, it is pasted as colored/formatted, but text.
> Which means putty also copies something formatted, either HTML or RTF, 
> otherwise it wouldn't be coloured.

PuTTY uses RTF in addition to plain text, if "copy as rich text" is enabled.

>> When I copy same text from MinTTY, it is pasted as uncolored/unformatted table
>> with a single cell.
> Uncoloured? It's the purpose of this feature to copy attributes through 
> the clipboard and it works in all my tests.
> Which application pastes it without colours?

OpenOffice for one. I intend to check with MS Office, once I have access to
one.

> The table is another thing, I acknowledge this can be disturbing. The 
> purpose was an easy way to include an optional transparent image 
> background in the clipboard. I'll tweak the HTML output to do without it 
> by default, or maybe always if I can attach the image to a <div>.

I think you're stretching yourself out of intended purpose of the feature.


-- 
With best regards,
Andrey Repin
Wednesday, November 14, 2018 2:00:53

Sorry for my terrible english...
--
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