summaryrefslogtreecommitdiff
path: root/sys/man
AgeCommit message (Collapse)Author
2021-05-30git/fs: move mount point to $repo/.git/fsOri Bernstein
Moving the mount point to within the repo directory means that we can have multiple git repos mounted at once with no conflict.
2021-05-30vac: add -t flag to exclude temporary files and directories (thanks foura)cinap_lenrek
2021-05-29kernel: use 64-bit virtual entry point for expanded header, document ↵cinap_lenrek
behaviour in a.out(6) For 64-bit architectures, the a.out header has the HDR_MAGIC flag set in the magic and is expanded by 8 bytes containing the 64-bit virtual address of the programs entry point. While Exec.entry contains physical address for kernel images. Our sysexec() would always use Exec.entry, even for 64-bit a.out binaries, which worked because PADDR(entry) == entry for userspace pointers. This change fixes it, having the kernel use the 64-bit entry point and document the behaviour in the manpage.
2021-05-23mkpaqfs(8): allow setting compression levelcinap_lenrek
2021-05-179pfid(2): document Srv* in Req (thanks kjn)Ori Bernstein
This struct member is available for any user of the library, and is not part of our internal API. It should be documented.
2021-05-16git: got git?Ori Bernstein
Add a snapshot of git9 to 9front.
2021-05-15memory(2): mention tsmemcmp (thanks kemal)cinap_lenrek
2021-05-02ip/ftpd: Add explict and implicit FTPS support.foura
Removed: - Challenge reponse auth. - Noworld login. - Anonymous users writing files to /incoming.
2021-05-05games/opl3: use correct sampling rateqwx
games/dmid uses the same sample rate as the chip for music, but other applications do not. opl3 and its older version opl2 (not in 9front) read an input stream of commands in basically IMF format, something used in other id Software games and some others, which assumes a given input sampling rate: 700 Hz for Wolfenstein 3D music, 560 Hz for Commander Keen, 60 Hz for Ultima 6, etc. The opl3 emulation on the other hand is not really intended to run at a sampling rate different that the chip's 49.716 kHz sampling rate. Previously, we assumed it runs at 44.1 kHz and just used the input rate as a divisor to get the number of samples per delay tic. From what I understand, the correct way to use it for accurate emulation is to run the opl chip emulator at its intended sampling frequency, then downsample to 44.1 kHz. This means better output but more code. The alternative is to basically do the same as before rev 8433, except with no buffering, but at accuracy/quality loss. This change implements the former and just forks pcmconv to deal with resampling.
2021-05-04zuke(1): more fixes (thanks humm)Sigrid
2021-05-04zuke(1): engrish (thanks qwx)Sigrid
2021-05-04add zuke(1) manpage (thanks kemal & humm)Sigrid
2021-05-01lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the ↵cinap_lenrek
mountable file descriptor, update documentation Now that we have these new functions, we can also make them return an error instead of calling sysfatal() like postmountsrv(). Remove the confusing Srv.srvfd, as it is only temporarily used and return it from postsrv() instead.
2021-05-01lib9p: expose Srv.forker handler and srvforker(), threadsrvforker() and ↵cinap_lenrek
threadsrv() functions To use srvrease()/srvaquire() we need to have a way to spawn new processes to handle the service loop. This functionality was provided by the internal _forker() function which was eigther rfork or libthread based implementation depending on if postmountsrv() or threadpostmountsrv() where called. For servers who want to use srv() directly, _forker would not be initialized so srvrelease() could not be used. To untangle this, we get rid of the global _forker handler and put the handler in the Srv structure. Which will get initialized (when nil) to eigther srvforker() or threadsrvforker() depending on if the thread or non-thread entry points where used. For symmetry, we provde new threadsrv() and threadpostsrv() functions which handle the default initialization of Srv.forker. This also allows a user to provide his own forker function, maybe to conserve stack space. To avoid dead code, we put each of these function in their own object file. Note, this also allows a user to define its own srvforker() symbol.
2021-04-27opl3(1), exec(2): fix manpage typos (thanks umbraticus)qwx
2021-04-27games/opl3: don't buffer output and simplify (thanks umbraticus)qwx
this fixes real-time applications. -n previously specified a rate divisor rather than the rate itself, which was used for specific applications outside of 9front. instead, just set the rate directly, more useful and straightforward.
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-08minor man page typosRomano
2021-04-06[9front] walk: properly format permissionsStephen Gregoratto
This patch adds dirmodefmt from fcall.h to pretty-print file permissions, similarly to ls -l. I didn't notice any performance degradation. I hope no-one relied on the old behaviour.
2021-04-02games/glendy: don't use lucida sans in menus by default and bugfix (thanks ↵cinap_lenrek
kemal) i have found one bug. when i put glenda in a position like this i somehow win, but the glenda can escape from there. in addition, i have changed the games manpage to include more info about glendy.
2021-04-01[9front] [patch] nusb/ether -t rndisRomano
2021-03-13audio(1): fix little typo.rgl
2021-03-06[9front] [PATCH] fix small typo in vmx(3)kemal
vmx(3) does not use itself to implement virtual machines.
2021-03-02/sys/man/1/mothra: eu regulations require that we disclose we're sending ↵sl
search queries to duckduckgo.
2021-03-02mothra: add "d" command to search for a text on the internet (using duckduckgo)Sigrid
2021-02-27B, Bfn: fix invocation with multiple files, improve manual pagemoody
2021-02-23ip/tftpd: add -n namespace-file flag (thanks sam-d)cinap_lenrek
tftpd currently unconditionally sets its namespace via /lib/namespace (newns("none", nil)), which stymied my attempts to pxe boot the openbsd installer without creating a real /etc dir on 9front, which would've been gross. I tried working around this with -h (and -r for good measure), but again hit issues because the namespace is rebuilt from scratch -- any binds of /386, /amd64, /cfg/pxe, etc. into the tftp-specific directory disappeared from tftpd's namespace and rendered my *9front* boxes unable to boot. I could maintain copies of the needed files in the tftp-specific directory, but that'd be kind of a drag. The following patch adds a -n flag to allow the specification of a namespace file in place of /lib/namespace; similar to ip/ftpd. I thought about setting up a /lib/namespace.tftp to act as a default rather than continuing to use /lib/namespace by default (which security-wise is about the same as allowing 9p mounts by user none, which I also have disabled), but I had trouble coming up with a sane default. Maybe someone more experienced would like to try that out. - sam-d
2021-02-19libstdio: sync bits of vfprintf from APEkvik
* Add the %ll length modifier, * Convert nil to "<nil>" under %s (not in APE), * Cast void* to uintptr under %p, * Use "0x" hex prefix under %p, * Fix manual page mentions of %P to %p, * Fix empty result for fp conversions, * Fix zero padding of left-aligned fp conversions, * Remove deprecated #pragma ref uses. Most of these were introduced in APE prior to 9front. I've omitted the %z conversion specifier since Plan 9 code rarely uses the usize type. This may need to be added later for the benefit of native ports of alien code.
2021-02-18nan(2): document isInf(x, 0) matching +∞ and -∞kvik
2021-02-06test: fix expression parserAlex Musolino
The old parser code was rubbish and only worked for trivial expressions. The new code properly handles complex expressions, including short circuit evaluation. As such, the BUGS section has been removed from the test(1) man page. The description of an unimplemented feature has also been removed.
2021-02-03acmemail(1): Nail => MailOri Bernstein
Forgot to change the program name when importing the rewrite.
2021-01-29Mail: rewrite.Ori Bernstein
Acme mail made it hard to do threading, so I wrote a new one.
2021-01-23[9front] nusb(4): fix typoMichael Forney
2021-01-23upas/runq: bring back -aOri Bernstein
Turns out -a is useful in crontab, so bring back a simplified version of it. This only iterates through directories one at a time.
2021-01-23upas/runq: support parallel queue processing, drop -aOri Bernstein
When running a mail queue, it's useful to run it with limited parallelism. This helps mailing lists process messages in a reasonable time. At the same time, we can remove the load balancing from runq, since the kinds of systems that this matters on no longer exist, and running multiple queues at once can be better done through xargs.
2021-01-23vt(1): document optional command argument (thanks sl)cinap_lenrek
2021-01-19dd(1): update manpage to match programOri Bernstein
Document the dd changes
2021-01-18acme(1): add references to appropriate manpagesOri Bernstein
2021-01-17passwd: make legacy mode explicitOri Bernstein
Passwd used to produce a very confusing error about DES not being enabled whenever the password was mistyped. This happened because we attempted to guess what authentication method to use, and preseneted the error from the wrong one on failure. This puts the legacy mode behind a flag, so that we don't even try the old method unless it's explicitly requested.
2021-01-17plan9.ini(8): document *nohpet= optioncinap_lenrek
2021-01-16zerotrunc(8): add manpageOri Bernstein
2021-01-16troff2png(1): add manpageOri Bernstein
2021-01-16tmdate(2): correct example in manpageOri Bernstein
add missing tmdate() call around %τ format.
2021-01-16tweak: support showdata plumb action (thanks sirjofri)Sigrid
2021-01-12cal: add -s option to specify the starting day of the weekSigrid
2021-01-12audio(1): it is 2021 nowSigrid
2021-01-11audio/flacencSigrid
2021-01-09libdraw: add bezierptsOri Bernstein
This patch exposes the bezierpts function, providing a way to get the points on a path, similar how bezsplinepts gives them for b splines.
2021-01-069pfid(2): document struct Qid (thanks sirjofri)Ori Bernstein
The Qid struct is pervasive when writing 9p servers, but is not described in the manpages. This adds a definition to the 9pfid manpage.