Commit Graph

2050 Commits

Author SHA1 Message Date
martin 342b9470b2 Pull up following revision(s) (requested by sevan in ticket #969):
games/fortune/datfiles/fortunes: revision 1.90
	games/fortune/datfiles/fortunes: revision 1.91
	games/fortune/datfiles/netbsd-tips: revision 1.7
	games/fortune/datfiles/netbsd-tips: revision 1.8
	games/fortune/datfiles/fortunes: revision 1.87
	games/fortune/datfiles/fortunes: revision 1.88
	games/fortune/datfiles/fortunes: revision 1.89

something I apparently forgot to commit months or years ago

Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album.
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/

Disks can sense vibes, DTrace confirms it.
https://youtu.be/tDacjrSCeq4

Heads up on Bell patents
P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf

A revision of "The purpose of computing is insight, not numbers" by
Richard Hamming.
 From The Art of Doing Science and Engineering

Properly quote printf string
Noticed by Ottavio Caruso on #netbsd@Freenode, thanks!

Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead of
{download-vulnerability-list,audit-packages}.
2020-06-21 10:39:58 +00:00
martin b284d566e0 Pull up following revision(s) (requested by nia in ticket #879):
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:19:29 +00:00
martin c3d2502a5a Pull up following revision(s) (requested by sevan in ticket #501):
games/fortune/datfiles/fortunes: revision 1.83
	games/fortune/datfiles/fortunes: revision 1.84
	games/fortune/datfiles/fortunes: revision 1.85
	games/fortune/datfiles/fortunes: revision 1.86
	games/fortune/datfiles/netbsd: revision 1.29

Donnie Darko

Chris' happiest moment
http://bbc.co.uk/programmes/b09b1zbb

Definition of austerity by Alexei Sayle on Radio 4
https://web.archive.org/web/20190916192807/https://www.bbc.co.uk/sounds/play/m0008bbc

https://twitter.com/sei6r/status/1182433546331279360

Introspection. From "Surely You're Joking, Mr. Feynman!"
2019-12-08 13:06:37 +00:00
martin 53237ac71f Pull up following revision(s) (requested by sevan in ticket #174):
lib/libc/sys/chmod.2: revision 1.48
	lib/libc/sys/stat.2: revision 1.59
	lib/libc/sys/unlink.2: revision 1.30
	lib/libc/sys/lseek.2: revision 1.25
	lib/libc/sys/getuid.2: revision 1.18
	lib/libc/sys/chown.2: revision 1.37
	lib/libm/man/exp.3: revision 1.32
	lib/libm/man/log.3: revision 1.7
	lib/libc/sys/open.2: revision 1.60
	lib/libc/stdio/fopen.3: revision 1.36
	lib/libc/stdio/putc.3: revision 1.14
	lib/libc/sys/mount.2: revision 1.51
	share/man/man9/copy.9: revision 1.22
	share/man/man9/uiomove.9: revision 1.20
	lib/libc/sys/setuid.2: revision 1.23
	lib/libc/sys/close.2: revision 1.18
	sbin/init/init.8: revision 1.61
	lib/libc/sys/write.2: revision 1.36
	lib/libc/sys/read.2: revision 1.39
	sbin/init/init.8: revision 1.62
	lib/libc/sys/wait.2: revision 1.40
	usr.bin/tty/tty.1: revision 1.10
	lib/libc/sys/link.2: revision 1.33
	usr.bin/du/du.1: revision 1.24
	lib/libc/stdlib/exit.3: revision 1.17
	usr.bin/su/su.1: revision 1.53
	usr.bin/mail/mail.1: revision 1.66
	lib/libc/sys/fork.2: revision 1.25
	usr.bin/su/su.1: revision 1.54
	usr.bin/mail/mail.1: revision 1.67
	lib/libm/man/sin.3: revision 1.15
	share/man/man9/intro.9: revision 1.26
	share/man/man5/utmp.5: revision 1.17
	lib/libc/compat-43/creat.3: revision 1.17
	lib/libc/time/ctime.3: revision 1.61
	lib/libcompat/4.1/stty.3: revision 1.10
	usr.bin/dc/dc.1: revision 1.3
	lib/libm/man/cos.3: revision 1.17
	lib/libc/sys/chdir.2: revision 1.23
	lib/libc/gen/exec.3: revision 1.30
	lib/libc/gen/exec.3: revision 1.31
	games/bcd/bcd.6: revision 1.18
	games/bcd/bcd.6: revision 1.19
	usr.bin/write/write.1: revision 1.7
	usr.bin/wc/wc.1: revision 1.18
	usr.bin/pr/pr.1: revision 1.24
	usr.bin/who/who.1: revision 1.25
	lib/libc/sys/mkdir.2: revision 1.30
	lib/libc/stdio/getc.3: revision 1.13
	usr.bin/sort/sort.1: revision 1.40
	usr.bin/mesg/mesg.1: revision 1.11
	share/man/man5/passwd.5: revision 1.34
sort was there since v1
https://www.bell-labs.com/usr/dmr/www/man61.pdf

dc was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

du was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mail was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

mesg was in v1
https://www.bell-labs.com/usr/dmr/www/man12.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

su was in v1
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man13.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man14.pdf
Update URL

write was in v1
https://www.bell-labs.com/usr/dmr/www/man14.pdf
grammar

passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf

Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5

Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf

getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf

stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf

mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf

start documenting history
exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf

putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3

Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf

Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which
version,
hence I've skipped mentioning it.
End sentence with a dot.
Remove superfluous Pp.
Remove superfluous Pp.
Remove superfluous Ns.
Remove superfluous Pp.
fetch(9) -> ufetch(9)
fetch(9) -> ufetch(9). Remove superfluous Pp.
fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
2019-09-05 08:19:40 +00:00
sevan 608899cdf4 The mother of all demos 2019-07-26 07:41:22 +00:00
uwe f9f52b4a0c Use .Dl for displays with single command. Specify .Bl -width with the
same formatting as the actual tags.
2019-07-23 11:02:29 +00:00
uwe 800ba6691b strfile is installed, don't claim it isn't. 2019-07-23 10:40:55 +00:00
uwe 4d25743b11 Prettify formatting. 2019-07-23 09:50:27 +00:00
sevan 26965a4a65 Use double dash to simulate em dash 2019-07-22 13:44:13 +00:00
sevan cef2b4ad5b Use \(em to get an emphasis dash 2019-07-22 13:37:37 +00:00
sevan a99bcdece4 Art for the masses - The Dream Machine
The text used an em dash which I've replaced with a coma here.
2019-07-22 09:47:28 +00:00
pgoyette a9c53af5cf Report the users score _after_ the game has ended and the screen has
been restored to pre-game state.  Otherwise, the user gets a message
that their score did (or more likely, did not) improve over their
previous score, yet the user has no indication of what the current
score actually was!
2019-03-19 00:11:34 +00:00
sevan 9c44dd6276 Shorter than a season - The Soul Of A New Machine 2019-02-24 12:34:00 +00:00
christos 7a986b99ab add fallthrough 2019-02-18 19:35:44 +00:00
mrg a5ca97c6e5 apply -Wno-error=implicit-fallthrough on files that have fallthru
comments but are missed by the current checker.
2019-02-04 09:51:47 +00:00
mrg 9c07d7ddd1 - done() can return in wizard mode. don't NOTREACHED'd it
but break instead.
2019-02-04 03:33:15 +00:00
mrg c543d06770 - 'cango' is used beyond a bool type. make it an int.
- add a couple of fallthru comments.
2019-02-04 03:29:41 +00:00
mrg 37649e4074 - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
mrg 770680b518 - avoid multipling a boolean value, use &&. 2019-02-03 10:45:58 +00:00
mrg fbffadb9f8 - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily
2019-02-03 03:19:25 +00:00
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