summaryrefslogtreecommitdiff
path: root/rc
AgeCommit message (Collapse)Author
2022-01-03ape/psh: provide /dev/fdcinap_lenrek
2021-12-31/rc/lib/rcmain: remove useless exit $staus at the endcinap_lenrek
2021-12-31consolefs(4): import -> rimportcinap_lenrek
2021-12-31listen(8): remove old cpu, exportfs and rexec listenerscinap_lenrek
2021-11-29rio: allow spaces in working directory path (-cd) when creating a new window ↵Igor Böhm
via wctl The initial working directory of a new window may be set by a `-cd directory` option. However, the `-cd directory` option is not capable of handling paths with spaces when used via wctl. To enable paths with spaces the function /sys/src/cmd/rio/wctl.c:/^parsewctl is extended to handle quoted directory paths. Before applying the patch the following will fail to open a new window by writing to /dev/wctl: <snip> % rio -i window % mkdir '/tmp/path with space' % echo new -cd '''/tmp/path with space''' window -x rc >> /dev/wctl % pwd /tmp/path with space <snap> The following invocation fails as well: <snip> % window -cd '/tmp/path with space' % pwd /tmp/path with space <snap> After applying the patch the above sequences work as expected, opening a window running rc with the working directory set to '/tmp/path with space'.
2021-12-01netaudit: simplifycinap_lenrek
2021-12-01netaudio: fix auth check, can have multiple auth servers!cinap_lenrek
2021-11-29netaudit: check for sys= attribute to be free of periodscinap_lenrek
2021-11-29netaudit, ndb(6): the dom= attribute in ndb should be specified without the ↵cinap_lenrek
trailing period
2021-11-21/rc/bin/rc-httpd/{rc-httpd, handlers/error}: do some minimal sanitization on ↵glenda
$SERVER_NAME before handing it off to select-handler. this prevents malformed Host: headers from retrieving arbitrary files from the file system. (thanks, Lightning)
2021-10-29rc-httpd: fold two sed calls into one when computing locationIgor Böhm
2021-09-04/rc/bin/9fs: remove case 9bugs (defunct)glenda
2021-09-04/rc/bin/9fs: update case 9contrib for new serverglenda
2021-09-01add joy(1): joystick script for all emulators, and docsqwx
remove old /sys/src/games/nes/joynes in favor of joy(1). joy(1) has more buttons for the other emulators; there is no longer a significance in the order of the keys. document nusb/joy, add information in each emulator manpage.
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