shithub: plan9front

Download patch

ref: 8606fc8f29fe5b419b74e051c3c8b226ab29c399
parent: 0719ce2aa793f28ca63d2395a3568b75a60db27b
parent: e31773cbf3e2c3dd6f8b483a9afb083fc78119aa
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Feb 10 13:21:06 EST 2021

merge

--- a/lib/theo
+++ b/lib/theo
@@ -927,3 +927,6 @@
 For now, no.
 I'm think you don't get it.
 I hear "me me me".
+If you guys aren't part of the solution, you are part of the precipitate.
+Nothing is perfect.
+Some users really are their own worst enemy.
--- a/rc/bin/newt
+++ b/rc/bin/newt
@@ -25,7 +25,6 @@
 	if(~ $yn y)
 		cat /tmp/post >$mnt/$group/post
 }
-fn f { du -a $* | sed 's/^.*	//g' }
 fn fmtd{
 	date=`{cat}
 	if(! ~ $date(1) [0-9]*)
@@ -96,7 +95,7 @@
 fn h{ sed -n $1^p /tmp/h }
 fn k{
 	kmnt=`{echo $mnt | sed 's/\//\\\//g'}
-	f $mnt/$* |
+	walk $mnt/$* |
 		grep -v -e '\/([0-9]+|article|body|header|post|xover)$' |
 		sed 's/^'$"kmnt'\//  g	/g' |
 		sort |
--- a/sys/games/lib/fortunes
+++ b/sys/games/lib/fortunes
@@ -5254,3 +5254,4 @@
 By the way, BBCNews site makes corrupt the browser. -- Kenji
 As much as I'd love to I feel I have to let it go -- rminnich
 You need a UNIX system to run SATAN.
+That depends on how you define native. -- Andre Garzia
--- a/sys/lib/mimetype
+++ b/sys/lib/mimetype
@@ -91,6 +91,7 @@
 .p		text		plain			-	y # Pascal program
 .p7m		application	x-pkcs7-mime		-	y # SMIME
 .p7s		application	x-pkcs7-signature	-	y # SMIME
+.patch		text		plain		-		y
 .pbm		image		x-portable-bitmap	-	y
 .pdf		application	pdf		-		y # Adobe Portable Document Format
 .pif		application	octet-stream	-		r # DOS executable
--- a/sys/src/cmd/upas/vf/vf.c
+++ b/sys/src/cmd/upas/vf/vf.c
@@ -387,7 +387,7 @@
 	Bprint(&out, "From virusfilter %τ\n", thedate(&tm));
 	writeheader(p, 0);
 	bodyoff = Boffset(&out);
-	passbody(p, 1);
+	passbody(p, 0);
 	Bprint(&out, "\n");
 	Bterm(&out);
 	close(fd);