Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rain(6): Make the default delay useful for modern terminals | nia | 2020-10-14 | 2 | -11/+12 | |
| | ||||||
* | worms(6): Use a reasonable default delay for non-1980s terminals. | nia | 2020-10-14 | 2 | -6/+6 | |
| | | | This is still fast, but not unreasonably fast. | |||||
* | - remove duplicate comment | christos | 2020-10-12 | 1 | -3/+3 | |
| | | | | - flush after printing the number (from kre@) | |||||
* | more clarifications. | christos | 2020-10-12 | 1 | -4/+8 | |
| | ||||||
* | mention hex numbers | christos | 2020-10-11 | 1 | -2/+5 | |
| | ||||||
* | Remove is_hex_str() (trying to guess if a number was hex or not). It is not | christos | 2020-10-11 | 1 | -27/+3 | |
| | | | documented and can lead to unexpected behavior. | |||||
* | From gson@ | christos | 2020-10-11 | 1 | -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) | christos | 2020-10-07 | 1 | -8/+19 | |
| | | | | - fix usage - merge printing code. | |||||
* | PR/55695: Andreas Gustafsson: factor(6) -h option doesn't always work | christos | 2020-10-05 | 1 | -3/+41 | |
| | | | Handle -h for factors greater than the primes table. | |||||
* | revert previous and don't parse octal | christos | 2020-10-05 | 1 | -7/+4 | |
| | ||||||
* | factor: usage(): mark __dead | tnn | 2020-10-05 | 1 | -3/+3 | |
| | ||||||
* | - Accept octal input. | christos | 2020-10-04 | 1 | -5/+6 | |
| | | | - Don't play with the original string so we can print it. | |||||
* | Fix a typo (s/int/in/) | kre | 2020-10-04 | 1 | -2/+2 | |
| | ||||||
* | PR/55693: Andreas Gustafsson: factor(6) lists factors in wrong order | christos | 2020-10-03 | 2 | -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 be | mrg | 2020-09-07 | 1 | -3/+3 | |
| | | | truncated on purpose string. | |||||
* | apply ${GCC_NO_FORMAT_TRUNCATION} to scores.c | mrg | 2020-09-06 | 1 | -1/+2 | |
| | ||||||
* | s/ be be / be / | msaitoh | 2020-08-19 | 2 | -2/+2 | |
| | ||||||
* | robots: Use arc4random_uniform for better uniform distribution | nia | 2020-07-26 | 2 | -16/+6 | |
| | ||||||
* | random(6): Use arc4random_uniform to simplify code | nia | 2020-07-26 | 1 | -9/+5 | |
| | ||||||
* | Revert arc4random usage for now | nia | 2020-07-26 | 1 | -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() % ... | nia | 2020-07-21 | 2 | -20/+11 | |
| | ||||||
* | tetris: Use arc4random_uniform instead of modulo for better randomness | nia | 2020-07-21 | 2 | -4/+3 | |
| | ||||||
* | Avoid messing up the display when too many letters are guessed at once. | dholland | 2020-07-12 | 1 | -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 algorithm | rillig | 2020-07-02 | 1 | -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" by | sevan | 2020-06-15 | 1 | -0/+2 | |
| | | | | Richard Hamming. From The Art of Doing Science and Engineering | |||||
* | Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead of | leot | 2020-06-07 | 1 | -2/+2 | |
| | | | {download-vulnerability-list,audit-packages}. | |||||
* | Properly quote printf string | leot | 2020-06-07 | 1 | -1/+1 | |
| | | | Noticed by Ottavio Caruso on #netbsd@Freenode, thanks! | |||||
* | Heads up on Bell patents | sevan | 2020-05-18 | 1 | -0/+5 | |
| | | | P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf | |||||
* | Remove extra semicolon. | msaitoh | 2020-05-14 | 1 | -3/+3 | |
| | ||||||
* | Simplify, little KNF | christos | 2020-04-30 | 1 | -22/+22 | |
| | ||||||
* | Simplify, errors to stderr. | christos | 2020-04-30 | 1 | -17/+18 | |
| | ||||||
* | unstr: Check that the input filename fits in the buffer. | nia | 2020-04-29 | 1 | -3/+3 | |
| | ||||||
* | strfile: Check that input/output filenames don't exceed the buffer size | nia | 2020-04-29 | 1 | -4/+16 | |
| | ||||||
* | buffnum is shared between subs.c and fancy.c | joerg | 2020-04-22 | 2 | -5/+5 | |
| | ||||||
* | Disks can sense vibes, DTrace confirms it. | sevan | 2020-04-02 | 1 | -0/+3 | |
| | | | https://youtu.be/tDacjrSCeq4 | |||||
* | Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album. | sevan | 2020-02-22 | 1 | -0/+2 | |
| | | | | | https://pbs.twimg.com/media/ERAuddhU4AAFv3w?format=jpg&name=orig Story: https://www.dummymag.com/features/andrew-weatherall-interview-it-s-bollocks-it-s-discos-tell-me-tales-of-the/ | |||||
* | something I apparently forgot to commit months or years ago | dholland | 2020-02-16 | 1 | -0/+3 | |
| | ||||||
* | games/hack: Suppress -Werror=stringop-truncation error. | fox | 2020-02-08 | 1 | -1/+2 | |
| | | | | | | | Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | games/hack: Revert the strlcpy(1) change since this changes expected ↵ | fox | 2020-02-07 | 1 | -3/+3 | |
| | | | | | behavior from strncpy(3). Reviewed by: kamil@ | |||||
* | games/hack: Fix -Wstringop-truncation warning. | fox | 2020-02-07 | 1 | -3/+3 | |
| | | | | | | | Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance. | fox | 2020-02-06 | 1 | -6/+6 | |
| | | | Reviewed by: kamil@ | |||||
* | games/battlestar: Fix the -Werror=restrict warning. | fox | 2020-02-05 | 1 | -6/+6 | |
| | | | | | | | | Replace strcpy(1) with the safer snprintf(3) which guarantees NULL termination of strings. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | s/saftey/safety/ | msaitoh | 2019-12-27 | 1 | -2/+2 | |
| | ||||||
* | s/opration/operation/ | msaitoh | 2019-12-27 | 1 | -1/+1 | |
| | ||||||
* | Introspection. From "Surely You're Joking, Mr. Feynman!" | sevan | 2019-12-03 | 1 | -0/+6 | |
| | ||||||
* | https://twitter.com/sei6r/status/1182433546331279360 | sevan | 2019-11-10 | 1 | -0/+3 | |
| | ||||||
* | Definition of austerity by Alexei Sayle on Radio 4 | sevan | 2019-11-10 | 1 | -0/+4 | |
| | | | https://web.archive.org/web/20190916192807/https://www.bbc.co.uk/sounds/play/m0008bbc | |||||
* | Gcc-8 bug confusion with restrict on sh3 | christos | 2019-10-29 | 1 | -1/+5 | |
| | ||||||
* | Chris' happiest moment | sevan | 2019-10-27 | 1 | -0/+6 | |
| | | | http://bbc.co.uk/programmes/b09b1zbb | |||||
* | adjust a fallthru comment and add a missing break. | mrg | 2019-10-13 | 1 | -3/+5 | |
| |