Commit Graph

2130 Commits

Author SHA1 Message Date
sevan f555b79219 Add Alfred North Whitehead quote. 2019-01-21 16:58:47 +00:00
jakllsch 6835f27c8d Incite the "Purple Cow" wrath of Gelett Burgess upon ourselves. 2019-01-13 17:55:03 +00:00
pgoyette 3b35ba0696 More appropriate line-wrapping for previous. 2018-12-15 22:00:16 +00:00
sevan 92d227ffa8 Some advice from Adam Savage / Alex Jason
https://www.reddit.com/r/mythbusters/comments/3wgqgv/the_origin_of_the_remember_kids_the_only/
2018-12-15 17:11:10 +00:00
sevan a2bcc5e795 Advice from Bob Morris
https://www.ieee-security.org/Cipher/ConfReports/conf-rep-Crypto95.html
2018-10-03 00:13:16 +00:00
sevan cf2901fc1a I've been on an Ed Wood binge. 2018-09-12 22:10:07 +00:00
maxv 782aa42924 replace ipf->npf 2018-09-02 16:08:12 +00:00
dholland 6f6568e389 typo 2018-08-25 19:38:37 +00:00
maya cdbb5491cb Try freebsd's pkg-info as well
From John Hein, via Nikolai Lifanov. PR misc/52684
2018-08-16 13:31:04 +00:00
mrg 240adcf578 fix the previous. the code was right, just badly formatted before.
should fix infinite loops reported in some cases.
2018-06-24 12:55:36 +00:00
kamil 1c426e1841 Restore the MKGROFF=bo MKCXX=yes build
Mark the documentation in dc(1), gprof(1), rogue(6) and fsck_ffs(8) with
the .roff flag in SUBDIR.

Sponsored by <The NetBSD Foundation>
2018-06-11 14:18:16 +00:00
christos 2357fc5dd5 use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
snj 9e98533ad3 make fortune fatter 2018-05-08 05:24:22 +00:00
christos bf7113376a Create a new bsd.hostinit.mk file and put the build definitions for all host
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
eadler 31ce73e04a wtf(6): use character classes
ok pgoyette@ silence dholland@
2018-03-07 08:25:43 +00:00
eadler 7c4228cc00 wtf(6): quote "$f"
ok pgoyette@ silence dholland@
2018-03-07 08:24:16 +00:00
eadler 181c044ada [fish] don't allow users to request cards they have made books for
While here, don't re-renter pro mode

PR bin/52973

ok maya@ dh@
2018-03-05 04:59:54 +00:00
dholland 32cded6cc9 Typos. 2018-02-08 09:05:16 +00:00
christos 64a90adb69 fix for OpenSSL-1.1 2018-02-06 16:53:27 +00:00
mrg 31c4a0256f fix issues found by GCC 6.4:
battlestar was missing some {} in its insane printf()+puts() usage.
this is a literal code sequence i found:

	printf("The blast catches ");
	printf("the goddess in the ");
	printf("stomach, knocking ");
	puts("her to the ground.");
	printf("She writhes in the ");
	printf("dirt as the agony of ");
	puts("death taunts her.");
	puts("She has stopped moving.");

no lines inserted or removed.

tetris' checkscores() had wrong and missing {} usage.
2018-02-04 08:48:05 +00:00
christos 2429b427fa PR/52976: Eitan Adler: handle larger primes
Using results from
    J. Sorenson and J. Webster, Strong pseudoprimes to twelve prime
    bases, Math. Comp. 86(304):985-1003, 2017.
teach primes(6) to enumerate primes up to 2^64 - 1.  Until Sorenson
and Webster's paper, we did not know how many strong speudoprime tests
were required when testing alleged primes between 3825123056546413051
and 2^64 - 1.

Adapted from: FreeBSD
2018-02-03 15:40:29 +00:00
pgoyette 0a18c53300 Don't skip the superfluous "is" argument if it's not superfluous!
This allows us to use `wtf is` and get information for the acronym "is"
and produces the same output as `wtf is is` withough requiring the extra
typing by the user.
2018-01-17 03:03:59 +00:00
pgoyette fd80b85342 Neither bcd(6) nor morse(6) produce output containing slashes, and the
-d (decode) option works just fine with dashes.  :)
2018-01-16 06:43:53 +00:00
maya a3e52c510e Add _, from Eitan Adler in PR bin/52897 2018-01-16 06:20:24 +00:00
mlelstv 600397bd19 move offensive quotes per board@ 2017-12-13 21:11:27 +00:00
dholland d5efe6ddb1 attributions are supposed to be indented. 2017-12-06 17:54:58 +00:00
kamil 06124d1060 Correct code flow of a quote translation (by Tom Ivar Helbekkmo) 2017-12-06 17:41:15 +00:00
pgoyette b637bb2dc6 Fix typos, thanks to Tom Ivar Helbekkmo 2017-12-06 08:38:33 +00:00
kamil 17be8c5c9c Add new fortune entry with a quote from Jozef Pilsudski
This quote is a longer form of "the dogs bark, but the caravan goes on"
and compares Poles and Lithuanians (historical meanings used from the time
of country union of both nations).

