Bug 279542 - mandoc emits error after exiting pager
Summary: mandoc emits error after exiting pager
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-05 12:59 UTC by Ed Maste
Modified: 2024-06-11 16:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2024-06-05 12:59:22 UTC
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
Comment 1 Alexander Ziaee 2024-06-10 05:11:56 UTC
I have proposed a fix for this.

[0] https://github.com/freebsd/freebsd-src/pull/1283

Thanks @emaste!