Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fortune.bsd(6) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FORTUNE(6)

NAME

fortune − print a random adage

USAGE

/usr/games/fortune [options] [file]

DESCRIPTION

Fortune tells your fortune or, at least, tells you something.  When invoked with no options, fortune prints a adage selected at random from the default fortune database in /usr/games/lib/fortunes.dat. 

OPTIONS

Fortune recognizes the following options. 

−w Wait.  This is useful if fortune is executed as part of the logout procedure.  It waits for a period of time proportional to the length of the fortune before clearing the screen. 

−s Short.  Don’t print any long fortunes. 

−l Long.  Don’t print any short fortunes. 

−o Choose from an alternate list of fortunes, often used for potentially offensive ones. 

−a Choose from either list of fortunes. 

file Get fortunes from file rather than the default fortune database (/usr/games/lib/fortunes.dat).  This file must be created by strfile(6), Only one such file may be named. 

FILES

/usr/games/lib/fortunes.dat
default fortune database

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026