[Bug 273582] man: check if run in a pipe before invoking MANPAGER
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 16:42:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273582 Bug ID: 273582 Summary: man: check if run in a pipe before invoking MANPAGER Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: freebsd@igalic.co setting MANPAGER to something esoteric like `nvim +Man!` means that programs such as emacs which allow preview of man pages, will hang forever, waiting for nvim to produce output on stdin. man should check if it's being invoked in a pipe (using tty(1)), and only if it isn't, invoke MANPAGER. -- You are receiving this mail because: You are the assignee for the bug.