Today is the 150th birthday anniversary of Jozef Pilsudski (1867-1935).
2017-12-05 22:51:59 +00:00
christos b4c11f4845 revert removals while there is an active discussion on what to do. 2017-11-19 01:31:53 +00:00
maya 655cfa70ec Remove a few offensive quotes, put in as many new quotes.
PR bin/52735
2017-11-18 20:48:50 +00:00
jnemeth 3cfc2a4194 add quote about libraries offending everyone 2017-11-18 19:51:46 +00:00
rin f345b5cb3f Add -h option to factor(6): duplicate factors are printed in
"human-readable" form of x^n.
2017-11-11 23:48:44 +00:00
joerg 1cb2a8c221 Include time.h for time. Drop sys/types.h and expect basic working
system headers.
2017-10-02 22:03:10 +00:00
dholland 6e9e9606f7 typo 2017-07-02 07:02:47 +00:00
dholland 495acf4f93 another one 2017-06-13 17:18:00 +00:00
leot d0e0e409e2 Permit Prof. Steven Falcon [sic] to play hals_end(6) (or, more
seriously: also permit games that contain underscores to be invoked
via wargames(6))
2017-05-21 16:47:26 +00:00
riastradh ef315f7931 Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
2017-05-21 15:28:36 +00:00
dholland 824d8f0e42 a thing. 2017-05-04 19:12:53 +00:00
kamil 40a729ad22 Remove unmaintained link to imrryr from NetBSD specific fortune(6) entries
The original content is not accessible with the original link (missing
closing /). This page does not look to be updated since 2002 and artwork
is not freely reusable.
2017-04-16 20:08:59 +00:00
dholland 0d158d3a31 add somethign 2017-03-25 22:33:16 +00:00
christos 0fb210a2c1 elide compiler stupidity. 2017-03-20 22:05:27 +00:00
christos bb7174741f need time.h for time(), got side-loaded before from <fcntl.h> via <sys/stat.h> 2017-01-10 20:41:40 +00:00
christos fa60103ea6 ned stat.h 2017-01-10 20:40:53 +00:00
dholland ffc8219322 add a couple 2016-10-14 03:20:04 +00:00
kamil db4bd2c1ca Fix another place with a wrong author of "Unkempt Thoughts"
Stanislaw Lem -> Stanislaw J. Lec
2016-08-28 19:44:44 +00:00
kamil 111275b899 Correct the author of "Unkempt Thoughts" - it's Stanislaw Lec, not Lem
Pointed out by Antoni Grzymała <antoni@grzymala.info>

This mistake was in the sources since the beginning of this file in NetBSD.
2016-08-26 18:07:47 +00:00
dholland 71e42904ae add one 2016-07-15 06:13:50 +00:00
pgoyette a9be058835 Update entries for North and South Yemen, since the two countries were
united a long time ago (according to WikiPedia).

