From nobody Wed Mar 22 04:54:44 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhGPz2tJBz3ypWC for ; Wed, 22 Mar 2023 04:55:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhGPx65Zkz3pvQ for ; Wed, 22 Mar 2023 04:55:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de; dmarc=none Received: from r56.edvax.de ([178.5.91.48]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1M2wCg-1pdk2D44TM-003Mra; Wed, 22 Mar 2023 05:54:46 +0100 Date: Wed, 22 Mar 2023 05:54:44 +0100 From: Polytropon To: Ian Smith Cc: white-wolf , questions@FreeBSD.org Subject: Re: html rich text colored Message-Id: <20230322055444.b2697263.freebsd@edvax.de> In-Reply-To: <9B5F5E1E-555D-4FA8-AFBE-EBBD3A8A7045@nimnet.asn.au> References: <3faa3481-abe3-47cd-f273-2658db42a5bc@gmail.com> <11239785ba0531583f29189b133ceafdcded8aad.camel@blues-softwares.net> <5f1028aadd42bcbd89c62e843fc59798c52a0f36.camel@blues-softwares.net> <9B5F5E1E-555D-4FA8-AFBE-EBBD3A8A7045@nimnet.asn.au> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:N1C3Znvde+U+l4m1oiWsUDx8aqdkvLE/oyQgo9LzCCp4woZ6YCK CrQsGGaVBm0Y053eQPBNjNNcZLGTSOJwRAxKuGulbS83uIpQQVppv/iSnVCtrLchYua4UM2 LyYJG7vUhFCRbCXapTm1GeHNtGISURFYnpxYLkXlod0HarmHLydj4TqgjaJrPgQEGMq/XWt mTrbm6BgrFRhh/xwfdzGA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:bnjjkc5SCwg=;DVVUQGWFI9ylO5j3HkayMc08Y8U B2mTGObqcf/T+GncSRvNc38kyLFgF5C7kbA35n3+MvBd3XFQf4AcOxzeII97B85wm1U18R/ET jxwOO/loi4A2YW/v5BjA7BkqF2sv9vDTusJqoVgC4TP3dfd9BKitnA9H8AjeQny9YO+AHyy8p cMVlXKg9vWv9piovT6/1ivGD2BZ78p8Hu8E10x6TJ1aCmkFN/yBCPvzeIDQzPIufvsKW26iFW 0w5pXTQPVFdue0vm5rbo3A4wAxnVbH/i+leu2O2x1zysIT9YkysYRSBj+wfLC8JVHIdPxQaAu h7b70SX/aGXbZGr50zIYLfkofz5dXq2xHHEMi7md0PcX5gjDMrJ1bnqqbYFNCL2rgzODDO/SY qW1ZVStf3gTXE7XwxpsbpLK6i+Lx9FY09d0ODHXjpt4F31a897kJYbmqvKhQHM3nnjT+3Q+oU 8YTmd/S9C7qe4LTvUwYAT7AvtisuLYkV9nZrmFGqQ5eeYDf207w0VBR96hS0SsPEccyJ9AhME 8wKNxlSYlXnUBSmXVpv0SMkgczYsQHHXArCJDU6BBDepLXdUl4sTg7fvHGVzZH0N+FlG/HBNP Aysuw5nknALCxs4G/FqICaQLf1U6LMI6xs36P5dVPfhpVwmBLcQmnEHg5HtsmIfhjk14EIf4R TfVM+FI1l78Awvl4qqZAzfxuLufsamhhNQQqy2IOSQ== X-Spamd-Result: default: False [-0.59 / 15.00]; AUTH_NA(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.13:from]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[questions@FreeBSD.org]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.13:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PhGPx65Zkz3pvQ X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Mon, 20 Mar 2023 21:43:47 +1100, Ian Smith wrote: > On 20 March 2023 4:53:49 pm AEDT, white-wolf wrote: > [...] > > who have no X now on this desktop computer for see html+Markdown ? > > Enough people who this community respects enough not to disrupt? It's not just about reading messages. It's also about replying to them (and malformed HTML can be a hazard to proper quoting and to preserving structure), and it's about message archives, as it has been mentioned. In my opinion, it is important to understand that a modern day mail client that includes a HTML renderer has reached the level of complexity that in ye olden times has been reserved for operating systems. Resource allocation, permission control, sandboxing, 3D accelleration access... this doesn't come for free. Keeping a web-enabled MUA up to date, especially regarding the ongoing discovery of new (and old) security vulnerabilities requires a steady flow in maintenance. On the other hand, reading text is less risky; "less" hasn't required an update for decades. ;-) And it gets worse: Because you want color in your HTML message, _how_ do you want it? A trivial approach would be to use the designated HTML attributes for and
, and you could also use for inlining quotes. Okay so far. But now people (probably correctly) tell you that this is wrong, and you should use CSS for that. Now you have enabled another whole level of complexity. Modern people will then tell you that you're doing it all wrong, and you should use JavaScript. Not pure, of course, but with the lastest frameworks. Bam! A new challenge. No Internet connection? Sorry, you cannot even read your stored messages! ;-) Of course, using HTML properly gives you power of structuring if (!) you use semantic markup instead of microformatting, i. e., "this is a heading" instead of "this is bigger text with underline". However, people often don't use this power. Mailing programs that generate HTML usually also don't. As mentioned above, the simple act of replying to a message and adding statements can distort the whole "HTML landscape" of the original, therefore lead to buggy output to the list. While HTML _could_ be used with its power of semantic markup, HTML generators will typically mess up the whole thing. And... how about you want to include actual HTML tags in your text, for example, you have a question regarding HTML substitution or elimination using sed or awk? You need to pay attention to quoting now. Or use a
 environment? And also keep an
eye of the usage of other "special symbols" that might be
causing undesired effects when used in HTML. HTML isn't a
good tool to render code snippets without further effort.

With HTML, list participants would probably also use the
ability to structure text as they want to. Some use a triple
empty line for paragraphing, others a single line, and some
prefer indentation, which all is okay, as it adds an individual
touch to messages. Some users indent code snippets with tabs,
others with spaces. All this doesn't map 1:1 into HTML and
requires more work. And just think about "ASCII art" used when
someone illustrates their home network to provide context for
a question...

And don't be fooled about ISO-8859-1 / -15 / UTF-8 and HTML.
Depending on the tool used to generate the list message, this
can lead to big trouble. Encoding hell is waiting for you,
located at Schlatildefracterstrasse in Berlin! :-)

There are other uses of mailing lists and their archives: the
automated processing. Searching for things, creating categories,
using snippets in notes - all this can easily be achieved with
pure text. The great thing about text is that it can combine
regular text with code and ASCII art without requring anything
else than your favorite editor - it doesn't even have to be
the one used by your mailing program, because anything it needs
to do is generate text.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...