Re: Awk split()/array bug in 7.5

2024-05-30 Thread Jeremy Mates
On 2024-05-30 14:56:50 -0600, Todd C. Miller wrote: > This is not a bug. An awk associative array is effectively a hash > table so when you iterate over it like this you are not guaranteed > to get things in any particular order. In fact, our awk, mawk and > gawk all produce different output

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-14 Thread Jeremy Mates
ither of those files and a sh or ksh or whatever is run in a suitable directory? On 2024-04-08 15:30:11 +, Jeremy Mates wrote: > 79510 ksh NAMI "none.db" > 79510 ksh RET open -1 errno 2 No such file or directory > 79510 ksh CALL mprotect(0x4e89f6

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

2024-04-08 Thread Jeremy Mates
Given logger foo;xterm -tn xterm-256color -e ktrace -di /bin/ksh the log message 'ksh: vfprintf %s NULL in "%.*s"' appears when ~/.terminfo/x/xterm/xterm-256color does not exist. The log message no longer appears after running cp /usr/share/terminfo/x/xterm-256color ~/.terminfo/x/ and

Re: Bash instead of ksh

2024-04-02 Thread Jeremy Mates
On 2024-04-02 15:34:56 -0400, Steve Litt wrote: > If you mean a shell with which to run shellscripts, I wouldn't do that. > Inside bash is a big old messy attack surface. There was a bash exploit > several years ago (was it heartbleed?) that caused me to change all > shellscript shebangs to

lilypond PDF builds broken in OpenBSD 7.4 following ghostscript-10.02.0->10.02.1 ?

2023-11-13 Thread Jeremy Mates
Nov 12 19:41:30 gear pkg_add: Added firefox-119.0->119.0.1 Nov 12 19:41:55 gear pkg_add: Added ghostscript-10.02.0->10.02.1 PDF builds fail, can someone confirm this isn't my system being wacky? $ ls test.* test.ly $ cat test.ly \version "2.22.2"

rare vi crash

2023-07-07 Thread Jeremy Mates
The crash happens maybe a few times per year, and eventually resolved to the following guard with the error "Tailq for buffer \xc8 is empty", but I'm not sure how \xc8 is getting there, maybe I'm lingering on a control key or something whilst flailing at the keyboard. Some idle testing with "p did

Re: vi - inability to search backwards for ?

2023-05-14 Thread Jeremy Mates
On 2023-05-13 20:53:01 -0700, Kastus Shchuka wrote: > Have you tried using ?[\?] in extended mode? It works for me. Yes, that's already in the blog posting and is a bit more to type and remember than a ?\?

Re: vi - inability to search backwards for ?

2023-05-13 Thread Jeremy Mates
On 2023-05-13 10:26:42 +0200, Andreas Kusalananda Kähäri wrote: > I'm assuming this is with the "extended" option set in vi, right? Yes.

vi - inability to search backwards for ?

2023-05-13 Thread Jeremy Mates
A search for /\/ is okay; this discards the \ and searches for "/" A search for ?\? is not okay; this discards the \ and searches for "?" which is an invalid regular expression, "RE error: repetition-operator operand invalid". A problematic bare leading ? on a backwards search can be escaped by

Re: ex/vi 100% CPU when STDIN_FILENO set to O_NONBLOCK

2022-12-12 Thread Jeremy Mates
On 2022-12-12 10:01:05 +0100, Claudio Jeker wrote: > I think this is the wrong way around. The callers need to be fixed to pass > a blocking stdin to programs since that is what every unix utility > expects. What you propose it to fix every unix utility to have such a check > at the start of main.

ex/vi 100% CPU when STDIN_FILENO set to O_NONBLOCK

2022-12-11 Thread Jeremy Mates
... 42136 ex RET read -1 errno 35 Resource temporarily unavailable 42136 ex CALL read(0,0x3d94b585400,0xff) 42136 ex RET read -1 errno 35 Resource temporarily unavailable 42136 ex CALL read(0,0x3d94b585400,0xff) ... this condition can

Re: embarrassing mail problem

2022-10-05 Thread Jeremy Mates
On Wed, Oct 05, 2022 at 10:04:36PM +0100, Steve Fairhead wrote: > For Sendmail, the error is "TLS handshake failed"; for smtpd, it's > "Network error on destination MXs". one "fix" would be to disable TLS for the domains in question, which at least would let the mail go through until the