Steps to reproduce: 1. man rc.conf 2. press space to advance to next page (59 rows on my display) 3. press Q to exit pager Observe error: mandoc: <stdin>: SYSERR: write: Broken pipe mandoc: see above the output for SYSERR messages On main at b667c40f9ff6
I have proposed a fix for this. [0] https://github.com/freebsd/freebsd-src/pull/1283 Thanks @emaste!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a85d870007e7dd94242a2084dbb750438332ac1e commit a85d870007e7dd94242a2084dbb750438332ac1e Author: Alexander Ziaee <concussious@runbox.com> AuthorDate: 2024-06-10 04:04:51 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-06-28 00:34:33 +0000 man.sh: revert trapping SIGPIPE PR: 279542 Fixes: 14a5c1068d37 Reported by: emaste Reviewed by: imp, emaste, jilles Pull Request: https://github.com/freebsd/freebsd-src/pull/1283 usr.bin/man/man.sh | 3 --- 1 file changed, 3 deletions(-)
It would be great if this made it into 14-STABLE too.
^Triage: assign to committer for MFC review.
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5d3100f95bc3558e12185a8c11e1d5f2a42f2965 commit 5d3100f95bc3558e12185a8c11e1d5f2a42f2965 Author: Alexander Ziaee <concussious@runbox.com> AuthorDate: 2024-06-10 04:04:51 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-11-13 04:53:43 +0000 man.sh: revert trapping SIGPIPE PR: 279542 Fixes: 14a5c1068d37 Reported by: emaste Reviewed by: imp, emaste, jilles Pull Request: https://github.com/freebsd/freebsd-src/pull/1283 (cherry picked from commit a85d870007e7dd94242a2084dbb750438332ac1e) usr.bin/man/man.sh | 3 --- 1 file changed, 3 deletions(-)