ref: 801d1e7bb4b715d206195c52ff8ff373363738ab
parent: 09d19137fa0dda8529f91e094c69239a3efb8380
author: qwx <qwx@sciops.net>
date: Wed Nov 11 20:31:28 EST 2020
sync sysnames
--- a/cpurio
+++ b/cpurio
@@ -1,5 +1,5 @@
#!/bin/rc
-if(! ~ $sysname u16 && ~ `{ns | grep '#v'} ''){
+if(! ~ $sysname aib && ~ `{ns | grep '#v'} ''){
screenrc
echo softscreen off >'#v/vgactl'
echo hwaccel on >'#v/vgactl'
@@ -11,7 +11,7 @@
bind -a $home/bin/rc /bin
bind -a $home/bin/$cputype /bin
test -f $home/p/rc/bindbins && . $home/p/rc/bindbins
-if(! ~ $sysname u16 && test -f /tmp/sk){
+if(! ~ $sysname aib && test -f /tmp/sk){
auth/factotum
auth/aescbc -d </tmp/sk | read -m >/mnt/factotum/ctl
}
@@ -19,14 +19,14 @@
webfs
plumber
switch($sysname){
-case u28
+case w500
echo pin 22 >'#A'/audioctl
echo inpin 23 >'#A'/audioctl
-case u11
+case hsw
echo pin 27 >'#A/audioctl'
echo inpin 25 >'#A'/audioctl
}
-if(! ~ $sysname u16)
+if(! ~ $sysname aib)
echo master 40 >'#A/volume'
echo accelerated 3 >'#m'/mousectl
prompt=('; ' ' ')
--- a/mkradio
+++ b/mkradio
@@ -1,6 +1,6 @@
#!/bin/rc
rfork n
-rimport -C -c -u share u16 /usr/share /n/share || exit rimport
+rimport -C -c -u share aib /usr/share /n/share || exit rimport
if(! ~ $#* 0)
t=$1
if not
--- a/mku
+++ b/mku
@@ -104,13 +104,13 @@
ko=(amd64 386)
k=(pc64 pc)
switch($sysname){
-case u11 u16 u24 u25 u27 u32
+case hsw aib x220 t61p w520 u32
f=($f $colf)
ko=(amd64 386 arm)
k=(zynq pc pc64)
-case u14 u19 u20 u23 u28
+case t61 t61p2 t60p w500
f=($f $colf)
-case u2 u13 u21
+case ibm3000 t43
f=($f $colf)
ko=386
k=(pc)
@@ -154,10 +154,10 @@
for(i in $k)
switch($i){
case pc
- if(! ~ $sysname u28 && ! ~ $sysname u16)
+ if(! ~ $sysname aib)
cp /386/9pc /n/9fat/
case pc64
- if(! ~ $sysname u16)
+ if(! ~ $sysname aib)
cp /amd64/9pc64 /n/9fat/
case zynq
cp /arm/9zynq /n/9fat/
--- /dev/null
+++ b/mpi
@@ -1,0 +1,5 @@
+#!/bin/rc
+rfork n
+games/wadfs /sys/games/lib/doom/d2/doom2.wad >[2]/dev/null
+#games/dmid -s /dev/usb/ep10.4/data | games/opl3 | norm 5 >/dev/audio
+mkey | games/dmid -s | games/opl3 | norm 5 >/dev/audio
--- a/qk1
+++ b/qk1
@@ -1,9 +1,9 @@
#!/bin/rc
rfork ne
switch($sysname){
-case u24 u27 u20 u25
+case x220 w520 t61p2 t61p
res=(-dx 1032 -dy 776)
-case u11
+case hsw
res=(-dx 1608 -dy 1208)
a=(-m 32)
case *
--- a/qw
+++ b/qw
@@ -1,9 +1,9 @@
#!/bin/rc
rfork ne
switch($sysname){
-case u24 u27 u20 u25
+case x220 w520 t61p2 t61p
res=(-dx 1032 -dy 776)
-case u11
+case hsw
res=(-dx 1608 -dy 1208)
case *
res=(-dx 808 -dy 608)
--- a/riostart
+++ b/riostart
@@ -114,7 +114,7 @@
window -r 0 0 160 232 stats -lmswed
window -r 156 0 756 400
window -r 0 226 132 512 games/catclock
-case '' # only u16
+case '' # only aib
window -r 0 0 160 116 stats -lmsed
window -r 158 0 268 116 games/catclock
window -scroll -r 264 0 594 115 tail -f /dev/kmesg
--- /dev/null
+++ b/syncbv91
@@ -1,0 +1,23 @@
+#!/bin/rc -e
+rfork n
+if(! sshfs tcp!bv91!8022){
+ echo ssh failed: $status
+ exit ssh
+}
+cd
+for(i in m*){
+ if(! test -d /n/ssh/$i){
+ mkdir /n/ssh/storage/external-1/$i
+ ssh tcp!bv91!8022 ln -s storage/external-1/$i $i
+ clone -T $i/* /n/ssh/$i
+ }
+ if not
+ syncab $i /n/ssh/$i | tee -a /tmp/sync.$pid
+}
+syncab /n/ssh/Pictures $home/lib/i | tee -a /tmp/sync.$pid
+echo proceed?
+if(! ~ `{read} yes){
+ echo exiting
+ exit nope
+}
+. /tmp/sync.$pid && rm /tmp/sync.$pid
--- a/syncu26b
+++ /dev/null
@@ -1,23 +1,0 @@
-#!/bin/rc -e
-rfork n
-if(! sshfs tcp!u26b!8022){
- echo ssh failed: $status
- exit ssh
-}
-cd
-for(i in m*){
- if(! test -d /n/ssh/$i){
- mkdir /n/ssh/storage/external-1/$i
- ssh tcp!u26b!8022 ln -s storage/external-1/$i $i
- clone -T $i/* /n/ssh/$i
- }
- if not
- syncab $i /n/ssh/$i | tee -a /tmp/sync.$pid
-}
-syncab /n/ssh/Pictures $home/lib/i | tee -a /tmp/sync.$pid
-echo proceed?
-if(! ~ `{read} yes){
- echo exiting
- exit nope
-}
-. /tmp/sync.$pid && rm /tmp/sync.$pid
--- a/vmx9
+++ b/vmx9
@@ -1,7 +1,7 @@
#!/bin/rc
rfork n
switch($sysname){
-case u27
+case w520
if(test -d /net/ether1)
n=ether1
if not
--- a/vmxants
+++ b/vmxants
@@ -1,7 +1,7 @@
#!/bin/rc
rfork n
switch($sysname){
-case u27
+case w520
if(test -d /net/ether1)
n=ether1
if not
--- a/vmxbsd
+++ b/vmxbsd
@@ -17,7 +17,7 @@
-v vesa:1280x1024 \
/tmp/vmx/bsd65.rd \
'device=sd0a'
-case u27
+case w520
if(~ $cputype amd64)
m=3G
if not
@@ -38,7 +38,7 @@
-v vesa:1200x800 \
/tmp/vmx/bsd65.sp \
'device=sd0a'
-case u24
+case x220
if(~ $cputype amd64)
m=4G
if not