summaryrefslogtreecommitdiff
path: root/misc/py-cppman/pkg-message
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-08-05 10:54:42 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-08-05 10:57:27 +0900
commitb55bde09b21a27008e0ba4ab0638b3cbc8225c9b (patch)
tree9385a48f4f1e61c7c89efa1a2cd674900a831f17 /misc/py-cppman/pkg-message
parentgraphics/mesa-devel: update to 25.2.b.973 (diff)
misc/py-cppman: add port: C++ 98/11/14/17/20 manual pages on the terminal
Cppman is a tool that provides C++ manual pages on the terminal. It acts as a convenient interface to view formatted C++ documentation directly from cplusplus.com and cppreference.com, allowing developers to access relevant information quickly without switching to a web browser. Features: - Supports two backends (switch it with cppman -s): cplusplus.com cppreference.com - Syntax highlighting support for sections and example source code. - Usage/Interface similar to the 'man' command - Hyperlink between manpages (only available when pager=vim) - Press Ctrl-] when cursor is on keyword to go forward and Ctrl-T to go backward. - You can also double-click on keyword to go forward and right-click to go backward. - Frequently update to support cplusplus.com. WWW: https://github.com/aitjcize/cppman Co-authored-by: freebsd@fron.io PR: 284157 Reported by: freebsd@fron.io (initial version)
Diffstat (limited to 'misc/py-cppman/pkg-message')
-rw-r--r--misc/py-cppman/pkg-message16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/py-cppman/pkg-message b/misc/py-cppman/pkg-message
new file mode 100644
index 000000000000..a0a6582fc08d
--- /dev/null
+++ b/misc/py-cppman/pkg-message
@@ -0,0 +1,16 @@
+[
+{ type: install
+ message: <<EOM
+To support vim on nvim as pager, cppman needs fdescfs(5)
+to be mounted on /dev/fd.
+
+If /dev/fd is not already mounted:
+
+ mount -t fdescfs fdesc /dev/fd
+
+To make it permanent, add the following line to /etc/fstab:
+
+ fdesc /dev/fd fdescfs rw 0 0
+EOM
+}
+]