Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,722 of 243,242    |
|    Michael Sanders to All    |
|    OT: Man Pages    |
|    03 Jan 26 06:11:44    |
      From: porkchop@invalid.foo              Okay, first draft of a man page. Dumped the rendered output to file via:              MANWIDTH=74 man -l mastermind.man | col -bx > mastermind.txt              I notice that using formatting macro '.Dt MASTERMIND 6'       (6 being the section for games), the string 'BSD Games Manual' is added.              I can't be too far off the mark with the man page as its rendering correctly       in Mint/Alpine/OpenBSD uniformly. 'Nearly certain' I've covered everything       but maybe the reader will spot something I missed...                     MASTERMIND(6) BSD Games Manual MASTERMIND(6)              NAME        mastermind (and Bulls & Cows via moo)              SYNOPSIS        mastermind [seed]              DESCRIPTION        mastermind is a terminal based code-breaking game. To win, guess        the 4-digit secret code within a limited number of attempts. Visual        feedback is given after each guess.               If the program is named ‘moo’ or a symlink named ‘moo’, the       program        runs in Bulls & Cows mode and prints feedback in the form ‘0B2C’        (zero bulls, two cows).              SEED        If an 8-digit seed is supplied, it's used to regenerate the secret        code deterministically, allowing replay of a given game.               If no seed is provided, a seed is generated using the current time.               In any event, on exit the seed is printed to standard error.              KEYS        4-digit number followed by return.               Q Quit the game.               H Show the help screen.              EXAMPLES        Play a random seed: mastermind               Play a named seed: mastermind 67402754               Play a seed via redirection: mastermind < seed               Save a seed via redirection: mastermind 2>seed              EXIT STATUS        mastermind returns 0 on success and 1 if an error occurs.              AUTHOR        Michael Sanders              BSD January 2, 2026 BSD              --       :wq       Mike Sanders              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca