summaryrefslogtreecommitdiff
path: root/rc/bin
AgeCommit message (Collapse)Author
2023-05-02fstype: add support for gefsMichael Forney
2023-02-09audio/vocdec: Creative Voice File decoderJacob Moody
slight correction in file.c from previous commit
2023-01-29sysinfo: use usbtree instead of just cating #u/usb/ctlcinap_lenrek
2023-01-05usbtree: a little helper to pretty print usb hubs and devices in a treecinap_lenrek
2022-12-14netaudit: fix format, always state the fileserver testedcinap_lenrek
2022-12-14netaudit: check none attach toocinap_lenrek
2022-12-14netaudit: fix it for multiple resultscinap_lenrek
2022-12-14netaudit: perform a clean connection to test auth statusJacob Moody
if we did connect with authentication to cwfs to set up /srv/boot, then this would spout lies.
2022-12-14netaudit: uncomment out warning about /srv/bootJacob Moody
In light of recent cwfs state, this is more useful.
2022-11-28play: use doom1.wad and dmid/opl3 for midi files by defaultqwx
2022-11-27play: aac supportcinap_lenrek
2022-11-24sysupdate: only pull on 'front' branchOri Bernstein
prevent accidental merges and clobbers of work in progress
2022-11-15history: fix walking and handling files with spacesqwx
2022-11-05ircrc: fix race with pipe causing hangupMichael Forney
If the work function opens and closes $netdir/data for an echo redirection *before* the asynchronous cat process opens it, aux/trampoline (or tlsclient) will receive a hangup, terminating the connection. To fix this, redirect work's stdout to $netdir/data so that it remains open, and adjust the echo commands accordingly.
2022-10-31florenate: not funnycinap_lenrek
2022-10-18window: fix regression w.r.t subriosJacob Moody
When running a plumber and rio combo within a window we were wrongly using the 'root' rios /dev/wctl. This change happened when we removed $wctl and had subtly changed the priority of ways /bin/window used to talk to rio. This mimics the old behavior.
2022-10-14valley, feminize: these jokes suck.Ori Bernstein
2022-09-11window: add wsys 'none' attach to attempted wctl searchJacob Moody
While window did work when run under riostart without $wctl, the change window running from the plumber. It is typical for lib/profile to contain: plumber rio -s riostart Previously this worked because rio polluted the envgroup with $wctl and $wsys, but without $wctl or /dev/wctl the plumber's window fails to find rio. In favor of not breaking this configuration we allow window to fallback to checking $wsys and attaching to the none window. This should keep window working in all cases in which the wctl pollution worked before.
2022-09-07fshalt: optionally use /dev/pmctl to shut down the machineSigrid Solveig Haflínudóttir
2022-08-20fshalt: shut up about #P not being presentSigrid Solveig Haflínudóttir
2022-08-20fshalt: support relative paths to the new kernelSigrid Solveig Haflínudóttir
2022-08-20fshalt: remove unused variableOri Bernstein
2022-08-14add /rc/bin/splitmbox (we've already shipped the splitmbox(8) man page for ↵sl
years) (thanks, umbraticus)
2022-08-12fshalt: allow passing a kernel to 'fshalt -r'Ori Bernstein
reboot(1) doesn't shut down the file system gracefully, and fshalt -r didn't support passing a kernel; this change allows rebooting into a new kernel with fshalt.
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