Commit graph

536 commits

Author SHA1 Message Date
3449d477a2 Merge branch 'front' of git://git.9front.org/plan9front/plan9front into front 2022-07-11 16:39:58 -04:00
2817736822 sysupdate: dont pull from upstream 2022-07-11 16:38:42 -04:00
Jacob Moody
c539d64d22 man: turn on troff -mnihongo if JP font is used
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-07-09 03:43:33 +00:00
679bd4562b add newline to the end of dus 2022-07-01 11:42:10 -04:00
f6b884259b tls by default on ircrc 2022-06-30 12:36:51 -04:00
e72da2cdc8 Merge remote-tracking branch 'origin/front' into front 2022-05-31 21:03:39 -04:00
Jacob Moody
6efb7620e6 chdev: dont pollute environment 2022-05-31 19:30:23 +00:00
Jacob Moody
674fcda107 aux/listen: Allow per service namespace files 2022-05-30 21:55:39 -04:00
Jacob Moody
e6c589312e add chdev(1) 2022-05-30 21:55:39 -04:00
Ori Bernstein
8eb33669cd patch(1): remove bell labs patch scripts
bell labs is dead, and nobody is listening; 9front
has our own patch submission proces.
2022-05-30 21:55:39 -04:00
Sigrid Solveig Haflínudóttir
577a537d65 g: add .ha (Hare) 2022-05-30 21:55:38 -04:00
Alex Musolino
dcbede5281 inst/prepdisk: fix invocations of test(1)
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 b562b269ce
2022-05-30 21:55:37 -04:00
qwx
fc17fc5151 /rc/bin: amend usage misdirections (thanks umbraticus) 2022-05-30 21:55:37 -04:00
glenda
c7e0f3b65f /rc/bin/9fs: case 9front: restore extra/ and iso/ 2022-05-30 21:55:36 -04:00
glenda
fe1b02113e /rc/bin/9fs: fix case 9config for new contrib.9front.org server. 2022-05-30 21:55:36 -04:00
Jacob Moody
57fa781188 aux/listen: Allow per service namespace files 2022-05-28 02:34:43 +00:00
Jacob Moody
6926080a2d add chdev(1) 2022-05-28 02:25:56 +00:00
Ori Bernstein
a59e61a6a4 patch(1): remove bell labs patch scripts
bell labs is dead, and nobody is listening; 9front
has our own patch submission proces.
2022-05-22 17:27:31 +00:00
Sigrid Solveig Haflínudóttir
2479bd2fb0 g: add .ha (Hare) 2022-05-15 08:21:34 +00:00
Alex Musolino
51669adf24 inst/prepdisk: fix invocations of test(1)
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 b562b269ce
2022-05-11 16:33:37 +00:00
qwx
3cf83fa259 /rc/bin: amend usage misdirections (thanks umbraticus) 2022-05-10 20:47:26 +00:00
b070185c00 add dus 2022-04-16 22:22:06 -04:00
glenda
1d9d4ffef8 /rc/bin/9fs: update case 9front 2022-04-09 01:07:24 +00:00
glenda
78953b41e4 /rc/bin/9fs: case 9front: restore extra/ and iso/ 2022-04-27 23:24:07 +00:00
glenda
99d69b52b3 /rc/bin/9fs: fix case 9config for new contrib.9front.org server. 2022-04-24 02:51:46 +00:00
glenda
4daf4ffdbe /rc/bin/rc-httpd/handlers/error: restore fn 400 (thanks, qeed) 2022-04-01 02:12:30 +00:00
glenda
241667b933 /rc/bin/rc-httpd/handlers/{dir-index, serve-static}: commit the correct files this time (thanks, igor) 2022-04-01 01:59:47 +00:00
glenda
60ef662b98 /rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor) 2022-04-01 01:53:29 +00:00
cinap_lenrek
fc0357b3de nusbrc: fix FTDI detection 2022-02-06 00:11:49 +00:00
Ori Bernstein
1290c534be g: show all file names when grepping
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-02-05 00:40:45 +00:00
Michael Forney
33231f9222 g: use xargs instead of finding complete file list before greping 2022-01-01 10:26:14 +00:00
Michael Forney
4db9bebede g: fix duplicate files with directory argument
When we encounter a directory in the argument list, we don't want to
walk every argument, just that directory.
2022-01-01 22:51:39 +00:00
cinap_lenrek
3ec59c7b70 ape/psh: provide /dev/fd 2022-01-03 18:44:22 +00:00
cinap_lenrek
49e991eaed /rc/lib/rcmain: remove useless exit $staus at the end 2021-12-31 16:15:20 +00:00
cinap_lenrek
917f57b6c3 consolefs(4): import -> rimport 2021-12-31 15:50:22 +00:00
cinap_lenrek
a33e93a752 listen(8): remove old cpu, exportfs and rexec listeners 2021-12-31 15:43:16 +00:00
Igor Böhm
614f1d6268 rio: allow spaces in working directory path (-cd) when creating a new window 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-11-29 00:06:45 +00:00
cinap_lenrek
5465c4c01a netaudit: simplify 2021-12-01 21:59:22 +00:00
cinap_lenrek
efd4d75082 netaudio: fix auth check, can have multiple auth servers! 2021-12-01 21:53:18 +00:00
cinap_lenrek
43eb7eea62 netaudit: check for sys= attribute to be free of periods 2021-11-29 20:26:12 +00:00
cinap_lenrek
d3743d40c2 netaudit, ndb(6): the dom= attribute in ndb should be specified without the trailing period 2021-11-29 20:07:04 +00:00
glenda
e2a8d3493a /rc/bin/rc-httpd/{rc-httpd, handlers/error}: do some minimal sanitization on $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-11-21 23:42:13 +00:00
Igor Böhm
07f8584723 rc-httpd: fold two sed calls into one when computing location 2021-10-29 22:59:06 +00:00
glenda
3e7a249f14 /rc/bin/9fs: remove case 9bugs (defunct) 2021-09-04 01:49:04 +00:00
glenda
79b325528a /rc/bin/9fs: update case 9contrib for new server 2021-09-04 01:32:00 +00:00
qwx
6d4261baab add joy(1): joystick script for all emulators, and docs
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-09-01 22:47:30 +00:00
glenda
1bb1b1a937 /rc/bin/9fs: 9front.org files now live on port 9000. 2021-08-27 01:09:12 +00:00
glenda
21283578eb ircrc: freenode -> oftc 2021-06-15 14:28:00 +00:00
Ori Bernstein
e1cc6a9a0f sysupdate: clean up transitional code
we just need git/pull now
2021-06-14 23:58:09 +00:00
Ori Bernstein
a73a964e51 python, hg: tow outside the environment.
they've served us well, and can ride off into the sunset.
2021-06-14 00:00:37 +00:00