Thanks, wiz, for double-checking!
2016-06-28 09:27:26 +00:00
wiz 32b1c97b7e Fix typo. 2016-06-28 09:17:06 +00:00
pgoyette ce296c4c72 Missed one. 2016-06-28 00:16:57 +00:00
pgoyette 5be0c85005 Merge updates from PR bin/42576
XXX Any typos are mine, not those of the PR submitter!
2016-06-28 00:15:40 +00:00
dholland cbe436060d Do not pass usleep() values >= 1 million. From Henning Petersen in PR 51286 2016-06-27 08:46:04 +00:00
dholland c2f6e94e93 Double the threshold for crashing out with "too many words". 2016-06-25 23:15:41 +00:00
dholland c136a62a8b Fix the out-of-memory behavior so the message doesn't disappear under
endwin(). Related to PR 3126.
2016-06-12 02:15:26 +00:00
christos 5604b0c3c9 get rid of gets 2016-06-05 18:39:02 +00:00
dholland cde3d9a6b5 tetris(6) is not limited to CRT displays. noted by tnn 2016-03-12 03:14:59 +00:00
dholland d548b4af6b snake(6) supports LCD displays too. (noted by tnn) 2016-03-12 03:13:52 +00:00
nat ff18370b0b Center game board on screen. OK from christos@. 2016-03-03 21:38:55 +00:00
christos 099f03595b PR/50411: Rin Okuyama: fix two bugs:
- clear blocks in the 0 row, otherwise the pile up forever.
- black (white) blocks are not shown as "next shape":
2015-11-06 19:53:37 +00:00
dholland d1bc0cfc4f remove cpp abuse 2015-08-17 17:17:01 +00:00
wiz 66d1cd0cb5 Use An in AUTHORS section. 2015-07-26 22:22:24 +00:00
pgoyette f54820aed9 Sync descriptive text with actual game definition. 2015-07-23 01:19:20 +00:00
nat 305919e320 Fixes color scheme white on black and black on white.
This commit was approved by christos@
2015-07-07 22:53:25 +00:00
dholland 8d2578da11 add one 2015-06-27 08:07:46 +00:00
dholland 5dcb186afb Move game logic out of the file with the curses code. 2015-06-25 05:33:02 +00:00
dholland 01dcf47e23 Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
2015-06-19 06:02:31 +00:00
dholland cd1ecdeaa3 add -b to usage, from leot 2015-06-13 04:53:13 +00:00
dholland bf0b86145a Fix the list of keys across the bottom so it fits on an 80-column screen
again. Fixes PR 49937.

HI MRG
2015-06-13 04:15:51 +00:00
christos 6a960c88c2 PR/49850: Nikolai Lifanov: Document acronyms-o 2015-04-22 15:04:57 +00:00
wiz f290bb1c88 Fix typo, remove trailing space. 2015-04-22 14:00:46 +00:00
christos ad5d6863f7 obey $ACRONYMDB like before 2015-04-21 23:56:30 +00:00
christos 96276379e9 Add -o flag. 2015-04-21 22:49:46 +00:00
snj 23af7a0ab0 properly pluralize. 2015-04-03 07:28:41 +00:00
dholland 231a9fdc87 Avoid runon sentences. 2015-03-25 16:23:02 +00:00
wiz 076a2da7d8 Use Pp (mdoc) instead of sp (roff).
Use An in AUTHORS section.
2015-02-19 08:51:14 +00:00
mrg 2343aabb74 add a 'down' key to tetris, defaulting to 'n'. it move the block down
a line, if it fits.  like most other tetris games have.

minor clean up of magic number usage while here.
2015-02-19 02:27:30 +00:00
dholland 8e005c7126 typo 2015-02-12 06:24:21 +00:00
wiz 56d805f1de Fix typo. From kspillner@OpenBSD, forwarded by jmc@OpenBSD. 2015-02-07 09:59:47 +00:00
dholland e7288b6692 add something 2015-01-06 22:38:41 +00:00
jnemeth 2e0522b1d5 PR/49513 - Henning Petersen -- tyop 2014-12-29 10:38:52 +00:00
jnemeth f047653252 PR/49513 - Henning Petersen -- tyop 2014-12-29 10:27:03 +00:00
jnemeth 7344513002 PR/49451 - Ben Gergely -- add missing attribution 2014-12-05 23:21:23 +00:00
snj bd4986da66 English 2014-10-18 06:42:31 +00:00
snj 75815ac0a1 1) "It's its"
2) Whitespace
3) You're all too old to be confusing "your" with "you're"
2014-10-18 06:40:18 +00:00
wiz e5079a7b49 usage police 2014-10-04 13:15:50 +00:00
ast bfe1fbfe02 Imported and adapted from FreeBSD svn r272166 and r272207; this fixes
false positives for products of primes larger than 2^16. For example,
before this commit:

  $ /usr/games/primes 4295360521 4295360522
  4295360521
but
  $ /usr/games/factor 4295360521
  4295360521: 65539 65539

or
  $ /usr/games/primes 3825123056546413049 3825123056546413050
  3825123056546413049
yet
  $ /usr/games/factor 3825123056546413049
  3825123056546413049: 165479 23115459100831

or
  $ /usr/games/primes 18446744073709551577
  18446744073709551577
although
  $ /usr/games/factor 18446744073709551577
  18446744073709551577: 139646831 132095686967

Incidentally, the above examples show the smallest and largest cases that
were erroneously stated as prime in the range 2^32 .. 3825123056546413049
.. 2^64; the primes(6) program now stops at 3825123056546413050 as
primality tests on larger integers would be by brute force factorization.

