Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
while we're here, remove spare curly braces.
|
|
it's confusing and overly cute when 'src notinpath' works.
only accept paths that you can execute.
|
|
use only /mnt/factotum: if you want to delete from your
terminal, bind the terminal in as your factotum.
|
|
|
|
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.
|
|
|
|
|
|
|
|
bell labs is dead, and nobody is listening; 9front
has our own patch submission proces.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
files this time (thanks, igor)
|
|
bug (thanks, igor)
|
|
|
|
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.
|
|
|
|
When we encounter a directory in the argument list, we don't want to
walk every argument, just that directory.
|
|
|
|
|
|
|
|
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'.
|
|
|
|
|
|
|
|
trailing period
|
|
$SERVER_NAME before handing it off to select-handler. this prevents malformed Host: headers from retrieving arbitrary files from the file system. (thanks, Lightning)
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
we just need git/pull now
|
|
they've served us well, and can ride off into the sunset.
|
|
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.
|
|
No need for 2 programs doing the same job.
|
|
Cool script - does not work.
|
|
homespool configures directories that it seems
lp no longer usees. we can drop it.
|
|
|
|
experiencing some issues with git9 transition... we likely need
to update git9 again before doing another attempt...
|
|
after this update, we're on git: update sysupdate
to switch repositories.
|
|
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
|
|
|