OK, turing.

<- leave blank

Fri Apr 19 09:57:30 EDT 2024

From: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 19 Apr 2024 13:57:07 +0000
Subject: [PATCH] Fix minor typos and error redirections

---
diff c655b6552cae96cc174549f07d55c0255d246615
161026bb511b31e397c1067d8c74308b3fec8d31
--- a/sys/man/1/git
+++ b/sys/man/1/git
@@ -230,7 +230,7 @@
 .B -b
 option will cause the repository to be initialized as a bare repository.
 Passing the
-.  -u
+.B -u
 .I upstream
 option will cause the upstream to be configured to
 .I upstream.
--- a/sys/src/9/ip/devip.c
+++ b/sys/src/9/ip/devip.c
@@ -816,7 +816,7 @@
 }

 /*
- * find a unused loacal port for a protocol.
+ * find a unused local port for a protocol.
  *
  * p needs to be locked
  */
--- a/sys/src/cmd/aux/getflags.c
+++ b/sys/src/cmd/aux/getflags.c
@@ -5,7 +5,7 @@
 void
 usage(void)
 {
- print("status=usage\n");
+ fprint(2, "status=usage\n");
	exits(0);
 }

--- a/sys/src/cmd/cmp.c
+++ b/sys/src/cmd/cmp.c
@@ -127,6 +127,6 @@
 static void
 usage(void)
 {
- print("usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
+ fprint(2, "usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
	exits("usage");
 }


Fri Apr 19 07:55:25 EDT 2024
From: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 19 Apr 2024 11:55:01 +0000
Subject: [PATCH] Add caps kbmap


The default behaviour of the key labelled as Caps Lock is
to be a Ctrl key, but in some cases in can be desirable
to have it like an actual Caps Lock.  A new kbmap file is
added and the keyboard documentation is updated.

git/commit /sys/lib/kbmap/caps /sys/man/6/keybo
---
diff ec73849b6936d839410ccb239d14b2f7c7ca3d6f
c655b6552cae96cc174549f07d55c0255d246615
--- /dev/null
+++ b/sys/lib/kbmap/caps
@@ -1,0 +1,1 @@
+ none 58 63588
--- a/sys/man/6/keyboard
+++ b/sys/man/6/keyboard
@@ -25,6 +25,15 @@
 .B Caps
 .B Lock
 acts as an additional control key.
+To make it work like an actual
+.B Caps
+.B Lock
+key you can get it with:
+.PP
+.RS
+.L
+cat /sys/lib/kbmap/caps >/dev/kbmap
+.RE
 .PP
 The delete character
 .RB ( 0x7F )


Fri Apr 19 07:20:46 EDT 2024
diff ec73849b6936d839410ccb239d14b2f7c7ca3d6f uncommitted
--- a/sys/man/6/keyboard
+++ b/sys/man/6/keyboard
@@ -25,6 +25,15 @@
 .B Caps
 .B Lock
 acts as an additional control key.
+To make it work like an actual
+.B Caps
+.B Lock
+key ou can get it with:
+.PP
+.RS
+.L
+echo none 58 63588 >/dev/kbmap
+.RE
 .PP
 The delete character
 .RB ( 0x7F )


Fri Apr 19 07:16:06 EDT 2024
diff ec73849b6936d839410ccb239d14b2f7c7ca3d6f uncommitted
--- a/lib/namespace
+++ b/lib/namespace
@@ -43,3 +43,10 @@
 . /lib/namespace.local
 . /lib/namespace.$sysname
 . /cfg/$sysname/namespace
+
+bind -c /usr/glenda /n/fossil/usr/glenda
+bind -c /n/fossil/usr/ /usr/
+bind -c /n/other/usr/$user/tmp /usr/$user/tmp
+bind -c /usr/$user/tmp /tmp
+
+cd /usr/$user
--- a/rc/bin/fshalt
+++ b/rc/bin/fshalt
@@ -24,6 +24,10 @@
 bind -c '#s' /srv
 bind '#p' /proc

+# start venti flushing
+venti/sync -h localhost >[2]/dev/null &
+venti/sync >[2]/dev/null &
+
 unmount /mnt/consoles >[2]/dev/null
 kill consolefs | rc # don't compete with /mnt/consoles
 sleep 1
@@ -30,12 +34,31 @@

 c=`{ls /srv/cwfs*cmd >[2]/dev/null}
 h=`{ls /srv/hjfs*cmd >[2]/dev/null}
-e=`{ls /srv/ext4*cmd >[2]/dev/null}
-s=`{awk '/^sd./ {print substr($1,3,1)}' '#S/sdctl' >[2]/dev/null}
+f=`{ls /srv/fscons*>[2]/dev/null}

 # for scram, don't scram other systems
 bind -b '#P' /dev >[2]/dev/null
+if(!  ~ $reboot yes){
+ if (test -e '#P'/apm)
+ scram=yes
+ if (test -e '#P'/acpitbls -a -e '#P'/iow)
+ scram=yes
+}

+echo -n syncing...
+for(i in $f) @ {
+ echo -n $i...
+ echo fsys all sync >>$i
+}
+
+# flush the last bit of possible fossil traffic
+if (ls /srv | grep -s fossil) {
+ echo -n venti...
+ venti/sync -h localhost >[2]/dev/null &
+ venti/sync >[2]/dev/null &
+ sleep 5
+}
+
 # halting (binaries we run can't be on the fs we're halting)
 ramfs
 builtin cd /tmp
@@ -73,6 +96,12 @@
		while(test -e $i)
			sleep 1
	}
+ for(i in $f) @ {
+ echo -n $i...
+ echo fsys all halt >>$i
+ sleep 2
+ }
+
	echo
	echo done halting

--- a/rc/bin/service/telcodata
+++ b/rc/bin/service/telcodata
@@ -1,3 +1,15 @@
 #!/bin/rc
-echo This is the plan 9 incoming fax line.
-echo Please do not make data calls to us.
+
+fn sigint {
+}
+
+fn sighup {
+ echo kill > /proc/$pid/note
+}
+
+while () {
+ echo -n user:
+ user=`{read -n 1}
+ if (~ $#user 1)
+ auth/login $user
+}
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -93,9 +93,4 @@
 if(test -f /dev/apm)
	aux/apm

-if(~ $terminal *reform*){
- reform/pm
- reform/audio
-}
-
-dontkill
'^(ipconfig|factotum|mntgen|venti|hjfs|kfs|cfs|cwfs.*|9660srv|dossrv|paqfs|cs|dns|listen|reboot|usbd|kb|disk|ether|wpa)$'
+dontkill
'^(ipconfig|factotum|mntgen|venti|hjfs|kfs|cfs|cwfs.*|9660srv|dossrv|paqfs|cs|dns|listen|reboot|usbd|kb|disk|ether|wpa|fossil)$'
--- a/sys/man/1/git
+++ b/sys/man/1/git
@@ -230,7 +230,7 @@
 .B -b
 option will cause the repository to be initialized as a bare repository.
 Passing the
-.  -u
+.B -u
 .I upstream
 option will cause the upstream to be configured to
 .I upstream.
--- a/sys/man/6/keyboard
+++ b/sys/man/6/keyboard
@@ -25,6 +25,15 @@
 .B Caps
 .B Lock
 acts as an additional control key.
+To make it work like an actual
+.B Caps
+.B Lock
+key ou can get it with:
+.PP
+.RS
+.L
+echo none 58 63588 >/dev/kbmap
+.RE
 .PP
 The delete character
 .RB ( 0x7F )
--- a/sys/src/9/boot/nusbrc
+++ b/sys/src/9/boot/nusbrc
@@ -5,7 +5,7 @@
 mkdir -p -m 700 '#σc/usb'
 mkdir -p -m 700 '#σc/usbnet'

-if(!  nusb/usbd)
+if(!  nusb/usbd -d)
	exit

 @{
@@ -71,7 +71,7 @@
		devs='#σc/sdU'^($1 $5)
		rm -rf '#σc/usb/'^$1.* '#σc/usb/'^$5.hid '#σc/usbnet/'^$1.* $devs
		$devs.*
	}
- rc < '#σ/usb/usbevent' &
+ rc -x < '#σ/usb/usbevent' &
 }

 # usbd removes this file once all devices have been enumerated
--- a/sys/src/9/ip/devip.c
+++ b/sys/src/9/ip/devip.c
@@ -816,7 +816,7 @@
 }

 /*
- * find a unused loacal port for a protocol.
+ * find a unused local port for a protocol.
  *
  * p needs to be locked
  */
