[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` c
From: |
G. Branden Robinson |
Subject: |
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call. |
Date: |
Sat, 16 Mar 2024 16:35:34 -0500 |
Hi Thomas,
The attachments did the trick.
At 2024-03-16T17:17:03-0400, Thomas Dickey wrote:
> see attached (I'm referring to the checks/warnings, not the normal operation)
> #!/bin/sh
> nroff -b -man -w all -z tic.1m
Thanks. It was the `-w all`.
I can reproduce it now.
> troff: backtrace: '/usr/share/groff/1.23.0/tmac/an.tmac':512: while loop
> troff: backtrace: '/usr/share/groff/1.23.0/tmac/an.tmac':516: macro
> 'an*scan-string-for-backslash'
> troff: backtrace: '/usr/share/groff/1.23.0/tmac/an.tmac':543: macro
> 'an*abbreviate-inner-footer'
> troff: backtrace: '/usr/share/groff/1.23.0/tmac/an.tmac':340: macro 'TH'
> troff: backtrace: file 'tic.1m':31
> troff:tic.1m:31: warning: missing closing delimiter in output comparison
> operator (got a newline)
Yeah, that's my footer abbreviator all right (a new groff 1.23 feature,
to say nothing of the suggestive path, so thanks to RMS for once for
mandating the versioned subdirectory that so many people hate).
I don't get any diagnostics with the _installed_ page, which is all I
normally check per my previous email. (Attaching my script.)
$ ~/groff-stable/bin/nroff -ww -man ~/ncurses-HEAD/share/man/man1/tic.1 2>&1
>/dev/null | grep . || echo no output
no output
$ sed -n '31p' ~/ncurses-HEAD/share/man/man1/tic.1
.TH tic 1 2023-12-30 "ncurses 6.4" "User commands"
You've probably found a bug in one of the two internal macros named
above, and since I wrote those macros, it'll certainly be my fault.
You can quiet it back down with the `-Wdelim` option.
$ ~/groff-stable/bin/nroff -ww -Wdelim -man ./man/tic.1m 2>&1 >/dev/null | grep
. || echo no output
no output
I'll see about fixing this for groff 1.24. String processing in *roff
is a masochist's paradise.
What would you like to do in the meantime?
Regards,
Branden
checkman.sh
Description: checkman.sh
signature.asc
Description: PGP signature
- [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/15
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., Thomas Dickey, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., Thomas Dickey, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., Thomas Dickey, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call.,
G. Branden Robinson <=
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., Thomas Dickey, 2024/03/16
- Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call., G. Branden Robinson, 2024/03/16
- Prev by Date:
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call.
- Next by Date:
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call.
- Previous by thread:
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call.
- Next by thread:
Re: [PATCH 4/4] man/*.{1,1m,3x,5,7}: Soft-code ncurses version in `TH` call.
- Index(es):