In addition, special to the NetBSD version:
. for -d option, skip first difference when start is >65537 as it is incorrect
. corrected usage to mention both the existing -d as well as the new -h option

For original FreeBSD commit message by Colin Percival, see:
http://svnweb.freebsd.org/base?view=revision&revision=272166
2014-10-02 21:36:37 +00:00
christos 355dba76e5 adhere to stricter groff checking:
- don't specify distance separation between this and the next column for
  the last column, since there's no next column.
- don't pop environment you did not push
2014-09-30 20:46:59 +00:00
wiz 2a65137f55 Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
wiz 3039a5421b Bump date for -c (exactly one year after previous bump) 2014-07-15 16:17:15 +00:00
pgoyette 990812d69b At suggestion of christos@, use -b for b&w rather than -c 2014-07-13 17:38:38 +00:00
pgoyette 68006fcab2 Provide an option to restore traditional black-and-white mode. 2014-07-13 16:23:55 +00:00
dholland b7b7574d3b Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
2014-07-05 19:22:41 +00:00
dholland c3ab26950f Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00
mrg ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
christos a5d2792650 Add a little color. In order to minimize logic differences, keep 0 as the
empty board value, and since 7 is white, turn white into black (0) when
painting.
2014-06-11 16:47:39 +00:00
skrll eec6f7013a Remove unused. 2014-03-30 09:11:50 +00:00
dholland 9cdcb5fdab Use bool (not int) for a boolean return type. 2014-03-30 05:53:12 +00:00
dholland f2f2077532 Use the curses beep function instead of writing a beep to stdout. 2014-03-30 05:48:35 +00:00
dholland 3d0af5d09f curses has printw, use it. 2014-03-30 05:46:54 +00:00
dholland 7a606e3ec4 don't use the preprocessor to rename curses functions, just call them 2014-03-30 05:44:55 +00:00
dholland 290fd62765 fix off-by-one 2014-03-30 05:41:50 +00:00
dholland ea57ad9ea1 Instead of #define STDIN 0, use STDIN_FILENO. 2014-03-30 05:38:13 +00:00
dholland c560d1b163 Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.
2014-03-30 05:30:28 +00:00
dholland b57df0f022 Naming reform for socket pieces, akin to what I did in huntd earlier.
(but not as comprehensive)
2014-03-30 05:14:47 +00:00
dholland 5c657efd0e I wish the socket API didn't require casts. Easy to mess them up. 2014-03-30 04:57:37 +00:00
dholland e25cca1c03 fix obvious mistake (seems to have been there since 4.4) 2014-03-30 04:40:50 +00:00
dholland 90606027c5 Tidy up list of broadcast addresses. 2014-03-30 04:39:40 +00:00
dholland 319c22dff7 Clean up the handling of the list of hunt daemons. 2014-03-30 04:31:21 +00:00
dholland 2509088ed2 use fewer globals 2014-03-30 03:35:26 +00:00
dholland 78a2d83843 more cleanup 2014-03-30 03:26:19 +00:00
dholland 15043e8a8f unexpose some globals that server.c previously required 2014-03-30 02:58:25 +00:00
dholland 3d3dd0d453 name reform, fewer file statics 2014-03-30 02:53:11 +00:00
dholland 61623de9c7 goto considered harmful 2014-03-30 02:46:57 +00:00
dholland 082c40f53a split off a bunch of the nastier network code into its own file 2014-03-30 02:26:09 +00:00
dholland 38f4986ae9 When indexing an array with a char, cast it to unsigned char, not int,
to not only silence the compiler warning but also get the correct
behavior.
2014-03-30 02:11:25 +00:00
dholland 9e2af583dd Remove all the conditional compilation for INTERNET. Now you can run
this on either a local or internet socket (including via inetd on
either) and it will, or is supposed to, DTRT.

