* [PATCH] update acme(1) and newuser(8) man page
@ 2020-03-09 10:12 theinicke
0 siblings, 0 replies; only message in thread
From: theinicke @ 2020-03-09 10:12 UTC (permalink / raw)
To: 9front
Reading the latest message, I have got reminded to post about this documentation mismatch:
- acme(1) let man page reflect implementation regarding default fonts
- change newuser(8) to show what is actually generated by /sys/lib/newuser
diff -r 0e7a0460cb39 sys/man/1/acme
--- a/sys/man/1/acme Sun Mar 08 16:31:30 2020 -0700
+++ b/sys/man/1/acme Mon Mar 09 11:02:32 2020 +0100
@@ -65,9 +65,8 @@
.B -f
.RB ( -F )
option sets the main font, usually variable-pitch (alternate, usually fixed-pitch);
-the default is
-.B /lib/font/bit/lucidasans/euro.8.font
-.RB ( \&.../lucm/unicode.9.font ).
+the default for both is to use font in environment variable $font if set, else
+.B /lib/font/bit/vga/unicode.font.
Tab intervals are set to the width of 4 (or the value of
.BR $tabstop )
numeral zeros in the appropriate font.
diff -r 0e7a0460cb39 sys/man/8/newuser
--- a/sys/man/8/newuser Sun Mar 08 16:31:30 2020 -0700
+++ b/sys/man/8/newuser Mon Mar 09 11:02:32 2020 +0100
@@ -63,43 +63,46 @@
looks like this:
.IP
.EX
-bind -a $home/bin/rc /bin
-bind -a $home/bin/$cputype /bin
-bind -c tmp /tmp
-font = /lib/font/bit/pelm/euro.9.font
+bind -qa $home/bin/rc /bin
+bind -qa $home/bin/$cputype /bin
+font=/lib/font/bit/vga/unicode.font
switch($service){
case terminal
+ webcookies
+ webfs
plumber
- upas/fs
echo -n accelerated > '#m/mousectl'
echo -n 'res 3' > '#m/mousectl'
prompt=('term% ' ' ')
fn term%{ $* }
- exec rio
+ rio
case cpu
- if (test -e /mnt/term/mnt/wsys) {
- # rio already running
- wsys = /mnt/term^`{cat /mnt/term/env/wsys}
- bind -a /mnt/term/mnt/wsys /dev
- echo -n $sysname > /dev/label
- }
bind /mnt/term/dev/cons /dev/cons
- bind /mnt/term/dev/consctl /dev/consctl
+ bind -q /mnt/term/dev/consctl /dev/consctl
+ >[2] /dev/null {
+ cp /dev/sysname /mnt/term/dev/label
+ if(wsys=`{cat /mnt/term/env/wsys})
+ wsys=/mnt/term^$wsys
+ }
bind -a /mnt/term/dev /dev
prompt=('cpu% ' ' ')
fn cpu%{ $* }
- upas/fs
- news
- if (! test -e /mnt/term/mnt/wsys) {
- # cpu call from drawterm
- font=/lib/font/bit/pelm/latin1.8.font
- auth/factotum
+ if(! test -e /mnt/term/dev/wsys){
+ # call from drawterm
+ if(test -e /mnt/term/dev/secstore){
+ auth/factotum -n
+ read -m /mnt/term/dev/secstore >/mnt/factotum/ctl
+ echo >/mnt/term/dev/secstore
+ }
+ if not
+ auth/factotum
+ webcookies
+ webfs
plumber
- exec rio
+ rio
}
case con
prompt=('cpu% ' ' ')
- news
}
.EE
.PP
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-09 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09 10:12 [PATCH] update acme(1) and newuser(8) man page theinicke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).