younger than 35 could edit the
>documentation.
That may be the point -- or not, I suppose, depending on one's point of
view. (I'm far past the point of being under 35 myself, for what that's
worth.)
- Steven
--
___
ned up the
following, among others:
https://stackoverflow.com/questions/13433903/convert-all-linux-man-pages-to-text-html-or-markdown
https://jeromebelleman.gitlab.io/posts/publishing/manpages/
- Steven
--
___
Steven Wi
on Manjaro (21.2.6, "Qonos"):
===
All 118 tests passed
===
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | "It's amazing how much 'mature wisdom'
s.
>This should fix it for you, Steven:
It does.
Thanks again! I really appreciate your help with this.
- Steven
--
___
Steven Winikoff | Sometimes you will never know the value
Montreal, QC, Canada | of a mom
ively rather than
forward an entire message. For the few exceptions, an unmodified copy of
the original message is available as a backup.
- Steven
--
___
Steven Winikoff |
Montreal, QC, Canada | "What I want is
least in
my opinion. :-/
- Steven
--
___
Steven Winikoff | "The man who has ceased to learn ought
Montreal, QC, Canada | not to be allowed to wander around
s...@smwonline.ca | loose in these dang
t;I'll look into it.
Thank you!
- Steven
--
_______
Steven Winikoff | Sometimes you will never know the value
Montreal, QC, Canada | of a moment until it becomes a memory.
s...@smwonline.c
erbose \
-decodeheaderfieldbodies utf-8\
-file "${source}" -outfile "${tf}.fixed"
...but the Subject header came through unchanged. What am I missing?
- Steven
--
_____
ht now. :-)
Thank you!
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | "If at first you don't succeed, transform
s...@smwonline.ca | your data se
The relevant excerpt (with parts elided to keep the whole short enough here
for purposes of illustration) is
Subject: =?US-ASCII?Q?Using_[...]_to_mak?= =?US-ASCII?Q?e_text_[...]?=
- Steven
--
_______
Steven Winikoff |
he same header, but I'm about to go
fix that. :-)
- Steven
--
___
Steven Winikoff |
Montreal, QC, Canada | "Any teacher who _can_ be replaced by a
s...@smwonline.ca | machine, _should_ be."
http://smwonline.ca |
|- Arthur C. Clarke
ng.com with esmtpsa (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from )
id 1nJL4r-Oz-0y
for s...@smwonline.ca; Sun, 13 Feb 2022 15:02:33 -0500
Date: Sun, 13 Feb 2022 15:02:32 -0500
From: Steven Winikoff
To: s...@s
off-line?
It's the same message I already sent to you, that I've been using as a test
case all through this discussion. I just checked, and mhfixmsg returns a
zero exit status for it.
- Steven
--
___
Steven Winikoff |
Montreal, QC, Canada | "It is never too late to be what you might
s...@smwonline.ca | have been."
http://smwonline.ca | - George Eliot
000\000r\000\000\000e\000\000\
>\000d\000\000\000$
>$
I think that clears up the last mystery remaining from the questions I
raised. Thank you for your help throughout!
- Steven
--
___
Steven Win
rs to be the case for me in bash (invoked as sh just now), at
least with enable-bracketed-paste turned off.
- Steven
--
___
Steven Winikoff | "Science is built upon facts, as a house is
Montreal, QC, Canada | built of
;, O_RDONLY) = 5
mhfixmsg: /home/smw/Mail/mhfixmsgsLWrjg part 1, decode text/html;
charset=iso-8859-1
openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT
(No such file or directory)
openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC)
r than that. I just
thought to check archive.org for the patch, and found it at
https://web.archive.org/web/20211124173449if_/http://sysmic.org/dl/par/par-1.52-i18n.4.patch
...so you can examine the source code directly.
- Steven
--
____
encoded headers that my decode_headers program found and
decoded; mhfixmsg appears not to have done so).
Thanks,
- Steven
--
_______
Steven Winikoff | "'Somebody, SOMEBODY
Montreal, QC, Canada | Has to,
eted-paste off
I just tried this, and it works. Thank you for pointing that out!
- Steven
--
___
Steven Winikoff | "Science is built upon facts, as a house is
Montreal, QC, Canada | built of stones; but an
0028
...so it writes 0xc3 0xb8, which I believe is what it should be doing.
- Steven
--
___
Steven Winikoff | "The most exciting phrase to hear in
Montreal, QC, Canada | science, the one that heralds new
s...
ay bash behaves closer to a real Bourne shell than
when involved as bash.
>> I propose to forget this particular clupea harengus of the crimson
>> variety unless you find it interesting in and of itself.
>
>It is odd. And odd might affect other things, including to do with nmh.
&g
hows no external programs being run.
What am I missing?
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | "He who has imagination without learning
s...@smwonline.ca | has win
o output.
- Steven
--
___
Steven Winikoff | "I don't want to run the world; I merely
Montreal, QC, Canada | want to own a substantial portion of the
s...@smwonline.ca | the preferred stock."
http://smwonline.ca |
|- Alan Dean Foster, Cat-A-Lyst
ounds like an excellent plan, and I intend to follow through with it
on Friday; unfortunately I'll be busy with other things until then.
...although I may need help getting past the build problem.
- Steven
8<- cut here ---->8
#!
o
>help" software.
Of course. :-/
You might enjoy this utility, if you haven't already seen it:
https://www.fourmilab.ch/webtools/demoroniser/
- Steven
--
_______
Steven Winikoff | "There are millions
ster.
psychiatrist: I can't help you if you won't cooperate.
...so I feel a need to apologize for being uncooperative :-/, but I'm at a
loss here.
- Steven
8<- cut here >8
#!/bin/sh
#
# html_to_text -- convert HTML to plain tex
rint0 | xargs=0 egrep -l
>'seems not configured'
The same command also returns for me without finding anything.
I've read Ralph's followup suggesting it might be /usr/bin/par, but
apparently that's not the case.
- Steven
--
___
be more careful next time.
- Steven
--
_______
Steven Winikoff | It's is not, it isn't ain't, and it's it's,
Montreal, QC, Canada | not its, if you mean it is. If you don't,
s...@smwonline.ca | it's its. Then too, it's hers. It isn't
http://smwonlin
files look fine in vim.
>
>Because you have chopped off the non-UTF-8 which occurs earlier in bad
>which fixes vim's idea of the file's encoding.
In retrospect this should have been obvious. :-/
>> ...but for the bad file, that becomes
>>
>>"bad" [convert
It isn't in
the procmail chain that saves the original copy, and it's the original
copy that we've been looking at.
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | "The cure for boredom is curiousity.
s...
failed
Please report to nmh-workers@nongnu.org
===
make[1]: *** [Makefile:4996: check-TESTS] Error 1
make[1]: Leaving directory '/tmp/nmh/nmh'
make: *** [Makefile:5261: check-am] Error 2
8<--------- cut here ---
converted] 336 lines, 49471 bytes 1,1 Top
The smaller number of lines is expected (that's the effect of my
no-longer-wanted patch to mhfixmsg), but does that also explain the
different number of bytes?
More importantly, vim explicitly claims that the bad file is "[converted]",
so maybe that's the source of the double encoding?
The more I try to think about this, the more my head hurts. :-(
- Steven
--
___
Steven Winikoff |
Montreal, QC, Canada | "Do not meddle in the affairs of dragons,
s...@smwonline.ca | for you are crunchy and good with ketchup."
http://smwonline.ca |
bad.pdf
Description: bad.pdf
Y_LINK' is obsolete.
configure.ac:213: warning: AC_PROG_LEX without either yywrap or noyywrap is
obsolete
make[1]: *** [Makefile:4996: check-TESTS] Error 1
make: *** [Makefile:5261: check-am] Error 2
8<- cut here >8
--
______
ent.
You can also choose another character encoding and try again.
...with a menu offering "Automatically Detected", "Current Locale (UTF-8)"
and "Western (ISO-8859-15)" as possible character encodings.
In summary, I now know what's happening and (mostly)
levant.)
- Steven
--
___
Steven Winikoff | "The man who has ceased to learn ought
Montreal, QC, Canada | not to be allowed to wander around
s...@smwonline.ca | loose in these dangerous days."
htt
se on the easiest way to try it (between applying 41ce4490ac5d to
1.7.1, or just downloading and building the current version of the master
branch), and I'll do so tomorrow (I'm unable to do it before then due to
a prior commitment).
- Steven
--
_
out; when that also made no difference, I used a bigger hammer and emptied
out /local/pkg/nmh/root-nmh-1.7.1/etc/mhn.defaults completely, but even
that made no difference that I could detect.
- Steven
--
___
Steven Wi
rt 2 that gets converted
>> improperly
>
>The part numbers are reversed because that's the order used for display.
>Part 2 is the text/plain part, that's the one that got converted.
Thank you. That clears up part of my confusion.
- Steven
--
___
there's
apparently no conversion of iso-8859-1 to UTF-8, and that in fact it's
part 1 rather than part 2 that gets converted improperly; part 2 still
has
Content-Type: text/html; charset=iso-8859-1
- Steven
--
___
S
I doing wrong, and what should I be doing
instead?
Thanks,
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | Aleph-null bottles of beer on the wall,
s...@smwonline.ca | Aleph-null bottles of beer...
http://smwonline.ca |
. Thanks again for all your help on
this!
- Steven
--
_______
Steven Winikoff |
Montreal, QC, Canada | "Do not meddle in the affairs of dragons,
s...@smwonline.ca | for you are crunchy and good with ketchup."
http://smwonline.ca |
m Arch and see what happens.
- Steven
--
___
Steven Winikoff |
Montreal, QC, Canada | "If you're not part of the solution,
s...@smwonline.ca | you're part of the precipitate."
htt
ing.
- Steven
--
_______
Steven Winikoff | "The difference between the right word and
Montreal, QC, Canada | the nearly right word is the difference
s...@smwonline.ca | between the lightning and the lightning
htt
ven
--
___
Steven Winikoff |
Montreal, QC, Canada | For clarity in writing, be careful about
s...@smwonline.ca | word selection. For example, never
http://smwonline.ca | utilize 'utilize' when you can use 'use'.
Sure, here's one:
8<-- cut here >8
To: s...@smwonline.ca
Subject: foo
Fcc: inbox
From: Steven Winikoff
Reply-to: Steven Winikoff
Content-Type: text/plain; charset="UTF
mpegapplication;".
Thanks,
- Steven
8<- cut here >8
To: s...@smwonline.ca
Subject: testing testing testing
From: Steven Winikoff
Reply-to: Steven Winikoff
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="
Steven
--
___
Steven Winikoff | "Some men see things as they are and ask
Montreal, QC, Canada | 'Why?'. I dream things that never
s...@smwonline.ca | were and ask, 'Why not?'."
htt
ilizer, which I somehow suspect
isn't what you meant. :-)
Would you be willing to share a link?
Thanks,
- Steven
--
___
Steven Winikoff | "The man who has ceased to learn ought
Montreal, QC, Canada | not to
, but I'm well aware that many people would
prefer not to have to do that.
- Steven
--
_______
Steven Winikoff|
Montreal, QC, Canada | "Stars are facts; constellations are
s...@smwonline.
always done, from time immemorial until just
about two weeks ago.
Ironically enough I actually prefer to do it this way, but I was under the
impression that this is deprecated in modern configurations. I'd be happy
to be wrong about that.
- Steven
--
___
age ID, relay server and port, and resulting status and QID).
- Steven
--
___
Steven Winikoff| "...and every single one of them wanted
Montreal, QC, Canada | to be involved in the decision-making
s...@smwonline.ca | process without necessari
%s, port=%s, stat=%s",
+ syslog_from, syslog_to, syslog_msgid, syslog_server,
+ syslog_port, syslog_qid);
+closelog();
+#endif
}
}
8<- cut here >8
--
___
what I'd been
doing until now.
- Steven
--
_______
Steven Winikoff| "Sometimes I think we're alone in the
Montreal, QC, Canada | universe, and sometimes I think we're
s...@smwonline.ca | not. In
1])
by 206-248-137-116.dsl.teksavvy.com (8.15.2/8.15.2/Debian-10) with
ESMTP id x49H6dIA003943
for ; Thu, 9 May 2019 13:06:39 -0400
To: smw
Subject: testing /local/paths/forw -mime
From: Steven Winikoff
Reply-to: Steven Winikoff
MIME-Version: 1.0
Content-
and
parts of them. I do know how mhfixmsg-format-text/html specifies the
command which generates the text/plain part from the text/html part, but
I don't see how to do that and also reformat the text/html part.
- Steven
--
__
ith a given set of command-line options?
- Steven
--
_______
Steven Winikoff|
Concordia University | "The end of the world will occur at
Montreal, QC, Canada | 3:00 p.m., this Friday
what I thought you said.
>Our only general-purpose nmh list is nmh-workers; plenty of people on it
>are not coders, so please don't be concerned on that score.
Thanks. I've just subscribed.
- Steven
--
___
Steven Winikoff
messages using grep or mairix[**] -- and if the message body is saved in
base64 encoding, both of those programs fail completely.
[**]
http://www.rpcurnow.force9.co.uk/mairix/
--
___
Steven Winikoff
ecoming impressed by) just how old
this code base is.
But you're quite right that this code isn't easy to understand. If I were
to modify uip/mhfixmsg.c without touching sbr/m_getfld.c, am I risking
anything other than generating messages that nmh won't be able to read?
-
me what I might break by
doing so. Would someone please explain what I'm missing here?
- Steven
--
_______
Steven Winikoff|
Concordia University | "Peter's Principle of Success:
Montreal, QC,
passes through it in UTC.
In general I very much favour the principle of storing times in UTC and
converting to local time for display, but this (for me, at least) is an
exception.
- Steven
--
___
Steven Winikoff
on a Date: header in an email message
#
# Steven Winikoff 2012/12/12
#
# it's annoying to view Date: headers marked in a different time zone;
# that annoyance wasn't important in a world where invalid time zones were
# infrequent, but EVERY SINGLE MESSAGE from Concordia's new Exchange
# servers
put it together.
- Steven
--
___
Steven Winikoff|
Concordia University | "The cure for boredom is curiousity.
Montreal, QC, Canada | There is no cure for curi
e in some
other mail client.
--
_______
Steven Winikoff|
Concordia University | "In theory, there is no difference
Montreal, QC, Canada | between theory and practice. In
steven.winik..
; would the right hand side be an actual tr command? If not,
how would nmh parse the entry?
- Steven
--
_______
Steven Winikoff| "I really hate this dumb machine; I wish
Concordia University
ace them with an _ or something.
For what it's worth I'd prefer the "replace them with _" option, but even
without it this would do what I'm looking for.
- Steven
--
_______
Steven Winikoff|
Concordia Un
Steven
--
___
Steven Winikoff|
Concordia University | "If you're not part of the solution,
Montreal, QC, Canada | you're part of the precipitate."
steven.winik
Thank you for taking the time to explain all of that.
- Steven
--
_______
Steven Winikoff| "43rd Law of Computing:
Concordia University | Anything that can go wr
Montre
le to take the time
to discuss it thoroughly enough to reach a consensus.
But yes, fixing rcvdist properly (for an agreed-upon value of 'properly' :-)
in time for 1.7.1 would be preferable.
- Steven
--
___
Steven Wi
on for doing it
would be to delay having to fix rcvdist until after 1.7.1.
- Steven
--
_______
Steven Winikoff|
Concordia University | Boren's Laws:
Montreal, QC, Canada | (1) W
uldn't be too
difficult, would it reduce the urgency of fixing rcvdist and therefore
allow time to decide how to do that in the best possible way?
- Steven
--
___
Steven Winikoff| "You can leave in a ta
er.
That's a stronger version of what I was trying to say above. :-)
- Steven
--
___
Steven Winikoff|
Concordia University | "This sentence contradicts itself;
Montreal, QC, Canada |
all your help!
- Steven
--
_______
Steven Winikoff| "The reasonable man adapts himself to the
Concordia University | world; the unreasonable one persists in
Montreal, QC, Canada | trying to adapt the world to himself.
steven.winik...@concor
f
uip/mhshowsbr.c is
while ((pp = strchr (pp, '\'')) && buflen > 3) {
Is it possible that you're starting with a newer version of the source
than I am?
- Steven
--
___
Steven Winikoff|
Concordi
it means getting
this fixed. :-)
- Steven
--
_______
Steven Winikoff|"If I traveled to the end of the rainbow
Concordia University | As Dame Fortune did intend,
Montreal, QC, Canada
>If you want to try the attached patch to mhshowsbr.c,
I'd be happy to, but (ironically in this context :-) I'm not seeing the
attachment.
- Steven
--
___
Steven Winikoff| "Good managers learn
which does.)
>
>Are you using mhshow to store the HTML part? mhstore should be more direct.
>
>[...]
>
>mhstore -type text/html -type image or something like that?
Thanks! That's exactly what I'm working on right now. :-)
- Steven
--
_____
argument to -port
/local/pkg/nmh/root-nmh-1.7/bin/post: exit 1
I tried adding
post: -port 25
in addition, but resulted in exactly the same error message.
- Steven
--
___
Steven Winikoff|
Concor
page. The comparison is done
>with strcasecmp().
Thank you for confirming that.
- Steven
--
___
Steven Winikoff|
Concordia University | "It is easier to fight for principles
Montrea
-suffix-application/PDF line is in mhn.defaults.)
It's there, but as mhshow-suffix-application/pdf
Likewise, so is mhshow-suffix-application/postscript
but not mhshow-suffix-application/PostScript
I don't know why I thought these entries are case-sensitive; are they not?
- Ste
es to my personal
address of steven.winik...@concordia.ca
Thanks,
- Steven
--
___
Steven Winikoff| "Writing is easy; all you do is sit
Concordia University | staring at a blank sheet of paper
Montreal, QC, Canada
- Steven
--
___
Steven Winikoff|
Concordia University | "A life spent making mistakes is not
Montreal, QC, Canada | only more honorable but more useful
steven.winik...@concordia.ca | than a life sp
s worth I agree with this completely.
- Steven
--
_______
Steven Winikoff| "The reasonable man adapts himself to the
Concordia University | world; the unreasonable one persists in
Montre
the extra nmh subdirectory isn't helpful, which
is why I wanted to avoid using it.
I know I'm in a minority here, which is why I requested a configure option
rather than an outright change.
Thanks,
- Steven
--
_______
Steven
; /big/local, /home -> /big/home, etc.
(Yes, I know I could just use LVM2, but even that would require some kind
of guess at the initial sizing.)
- Steven
--
_______
Steven Winikoff|
Conco
d in 1.6, which I've been using
for over three years, but I must not have read the release notes for it
carefully enough.
Now that I know, I'll probably start using it in future.
- Steven
--
___
Steven Winikoff
test-mhfixmsg is the only
test that failed, but it did still fail.
I'm not subscribed to this list, so I'd appreciate replies to my personal
address of steven.winik...@concordia.ca
Thanks,
- Steven
--
______
by calling configure with
the --with-hash-backup option.
- Steven
--
___
Steven Winikoff| Zymurgy's Law of Evolving Systems
Concordia University | Dynamics:
Montreal, QC, Canada
88 matches
Mail list logo