Commit Graph

1995 Commits

Author SHA1 Message Date
martin 645323f5da Pull up following revision(s) (requested by nia in ticket #1544):
games/fortune/strfile/strfile.c: revision 1.39
	games/fortune/unstr/unstr.c: revision 1.15

strfile: Check that input/output filenames don't exceed the buffer size
unstr: Check that the input filename fits in the buffer.
2020-04-30 16:21:14 +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