Date: Tue, 05 Sep 2023 16:42:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273582] man: check if run in a pipe before invoking MANPAGER Message-ID: <bug-273582-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273582 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 i= f it isn't, invoke MANPAGER. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273582-227>