--- a/sys/src/cmd/aux/getflags.c
+++ b/sys/src/cmd/aux/getflags.c
@@ -5,7 +5,7 @@
 void
 usage(void)
 {
- print("status=usage\n");
+ fprint(2, "status=usage\n");
	exits(0);
 }

--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -837,7 +837,7 @@
			dpll = igfx->pipe[x].dpll;
			/* enable pll */
			dpll->ctrl.v = 1<<31;
- /* LCPLL 2700 (non scc) reference */
+ /* LCPLL 2700 (non ssc) reference */
			dpll->ctrl.v |= 3<<28;

			genwrpll(freq, &n2, &p1, &r2);
--- a/sys/src/cmd/cmp.c
+++ b/sys/src/cmd/cmp.c
@@ -127,6 +127,6 @@
 static void
 usage(void)
 {
- print("usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
+ fprint(2, "usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
	exits("usage");
 }


Fri Apr 19 03:16:04 EDT 2024
Sawubona, bengifuna ukwazi intengo yakho.

Thu Apr 18 10:19:26 EDT 2024
ramfs -a -m /tmp -S ramsrv
mkdir '#σc'/ram
echo 3 > '#σc'/ram/ram <>[3]/srv/ramsrv
mkdir -p /tmp/^(bin dev fd env srv shr proc lib sys/lib net)
dircp /bin /tmp/bin
dircp /lib /tmp/lib
dircp /sys/lib /tmp/sys/lib
mount -a /srv/cs /net
mount -a /srv/dns /net

bind -c /tmp /

bind '#c' /dev
bind '#d' /fd
bind -c '#e' /env
bind '#p' /proc
bind -c '#s' /srv
bind -q '#σ' /shr
bind -a '#¤' /dev
bind -qa '#¶' /dev
bind -a '#l' /net
bind -a '#I' /net
bind -a '#a' /net


Thu Apr 18 10:06:56 EDT 2024
ramfs
mkdir -p /tmp/^(bin dev fd env srv shr proc lib sys/lib net)
dircp /bin /tmp/bin
dircp /lib /tmp/lib
dircp /sys/lib /tmp/sys/lib
bind '#c' /dev
bind '#d' /fd
bind -c '#e' /env
bind '#p' /proc
bind -c '#s' /srv
bind -q '#σ' /shr
bind -a '#¤' /dev
bind -qa '#¶' /dev
bind -a '#l' /net
bind -a '#I' /net
bind -a '#a' /net
mount -a /srv/cs /net
mount -a /srv/dns /net

bind -c /tmp /


Thu Apr 18 10:06:38 EDT 2024
src(0xffffffff8011767c); // dumpstack+0x10
// data at 0xffffffff8208f460?  80171012
src(0xffffffff80171012); // panic+0xeb
// data at 0xffffffff8208f5b0?  8021991e
src(0xffffffff8021991e); // cclone+0x42
// data at 0xffffffff8208f5f8?  8021a505
src(0xffffffff8021a505); // createdir+0x73
// data at 0xffffffff8208f628?  801eb6d6
src(0xffffffff801eb6d6); // shrcreate+0x34b
// data at 0xffffffff8208f698?  8021b290
src(0xffffffff8021b290); // namec+0x970
// data at 0xffffffff8208f768?


Thu Apr 18 06:38:31 EDT 2024
Aloha, makemake wau eʻike i kāu kumukūʻai.

Thu Apr 18 05:30:14 EDT 2024
Hæ, ég vildi vita verð þitt.

Wed Apr 17 23:47:13 EDT 2024
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: Unable to run program "xterm": No such file or directory
Specify a program on the command line or make sure that /opt/local/bin
is in your path.

xinit: connection to X server lost

waiting for X server to shut down

prev | next