Does not really support ipv6 yet, but in a number of places will no
longer vomit or exhibit UB if it encounters an ipv6 address.
2014-03-30 01:44:37 +00:00
dholland 8c7631b6e4 Clean up the names of the various pieces of socket apparatus.
Systematic naming is easier to follow...
2014-03-30 00:26:58 +00:00
dholland f0ab07d690 fix non-INTERNET build 2014-03-29 23:44:38 +00:00
dholland ec434f4b81 Er oops, fix previous. 2014-03-29 22:30:27 +00:00
dholland 865e0d6472 Reduce ifdefs by making a common function to talk to either syslogd or
stderr.
2014-03-29 22:29:55 +00:00
dholland 375031264b group external functions by where they come from 2014-03-29 22:15:26 +00:00
dholland 80f7486c03 be consistent about whether functions are static 2014-03-29 22:15:13 +00:00
dholland 98db4e3267 handle compiled-in pathnames the customary way 2014-03-29 22:11:19 +00:00
dholland af8c06ff02 make some globals static 2014-03-29 22:05:44 +00:00
dholland ecca92983f Additional minor cleanup and remove a straggler data declaration
from hunt_common.h.
2014-03-29 21:55:59 +00:00
dholland 506bf125f4 Group function declarations by which source file they come from, and
delete several that don't actually exist.
2014-03-29 21:43:46 +00:00
dholland e195993756 be consistent about whether functions are static 2014-03-29 21:38:54 +00:00
dholland b19465b277 sprinkle static 2014-03-29 21:33:41 +00:00
dholland f1eb9b5b9c Flush unwanted file. 2014-03-29 21:27:40 +00:00
dholland 39032702fc Move definitions to the file they're used in. 2014-03-29 21:27:08 +00:00
dholland 15b06d8071 move a comment that should have gone with its symbol 2014-03-29 21:25:35 +00:00
dholland b833a6b3f7 Remove tautological #if DEBUG. 2014-03-29 21:24:56 +00:00
dholland ff658bd09f Split hunt and huntd's includes, instead of incestuously sharing a pile
of external data and function declarations between the two programs.

Common constants and defines now go in hunt_common.h. Stuff that belongs
only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd
is in huntd/hunt.h.

Copy some declarations that are used in both programs under the same
names (but are not actually the same objects) from huntd/hunt.h to
hunt/hunt_private.h. Move others that are only used in hunt. Remove
some entirely unused material, and tidy up standard includes.
2014-03-29 21:24:26 +00:00
dholland d07915f9b3 Remove unsafe and unnecessary pointer casts. 2014-03-29 20:53:55 +00:00
dholland c6e948ac19 catch up to huntd changes.
XXX: this needs to stop promiscuously sharing .h files.
2014-03-29 20:52:13 +00:00
dholland 8f371b472c tsort contents of file 2014-03-29 20:44:20 +00:00
dholland 1b82cc9fb5 const in unused code 2014-03-29 20:41:57 +00:00
dholland 54eb2b3816 remove stubbed-out function 2014-03-29 20:35:30 +00:00
dholland 263e041ca2 Rip out the code that broadcasts talk requests to the local
hunt-players mailing list.

In this day and age it doesn't even begin to work: even if you were to
have such a mailing list locally, sendmail wouldn't expand it for you,
the addresses you got back wouldn't be talk-requestable addresses,
talk requests don't cross NAT or firewalls safely, talk doesn't
support ipv6, and nobody runs talkd anyway.

It doesn't make sense to try to replace it with some other kind of
notify scheme either; there might still be a multiuser machine
somewhere with enough simultaneous users that broadcasting something
akin to talk requests locally might make sense, and where a nontrivial
number of the users actually play hunt, but probably not, and if so
those users are likely to be better off using wall(1) anyway. Nowadays
games will be set up by looking for people in chat or by emailing or
texting friends.

Theoretically someone could set up an internet hunt metaserver for
finding hunt games, but that would be something entirely different
anyway and I doubt there's demand.
2014-03-29 20:32:04 +00:00
dholland d39951fe62 Remove empty header file. 2014-03-29 20:16:09 +00:00
dholland 7004aab3ca Use setproctitle() instead of handrolled version. 2014-03-29 20:12:12 +00:00
dholland 7b718e7cd8 Make the code for issuing talk requests to find players actually build. 2014-03-29 20:10:10 +00:00
dholland 37a43147ab don't declare own boolean type 2014-03-29 19:41:10 +00:00
dholland 208bf48e82 use random(), not a handrolled 16-bit generator 2014-03-29 19:33:03 +00:00
dholland 329b34a67e Use getaddrinfo() instead of gethostbyname(). 2014-03-29 19:26:28 +00:00
dholland d509fb9f42 typo in error message 2014-03-29 19:03:21 +00:00
dholland 267ec317ae const 2014-03-29 19:02:12 +00:00
dholland 8a64b7f83c simplify silly logic 2014-03-29 19:01:00 +00:00
apb fa823f4eed temp is a pointer, and tempmax, not sizeof(temp), is the length of
the buffer that it points to.  Adjust a strlcat() call to suit.
2014-03-28 17:53:47 +00:00