summaryrefslogtreecommitdiff
path: root/rc/bin
AgeCommit message (Collapse)Author
2022-08-08Rewrite history: 9front was firstRoberto E. Vargas Caballero
History was built using a heuristic where a file not present in the dump in 30 days was considered as a deleted file, without being important if those days had an actual dump. Having the file server off 30 days made all the files to be deleted from the history point of view. This new version is rewriten from scratch in rc and it does not try to detect deleted files since it can be derived only with fragile assumptions.
2022-08-07rcpu: show error when we auth but don't connectglenda
When a user isn't allowed to log into a file server, we used to silently dump the user back to the console, reporting that the command succeeded. We should give the user an error when they fail to log in, and we should exit unsuccessfully. This status is communicated by setting up a sentinel env var, and clearning it just before we execute the user command.
2022-08-05src: 'test -x' instead of 'test -f'Ori Bernstein
while we're here, remove spare curly braces.
2022-08-05src: search for binaries in path, not random placesOri Bernstein
it's confusing and overly cute when 'src notinpath' works. only accept paths that you can execute.
2022-08-05delkey: stop being clever about which factotum to useOri Bernstein
use only /mnt/factotum: if you want to delete from your terminal, bind the terminal in as your factotum.
2022-07-17inst: make bootsetup work for on pc architecturescinap_lenrek
2022-07-09man: turn on troff -mnihongo if JP font is usedJacob Moody
This specifically fixes % man -P ktrans We dont have font widths for kanji in our troff font files, so we can use aux/mnihongo to render the character using libdraw, and grab the bitmap from there. It's not pretty, but aux/mnihongo exists so lets at least use it. This also updates /sys/man/1/ktrans to specify the Jp font to comply with aux/mnihongo.
2022-05-31chdev: dont pollute environmentJacob Moody
2022-05-28aux/listen: Allow per service namespace filesJacob Moody
2022-05-28add chdev(1)Jacob Moody
2022-05-22patch(1): remove bell labs patch scriptsOri Bernstein
bell labs is dead, and nobody is listening; 9front has our own patch submission proces.
2022-05-15g: add .ha (Hare)Sigrid Solveig Haflínudóttir
2022-05-11inst/prepdisk: fix invocations of test(1)Alex Musolino
Test(1) was fixed some time ago [1] to properly parse all of its command line arguments. As such, we need to be more careful about using test(1) with globbing patterns. [1] changeset b562b269cea44e09d3c642b1a9452e16bd8ce3b5
2022-05-10/rc/bin: amend usage misdirections (thanks umbraticus)qwx
2022-04-27/rc/bin/9fs: case 9front: restore extra/ and iso/glenda
2022-04-24/rc/bin/9fs: fix case 9config for new contrib.9front.org server.glenda
2022-04-09/rc/bin/9fs: update case 9frontglenda
2022-04-01/rc/bin/rc-httpd/handlers/error: restore fn 400 (thanks, qeed)glenda
2022-04-01/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: commit the correct ↵glenda
files this time (thanks, igor)
2022-04-01/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal ↵glenda
bug (thanks, igor)
2022-02-06nusbrc: fix FTDI detectioncinap_lenrek
2022-02-05g: show all file names when greppingOri Bernstein
When grep gets a single file argument, it does not show the file name. This makes seeing the file name in the output of 'g' difficult. Pass a spare /dev/null to each invocation of g, in order to force it to show the file name.
2022-01-01g: use xargs instead of finding complete file list before grepingMichael Forney
2022-01-01g: fix duplicate files with directory argumentMichael Forney
When we encounter a directory in the argument list, we don't want to walk every argument, just that directory.
2022-01-03ape/psh: provide /dev/fdcinap_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