From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id 37D683858D33 for ; Thu, 16 Feb 2023 19:17:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37D683858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net Received: from [192.168.178.72] ([91.65.219.135]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHG0U-1pOOBG0itk-00DK6b; Thu, 16 Feb 2023 20:17:46 +0100 Message-ID: Date: Thu, 16 Feb 2023 20:17:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [ITP] italic-man To: Jon Turney , "cygwin-apps@cygwin.com" , Achim Gratz References: <711af07e-46e4-4d3b-b28a-a64e37284d55@towo.net> From: Thomas Wolff In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:9VflKNQG7M1d0oYaGbiE6tz6YUcWX0+OtrW4MQ08jgpCvtcDGm7 1Si/zcLHzX6dIqCEn9n1SfEKq33ms9bI/DP8IdB9v5dPmJRgqiyGad52JigbqPgaO4DcXBn c0DKLloMT7Oi4kunJTq5RjRWJUwBEw3KXitbHCYbldfiOj9EFx/Xappad9UxklUvMEP16l3 94DPUbUL3xB+XJ6MiHwxA== UI-OutboundReport: notjunk:1;M01:P0:5AgHM92wSRI=;8b+qt3qwQxOFJ08lLBNnrOjN440 sbCLNyfsxAq4KIolJQ5a+g+q6JNNxbV4LK4nYX9YZjl7MCKVbh3+QhAoXCrEaQ/CG2DeDjQON CWYckY9Ai/2+srM0Yt6hg0dHhTT17zZPbkA4KvDNsL5X3+d79U69v7DCrj/ng8yQK8kY6kf6H MOFDHcgb3urVlMimHU0AnvgvbZlHF2t9s8FpBra3uPDROf2wERIpOUjIA5xANpzxKH4AlzzhY GNrpfbIgkPlq39oxQWQwTH+Icxb1Oq9lSVRz/0tv8B/xXs1PKM5p0YtVQr/uoCvbUvy/JqZQX gy0bnFjTrXT43urqGVhpbdA1JyJOg/B7JJzskZZj/47uaYnfKwKwWXSHKi37x1G5uvgUZyWTp 4m1TRDgreyXLrw+WFJkd2mKUx4L9BQx3ZLbQOIuViFiRdiJP8rRzcXGcu2bW0rCO4GNGMKkas 8C+QIU/WsnYjqGuKMIxk81sFiBII/5gZQD0t40kjaAO309X9tnq+W1pgmaJxqZAX+8DhcHVNS GA1LSWwVVotOGL6x2mNeln6j/jB68PQfC3Mi9rOBQ9PkdCRK/54o+FCKQ8GmYJhurtx6yPiZA Mb4fOi+05GDGXhmuf9FQbI2YUjtyyvVMmPvsxpx+k90Urdqqi0T94vcxcSIZrPkrKlkWSNjDr tSN+aCgC66nZq5hi7RkL6w2aqfnF6XlsUzamRDBjag== X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Am 16.02.2023 um 19:59 schrieb Jon Turney: > On 21/01/2023 17:04, Thomas Wolff via Cygwin-apps wrote: >> italic-man installs two scripts and hooks them into the workflow of >> the 'man' command so that the italic attribute of manual pages is >> actually displayed as italics in terminals that support it. >> >> cygport file attached > > Thanks very much for having another go at this. > > I'm still not overly keen on postinstall/preremove scripts which > modify a configuration file belonging to another package, so I think > I'm going to defer to Achim on approving this. > > Taking a step back, may I ask a couple of questions? > > - Can this be done as a patch to man-db and/or groff? > > (perhaps with a separate man-italic package which just contains a > marker file which enables the functionality?) > > - (If different) how would this be done in an upstreamable way? Thanks for taking a look. I understand your hesitation but there are a number of zp_ postinstall scripts around that make updates to mandb, mime db, desktop, various caches, maybe crontab. Well, yes, there could be a zp_ script for man that makes this entry to /etc/man_db.conf itself in the presence of the italic-man package. If that's desired and someone else updates man, I will cooperate on this. I think the installation of italic-man does this in an upstreamable way except for the postinstall mechanism of course which seems to be different (if existent at all) everywhere. Thomas