tpage(1): mention ghostscript, /dev/fd - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b763f1e0b89a00b561a1f6999005f3fdc0315c45
DIR parent c383979b0128640f4c658acdd0a383430b49f1da
HTML Author: Russ Cox <rsc@swtch.com>
Date: Mon, 31 Oct 2011 09:31:13 -0400
page(1): mention ghostscript, /dev/fd
Diffstat:
M man/man1/page.1 | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)
---
DIR diff --git a/man/man1/page.1 b/man/man1/page.1
t@@ -270,3 +270,31 @@ document references cannot be sent
via plumbing messages.
.PP
There are too many keyboard commands and menu items.
+.PP
+Displaying a PostScript or PDF file depends both on having
+GhostScript
+(see
+.IR gs (1))
+installed and on the underlying operating system
+providing a file descriptor device tree at
+.BR /dev/fd .
+.PP
+Some FreeBSD installations
+do not provide file descriptors greater than 2
+in
+.BR /dev/fd .
+To fix this, add
+.IP
+.EX
+/fdescfs /dev/fd fdescfs rw 0 0
+.EE
+.LP
+to
+.BR /etc/fstab ,
+and then
+.B mount
+.BR /dev/fd .
+(Adding the line to
+.B fstab
+ensures causes FreeBSD to mount the file system
+automatically at boot time.)