summaryrefslogtreecommitdiff
path: root/rc
AgeCommit message (Collapse)Author
2021-08-27/rc/bin/9fs: 9front.org files now live on port 9000.glenda
2021-06-15ircrc: freenode -> oftcglenda
2021-06-14sysupdate: clean up transitional codeOri Bernstein
we just need git/pull now
2021-06-14python, hg: tow outside the environment.Ori Bernstein
they've served us well, and can ride off into the sunset.
2021-06-12B: expand path when plumbing filesOri Bernstein
When we plumb a file, we open it in the current working directory if it exists. However, if it doesn't exist, we end up opening it relative to the editor's working directory. Expanding the path to works around this issue.
2021-06-12B, sam: remove sam srv fileFulton Browne
No need for 2 programs doing the same job.
2021-06-11Remove ap(1)Fulton Browne
Cool script - does not work.
2021-06-07homespool: remove obsolete lp config toolOri Bernstein
homespool configures directories that it seems lp no longer usees. we can drop it.
2021-06-06see last try.Ori Bernstein
2021-06-06sysupdate: revert thumbstone temporarilycinap_lenrek
experiencing some issues with git9 transition... we likely need to update git9 again before doing another attempt...
2021-06-05sysupdate: insert tombstoneOri Bernstein
after this update, we're on git: update sysupdate to switch repositories.
2021-05-09iwhois: add some improvements (thanks gall0ws)cinap_lenrek
patch from gall0ws: > It's impossible to get whois right and probably nobody cares about it, > nevertheless this small patch fixes some issues with the current version: > > * use a more common filter for default boilerplate (useful when > following the referral chain) > * updated boilerplate for *.co.uk *.net.uk *.org.uk > * added case *.com *.net (got it from iana.org) > * use ARIN for IPv6 addresses > * when unsure, check first whether whois.nic.$tld exists otherwise > usual fallback to InterNIC > * fixed regexp for the referral chain (case, extra spaces or /) - add usage handling. -- cinap
2021-04-13remove juke (use play or zuke instead)Sigrid
2021-04-13remove old, broken scripts: fedex, u(s)ps, weather (thanks fulton)Sigrid
2021-04-10termrc, cpurc: silence /net/ether* error message when there are no ethernet ↵cinap_lenrek
devices
2021-04-09g: add lua, mk, ml, mli, myr, and sh suffixeskvik
2021-04-08nusbrc: ignore rndis ethernet in /rc/bin/nusbed, handled by ↵cinap_lenrek
/sys/src/9/boot/nusbrc (thanks romano)
2021-04-02whois: suppress missing file errors (thanks kivik)cinap_lenrek
2021-02-27B, Bfn: fix invocation with multiple files, improve manual pagemoody
2021-02-09newt: remove fn f, replace with walksl
2021-01-159fs: bell labs is very deadSigrid
2020-12-23fax, psfax, vwhois: use $user instead of /dev/usercinap_lenrek
2020-12-23B: dont pollute the environmentcinap_lenrek
2020-12-23kill, slay, broke: dont pollute environment, use $usercinap_lenrek
2020-12-23Kill: don't pollute environmentcinap_lenrek
2020-12-23start, stop: avoid null list in concatenation witout arguments, use $usercinap_lenrek
2020-12-23nusbrc: delect lenovo cameracinap_lenrek
2020-12-22hpost: fix usage textAlex Musolino
2020-12-19g: initialize files env varSigrid
2020-12-17hpost: support custom headers (thanks julienxx)Ori Bernstein
hget supports adding custom headers with -r; it makes sense for hpost to do the same, both because custom headers are more likely necessary with POSTs, and for consistency.
2020-12-13oexportfs: move legacy code for cpu and import to separate programcinap_lenrek
The initial protocol handling in exportfs for cpu and import services is a huge mess. Saparate the code out into its own program with its own oexportfs(4) manpage.
2020-12-10src: work on awk scripts too, see "src valley" (thanks phil9)Sigrid
2020-11-22g: fix typo in last commitOri Bernstein
2020-11-21g: filter directory argumentsOri Bernstein
When searching directories recursively, it's still desirable to filter the contents by the file pattern, so that 'g foo /sys/src' doesn't end up searching for foo within .$O files. Files passed explicitly are still searched, so for the old behavior, just use walk: g foo `{walk -f $dir}
2020-09-16window: fix error exit with the -m flagkvik
When called with the -m flag window would always exit with some error, usually status='no match', because of an if-match being the last status-setting command in the script.
2020-08-02rc-httpd: fix invalid test(1) invocation in dir-indexAlex Musolino
2020-07-14g: add '.hs' and 'mkfile' to the walk. (thanks joe9)Ori Bernstein
This expands the set of files that we grep through by default to include mkfiles and haskell.
2020-03-20bell labs is dead, manOri Bernstein
remove the last reference from 9fs.
2020-03-10improve usage messages (thanks henesy)Ori Bernstein
Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on.
2020-03-10fix -T option for doctypeOri Bernstein
We used to set $dev to -T, and leave the device type in the argument list. Now, we set it to -T$2, and shift it out of the list.
2020-03-08"": output previous action to stderrOri Bernstein
When redirecting output from "", it prints the command to stdout, which garbles things like: % foo <inspect output> % "" > /dev/snarf Now, we send it to stderr.
2020-02-26walk arguments to gOri Bernstein
This allows us to 'g' the files within a directory, as in: g _MAX /sys/include/ape Before this change, we'd attempt to grep the directory structure, which is not ideal. After, we grep the files within the directory.
2020-01-07rc-httpd: append carriage return to content-length headerAlex Musolino
2019-12-09console(8): add console command and manpagecinap_lenrek
the console command runs a command or the system shell under a new instance of kbdfs, optionally providing a serial console when $console environment variable is set.
2019-06-20rc-httpd: serve markdown with text/plain content-typeAlex Musolino
2019-06-17rc-httpd: set charset=utf-8 for all text/* content typesAlex Musolino
2019-06-17rc-httpd: only emit charset option for text/plain content typeAlex Musolino
2019-06-05rc-httpd(8): avoid duplicate log output in dir-index handlerAlex Musolino
Delay calling do_log until just before emitting the response. This avoids calling do_log before potentially handing control to the static-index handler, which also calls do_log.
2019-06-04Remove trailing whitespace.Ori Bernstein
2019-06-04Lost a trailing \nOri Bernstein