summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* no need for -lcompatchristos2020-11-111-16/+4
|
* - use termioschristos2020-11-117-41/+45
| | | | - enable setgid games - enable savedir
* Fix the old leftover license notekamil2020-11-111-11/+27
| | | Larry Wall: "I outgrew commercial-free licensing about 30 years ago."
* remove error(1) commentschristos2020-11-101-2/+0
|
* Antivaxer support.christos2020-11-101-6/+0
|
* can't have config.h and config.H in case-preserving but case-folding ↵christos2020-11-101-92/+0
| | | | file-systems.
* don't segv if the terminal is too big.christos2020-11-101-0/+2
|
* pray-tell where are you trying to write?christos2020-11-101-1/+1
|
* Time warp forward 34 years so that it compiles (but not work)christos2020-11-1034-973/+708
|
* Remove the smap.* fileskamil2020-11-108-3186/+0
| | | They are generated during the build.
* Integrate Warp Kit into the NetBSD buildkamil2020-11-1016-80/+135
| | | Fix the build and make it install and run with minimal required changes.
* Reset CVS keywordskamil2020-11-1033-643/+66
|
* Add Warp Kit, Version 7.0 by Larry Wallkamil2020-11-0961-0/+12785
| | | | | | | | | | | | | | | | Warp is a real-time space war game that doesn't get boring very quickly. Read warp.doc and the manual page for more information. games/warp originally distributed with 4.3BSD-Reno, is back to the BSD world via NetBSD. Its remnants were still mentioned in games/Makefile. Larry Wall, the original author and the copyright holder, generously donated the game and copyright to The NetBSD Foundation, Inc. Import the game sources as-is from 4.3BSD-Reno, with the cession of the copyright and license to BSD-2-clause NetBSD-style. Signed-off-by: Larry Wall <larry@wall.org> Signed-off-by: Kamil Rytarowski <kamil@netbsd.org>
* Restore the catman joke.dholland2020-11-091-1/+1
| | | | | | | | It needs the (8), or it fails to work for people who don't know or had forgotten catman(8) was ever a thing. as the de facto fortunes editor and also I think the person who added that fortune in the first place, and given the discussion in tech-userlevel, I think I get to do this.
* Revert to the original phrasing, but remove the man 8 section reference.kamil2020-11-091-1/+1
| | | catman is a historical Unix tool.
* catman(8) is a past thingkamil2020-11-081-1/+1
|
* Add one.simonb2020-10-301-0/+3
|
* rain(6): Make the default delay useful for modern terminalsnia2020-10-142-11/+12
|
* worms(6): Use a reasonable default delay for non-1980s terminals.nia2020-10-142-6/+6
| | | This is still fast, but not unreasonably fast.
* - remove duplicate commentchristos2020-10-121-3/+3
| | | | - flush after printing the number (from kre@)
* more clarifications.christos2020-10-121-4/+8
|
* mention hex numberschristos2020-10-111-2/+5
|
* Remove is_hex_str() (trying to guess if a number was hex or not). It is notchristos2020-10-111-27/+3
| | | documented and can lead to unexpected behavior.
* From gson@christos2020-10-111-31/+42
| | | | - don't assume -h is always on for large factors - fix saved large factors printing when -h
* - for readability when the exponent < 10 don't prefix it with 0x (from kre)christos2020-10-071-8/+19
| | | | - fix usage - merge printing code.
* PR/55695: Andreas Gustafsson: factor(6) -h option doesn't always workchristos2020-10-051-3/+41
| | | Handle -h for factors greater than the primes table.
* revert previous and don't parse octalchristos2020-10-051-7/+4
|
* factor: usage(): mark __deadtnn2020-10-051-3/+3
|
* - Accept octal input.christos2020-10-041-5/+6
| | | - Don't play with the original string so we can print it.
* Fix a typo (s/int/in/)kre2020-10-041-2/+2
|
* PR/55693: Andreas Gustafsson: factor(6) lists factors in wrong orderchristos2020-10-032-188/+231
| | | | Sync with FreeBSD and change their -h (that printed hex) to -x because we were already using -h.
* avoid uninit memory and use memmove vs strncpy for a will bemrg2020-09-071-3/+3
| | | truncated on purpose string.
* apply ${GCC_NO_FORMAT_TRUNCATION} to scores.cmrg2020-09-061-1/+2
|
* s/ be be / be /msaitoh2020-08-192-2/+2
|
* robots: Use arc4random_uniform for better uniform distributionnia2020-07-262-16/+6
|
* random(6): Use arc4random_uniform to simplify codenia2020-07-261-9/+5
|
* Revert arc4random usage for nownia2020-07-261-3/+5
| | | | | this is a host tool and needs to be portable future plans: add arc4random to libnbcompat
* fortune: arc4random_uniform for better uniform values than random() % ...nia2020-07-212-20/+11
|
* tetris: Use arc4random_uniform instead of modulo for better randomnessnia2020-07-212-4/+3
|
* Avoid messing up the display when too many letters are guessed at once.dholland2020-07-121-4/+12
| | | | | | | | The field to put them in was made 26 characters wide... but includes the string "Guessed: ". So if you get to 17 it wraps to the next line and clreol()'s it. Instead, when reaching this point step on the "Guessed:" string instead. Reported by phil@.
* cgram(6): use standard cursor keys, use standard shuffle algorithmrillig2020-07-021-9/+13
| | | | | | | The previous shuffle algorithm asked for 100 random numbers, on average. The new algorithm asks exactly for 26 random numbers. Curses predefines numeric constants for keys, and there is no apparent reason not to use these standard keys for cursor movement.
* A revision of "The purpose of computing is insight, not numbers" bysevan2020-06-151-0/+2
| | | | Richard Hamming. From The Art of Doing Science and Engineering
* Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead ofleot2020-06-071-2/+2
| | | {download-vulnerability-list,audit-packages}.
* Properly quote printf stringleot2020-06-071-1/+1
| | | Noticed by Ottavio Caruso on #netbsd@Freenode, thanks!
* Heads up on Bell patentssevan2020-05-181-0/+5
| | | P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf
* Remove extra semicolon.msaitoh2020-05-141-3/+3
|
* Simplify, little KNFchristos2020-04-301-22/+22
|
* Simplify, errors to stderr.christos2020-04-301-17/+18
|
* unstr: Check that the input filename fits in the buffer.nia2020-04-291-3/+3
|
* strfile: Check that input/output filenames don't exceed the buffer sizenia2020-04-291-4/+16
|