diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:43 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:43 -0400 |
| commit | ac5e55f5f2af5b92794c2aded46c6bae85b5f5ed (patch) | |
| tree | 9367490586c84cba28652e443e3166d66c33b0d9 /static/freebsd/man6 | |
| parent | 253e67c8b3a72b3a4757fdbc5845297628db0a4a (diff) | |
docs: Added All FreeBSD Manuals
Diffstat (limited to 'static/freebsd/man6')
| -rw-r--r-- | static/freebsd/man6/1.6 | 28 | ||||
| -rw-r--r-- | static/freebsd/man6/2.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/4.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/5.6 | 5 | ||||
| -rw-r--r-- | static/freebsd/man6/6.6 | 0 | ||||
| -rw-r--r-- | static/freebsd/man6/7.6 | 14 | ||||
| -rw-r--r-- | static/freebsd/man6/8.6 | 14 | ||||
| -rw-r--r-- | static/freebsd/man6/9.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/banner.6 | 80 | ||||
| -rw-r--r-- | static/freebsd/man6/caesar.6 | 70 | ||||
| -rw-r--r-- | static/freebsd/man6/example.6 | 5 | ||||
| -rw-r--r-- | static/freebsd/man6/expected.status.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/expected.stderr.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/expected.stdout.6 | 0 | ||||
| -rw-r--r-- | static/freebsd/man6/factor.6 | 128 | ||||
| -rw-r--r-- | static/freebsd/man6/fortune.6 | 201 | ||||
| -rw-r--r-- | static/freebsd/man6/grdc.6 | 61 | ||||
| -rw-r--r-- | static/freebsd/man6/intro.6 4.html | 49 | ||||
| -rw-r--r-- | static/freebsd/man6/ipv6.6 | 31 | ||||
| -rw-r--r-- | static/freebsd/man6/morse.6 | 210 | ||||
| -rw-r--r-- | static/freebsd/man6/number.6 | 55 | ||||
| -rw-r--r-- | static/freebsd/man6/p.6 | 1 | ||||
| -rw-r--r-- | static/freebsd/man6/pom.6 | 69 | ||||
| -rw-r--r-- | static/freebsd/man6/random.6 | 117 | ||||
| -rw-r--r-- | static/freebsd/man6/t.6 | 8 |
25 files changed, 1151 insertions, 0 deletions
diff --git a/static/freebsd/man6/1.6 b/static/freebsd/man6/1.6 new file mode 100644 index 00000000..dfd85f72 --- /dev/null +++ b/static/freebsd/man6/1.6 @@ -0,0 +1,28 @@ +s1_l1_1 +s1_l1_1 +s1_l1_2 +s1_l1_2 +s1_l1_3 +s1_l1_3 +s1_l1_4 +s1_l1_4 +s1_l1_5 +s1_l1_5 +s1_l1_6 +s1_l1_6 +s1_l1_7 +s1_l1_7 +s1_l1_8 +s1_l1_8 +s1_l1_9 +s1_l1_9 +s1_l1_10 +s1_l1_10 +s1_l1_11 +s1_l1_11 +s1_l1_12 +s1_l1_12 +s1_l1_13 +s1_l1_13 +s1_l1_14 +s1_l1_14 diff --git a/static/freebsd/man6/2.6 b/static/freebsd/man6/2.6 new file mode 100644 index 00000000..1502f007 --- /dev/null +++ b/static/freebsd/man6/2.6 @@ -0,0 +1 @@ +l2_9 diff --git a/static/freebsd/man6/4.6 b/static/freebsd/man6/4.6 new file mode 100644 index 00000000..ce013625 --- /dev/null +++ b/static/freebsd/man6/4.6 @@ -0,0 +1 @@ +hello diff --git a/static/freebsd/man6/5.6 b/static/freebsd/man6/5.6 new file mode 100644 index 00000000..7ffbba3e --- /dev/null +++ b/static/freebsd/man6/5.6 @@ -0,0 +1,5 @@ +l1_1 +l1_2 +l1_3 +l1_4 +l1_5 diff --git a/static/freebsd/man6/6.6 b/static/freebsd/man6/6.6 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/static/freebsd/man6/6.6 diff --git a/static/freebsd/man6/7.6 b/static/freebsd/man6/7.6 new file mode 100644 index 00000000..3bcc601e --- /dev/null +++ b/static/freebsd/man6/7.6 @@ -0,0 +1,14 @@ +l1_1 +l1_2 +l1_3 +l1_4 +l1_5 +l1_6 +l1_7 +l1_8 +l1_9 +l1_10 +l1_11 +l1_12 +l1_13 +l1_14 diff --git a/static/freebsd/man6/8.6 b/static/freebsd/man6/8.6 new file mode 100644 index 00000000..47c08aeb --- /dev/null +++ b/static/freebsd/man6/8.6 @@ -0,0 +1,14 @@ +(l)(1)(_)(1) +(l)(1)(_)(2) +(l)(1)(_)(3) +(l)(1)(_)(4) +(l)(1)(_)(5) +(l)(1)(_)(6) +(l)(1)(_)(7) +(l)(1)(_)(8) +(l)(1)(_)(9) +(l)(1)(_)(1)(0) +(l)(1)(_)(1)(1) +(l)(1)(_)(1)(2) +(l)(1)(_)(1)(3) +(l)(1)(_)(1)(4) diff --git a/static/freebsd/man6/9.6 b/static/freebsd/man6/9.6 new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/static/freebsd/man6/9.6 @@ -0,0 +1 @@ +1 diff --git a/static/freebsd/man6/banner.6 b/static/freebsd/man6/banner.6 new file mode 100644 index 00000000..614bfc51 --- /dev/null +++ b/static/freebsd/man6/banner.6 @@ -0,0 +1,80 @@ +.\" Copyright (c) 1980, 1993, 1995 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd June 21, 2021 +.Dt BANNER 6 +.Os +.Sh NAME +.Nm banner +.Nd print large banner on printer +.Sh SYNOPSIS +.Nm +.Op Fl d +.Op Fl t +.Op Fl w Ar width +.Ar message ... +.Sh DESCRIPTION +.Nm Banner +prints a large, high quality banner on the standard output. +If the message is omitted, it prompts for and reads one line of its +standard input. +.Pp +The output should be printed on paper of the appropriate width, +with no breaks between the pages. +.Pp +The following options are available: +.Bl -tag -width indent +.It Fl d +Enable debug. +.It Fl t +Enable trace. +.It Fl w Ar width +Change the output from a width of 132 to +.Ar width , +suitable for a narrow terminal. +.El +.Sh HISTORY +The +.Nm +utility first appeared in +.At v6 . +.Sh AUTHORS +.An Mark Horton +.Sh BUGS +Several +.Tn ASCII +characters are not defined, notably <, >, [, ], \\, +^, _, {, }, |, and ~. +Also, the characters ", ', and & are funny looking (but in a useful way.) +.Pp +The +.Fl w +option is implemented by skipping some rows and columns. +The smaller it gets, the grainier the output. +Sometimes it runs letters together. +.Pp +Messages are limited to 1024 characters in length. diff --git a/static/freebsd/man6/caesar.6 b/static/freebsd/man6/caesar.6 new file mode 100644 index 00000000..403370d5 --- /dev/null +++ b/static/freebsd/man6/caesar.6 @@ -0,0 +1,70 @@ +.\" Copyright (c) 1989, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd November 16, 1993 +.Dt CAESAR 6 +.Os +.Sh NAME +.Nm caesar , rot13 +.Nd decrypt caesar ciphers +.Sh SYNOPSIS +.Nm +.Op Ar rotation +.Nm rot13 +.Sh DESCRIPTION +The +.Nm +utility attempts to decrypt caesar ciphers using English letter frequency +statistics. +.Nm Caesar +reads from the standard input and writes to the standard output. +.Pp +The optional numerical argument +.Ar rotation +may be used to specify a specific rotation value. +If invoked as +.Nm rot13 , +a rotation value of 13 will be used. +.Pp +The frequency (from most common to least) of English letters is as follows: +.Bd -ragged -offset indent +ETAONRISHDLFCMUGPYWBVKXJQZ +.Ed +.Pp +Their frequencies as a percentage are as follows: +.Bd -ragged -offset indent +E(13), T(10.5), A(8.1), O(7.9), N(7.1), R(6.8), I(6.3), S(6.1), H(5.2), +D(3.8), L(3.4), F(2.9), C(2.7), M(2.5), U(2.4), G(2), +P(1.9), Y(1.9), +W(1.5), B(1.4), V(.9), K(.4), X(.15), J(.13), Q(.11), Z(.07). +.Ed +.Pp +Rotated postings to +.Tn USENET +and some of the databases used by the +.Xr fortune 6 +program are rotated by 13 characters. diff --git a/static/freebsd/man6/example.6 b/static/freebsd/man6/example.6 new file mode 100644 index 00000000..d40f0f3d --- /dev/null +++ b/static/freebsd/man6/example.6 @@ -0,0 +1,5 @@ +# +# block all TCP packets with only the SYN flag set (this is the first +# packet sent to establish a connection) out of the SYN-ACK pair. +# +block in proto tcp from any to any flags S/SA diff --git a/static/freebsd/man6/expected.status.6 b/static/freebsd/man6/expected.status.6 new file mode 100644 index 00000000..0cfbf088 --- /dev/null +++ b/static/freebsd/man6/expected.status.6 @@ -0,0 +1 @@ +2 diff --git a/static/freebsd/man6/expected.stderr.6 b/static/freebsd/man6/expected.stderr.6 new file mode 100644 index 00000000..fd151903 --- /dev/null +++ b/static/freebsd/man6/expected.stderr.6 @@ -0,0 +1 @@ +make: don't know how to make verylongobjectn. Stop diff --git a/static/freebsd/man6/expected.stdout.6 b/static/freebsd/man6/expected.stdout.6 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/static/freebsd/man6/expected.stdout.6 diff --git a/static/freebsd/man6/factor.6 b/static/freebsd/man6/factor.6 new file mode 100644 index 00000000..c3d00eb7 --- /dev/null +++ b/static/freebsd/man6/factor.6 @@ -0,0 +1,128 @@ +.\" Copyright (c) 1989, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" Landon Curt Noll. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" By: Landon Curt Noll chongo@toad.com, ...!{sun,tolsoft}!hoptoad!chongo +.\" +.\" chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\ +.\" +.Dd January 12, 2020 +.Dt FACTOR 6 +.Os +.Sh NAME +.Nm factor , primes +.Nd factor a number, generate primes +.Sh SYNOPSIS +.Nm +.Op Fl h +.Op Ar number ... +.Nm primes +.Op Fl h +.Op Ar start Op Ar stop +.Sh DESCRIPTION +The +.Nm +utility will factor positive integers. +When a number is factored, it is printed, followed by a +.Ql \&: , +and the list of factors on a single line. +Factors are listed in ascending order, and are preceded by a space. +If a factor divides a value more than once, it will be printed more than once. +.Pp +When +.Nm +is invoked with one or more arguments, each argument will be factored. +.Pp +When +.Nm +is invoked with no arguments, +.Nm +reads numbers, one per line, from standard input until end of file or 0 +is entered or an error occurs. +Leading white-space and empty lines are ignored. +.Pp +Numbers may be preceded by a single +.Ql + . +Numbers can be either decimal or hexadecimal strings where the longest +leading substring is used. +Numbers are terminated by a non-digit character (such as a newline). +If the string contains only decimal digits, it is treated as a +decimal representation for a number. +A hexadecimal string can contain an optional +.Em 0x +or +.Em 0X +prefix. +After a number is read, it is factored. +.Pp +The +.Nm primes +utility prints primes in ascending order, one per line, starting at or above +.Ar start +and continuing until, but not including +.Ar stop . +The +.Ar start +value must be at least 0 and not greater than +.Ar stop . +The +.Ar stop +value must not be greater than the maximum. +The default and maximum value of +.Ar stop +is 18446744073709551615. +.Pp +When the +.Nm primes +utility is invoked with no arguments, +.Ar start +is read from standard input and +.Ar stop +is taken to be the maximum. +The +.Ar start +value may be preceded by a single +.Ql + . +The +.Ar start +value is terminated by a non-digit character (such as a newline). +.Sh DIAGNOSTICS +.Bl -diag +.It "negative numbers aren't permitted" +.It "illegal numeric format" +.It "start value must be less than stop value" +.It "Result too large" +.El +.Sh BUGS +.Nm +cannot handle the +.Dq "10 most wanted" +factor list, +.Nm primes +will not get you a world record. diff --git a/static/freebsd/man6/fortune.6 b/static/freebsd/man6/fortune.6 new file mode 100644 index 00000000..6c2a677d --- /dev/null +++ b/static/freebsd/man6/fortune.6 @@ -0,0 +1,201 @@ +.\" Copyright (c) 1985, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" Ken Arnold. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd July 1, 2021 +.Dt FORTUNE 6 +.Os +.Sh NAME +.Nm fortune +.Nd "print a random, hopefully interesting, adage" +.Sh SYNOPSIS +.Nm +.Op Fl aDefilosw +.Op Fl m Ar pattern +.Oo +.Op Ar \&N% +.Ar file Ns / Ns Ar directory Ns / Ns Cm all +.Oc +.Sh DESCRIPTION +When +.Nm +is run with no arguments it prints out a random epigram. +Epigrams are divided into several categories, where each category +is subdivided into those which are potentially offensive and those +which are not. +The options are as follows: +.Bl -tag -width indent +.It Fl a +Choose from all lists of maxims, both offensive and not. +(See the +.Fl o +option for more information on offensive fortunes.) +.It Fl D +Enable additional debugging output. +Specify this option multiple times for more verbose output. +Only available if compiled with +.Li -DDEBUG . +.It Fl e +Consider all fortune files to be of equal size (see discussion below +on multiple files). +.It Fl f +Print out the list of files which would be searched, but do not +print a fortune. +.It Fl l +Long dictums only. +.It Fl m Ar pattern +Print out all fortunes which match the regular expression +.Ar pattern . +See +.Xr regex 3 +for a description of patterns. +.It Fl o +Choose only from potentially offensive aphorisms. +.Bf -symbolic +Please, please, please request a potentially offensive fortune if and +only if you believe, deep down in your heart, that you are willing +to be offended. +(And that if you are not willing, you will just quit using +.Fl o +rather than give us +grief about it, okay?) +.Ef +.Bd -unfilled -offset indent +\&... let us keep in mind the basic governing philosophy +of The Brotherhood, as handsomely summarized in these words: +we believe in healthy, hearty laughter -- at the expense of +the whole human race, if needs be. +Needs be. + --H. Allen Smith, "Rude Jokes" +.Ed +.It Fl s +Short apothegms only. +.It Fl i +Ignore case for +.Fl m +patterns. +.It Fl w +Wait before termination for an amount of time calculated from the +number of characters in the message. +This is useful if it is executed as part of the logout procedure +to guarantee that the message can be read before the screen is cleared. +.El +.Pp +The user may specify alternate sayings. +You can specify a specific file, a directory which contains one or +more files, or the special word +.Cm all +which says to use all the standard databases. +Any of these may be preceded by a percentage, which is a number +.Ar N +between 0 and 100 inclusive, followed by a +.Ql % . +If it is, there will be an +.Ar N +percent probability that an adage will be picked from that file +or directory. +If the percentages do not sum to 100, and there are specifications +without percentages, the remaining percent will apply to those files +and/or directories, in which case the probability of selecting from +one of them will be based on their relative sizes. +.Pp +As an example, given two databases +.Pa funny +and +.Pa not-funny , +with +.Pa funny +twice as big, saying +.Pp +.Dl "fortune funny not-funny" +.Pp +will get you fortunes out of +.Pa funny +two-thirds of the time. +The command +.Pp +.Dl "fortune 90% funny 10% not-funny" +.Pp +will pick out 90% of its fortunes from +.Pa funny +(the +.Dq Li "10% not-funny" +is unnecessary, since 10% is all that is left). +The +.Fl e +option says to consider all files equal; +thus +.Pp +.Dl "fortune -e funny not-funny" +.Pp +is equivalent to +.Pp +.Dl "fortune 50% funny 50% not-funny" +.Sh ENVIRONMENT +.Bl -tag -width ".Ev FORTUNE_PATH" +.It Ev FORTUNE_PATH +The search path for the data files. +It is a colon-separated list of directories in which +.Nm +looks for data files. +If not set it will default to +.Pa /usr/share/games/fortune:/usr/local/share/games/fortune . +If none of the directories specified exist, it will print a warning and exit. +.It Ev FORTUNE_SAVESTATE +If set, fortune will save some state about what fortune +it was up to on disk. +.El +.Sh FILES +.Bl -tag -width ".Pa /usr/share/games/fortune/*" +.It Pa /usr/share/games/fortune/* +the fortunes databases (those files ending +.Dq Pa -o +contain the +.Sy offensive +fortunes) +.El +.Sh EXIT STATUS +.Ex -std +In particular, if +.Fl l , +.Fl m , +or +.Fl s +is specified, failure to find a matching citation in the selected +files counts as an error. +.Sh SEE ALSO +.Xr arc4random_uniform 3 , +.Xr regcomp 3 , +.Xr regex 3 , +.Xr strfile 8 +.Sh HISTORY +The +.Nm +utility first appeared +.At v7 . diff --git a/static/freebsd/man6/grdc.6 b/static/freebsd/man6/grdc.6 new file mode 100644 index 00000000..7420c8ec --- /dev/null +++ b/static/freebsd/man6/grdc.6 @@ -0,0 +1,61 @@ +.Dd January 15, 2023 +.Dt GRDC 6 +.Os +.Sh NAME +.Nm grdc +.Nd grand digital clock (curses) +.Sh SYNOPSIS +.Nm +.Op Fl st +.Op Ar n +.Nm +.Fl c +.Ar n +.Sh DESCRIPTION +.Nm +runs a digital clock made of reverse-video blanks on a curses +compatible VDU screen. +With an optional numeric argument +.Ar n +it stops after +.Ar n +seconds (default never). +The clock can act as a countdown timer with the +.Fl c +flag, +.Ar n +specifies the number of seconds to time for. +The optional +.Fl s +flag makes digits scroll as they change. +The optional +.Fl t +flag tells grdc to output the time in a 12-hour format. +In this curses mode implementation, +the scrolling option has trouble keeping up. +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev TZ +The time zone to use for displaying the time. +It is normally specified as a pathname relative to +.Pa /usr/share/zoneinfo , +though see +.Xr tzset 3 +for more information. +If this variable is not set, the time zone is determined based on +.Pa /etc/localtime . +.El +.Sh NOTES +In countdown timer mode, the specifying of +.Fl n +> 360000 seconds (100 hours) will lead to the counter displaying +incorrect remaining time, however it will time correctly, and +display correctly when the remaining time becomes less than +100 hours. +.Sh AUTHORS +.An -nosplit +.An Amos Shapir , +modified for curses by +.An John Lupien . +Countdown timer mode by +.An Gavin Atkinson . diff --git a/static/freebsd/man6/intro.6 4.html b/static/freebsd/man6/intro.6 4.html new file mode 100644 index 00000000..a4132734 --- /dev/null +++ b/static/freebsd/man6/intro.6 4.html @@ -0,0 +1,49 @@ +<table class="head"> + <tr> + <td class="head-ltitle">INTRO(6)</td> + <td class="head-vol">Games Manual</td> + <td class="head-rtitle">INTRO(6)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">intro</code> — + <span class="Nd">introduction to games</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">This section contains information about the traditional BSD games. + The games are located in <span class="Pa">/usr/bin</span> if installed.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/usr/bin</span></dt> + <dd>location of games</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">intro(1)</a>, <a class="Xr">banner(6)</a>, + <a class="Xr">caesar(6)</a>, <a class="Xr">fortune(6)</a>, + <a class="Xr">grdc(6)</a>, <a class="Xr">morse(6)</a>, + <a class="Xr">number(6)</a>, <a class="Xr">pom(6)</a>, + <a class="Xr">random(6)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">In earlier versions of <span class="Ux">FreeBSD</span>, games were + located in <span class="Pa">/usr/games</span>.</p> +<p class="Pp">The <code class="Nm">intro</code> section manual page appeared in + <span class="Ux">FreeBSD 2.2</span>. Most of the games were moved into the + bsdgames port in <span class="Ux">FreeBSD 5.0</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">November 27, 2017</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> diff --git a/static/freebsd/man6/ipv6.6 b/static/freebsd/man6/ipv6.6 new file mode 100644 index 00000000..fffbad28 --- /dev/null +++ b/static/freebsd/man6/ipv6.6 @@ -0,0 +1,31 @@ +[out,gif0] +6000 0000 0020 2c01 +ef00 1001 2002 0001 0000 0000 0000 0070 +2001 1002 3333 0001 0000 0000 0000 0001 +1100 0001 0000 0001 +8083 829a +0020 +f4c1 +0000 0000 0000 0000 0000 0000 0000 0000 + +[out,gif0] +6000 0000 0020 2c01 +ef00 1001 2002 0001 0000 0000 0000 0070 +2001 1002 3333 0001 0000 0000 0000 0001 +1100 0008 0000 0001 +0000 0000 0000 0000 0000 0000 0000 0000 + +[out,gif0] +6000 0000 001e 2c01 +ef00 1001 2002 0001 0000 0000 0000 0070 +2001 1002 3333 0001 0000 0000 0000 0001 +1100 0001 0000 0001 +0000 0000 0000 0000 0000 0000 0000 + +[out,gif0] +6000 0000 0020 2c01 +ef00 1001 2002 0001 0000 0000 0000 0070 +2001 1002 3333 0001 0000 0000 0000 0001 +1100 001c 0000 0001 +0000 0000 0000 0000 0000 0000 0000 0000 + diff --git a/static/freebsd/man6/morse.6 b/static/freebsd/man6/morse.6 new file mode 100644 index 00000000..96a75610 --- /dev/null +++ b/static/freebsd/man6/morse.6 @@ -0,0 +1,210 @@ +.\" Copyright (c) 2000 Alexey Zelkin. All rights reserved. +.\" Copyright (c) 1988, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd April 16, 2023 +.Dt MORSE 6 +.Os +.Sh NAME +.Nm morse +.Nd reformat input as morse code +.Sh SYNOPSIS +.Nm +.Op Fl elrps +.Op Fl d Ar device +.Op Fl w Ar speed +.Op Fl c Ar speed +.Op Fl f Ar frequency +.Op Ar string ... +.Sh DESCRIPTION +The +.Nm +command reads the given input and reformats it in the form of morse code. +Acceptable input are command line arguments or the standard input. +.Pp +Available options: +.Bl -tag -width indent +.It Fl l +The +.Fl l +option produces output suitable for +.Xr led 4 +devices. +.It Fl s +The +.Fl s +option produces dots and dashes rather than words. +.It Fl p +Send morse the real way. +This only works if your system has +.Xr speaker 4 +support. +.It Fl w Ar speed +Set the sending speed in words per minute. +If not specified, the default +speed of 20 WPM is used. +.It Fl c Ar speed +Farnsworth support. +Set the spacing between characters in words per minute. +This is independent of the speed +that the individual characters are sent. +If not specified, defaults to the effective value of the +.Fl w +option. +.It Fl f Ar frequency +Set the sidetone frequency to something other than the default 600 Hz. +.It Fl d Ar device +Similar to +.Fl p , +but use the RTS line of +.Ar device +(which must be a TTY device) +in order to emit the morse code. +.It Fl e +Echo each character before it is sent, used together with either +.Fl p +or +.Fl d . +.It Fl r +Decode morse output consisting of dots and dashes (as generated by using +the +.Fl s +option). +.El +.Pp +The +.Fl w , c +and +.Fl f +flags only work in conjunction with either the +.Fl p +or the +.Fl d +flag. +.Pp +Not all prosigns have corresponding characters. +Use +.Ql # +for +.Em AS , +.Ql & +for +.Em SK , +.Ql * +for +.Em VE +and +.Ql % +for +.Em BK . +The more common prosigns are +.Ql = +for +.Em BT , +.Ql \&( +for +.Em KN +and +.Ql + +for +.Em AR . +.Pp +Using the +.Fl d +flag, +it is possible to key an external device, like a sidetone generator with +a headset for training purposes, or even your ham radio transceiver. +For +the latter, simply connect an NPN transistor to the serial port +.Ar device , +emitter connected to ground, base connected through a resistor +(few kiloohms) to RTS, collector to the key line of your transceiver +(assuming the transceiver has a positive key supply voltage and is keyed +by grounding the key input line). +A capacitor (some nanofarads) between +base and ground is advisable to keep stray RF away, +and to suppress the +minor glitch that is generated during program startup. +.Sh ENVIRONMENT +Your +.Ev LC_CTYPE +locale codeset determines how +characters with the high-order bit set +are interpreted. +.Pp +.Bl -tag -width ".Li ISO8859-15" -compact +.It Li ISO8859-1 +.It Li ISO8859-15 +Interpret characters with the high-order bit set as Western European characters. +.Pp +.It Li KOI8-R +Interpret characters with the high-order bit set as Cyrillic characters. +.Pp +.It Li ISO8859-7 +Interpret characters with the high-order bit set as Greek characters. +.El +.Sh FILES +.Bl -tag -width ".Pa /dev/speaker" -compact +.It Pa /dev/speaker +.Xr speaker 4 +device file +.El +.Sh SEE ALSO +.Xr speaker 4 +.Rs +.%I ITU-T Recommendation F.1 +.%R "Operational provisions for the international public telegram service" +.%O Division B, I. Morse code +.Re +.Rs +.%I ITU-R M.1677-1 +.%R International Morse code +.%D 2009 +.%U https://www.itu.int/rec/R-REC-M.1677-1-200910-I/ +.Re +.Sh HISTORY +Sound support for +.Nm +added by +.An Lyndon Nerenberg (VE6BBM) Aq Mt lyndon@orthanc.ca . +.Pp +Ability to key an external device added by +.An J\(:org Wunsch +(DL8DTL). +.Pp +Farnsworth support for +.Nm +added by +.An Stephen Cravey (N5UUU) . +.Sh BUGS +Only understands a few European characters +(German and French), +no Asian characters, +and no continental landline code. +.Pp +Sends a bit slower than it should due to system overhead. +Some people would call this a feature. diff --git a/static/freebsd/man6/number.6 b/static/freebsd/man6/number.6 new file mode 100644 index 00000000..fb6828c1 --- /dev/null +++ b/static/freebsd/man6/number.6 @@ -0,0 +1,55 @@ +.\" Copyright (c) 1989, 1993, 1994 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd March 31, 1994 +.Dt NUMBER 6 +.Os +.Sh NAME +.Nm number +.Nd convert Arabic numerals to English +.Sh SYNOPSIS +.Nm +.Op Fl l +.Op Ar \&# ... +.Sh DESCRIPTION +The +.Nm +utility prints the English equivalent of the number to the standard +output, with each 10^3 magnitude displayed on a separate line. +If no argument is specified, +.Nm +reads lines from the standard input. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl l +Display the number on a single line. +.El +.Sh BUGS +Although +.Nm +understand fractions, it does not understand exponents. diff --git a/static/freebsd/man6/p.6 b/static/freebsd/man6/p.6 new file mode 100644 index 00000000..c83e82c4 --- /dev/null +++ b/static/freebsd/man6/p.6 @@ -0,0 +1 @@ +END { print NR } diff --git a/static/freebsd/man6/pom.6 b/static/freebsd/man6/pom.6 new file mode 100644 index 00000000..a4dbdde2 --- /dev/null +++ b/static/freebsd/man6/pom.6 @@ -0,0 +1,69 @@ +.\" Copyright (c) 1989, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd July 24, 2025 +.Dt POM 6 +.Os +.Sh NAME +.Nm pom +.Nd display the phase of the moon +.Sh SYNOPSIS +.Nm +.Op Fl p +.Op Fl d Ar yyyy.mm.dd +.Op Fl t Ar hh:mm:ss +.Sh DESCRIPTION +The +.Nm +utility displays the current phase of the moon. +Useful for selecting software completion target dates and predicting +managerial behavior. +.Pp +Use the +.Fl p +option to print just the phase as a percentage. +.Pp +Use the arguments +.Fl d +and +.Fl t +to specify a specific date and time for which the phase of the moon +has to be calculated. +If +.Fl d +but not +.Fl t +has been specified, it will calculate the phase of the moon on that +day at midnight. +.Sh SEE ALSO +.Rs +.%A Peter Duffett-Smith +.%B Practical Astronomy with Your Calculator +.%I Cambridge University Press +.%C Cambridge, UK +.%D 1979 +.Re diff --git a/static/freebsd/man6/random.6 b/static/freebsd/man6/random.6 new file mode 100644 index 00000000..3cbcfa1e --- /dev/null +++ b/static/freebsd/man6/random.6 @@ -0,0 +1,117 @@ +.\" Copyright (c) 1994 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.Dd February 15, 2020 +.Dt RANDOM 6 +.Os +.Sh NAME +.Nm random +.Nd random lines from a file or random numbers +.Sh SYNOPSIS +.Nm +.Op Fl elrUuw +.Op Fl f Ar filename +.Op Ar denominator +.Sh DESCRIPTION +.Nm Random +has two distinct modes of operations. +The default is to read lines from standard input and write them to standard +output with a probability of 1.0 / +.Ar denominator . +.Ar ( denominator +is a real number greater than or equal to 1.0.) +The default +.Ar denominator +for this mode of operation is 2.0, giving each line a 50% chance of +being displayed. +.Pp +The second mode of operation, selected with the +.Fl f Ar filename +option, reads the specified file and outputs the randomized contents to +standard output. +The contents can be randomized in units of lines (split on newline characters) +or in units of words (split on space characters as determined by +.Xr isspace 3 . ) +The default +.Ar denominator +for this mode of operation is 1.0, which displays every line. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl e +If the +.Fl e +option is specified, +.Nm +does not read or write anything, and simply exits with a random +exit value of 0 to +.Ar denominator +\&- 1, inclusive. +In this mode, +.Ar denominator +must be less than or equal to 256. +.It Fl f Ar filename +The +.Fl f +option is used to specify the +.Ar filename +to read from. +Standard input is used if +.Ar filename +is +.Sq - . +.It Fl l +Randomize the input via newlines (the default). +.It Fl r +Do not buffer output. +.It Fl U +Reuse any given line or word when creating a randomized output. +.It Fl u +Do not select the same line or word from a file more than once (the default). +This does not guarantee uniqueness if there are two of the +same tokens in the input. +.It Fl w +Randomize words separated by +.Xr isspace 3 +instead of newlines. +.El +.Sh SEE ALSO +.Xr fortune 6 +.Sh HISTORY +The +functionality to randomizing lines and words was added in 2003 by +.An Sean Chittenden Aq Mt seanc@FreeBSD.org . +.Sh BUGS +This tool is a remnant of the "games" collection formerly part of +.Fx +base. +It probably should have been removed to ports with the rest of that collection. +It does not have a coherent purpose and the motivation for it to be a core base +utility is nonobvious. +.Pp +No index is used when printing out tokens from the list which +makes it rather slow for large files (10MB+). diff --git a/static/freebsd/man6/t.6 b/static/freebsd/man6/t.6 new file mode 100644 index 00000000..177d01e5 --- /dev/null +++ b/static/freebsd/man6/t.6 @@ -0,0 +1,8 @@ +/a|b|c/ { + i = $1 + print + while (i >= 1) { + print " ", i + i = i / 10 + } +} |
