code: fqa.9front.org

Download patch

ref: 45737d66f3e7ae2d81540674b8d186c87ad274e7
parent: 42f062794ed016e974b3b9eeb023e2196069c9d9
author: sl <sl@9front>
date: Fri Aug 2 09:59:03 EDT 2024

fqa7.ms fqa8.ms: escape backticks so htmlroff doesn't convert them to trash.

--- a/fqa7.ms
+++ b/fqa7.ms
@@ -1533,7 +1533,7 @@
 .CW /rc/bin/service/tcp25 :
 .P1
 #!/bin/rc
-user=`{cat /dev/user}
+user=\`{cat /dev/user}
 exec /bin/upas/smtpd -s -e -n $3
 # to use with listen1, change $3 to $net
 .P2
@@ -1691,7 +1691,7 @@
 .CW /rc/bin/service/tcp587 :
 .P1
 #!/bin/rc
-user=`{cat /dev/user}
+user=\`{cat /dev/user}
 exec /bin/upas/smtpd -e -c /sys/lib/tls/cert -n $3
 # to use with listen1, change $3 to $net
 .P2
@@ -1720,8 +1720,8 @@
 .P1
 #!/bin/rc
 exec tlssrv -c/sys/lib/tls/cert -limap4d \e
-	-r`{cat $3/remote} /bin/upas/imap4d -p \e
-	-r`{cat $3/remote} >>[2]/sys/log/imap4d
+	-r\`{cat $3/remote} /bin/upas/imap4d -p \e
+	-r\`{cat $3/remote} >>[2]/sys/log/imap4d
 	# tlssrv and imap4d both have -r flags.
 	# to use with listen1, change $3 to $net.
 .P2
--- a/fqa8.ms
+++ b/fqa8.ms
@@ -1001,7 +1001,7 @@
 shift
 addr=tcp!smtp.gmail.com!587
 shift
-fd=`{/bin/upas/aliasmail -f $sender}
+fd=\`{/bin/upas/aliasmail -f $sender}
 switch($fd){
 case *.*
 	;
@@ -2310,7 +2310,7 @@
 
 .P1
 dd </dev/zero -of dicks -bs 1 -count 1 \e
-	-seek `{echo 4*1024*1024*1024-1 | pc -n}
+	-seek \`{echo 4*1024*1024*1024-1 | pc -n}
 .P2
 
 Using a real disk might yield somewhat faster performance.