summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-05-11 05:56:28 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-05-11 05:56:28 +0000
commitbc91b2709ff5d7d2dfc74a40e650628ea2064e52 (patch)
treee87aa00d21b8d9e084f61eee1d8acd2eab798b0a
parent4fcc906e7f37678eae7c0b933250c9170dac9487 (diff)
parentf643d03b2ab23b10f17e519399fe32e4f01e8d80 (diff)
downloadplan9front-bc91b2709ff5d7d2dfc74a40e650628ea2064e52.tar.xz
merge
-rwxr-xr-xcfg/cirno/cpurc6
-rw-r--r--cfg/cirno/cpustart3
-rw-r--r--cfg/cirno/termrc6
-rw-r--r--lib/font/bit/vga/vga23
-rw-r--r--lib/font/bit/vga/vga00bin0 -> 4981 bytes
-rw-r--r--lib/font/bit/vga/vga01bin0 -> 5048 bytes
-rw-r--r--lib/font/bit/vga/vga02bin0 -> 4684 bytes
-rw-r--r--lib/font/bit/vga/vga03bin0 -> 4633 bytes
-rw-r--r--lib/font/bit/vga/vga04bin0 -> 5131 bytes
-rw-r--r--lib/font/bit/vga/vga05bin0 -> 4658 bytes
-rw-r--r--lib/font/bit/vga/vga06bin0 -> 4590 bytes
-rw-r--r--lib/font/bit/vga/vga10bin0 -> 3685 bytes
-rw-r--r--lib/font/bit/vga/vga1ebin0 -> 4662 bytes
-rw-r--r--lib/font/bit/vga/vga1fbin0 -> 3702 bytes
-rw-r--r--lib/font/bit/vga/vga20bin0 -> 4431 bytes
-rw-r--r--lib/font/bit/vga/vga21bin0 -> 5318 bytes
-rw-r--r--lib/font/bit/vga/vga22bin0 -> 5091 bytes
-rw-r--r--lib/font/bit/vga/vga23bin0 -> 4009 bytes
-rw-r--r--lib/font/bit/vga/vga24bin0 -> 3767 bytes
-rw-r--r--lib/font/bit/vga/vga25bin0 -> 4940 bytes
-rw-r--r--lib/font/bit/vga/vga26bin0 -> 4575 bytes
-rw-r--r--lib/font/bit/vga/vgafbbin0 -> 4192 bytes
-rw-r--r--lib/font/bit/vga/vgafcbin0 -> 3815 bytes
-rw-r--r--lib/font/bit/vga/vgafdbin0 -> 3725 bytes
-rw-r--r--lib/font/bit/vga/vgafebin0 -> 4339 bytes
-rw-r--r--lib/font/bit/vga/vgaffbin0 -> 3682 bytes
-rwxr-xr-xrc/bin/cpurc3
-rwxr-xr-xrc/bin/cpurc.local3
-rwxr-xr-xrc/bin/inst/bootsetup2
-rwxr-xr-xrc/bin/inst/finish9
-rwxr-xr-xrc/bin/inst/start2
-rwxr-xr-xrc/bin/inst/stop33
-rwxr-xr-xrc/bin/termrc3
-rwxr-xr-xrc/bin/termrc.local2
-rw-r--r--sys/src/cmd/eqn/eqn.c172
-rw-r--r--sys/src/cmd/rio/wind.c40
-rw-r--r--sys/src/cmd/usb/kb/kb.c2
-rwxr-xr-xusr/glenda/bin/rc/riostart2
38 files changed, 158 insertions, 153 deletions
diff --git a/cfg/cirno/cpurc b/cfg/cirno/cpurc
index 0fc384a34..ced742b08 100755
--- a/cfg/cirno/cpurc
+++ b/cfg/cirno/cpurc
@@ -1,9 +1,5 @@
#!/bin/rc
-# cpu-specific startup
-
-# Since booting from venti could have started loopback,
-# don't test for existing interfaces, just use ipconfig.
-# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask
+# the 9pccpuf kernel runs this file
# example: adjust to fit your network
#ip/ipconfig -g 192.168.0.1 ether /net/ether0 192.168.0.2 255.255.255.0
diff --git a/cfg/cirno/cpustart b/cfg/cirno/cpustart
index 836a18471..3b9b5a507 100644
--- a/cfg/cirno/cpustart
+++ b/cfg/cirno/cpustart
@@ -1,4 +1,7 @@
+# the 9pccpuf kernel runs this file
+
aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp
+
@{
rfork n
if(~ $monitor vesa)
diff --git a/cfg/cirno/termrc b/cfg/cirno/termrc
index 23ecf145d..bfcebb4f6 100644
--- a/cfg/cirno/termrc
+++ b/cfg/cirno/termrc
@@ -1,9 +1,5 @@
#!/bin/rc
-# terminal-specific startup
-
-# Since booting from venti could have started loopback,
-# don't test for existing interfaces, just use ipconfig.
-# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask
+# the 9pcf kernerl runs this file
# example: adjust to fit your network
#ip/ipconfig -g 192.168.0.1 ether /net/ether0 192.168.0.2 255.255.255.0
diff --git a/lib/font/bit/vga/vga b/lib/font/bit/vga/vga
new file mode 100644
index 000000000..1b651b2db
--- /dev/null
+++ b/lib/font/bit/vga/vga
@@ -0,0 +1,23 @@
+16 8
+0x0100 0x01ff vga01
+0x0200 0x02ff vga02
+0x0300 0x03ff vga03
+0x0400 0x04ff vga04
+0x0500 0x05ff vga05
+0x0600 0x06ff vga06
+0x0000 0x00ff vga00
+0xfb00 0xfbff vgafb
+0x2300 0x23ff vga23
+0x2500 0x25ff vga25
+0xff00 0xffff vgaff
+0xfd00 0xfdff vgafd
+0x1e00 0x1eff vga1e
+0xfe00 0xfeff vgafe
+0x2000 0x20ff vga20
+0x2200 0x22ff vga22
+0x2400 0x24ff vga24
+0x2600 0x26ff vga26
+0x1000 0x10ff vga10
+0xfc00 0xfcff vgafc
+0x1f00 0x1fff vga1f
+0x2100 0x21ff vga21
diff --git a/lib/font/bit/vga/vga00 b/lib/font/bit/vga/vga00
new file mode 100644
index 000000000..2ed0353b1
--- /dev/null
+++ b/lib/font/bit/vga/vga00
Binary files differ
diff --git a/lib/font/bit/vga/vga01 b/lib/font/bit/vga/vga01
new file mode 100644
index 000000000..cab480dfd
--- /dev/null
+++ b/lib/font/bit/vga/vga01
Binary files differ
diff --git a/lib/font/bit/vga/vga02 b/lib/font/bit/vga/vga02
new file mode 100644
index 000000000..d216f39c7
--- /dev/null
+++ b/lib/font/bit/vga/vga02
Binary files differ
diff --git a/lib/font/bit/vga/vga03 b/lib/font/bit/vga/vga03
new file mode 100644
index 000000000..551bc0101
--- /dev/null
+++ b/lib/font/bit/vga/vga03
Binary files differ
diff --git a/lib/font/bit/vga/vga04 b/lib/font/bit/vga/vga04
new file mode 100644
index 000000000..415f72137
--- /dev/null
+++ b/lib/font/bit/vga/vga04
Binary files differ
diff --git a/lib/font/bit/vga/vga05 b/lib/font/bit/vga/vga05
new file mode 100644
index 000000000..6e93f886c
--- /dev/null
+++ b/lib/font/bit/vga/vga05
Binary files differ
diff --git a/lib/font/bit/vga/vga06 b/lib/font/bit/vga/vga06
new file mode 100644
index 000000000..108115b2a
--- /dev/null
+++ b/lib/font/bit/vga/vga06
Binary files differ
diff --git a/lib/font/bit/vga/vga10 b/lib/font/bit/vga/vga10
new file mode 100644
index 000000000..ee4dcfa0c
--- /dev/null
+++ b/lib/font/bit/vga/vga10
Binary files differ
diff --git a/lib/font/bit/vga/vga1e b/lib/font/bit/vga/vga1e
new file mode 100644
index 000000000..b463480ef
--- /dev/null
+++ b/lib/font/bit/vga/vga1e
Binary files differ
diff --git a/lib/font/bit/vga/vga1f b/lib/font/bit/vga/vga1f
new file mode 100644
index 000000000..c39d7817d
--- /dev/null
+++ b/lib/font/bit/vga/vga1f
Binary files differ
diff --git a/lib/font/bit/vga/vga20 b/lib/font/bit/vga/vga20
new file mode 100644
index 000000000..1e9ae336a
--- /dev/null
+++ b/lib/font/bit/vga/vga20
Binary files differ
diff --git a/lib/font/bit/vga/vga21 b/lib/font/bit/vga/vga21
new file mode 100644
index 000000000..2f3ca08ec
--- /dev/null
+++ b/lib/font/bit/vga/vga21
Binary files differ
diff --git a/lib/font/bit/vga/vga22 b/lib/font/bit/vga/vga22
new file mode 100644
index 000000000..3e39eef80
--- /dev/null
+++ b/lib/font/bit/vga/vga22
Binary files differ
diff --git a/lib/font/bit/vga/vga23 b/lib/font/bit/vga/vga23
new file mode 100644
index 000000000..737c48f0a
--- /dev/null
+++ b/lib/font/bit/vga/vga23
Binary files differ
diff --git a/lib/font/bit/vga/vga24 b/lib/font/bit/vga/vga24
new file mode 100644
index 000000000..7798cae60
--- /dev/null
+++ b/lib/font/bit/vga/vga24
Binary files differ
diff --git a/lib/font/bit/vga/vga25 b/lib/font/bit/vga/vga25
new file mode 100644
index 000000000..434ddc9d3
--- /dev/null
+++ b/lib/font/bit/vga/vga25
Binary files differ
diff --git a/lib/font/bit/vga/vga26 b/lib/font/bit/vga/vga26
new file mode 100644
index 000000000..fefc5b9ed
--- /dev/null
+++ b/lib/font/bit/vga/vga26
Binary files differ
diff --git a/lib/font/bit/vga/vgafb b/lib/font/bit/vga/vgafb
new file mode 100644
index 000000000..7de9d2a10
--- /dev/null
+++ b/lib/font/bit/vga/vgafb
Binary files differ
diff --git a/lib/font/bit/vga/vgafc b/lib/font/bit/vga/vgafc
new file mode 100644
index 000000000..9abdd2ddf
--- /dev/null
+++ b/lib/font/bit/vga/vgafc
Binary files differ
diff --git a/lib/font/bit/vga/vgafd b/lib/font/bit/vga/vgafd
new file mode 100644
index 000000000..0a0b439d4
--- /dev/null
+++ b/lib/font/bit/vga/vgafd
Binary files differ
diff --git a/lib/font/bit/vga/vgafe b/lib/font/bit/vga/vgafe
new file mode 100644
index 000000000..ee9606f21
--- /dev/null
+++ b/lib/font/bit/vga/vgafe
Binary files differ
diff --git a/lib/font/bit/vga/vgaff b/lib/font/bit/vga/vgaff
new file mode 100644
index 000000000..9aa35785d
--- /dev/null
+++ b/lib/font/bit/vga/vgaff
Binary files differ
diff --git a/rc/bin/cpurc b/rc/bin/cpurc
index 0436b0530..8fadee5fc 100755
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -1,5 +1,6 @@
#!/bin/rc
-# cpu server start up
+# the pccpuf kernel runs this file
+
date > /env/boottime
# mount points
diff --git a/rc/bin/cpurc.local b/rc/bin/cpurc.local
index 318406bf9..e33cf6e44 100755
--- a/rc/bin/cpurc.local
+++ b/rc/bin/cpurc.local
@@ -1,5 +1,5 @@
#!/bin/rc
-# local cpu startup
+# the 9pccpuf kernel runs this file
# used only by upas, as default return domain appended to all unqualified
# return addresses, even local ones
@@ -12,4 +12,5 @@ facedom=FACEDOM
for(i in m i P S t u)
bind -a '#'^$i /dev >/dev/null >[2=1]
+
mount -qa /srv/usb /dev
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup
index 7de697850..e33313f3a 100755
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -30,7 +30,7 @@ case go
echo 'monitor='^$monitor
echo 'vgasize='^$vgasize
if(test -f '#ec/*nomp')
- echo '*nomp='
+ echo '*nomp=1'
} >/tmp/plan9.ini
}
diff --git a/rc/bin/inst/finish b/rc/bin/inst/finish
index e616e64e1..7a0abfe1a 100755
--- a/rc/bin/inst/finish
+++ b/rc/bin/inst/finish
@@ -10,10 +10,7 @@ case checkdone
export finish
case go
- if(~ $cdboot yes){
- echo 'Congratulations; you''ve completed the install.'
- echo
- halt
- }
- stop go finished
+ echo 'Congratulations; you''ve completed the install.'
+ echo
+ halt
}
diff --git a/rc/bin/inst/start b/rc/bin/inst/start
index dbaa7a199..4fb63042f 100755
--- a/rc/bin/inst/start
+++ b/rc/bin/inst/start
@@ -1,5 +1,7 @@
#!/bin/rc
+echo scroll > /dev/wctl
+
cd /bin/inst
. defs
diff --git a/rc/bin/inst/stop b/rc/bin/inst/stop
index a1d48694f..f7d1d1734 100755
--- a/rc/bin/inst/stop
+++ b/rc/bin/inst/stop
@@ -14,37 +14,4 @@ case checkready
stop=notdone
export stop
}
-
-case go
- coherence
- switch($2){
- case finished
- echo 'We need to write the state of the current installation to the install floppy,'
- echo 'so that you can pick up from here if, for example, you want to set up'
- echo 'more boot methods.'
- echo
- case *
- echo 'We need to write the state of the current installation to the install floppy.'
- echo 'so that you can pick up from here when you wish to continue.'
- echo
- }
- echo -n 'Please make sure the install floppy is in the floppy drive and press enter.'
- read >/dev/null >[2]/dev/null
-
- if(! a:) {
- echo 'Couldn''t mount the floppy disk; sorry.'
- exit
- }
-
- if(cp /tmp/vars /n/a:/9inst.cnf || cp /tmp/vars /n/a:/9inst.cnf) {
- echo 'Your install state has been saved to the install floppy.'
- if(~ $2 finished){
- echo
- echo 'Congratulations; you''ve completed the install.'
- }
- echo
- halt
- }
-
- echo 'Couldn''t save the state to your install floppy. Sorry.'
}
diff --git a/rc/bin/termrc b/rc/bin/termrc
index f33df232f..e9be0bb2b 100755
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -1,5 +1,6 @@
#!/bin/rc
-# terminal startup
+# the 9pcf kernel runs this file
+
TIMESYNCARGS=(-rLa1000000)
NDBFILE=/lib/ndb/local
diff --git a/rc/bin/termrc.local b/rc/bin/termrc.local
index 962c77c01..526edd9ef 100755
--- a/rc/bin/termrc.local
+++ b/rc/bin/termrc.local
@@ -1,5 +1,5 @@
#!/bin/rc
-# local terminal startup
+# the 9pcf kernel runs this file
# used only by upas, as default return domain appended to all unqualified
# return addresses, even local ones
diff --git a/sys/src/cmd/eqn/eqn.c b/sys/src/cmd/eqn/eqn.c
index f59c95a66..35753dc30 100644
--- a/sys/src/cmd/eqn/eqn.c
+++ b/sys/src/cmd/eqn/eqn.c
@@ -56,7 +56,7 @@
#define DYAD 57401
#define UTILDE 57402
-#line 17 "/sys/src/cmd/eqn/eqn.y"
+#line 17 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
#include "e.h"
int yylex(void);
@@ -72,7 +72,7 @@ YYSTYPE yyval;
#define YYEOFCODE 1
#define YYERRCODE 2
-#line 140 "/sys/src/cmd/eqn/eqn.y"
+#line 140 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
short yyexca[] =
{-1, 0,
@@ -485,256 +485,256 @@ yyerrlab:
switch(yym) {
case 1:
-#line 24 "/sys/src/cmd/eqn/eqn.y"
+#line 24 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ putout(yypt[-0].yyv); } break;
case 2:
-#line 25 "/sys/src/cmd/eqn/eqn.y"
+#line 25 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ ERROR "syntax error" WARNING; } break;
case 3:
-#line 26 "/sys/src/cmd/eqn/eqn.y"
+#line 26 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ eqnreg = 0; } break;
case 5:
-#line 30 "/sys/src/cmd/eqn/eqn.y"
+#line 30 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ eqnbox(yypt[-1].yyv, yypt[-0].yyv, 0); } break;
case 6:
-#line 31 "/sys/src/cmd/eqn/eqn.y"
+#line 31 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ eqnbox(yypt[-1].yyv, yypt[-0].yyv, 1); } break;
case 7:
-#line 32 "/sys/src/cmd/eqn/eqn.y"
+#line 32 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ lineup(0); } break;
case 8:
-#line 35 "/sys/src/cmd/eqn/eqn.y"
+#line 35 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = yypt[-0].yyv; lineup(1); } break;
case 9:
-#line 38 "/sys/src/cmd/eqn/eqn.y"
+#line 38 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = yypt[-0].yyv; } break;
case 10:
-#line 39 "/sys/src/cmd/eqn/eqn.y"
+#line 39 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = 0; } break;
case 11:
-#line 42 "/sys/src/cmd/eqn/eqn.y"
+#line 42 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = yypt[-0].yyv; } break;
case 12:
-#line 43 "/sys/src/cmd/eqn/eqn.y"
+#line 43 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = 0; } break;
case 13:
-#line 46 "/sys/src/cmd/eqn/eqn.y"
+#line 46 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = yypt[-1].yyv; } break;
case 14:
-#line 47 "/sys/src/cmd/eqn/eqn.y"
+#line 47 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ text(QTEXT, (char *) yypt[-0].yyv); } break;
case 15:
-#line 48 "/sys/src/cmd/eqn/eqn.y"
+#line 48 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ text(CONTIG, (char *) yypt[-0].yyv); } break;
case 16:
-#line 49 "/sys/src/cmd/eqn/eqn.y"
+#line 49 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ text(SPACE, (char *) 0); } break;
case 17:
-#line 50 "/sys/src/cmd/eqn/eqn.y"
+#line 50 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ text(THIN, (char *) 0); } break;
case 18:
-#line 51 "/sys/src/cmd/eqn/eqn.y"
+#line 51 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ text(TAB, (char *) 0); } break;
case 19:
-#line 52 "/sys/src/cmd/eqn/eqn.y"
+#line 52 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ funny(SUM); } break;
case 20:
-#line 53 "/sys/src/cmd/eqn/eqn.y"
+#line 53 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ funny(PROD); } break;
case 21:
-#line 54 "/sys/src/cmd/eqn/eqn.y"
+#line 54 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ funny(UNION); } break;
case 22:
-#line 55 "/sys/src/cmd/eqn/eqn.y"
+#line 55 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ funny(INTER); } break;
case 23:
-#line 56 "/sys/src/cmd/eqn/eqn.y"
+#line 56 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ boverb(yypt[-2].yyv, yypt[-0].yyv); } break;
case 24:
-#line 57 "/sys/src/cmd/eqn/eqn.y"
+#line 57 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ mark(yypt[-0].yyv); } break;
case 25:
-#line 58 "/sys/src/cmd/eqn/eqn.y"
+#line 58 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ size(yypt[-1].yyv, yypt[-0].yyv); } break;
case 26:
-#line 59 "/sys/src/cmd/eqn/eqn.y"
+#line 59 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ font(yypt[-1].yyv, yypt[-0].yyv); } break;
case 27:
-#line 60 "/sys/src/cmd/eqn/eqn.y"
+#line 60 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ fatbox(yypt[-0].yyv); } break;
case 28:
-#line 61 "/sys/src/cmd/eqn/eqn.y"
+#line 61 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ sqrt(yypt[-0].yyv); } break;
case 29:
-#line 62 "/sys/src/cmd/eqn/eqn.y"
+#line 62 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 30:
-#line 62 "/sys/src/cmd/eqn/eqn.y"
+#line 62 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ subsup(yypt[-4].yyv, yypt[-1].yyv, yypt[-0].yyv); } break;
case 31:
-#line 63 "/sys/src/cmd/eqn/eqn.y"
+#line 63 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 32:
-#line 63 "/sys/src/cmd/eqn/eqn.y"
+#line 63 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ subsup(yypt[-3].yyv, 0, yypt[-0].yyv); } break;
case 33:
-#line 64 "/sys/src/cmd/eqn/eqn.y"
+#line 64 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 34:
-#line 64 "/sys/src/cmd/eqn/eqn.y"
+#line 64 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ integral(yypt[-4].yyv, yypt[-1].yyv, yypt[-0].yyv); } break;
case 35:
-#line 65 "/sys/src/cmd/eqn/eqn.y"
+#line 65 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 36:
-#line 65 "/sys/src/cmd/eqn/eqn.y"
+#line 65 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ integral(yypt[-3].yyv, 0, yypt[-0].yyv); } break;
case 37:
-#line 66 "/sys/src/cmd/eqn/eqn.y"
+#line 66 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ integral(yypt[-0].yyv, 0, 0); } break;
case 38:
-#line 67 "/sys/src/cmd/eqn/eqn.y"
+#line 67 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 39:
-#line 67 "/sys/src/cmd/eqn/eqn.y"
+#line 67 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ fromto(yypt[-4].yyv, yypt[-1].yyv, yypt[-0].yyv); } break;
case 40:
-#line 68 "/sys/src/cmd/eqn/eqn.y"
+#line 68 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ps -= deltaps;} break;
case 41:
-#line 68 "/sys/src/cmd/eqn/eqn.y"
+#line 68 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ fromto(yypt[-3].yyv, 0, yypt[-0].yyv); } break;
case 42:
-#line 69 "/sys/src/cmd/eqn/eqn.y"
+#line 69 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ paren(yypt[-2].yyv, yypt[-1].yyv, yypt[-0].yyv); } break;
case 43:
-#line 70 "/sys/src/cmd/eqn/eqn.y"
+#line 70 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ paren(yypt[-1].yyv, yypt[-0].yyv, 0); } break;
case 44:
-#line 71 "/sys/src/cmd/eqn/eqn.y"
+#line 71 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ diacrit(yypt[-1].yyv, yypt[-0].yyv); } break;
case 45:
-#line 72 "/sys/src/cmd/eqn/eqn.y"
+#line 72 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ move(FWD, yypt[-1].yyv, yypt[-0].yyv); } break;
case 46:
-#line 73 "/sys/src/cmd/eqn/eqn.y"
+#line 73 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ move(UP, yypt[-1].yyv, yypt[-0].yyv); } break;
case 47:
-#line 74 "/sys/src/cmd/eqn/eqn.y"
+#line 74 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ move(BACK, yypt[-1].yyv, yypt[-0].yyv); } break;
case 48:
-#line 75 "/sys/src/cmd/eqn/eqn.y"
+#line 75 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ move(DOWN, yypt[-1].yyv, yypt[-0].yyv); } break;
case 49:
-#line 76 "/sys/src/cmd/eqn/eqn.y"
+#line 76 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ pile(yypt[-0].yyv); ct = yypt[-0].yyv; } break;
case 50:
-#line 77 "/sys/src/cmd/eqn/eqn.y"
+#line 77 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{yyval=ct;} break;
case 51:
-#line 77 "/sys/src/cmd/eqn/eqn.y"
+#line 77 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ matrix(yypt[-3].yyv); ct = yypt[-3].yyv; } break;
case 52:
-#line 80 "/sys/src/cmd/eqn/eqn.y"
+#line 80 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ setintegral(); } break;
case 53:
-#line 83 "/sys/src/cmd/eqn/eqn.y"
+#line 83 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = atoi((char *) yypt[-1].yyv); } break;
case 54:
-#line 84 "/sys/src/cmd/eqn/eqn.y"
+#line 84 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = atoi((char *) yypt[-1].yyv); } break;
case 55:
-#line 85 "/sys/src/cmd/eqn/eqn.y"
+#line 85 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = atoi((char *) yypt[-1].yyv); } break;
case 56:
-#line 86 "/sys/src/cmd/eqn/eqn.y"
+#line 86 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = atoi((char *) yypt[-1].yyv); } break;
case 57:
-#line 88 "/sys/src/cmd/eqn/eqn.y"
+#line 88 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = HAT; } break;
case 58:
-#line 89 "/sys/src/cmd/eqn/eqn.y"
+#line 89 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = VEC; } break;
case 59:
-#line 90 "/sys/src/cmd/eqn/eqn.y"
+#line 90 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = DYAD; } break;
case 60:
-#line 91 "/sys/src/cmd/eqn/eqn.y"
+#line 91 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = BAR; } break;
case 61:
-#line 92 "/sys/src/cmd/eqn/eqn.y"
+#line 92 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = LOWBAR; } break;
case 62:
-#line 93 "/sys/src/cmd/eqn/eqn.y"
+#line 93 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = HIGHBAR; } break;
case 63:
-#line 94 "/sys/src/cmd/eqn/eqn.y"
+#line 94 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = UNDER; } break;
case 64:
-#line 95 "/sys/src/cmd/eqn/eqn.y"
+#line 95 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = DOT; } break;
case 65:
-#line 96 "/sys/src/cmd/eqn/eqn.y"
+#line 96 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = TILDE; } break;
case 66:
-#line 97 "/sys/src/cmd/eqn/eqn.y"
+#line 97 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = UTILDE; } break;
case 67:
-#line 98 "/sys/src/cmd/eqn/eqn.y"
+#line 98 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = DOTDOT; } break;
case 68:
-#line 101 "/sys/src/cmd/eqn/eqn.y"
+#line 101 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = ((char *)yypt[-0].yyv)[0]; } break;
case 69:
-#line 102 "/sys/src/cmd/eqn/eqn.y"
+#line 102 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = '{'; } break;
case 70:
-#line 105 "/sys/src/cmd/eqn/eqn.y"
+#line 105 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = ((char *)yypt[-0].yyv)[0]; } break;
case 71:
-#line 106 "/sys/src/cmd/eqn/eqn.y"
+#line 106 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = '}'; } break;
case 74:
-#line 113 "/sys/src/cmd/eqn/eqn.y"
+#line 113 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ column(yypt[-3].yyv, DEFGAP); } break;
case 75:
-#line 114 "/sys/src/cmd/eqn/eqn.y"
+#line 114 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{yyval=atoi((char*)yypt[-0].yyv);} break;
case 76:
-#line 114 "/sys/src/cmd/eqn/eqn.y"
+#line 114 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ column(yypt[-5].yyv, yypt[-3].yyv); } break;
case 77:
-#line 117 "/sys/src/cmd/eqn/eqn.y"
+#line 117 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = startcol(LCOL); } break;
case 78:
-#line 118 "/sys/src/cmd/eqn/eqn.y"
+#line 118 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = startcol(CCOL); } break;
case 79:
-#line 119 "/sys/src/cmd/eqn/eqn.y"
+#line 119 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = startcol(RCOL); } break;
case 80:
-#line 120 "/sys/src/cmd/eqn/eqn.y"
+#line 120 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = startcol(COL); } break;
case 81:
-#line 123 "/sys/src/cmd/eqn/eqn.y"
+#line 123 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ lp[ct++] = yypt[-0].yyv; } break;
case 82:
-#line 124 "/sys/src/cmd/eqn/eqn.y"
+#line 124 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ lp[ct++] = yypt[-0].yyv; } break;
case 83:
-#line 127 "/sys/src/cmd/eqn/eqn.y"
+#line 127 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ yyval = ps; setsize((char *) yypt[-0].yyv); } break;
case 84:
-#line 130 "/sys/src/cmd/eqn/eqn.y"
+#line 130 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ static char R[]="R"; setfont(R); } break;
case 85:
-#line 131 "/sys/src/cmd/eqn/eqn.y"
+#line 131 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ static char I[]="I"; setfont(I); } break;
case 86:
-#line 132 "/sys/src/cmd/eqn/eqn.y"
+#line 132 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ static char B[]="B"; setfont(B); } break;
case 87:
-#line 133 "/sys/src/cmd/eqn/eqn.y"
+#line 133 "/dist/plan9front/sys/src/cmd/eqn/eqn.y"
{ setfont((char *)yypt[-0].yyv); } break;
}
goto yystack; /* stack new state and value */
diff --git a/sys/src/cmd/rio/wind.c b/sys/src/cmd/rio/wind.c
index 534d0cdb6..2690fa998 100644
--- a/sys/src/cmd/rio/wind.c
+++ b/sys/src/cmd/rio/wind.c
@@ -23,6 +23,7 @@ enum
static int topped;
static int id;
+static int reverse;
static Image *cols[NCOL];
static Image *grey;
@@ -30,6 +31,7 @@ static Image *darkgrey;
static Cursor *lastcursor;
static Image *titlecol;
static Image *lighttitlecol;
+static Image *dholdcol;
static Image *holdcol;
static Image *lightholdcol;
static Image *paleholdcol;
@@ -41,19 +43,36 @@ wmk(Image *i, Mousectl *mc, Channel *ck, Channel *cctl, int scrolling)
Rectangle r;
if(cols[0] == nil){
+ /* there are no pastel paints in the dungeons and dragons world
+ * - rob pike
+ */
+ reverse = 0;
+ if(getenv("reverse") != nil)
+ reverse = ~0xFF;
+
/* greys are multiples of 0x11111100+0xFF, 14* being palest */
- grey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xEEEEEEFF);
- darkgrey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x666666FF);
- cols[BACK] = display->white;
- cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xCCCCCCFF);
+ grey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xEEEEEEFF^reverse);
+ darkgrey = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x666666FF^reverse);
+ cols[BACK] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xFFFFFFFF^reverse);
+ cols[HIGH] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0xCCCCCCFF^reverse);
cols[BORD] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x999999FF);
- cols[TEXT] = display->black;
- cols[HTEXT] = display->black;
- titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreygreen);
- lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreygreen);
- holdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DMedblue);
+ cols[TEXT] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x000000FF^reverse);
+ cols[HTEXT] = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x000000FF^reverse);
+ if(reverse == 0) {
+ titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreygreen);
+ lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreygreen);
+ } else {
+ titlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPurpleblue);
+ lighttitlecol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, 0x666666FF^reverse);
+ }
+ dholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DMedblue);
lightholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DGreyblue);
paleholdcol = allocimage(display, Rect(0,0,1,1), CMAP8, 1, DPalegreyblue);
+
+ if(reverse == 0)
+ holdcol = dholdcol;
+ else
+ holdcol = paleholdcol;
}
w = emalloc(sizeof(Window));
w->screenr = i->r;
@@ -740,7 +759,7 @@ wsetcols(Window *w)
w->cols[TEXT] = w->cols[HTEXT] = lightholdcol;
else
if(w == input)
- w->cols[TEXT] = w->cols[HTEXT] = display->black;
+ w->cols[TEXT] = w->cols[HTEXT] = cols[TEXT];
else
w->cols[TEXT] = w->cols[HTEXT] = darkgrey;
}
@@ -1341,7 +1360,6 @@ wclosewin(Window *w)
if(hidden[i] == w){
--nhidden;
memmove(hidden+i, hidden+i+1, (nhidden-i)*sizeof(hidden[0]));
- hidden[nhidden] = nil;
break;
}
for(i=0; i<nwindow; i++)
diff --git a/sys/src/cmd/usb/kb/kb.c b/sys/src/cmd/usb/kb/kb.c
index 090a270dc..bf4918cc4 100644
--- a/sys/src/cmd/usb/kb/kb.c
+++ b/sys/src/cmd/usb/kb/kb.c
@@ -102,7 +102,7 @@ static QLock inlck;
static Kin kbdin =
{
.ref = 0,
- .name = "#Ι/kbin",
+ .name = "/dev/kbin",
.fd = -1,
};
static Kin ptrin =
diff --git a/usr/glenda/bin/rc/riostart b/usr/glenda/bin/rc/riostart
index e512e9dde..f4d3f6104 100755
--- a/usr/glenda/bin/rc/riostart
+++ b/usr/glenda/bin/rc/riostart
@@ -1,3 +1,3 @@
#!/bin/rc
window 0,0,161,117 stats -lmisce
-window -scroll
+window