summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-02-10 13:49:04 +0000
committerschwarze <schwarze@openbsd.org>2020-02-10 13:49:04 +0000
commitdb5b0f163dab8deddf3ec7ff618e20edcd30a0f7 (patch)
treeef0d40181271a67bb4443421f8ae9c2937f18422 /usr.bin/tmux/window-buffer.c
parentbriefly mention /etc/examples/ in the FILES section of all the (diff)
downloadwireguard-openbsd-db5b0f163dab8deddf3ec7ff618e20edcd30a0f7.tar.xz
wireguard-openbsd-db5b0f163dab8deddf3ec7ff618e20edcd30a0f7.zip
For compatibility with the man(1) implementations of the man-1.6
and man-db packages, print the manpath if the -w option is given without a following name argument. This quirk has been in man-1.6 since at least man-1.5e (1998) and in man-db since 2012. Using this feature in portable software is a dubious idea because the internal organization of manual page directories varies in about a dozen respects among operating systems, so even if you get the answer, there is no portable way to use it for looking up anything inside. However, Matej Cepl <mcepl at suse dot cz> made me aware that some software, for example the manual viewing functionality in the newest editors/neovim code, unwisely relies on this feature anyway. No objections were raised when this patch was shown on tech@.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
0 files changed, 0 insertions, 0 deletions