summaryrefslogtreecommitdiff
path: root/rc/bin
AgeCommit message (Collapse)Author
2015-09-20libdraw, screenrc: bind devdraw and devmouse in screenrc instead of handling ↵cinap_lenrek
it in libdraw libdraw was attempting to bind '#i' and '#m' to /dev when it could not find /dev/mouse or /dev/draw. a library shouldnt be that clever and do namespace manipulations on behalf of the caller. so instead, we setup the graphics environment in screenrc on boot time.
2015-09-19ircrc: add -P option for server password (thanks, nick)stanley lieber
2015-09-05move screen and mouse setup code to /rc/bin/screenrccinap_lenrek
2015-08-25import E script from bell labsmischief
2015-08-21remove old9p cpu servicecinap_lenrek
2015-08-21fshalt: remove kfs supportcinap_lenrek
2015-08-02ipv6on: fix search for ip attribute (thanks kenji arisawa)cinap_lenrek
2015-07-13inst: fix download task using ip/httpfile to mount a iso over http and ↵cinap_lenrek
prompt for installurl
2015-06-27approx: chmod 775stanley lieber
2015-06-27added approx(1)aiju
2015-06-17usps: cut the useless partftrvxmtrx
2015-06-15dontkill: only use noswap flag to mark processes as not to be terminated on oomcinap_lenrek
changing procmode has the nasty side effect that notes cannot be posted to them, prventing sysfatal() and threadexitsall() to cleanup properly. recent kernels also check the noswap flag to void killing them in out of memory condition, so this is really all we need now.
2015-06-06sysinfo: update -p for sysinfo.9front.orgstanley lieber
2015-06-07sysupdate: change source repo to https://code.9front.org/hg/plan9frontcinap_lenrek
code.google.com is shutting down, the new repository is on code.9front.org.
2015-06-06inst: provide gpt/mbr choice when disk is blank, format espcinap_lenrek
2015-06-02rc-httpd: cleanup cgi handlercinap_lenrek
- avoid silly stats and checks for $cgi_dir, just use status from builtin cd. - log proper http status code from the cgi script
2015-06-02rc-httpd: various fixescinap_lenrek
care has to be taken when splitting the host into SERVER_NAME and SERVER_PORT, as ipv6 uses : in the host part. also do it consistently, the host can be set thru the request uri and the host header. set REMOTE_USER to empty string to prevent accidents. we do not handle chunked transfer encoding, just assuming the client doesnt do keep alive is wrong. we have to reject the post when the client tries chunked post with 411 "Length required" error.
2015-05-319fs: handle all the dos filesystems in one case, add esp handlercinap_lenrek
2015-05-31inst/bootplan9: skip mbr installation and active partition switching when we ↵cinap_lenrek
have no plan9 dos partition on efi systems, there is no plan9 partition in the dos partition table that could be marked active and the mbr should be left alone.
2015-05-31integrate disk/edisk with diskparts, bootfs and installer (gpt support)cinap_lenrek
2015-05-14rc-httpd/handlers/dir-index: plan 9 files may be chmod +a:stanley lieber
The mode printed under the -l option contains 11 characters, interpreted as follows: the first character is d if the entry is a directory; a if the entry is an append-only file; - if the entry is a plain file. Therefore, handle them in automatically generated directory listings.
2015-05-14hget: work arround apache Content-Encoding: gzip for Content-Type: ↵cinap_lenrek
application/x-gzip bug apache sends Content-Encoding: gzip header for Content-Type: application/x-gzip causing hget to decompress tgz files. from the w3c: The Content-Encoding entity-header field is used as a modifier to the media-type. When presented, its value indicates what additional content codings have been applied to the entity-body, and thus what decoding mechanisms must be applied in order to obtail the media-type referenced by the Conent-Type header field. Content-Encoding is primarily used to allow a document to be compressed without losing the identity of its underlying media type. this is clearly silly, as the file is already compressed, and decompressing it will not yield the indicated Content-type: application/x-gzip, but a tarball. examples: http://zlib.net/zlib-1.2.8.tar.gz https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz
2015-05-13removed ukill.Matthew Veety
2015-05-13Added ukill(1): Kills all processes started by a userMatthew Veety
2015-03-30webpaste: update for modified okturing.comstanley lieber
2015-03-23ircrc: remove unused clonefileftrvxmtrx
2015-03-16ssam: fix typostanley lieber
2015-03-16ssam: don't pollute the environment.stanley lieber
2015-03-14rc-httpd: support for http basic authentication, fix cgi support to work ↵cinap_lenrek
with hgweb.cgi
2015-03-11netaudit: comment file server auth test (unreliable on cwfs)aiju
2015-03-08g: search .awk and .rc filesstanley lieber
2015-02-12ircrc: dont require nick and user to be the same for auth/userpasswd (thanks ↵cinap_lenrek
spew)
2014-12-27ircrc: use aux/trampoline or tlsclient for connections, add -T flag for tlsmischief
previously ircrc dialed through /net itself and resolved ips on its own. this prevented the use of an ip address, and also prevented use of ipv6. now you can use an ip, or a dns name that resolves to ipv6. the -T flag is also added to use tlsclient for encrypted connections.
2014-12-24nusb/serial: fix nusb/serial hang with ftdicinap_lenrek
have to create process, not a thread in ftdi code so main process can exit after posting fs service.
2014-12-20pci: import pci script and updated database from 9atommischief
2014-11-16hpost: break up tags with newlines to avoid sed line buffer limitcinap_lenrek
2014-11-15hpost: fix multipart/form variable name mangeling when field value contains ↵cinap_lenrek
newlines com='MH3U pic unrelated ' hpost -u ... -m post com:$com resulted in wrong field name like: --HJBOUNDARY Content-Disposition: form-data; name="com pic unrelated" MH3U pic unrelated
2014-11-07Don't quit ircrc on blank line (thanks Ray)khm
2014-11-05inst: copy efi bootloader in bootsetupcinap_lenrek
2014-11-05termrc: setup mouse when we have a framebuffercinap_lenrek
previously, we setup mouse only when vgasize= was specifid in plan9.ini. with efi systems, the framebuffer is already setup for us and theres no requirement for going thru aux/vga setup, but we still want to setup the mouse. so do the mouseport= check once theres a framebuffer by testing the existence of '#i/winname' (which fails when thers no framebuffer).
2014-11-02bullshit: don't pollute the environmentstanley lieber
2014-10-29newt: delete linesstanley lieber
2014-10-29newt: do not print first message twice when stepping through messagesstanley lieber
2014-10-29disable useless ssh daemon by defaultKurt H Maier
2014-10-29newt: only print a date if we've managed to extract a datestanley lieber
2014-10-28newt: removed unused functionstanley lieber
2014-10-28newt: implement ned-style address ranges and overhaul h command to suitstanley lieber
2014-10-19inst: ignore *bootscreen= variable when generating plan9.inicinap_lenrek
2014-10-15sysupdate/psfax/play: fix unquoted brackets causing rc to perform ↵BurnZeZ
unnecessary file lookups
2014-09-30added gbatypeaiju