freebsd-tips: documentation inside the bugsReviewed by: ziaeeEvent: Berlin Hackathon 202609
fortune: Fix tag width in fortune.6 man-pageReported by: ziaeeReviewed by: ziaeeDifferential Revision: https://reviews.freebsd.org/D59242
fortune: fall back to all databases if fortunes is missingWith no file argument, fortune looks for a database named fortunesin FORTDIR. The base system has not shipped that file since0538d7bbe620
fortune: fall back to all databases if fortunes is missingWith no file argument, fortune looks for a database named fortunesin FORTDIR. The base system has not shipped that file since0538d7bbe620 (FreeBSD 12), only freebsd-tips, so the defaultinvocation failed even though a valid database remained. Callerssuch as xlockmore's marquee and nose modes (fortune -s) thendisplayed the error as the epigram.If the named fortunes file is absent, scan every database in theexisting search path. /usr/local/share/games/fortune stays on thatpath so fortune-mod-* packages keep working; whenfortune-mod-freebsd-classic restores the fortunes file, it is stillpreferred. fortune -f with no arguments lists the same files thatwould be searched.MFC after: 1 weekReviewed by: ziaee, fuzDifferential Revision: https://reviews.freebsd.org/D59057
show more ...
freebsd-tips: Tip about drivers licensesReviewed by: fuz, ngieCo-authored-by: Robert Clausecker <fuz@FreeBSD.org>Differential Revision: https://reviews.freebsd.org/D58727
Bourne shell -> POSIX shellThe FreeBSD shell is a POSIX compatible shell. It evolved over severaldecades from the Almquist shell, which was preceeded a decade beforethat by the Bourne shell. Most
Bourne shell -> POSIX shellThe FreeBSD shell is a POSIX compatible shell. It evolved over severaldecades from the Almquist shell, which was preceeded a decade beforethat by the Bourne shell. Most readers today have never seen a Bourneshell. If someone wants to learn to use our shell, they need to look fortutorials on the POSIX shell. Align descriptions through out the treewith this reality, consistent with it's manual and common parlance.We made a similar change to the doc tree in b4d6eb01540fe.MFC after: 3 daysReviewed by: carlavillaDifferential Revision: https://reviews.freebsd.org/D56382
Revert "fortune: fix netstat tip"This reverts commit 8e593a1f143203cace2e14bd6629a8ebdf9b47dc. I wastotally wrong, so just revert and get on with it.Sponsored by: Netflix
fortune: fix netstat tipnetstati <mumble> 8 reports in bytes per second (averaged over 8seconds) rather than bits per second because it reports the totalin bits over the 8 seconds...Sponsored b
fortune: fix netstat tipnetstati <mumble> 8 reports in bytes per second (averaged over 8seconds) rather than bits per second because it reports the totalin bits over the 8 seconds...Sponsored by: Netflix
freebsd-tips: Add a shell function for laptopsMFC after: 3 daysReviewed by: pauamma_gundo.comDifferential Revision: https://reviews.freebsd.org/D53748
fortune: Fix typo in dmesgd.nycbug.org exampleNo functional change, but commit for correctness nonetheless.MFC after: 1 dayDifferential Revision: https://reviews.freebsd.org/D51293
How to show interface traffic in bits per second
Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
freebsd-tips: Tweak fortune to find font providing Unicode characterWhile here, remove my name and email address.Reported by: baptSponsored by: The FreeBSD Foundation
freebsd-tips: Add fortune to find font providing Unicode characterReviewed by: emasteSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D45183
freebsd-tips: freebsd-update fetch, then installIn end of life (EOL) warning cases: freebsd-update fetch install (thetwo commands, combined) may fetch and patch, but not install.Instead: run the
freebsd-tips: freebsd-update fetch, then installIn end of life (EOL) warning cases: freebsd-update fetch install (thetwo commands, combined) may fetch and patch, but not install.Instead: run the two consecutively. Consistent with installationinformation in /releases/ areas and with acceptedhttps://reviews.freebsd.org/D42722Reviewed by: impPull Request: https://github.com/freebsd/freebsd-src/pull/1096
fortune: update mailing list search urlMarkmail no longer exists.Reviewed by: markjMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D43209
Remove copyright strings ifdef'd outWe've ifdef'd out the copyright strings for some time now. Go ahead andremove the ifdefs. Plus whatever other detritis was left over from otherrecent removals.
Remove copyright strings ifdef'd outWe've ifdef'd out the copyright strings for some time now. Go ahead andremove the ifdefs. Plus whatever other detritis was left over from otherrecent removals. These copyright strings are present in the comments andare largely from CSRG's attempt at adding their copyright to everybinary file (which modern interpretations of the license doesn'trequire).Sponsored by: Netflix
usr.bin: Remove ancient SCCS tags.Remove ancient SCCS tags from the tree, automated scripting, with twominor fixup to keep things compiling. All the common forms in the treewere removed with a pe
usr.bin: Remove ancient SCCS tags.Remove ancient SCCS tags from the tree, automated scripting, with twominor fixup to keep things compiling. All the common forms in the treewere removed with a perl script.Sponsored by: Netflix
fortune: use 115200 in serial exampleCommit 4722ceb7d53e switched the default serial rate to 115200 bps.Follow suit in the freebsd-tips fortune example.Reviewed by: bcrSponsored by: The FreeBSD
fortune: use 115200 in serial exampleCommit 4722ceb7d53e switched the default serial rate to 115200 bps.Follow suit in the freebsd-tips fortune example.Reviewed by: bcrSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D41495
Remove $FreeBSD$: one-line nroff patternRemove /^\.\\"\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
Remove $FreeBSD$: one-line .h patternRemove /^\s*\*+\s*\$FreeBSD\$.*$\n/
Mark usage function as __dead2 in programs where it does not returnIn most cases, usage does not return, so mark them as __dead2. For thecases where they do return, they have not been marked __dea
Mark usage function as __dead2 in programs where it does not returnIn most cases, usage does not return, so mark them as __dead2. For thecases where they do return, they have not been marked __dead2.Reviewed by: impPull Request: https://github.com/freebsd/freebsd-src/pull/735
Update tip for adding a user to wheel:Use "pw groupmod" instead of hand-editing /etc/groupReviewed by: bcr, gjbApproved by: gjb (mentor)
123