From 6e425a9de8c003b5a733621a6b6730ec3cc902b8 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 23 Dec 2006 00:30:12 +0000 Subject: 20061220 --- dis/ar.dis | Bin 0 -> 10395 bytes dis/cddb.dis | Bin 0 -> 4483 bytes dis/charon/build.dis | Bin 38630 -> 38649 bytes dis/charon/http.dis | Bin 12032 -> 12056 bytes dis/charon/layout.dis | Bin 67609 -> 67654 bytes dis/ebook/ebook.dis | Bin 29845 -> 29855 bytes dis/ebook/oebpackage.dis | Bin 4387 -> 4387 bytes dis/fortune.dis | Bin 1743 -> 1743 bytes dis/lib/chanfill.dis | Bin 404 -> 356 bytes dis/lib/csv.dis | Bin 0 -> 663 bytes dis/lib/dis.dis | Bin 7147 -> 7147 bytes dis/lib/newns.dis | Bin 6998 -> 7041 bytes dis/lib/pop3.dis | Bin 3422 -> 3377 bytes dis/lib/rfc822.dis | Bin 0 -> 5557 bytes dis/lib/sets.dis | Bin 3360 -> 3360 bytes dis/lib/sets32.dis | Bin 2051 -> 2051 bytes dis/lib/w3c/uris.dis | Bin 0 -> 3822 bytes dis/lib/xml.dis | Bin 8324 -> 8385 bytes dis/limbo.dis | Bin 343078 -> 343171 bytes dis/lookman | 18 ++++++++++++++++++ dis/lookman.dis | Bin 2861 -> 0 bytes dis/man2html.dis | Bin 0 -> 15911 bytes dis/mk.dis | Bin 58674 -> 58835 bytes dis/os.dis | Bin 3321 -> 3690 bytes dis/shutdown | 18 ++++++++++++++++++ dis/shutdown.dis | Bin 673 -> 0 bytes dis/svc/webget/http.dis | Bin 9923 -> 10161 bytes dis/svc/webget/webget.dis | Bin 5594 -> 5601 bytes dis/svc/webget/wgutils.dis | Bin 4062 -> 4151 bytes dis/test.dis | Bin 3178 -> 4189 bytes dis/wm/dmwm.dis | Bin 2943 -> 2943 bytes dis/wm/sh.dis | Bin 15488 -> 15872 bytes dis/wm/unibrowse.dis | Bin 17138 -> 17336 bytes 33 files changed, 36 insertions(+) create mode 100644 dis/ar.dis create mode 100644 dis/cddb.dis create mode 100644 dis/lib/csv.dis create mode 100644 dis/lib/rfc822.dis create mode 100644 dis/lib/w3c/uris.dis create mode 100644 dis/lookman delete mode 100644 dis/lookman.dis create mode 100644 dis/man2html.dis create mode 100644 dis/shutdown delete mode 100644 dis/shutdown.dis (limited to 'dis') diff --git a/dis/ar.dis b/dis/ar.dis new file mode 100644 index 00000000..0c8193b5 Binary files /dev/null and b/dis/ar.dis differ diff --git a/dis/cddb.dis b/dis/cddb.dis new file mode 100644 index 00000000..7227eebb Binary files /dev/null and b/dis/cddb.dis differ diff --git a/dis/charon/build.dis b/dis/charon/build.dis index 1b737ddb..d879669a 100644 Binary files a/dis/charon/build.dis and b/dis/charon/build.dis differ diff --git a/dis/charon/http.dis b/dis/charon/http.dis index f7853ac0..28acaba0 100644 Binary files a/dis/charon/http.dis and b/dis/charon/http.dis differ diff --git a/dis/charon/layout.dis b/dis/charon/layout.dis index 0c6bcd52..72b8fafa 100644 Binary files a/dis/charon/layout.dis and b/dis/charon/layout.dis differ diff --git a/dis/ebook/ebook.dis b/dis/ebook/ebook.dis index ca57ff65..746eb09c 100644 Binary files a/dis/ebook/ebook.dis and b/dis/ebook/ebook.dis differ diff --git a/dis/ebook/oebpackage.dis b/dis/ebook/oebpackage.dis index 341dd0c8..cd69a00b 100644 Binary files a/dis/ebook/oebpackage.dis and b/dis/ebook/oebpackage.dis differ diff --git a/dis/fortune.dis b/dis/fortune.dis index 44461de7..968d83f6 100644 Binary files a/dis/fortune.dis and b/dis/fortune.dis differ diff --git a/dis/lib/chanfill.dis b/dis/lib/chanfill.dis index d2b814ec..6bfb586a 100644 Binary files a/dis/lib/chanfill.dis and b/dis/lib/chanfill.dis differ diff --git a/dis/lib/csv.dis b/dis/lib/csv.dis new file mode 100644 index 00000000..36b75f72 Binary files /dev/null and b/dis/lib/csv.dis differ diff --git a/dis/lib/dis.dis b/dis/lib/dis.dis index 2386e80c..6c3ebf7f 100644 Binary files a/dis/lib/dis.dis and b/dis/lib/dis.dis differ diff --git a/dis/lib/newns.dis b/dis/lib/newns.dis index c0527526..9d9a03cb 100644 Binary files a/dis/lib/newns.dis and b/dis/lib/newns.dis differ diff --git a/dis/lib/pop3.dis b/dis/lib/pop3.dis index 96035d7d..879ba962 100644 Binary files a/dis/lib/pop3.dis and b/dis/lib/pop3.dis differ diff --git a/dis/lib/rfc822.dis b/dis/lib/rfc822.dis new file mode 100644 index 00000000..74f6f6c8 Binary files /dev/null and b/dis/lib/rfc822.dis differ diff --git a/dis/lib/sets.dis b/dis/lib/sets.dis index 9a3e18c2..a5b6ced8 100644 Binary files a/dis/lib/sets.dis and b/dis/lib/sets.dis differ diff --git a/dis/lib/sets32.dis b/dis/lib/sets32.dis index 5f57f210..d69aae8d 100644 Binary files a/dis/lib/sets32.dis and b/dis/lib/sets32.dis differ diff --git a/dis/lib/w3c/uris.dis b/dis/lib/w3c/uris.dis new file mode 100644 index 00000000..8c4f250d Binary files /dev/null and b/dis/lib/w3c/uris.dis differ diff --git a/dis/lib/xml.dis b/dis/lib/xml.dis index 7e2c4c14..d7821ec8 100644 Binary files a/dis/lib/xml.dis and b/dis/lib/xml.dis differ diff --git a/dis/limbo.dis b/dis/limbo.dis index a1874755..5fbee7d1 100644 Binary files a/dis/limbo.dis and b/dis/limbo.dis differ diff --git a/dis/lookman b/dis/lookman new file mode 100644 index 00000000..edf8972b --- /dev/null +++ b/dis/lookman @@ -0,0 +1,18 @@ +#!/dis/sh +load std + +fn cmdform { + sed 's;/man/;; + s;(.*)/(.*);man \1 \2 # \2(\1);' +} +post=cmdform + +x=$* +~ $1 -f && { + post=cat + x=${tl $x} +} +x=`{echo $x|tr A-Z a-z|tr -dc 'a-z0-9_ \012'} # fold case, delete funny chars +~ $#x 0 && {echo Usage: lookman key ... >[1=2]; exit usage} + +look $x /man/index | sed 's/^.* //' |sort |uniq | $post diff --git a/dis/lookman.dis b/dis/lookman.dis deleted file mode 100644 index e09d33eb..00000000 Binary files a/dis/lookman.dis and /dev/null differ diff --git a/dis/man2html.dis b/dis/man2html.dis new file mode 100644 index 00000000..24a71104 Binary files /dev/null and b/dis/man2html.dis differ diff --git a/dis/mk.dis b/dis/mk.dis index 147a6b33..c88bd48b 100644 Binary files a/dis/mk.dis and b/dis/mk.dis differ diff --git a/dis/os.dis b/dis/os.dis index 5c2cbf8b..7cdd64f3 100644 Binary files a/dis/os.dis and b/dis/os.dis differ diff --git a/dis/shutdown b/dis/shutdown new file mode 100644 index 00000000..1f1f33a3 --- /dev/null +++ b/dis/shutdown @@ -0,0 +1,18 @@ +#!/dis/sh +load std +x=$* +{~ $#x 1 && ~ ${hd $x} -h -r} || {echo usage: shutdown -h or shutdown -r >[1=2]; exit usage} +# the following is a bit pointless until kfs has halt +#ftest -f /dis/disk/kfscmd.dis && { +# for(a in /chan/kfs.*.cmd){ +# b=${hd ${tl ${split '.' $a}}} +# ~ $b '*' || disk/kfscmd -n $b halt +# } +#} +if {~ $1 -r} { + echo reboot >/dev/sysctl +} {~ $1 -h} { + echo halt >/dev/sysctl +} {} +echo shutdown: failed: $status >[1=2] +exit failed diff --git a/dis/shutdown.dis b/dis/shutdown.dis deleted file mode 100644 index 22ce821e..00000000 Binary files a/dis/shutdown.dis and /dev/null differ diff --git a/dis/svc/webget/http.dis b/dis/svc/webget/http.dis index 43d20acc..337fd7e3 100644 Binary files a/dis/svc/webget/http.dis and b/dis/svc/webget/http.dis differ diff --git a/dis/svc/webget/webget.dis b/dis/svc/webget/webget.dis index c029eaf4..b2fd22fc 100644 Binary files a/dis/svc/webget/webget.dis and b/dis/svc/webget/webget.dis differ diff --git a/dis/svc/webget/wgutils.dis b/dis/svc/webget/wgutils.dis index 40682361..926059d7 100644 Binary files a/dis/svc/webget/wgutils.dis and b/dis/svc/webget/wgutils.dis differ diff --git a/dis/test.dis b/dis/test.dis index bc1a3b3f..91a959da 100644 Binary files a/dis/test.dis and b/dis/test.dis differ diff --git a/dis/wm/dmwm.dis b/dis/wm/dmwm.dis index 73cc81ce..bb694fa0 100644 Binary files a/dis/wm/dmwm.dis and b/dis/wm/dmwm.dis differ diff --git a/dis/wm/sh.dis b/dis/wm/sh.dis index 5cbca989..8ccbe8dd 100644 Binary files a/dis/wm/sh.dis and b/dis/wm/sh.dis differ diff --git a/dis/wm/unibrowse.dis b/dis/wm/unibrowse.dis index c6dba7df..4bdb41dc 100644 Binary files a/dis/wm/unibrowse.dis and b/dis/wm/unibrowse.dis differ -- cgit v1.2.3