Commit graph

417 commits

Author SHA1 Message Date
Ori Bernstein
c2aa8c997a hpost: support custom headers (thanks julienxx)
hget supports adding custom headers with -r;
it makes sense for hpost to do the same, both
because custom headers are more likely necessary
with POSTs, and for consistency.
2020-12-17 20:26:38 -08:00
cinap_lenrek
08a9a6952d cpu(1): refer to oexportfs(4) 2020-12-13 20:11:44 +01:00
kvik
07d3d9bf0c sega(1): fix keys (thanks bigato) 2020-12-08 21:20:13 +01:00
Sigrid
96850d8bb4 vmx: add -D option to enable debug messages, use vmdebug for non-fatal "errors" 2020-12-08 10:01:44 +01:00
cinap_lenrek
c74458c98b vmx: add -v|-w flag to control window creation behaviour
The -v flag now does not create a new rio window,
while -w flag does (restores the old behaviour).

This allows vmx to run under vncs and is in general
mode aligned to other emulators and programs.
2020-12-07 18:59:54 +01:00
Sigrid
4ca5e1b3a3 faces: add -c option to remove faces with button 1 click (thanks sirjofri) 2020-12-04 09:33:55 +01:00
Sigrid
c696998ec3 fplot(1): use abs() 2020-11-27 10:35:57 +01:00
Ori Bernstein
4257a5292a upas/marshal: add -S saveto to save outgoing mail, fix -F
Upas/marshal -F was broken with the '-8' command, and silly
without it: It used aliases passed on the command line, so
the destination address was ignored with -8 was passed.

In addition, it would create a new mailbox for any aliases
being sent to, instead of putting them all in one location.

The new -S option is similar to -F, but specifies where the
message should go.
2020-11-06 18:15:15 -08:00
Sigrid
f4d2067373 audio/wavdec: add -s option 2020-11-02 11:46:50 +01:00
Ori Bernstein
8fe1d622b5 diff: support unified diff via -u
The format produced by `diff -u` is inferior to that
produced by `diff -c`, but it's what ape/patch and
unix patch expect, so it's useful to generate it.

This patch adds `diff -u`.
2020-09-21 09:40:42 -07:00
kvik
aa7c8cac11 syscall: utility overhaul
Following is a list of functional changes:

* The -o flag outputs the entire buffer to the length returned
  by the syscall, or, in case of fd2path(2) and errstr(2), to '\0'.
* The -x flag is removed; the above makes it possible to pipe
  into xd(1) to get the same result.
* The -s flag uses dirfmt(2) to format the stat message, instead
  of trying to imitate ls(1).
* Stderr reports are normalized and made easier to parse.

The code also suffered a number of stylistic changes.
2020-09-20 14:49:12 +02:00
Ori Bernstein
cf5316a402 walk(1): improve wording, formatting
Clean up the wording of the walk(1) manpage,
improve the formatting of the format characters.
2020-09-03 20:07:44 -07:00
Alex Musolino
74bf624055 walk(1): fix typo 2020-08-29 18:23:59 +09:30
Ori Bernstein
26ac80481d walk(1): clarify how -n argument works (thanks umbraticus)
Make it clear what happens if you omit the ',' when
specifying '-n'.
2020-08-26 21:17:17 -07:00
Alex Musolino
951a71012f torrent(1): update url in examples section 2020-08-21 10:06:22 +09:30
Sigrid
81dba13271 audio/mp3dec: add -s SECONDS option 2020-08-12 10:43:46 +02:00
Sigrid
5fcf2040b4 audio(1): add new -s SECONDS option 2020-08-11 17:27:11 +02:00
Sigrid
a8e4b50cb2 paint: change colors in the palette with button 3 2020-05-23 20:41:20 +02:00
stanley lieber
77048feb25 /sys/man/1/mothra: add description of Plumb menu item. 2020-04-21 21:14:26 -04:00
Ori Bernstein
5bc9b0c3ca improve usage messages (thanks henesy)
Fix inconsistencies between programs and their usage
messages,  correct instances where information seems
to be missing or lost. This  includes missing arguments,
making usage consistent with manuals, and so on.
2020-03-10 10:09:34 -07:00
Sigrid
290c921d1d sam(1): document $% and $%dot 2020-03-09 13:22:10 +01:00
rgl
efd4eb8933 document common emulator keys 2020-01-29 19:27:07 +01:00
BurnZeZ
2c0ccff286 walk: add D and T fmt characters (fileserver device/type) 2020-01-28 01:27:41 +00:00
BurnZeZ
0f1b442bc0 walk(1): formatting/corrections 2020-01-28 00:53:58 +00:00
Alex Musolino
1ecdf09aee page(1): fix troff manual example 2020-01-20 14:59:04 +10:30
Alex Musolino
0f18938914 crop(1): remove duplicate -b option in synopsis 2019-12-10 15:13:44 +10:30
Alex Musolino
aa9b6d3597 seconds(1): add SOURCE section 2019-12-03 18:25:24 +10:30
Sigrid
b62fda7bd1 os(1): fix a typo 2019-12-02 17:55:53 +02:00
cinap_lenrek
2359389570 os(1): add c implementation of inferno os command and cmd(3) device manpages
this is a reimplementation of infernos os(1) command, which
allows running commands in the underhying host operating
system when inferno runs in hosted mode (emu). but unlike
inferno, we want to use it to run commands on the client
side of a inferno or drawterm session from the plan9 cpu
server, so it defaults to /mnt/term/cmd for the mountpoint.
2019-11-30 20:10:08 +01:00
cinap_lenrek
07e3d1c254 merge 2019-11-21 00:40:15 +01:00
cinap_lenrek
8e20bc7515 vac(1): assimilate manpage additions from plan9port and complete usage lines (thanks joe9)
the usage lines in vac where out of sync with the implementation
and the manpages.

document the -a and -x options, from:

https://github.com/9fans/plan9port/blob/master/man/man1/vac.1
2019-11-21 00:39:07 +01:00
Alex Musolino
48a804e3fd mail(1): fix typo 2019-11-20 17:46:29 +10:30
Ori Bernstein
f32148b290 document 'T' flag misbehavior (thanks rgl) 2019-11-18 01:06:02 -08:00
Ori Bernstein
9314883aff Make ctrl+g focus text windows and cycle zeroxed copies (thanks kvik) 2019-10-21 15:29:07 -07:00
cinap_lenrek
d559cd005c 2c(1): document 7c (arm64) 2019-09-22 19:09:25 +02:00
Ori Bernstein
8cbe3772c4 Add RFC2822 (email style) formatted dates to to date(1). 2019-09-06 08:25:21 -07:00
Alex Musolino
51550ba3d2 walk(1): add history section 2019-07-02 23:34:31 +09:30
Ori Bernstein
94fb8869df Always turn on the -+ flag in cpp
C99 comments have been the default in compilers for something like 20 years
now. This means we don't need to remember to turn it on when porting software,
and gets rid of cryptic errors about unterminated character constants when
someone writes something like:

	// Didn't need to...

We still accept the flag to avoid breaking mkfiles, but we do nothing with it.

This also removes the documentation, since the option does nothing now.
2019-06-18 22:47:15 -07:00
aiju
9a9403bb66 vmx(1): update BUGS 2019-06-11 11:36:20 +00:00
Ori Bernstein
033c2812c2 Make 'g' grep recursively by default. 2019-06-04 22:36:32 -07:00
cinap_lenrek
009b624fe6 ssh(1): add sshnet(4) reference 2019-04-02 18:46:00 +02:00
cinap_lenrek
47ec5de29e ssh: implement -W option for making remote tcp connections 2019-04-02 09:03:35 +02:00
BurnZeZ
6da89d6266 added walk(1) 2019-03-25 23:10:02 +00:00
cinap_lenrek
c8fcefb38b dtracy(1): fix print(2) reference 2019-03-18 02:41:15 +01:00
aiju
c7304ea03c dtracy: get rid of DTName struct, support more than three parts in a probe name, wildcard matching 2018-12-13 10:42:49 +00:00
aiju
722a1a3334 fix dtracy man page 2018-12-08 17:24:23 +00:00
aiju
6056a46c64 add dtracy manpage 2018-12-08 16:35:21 +00:00
aiju
4415dde6d3 forp: change indexing to verilog-like semantics 2018-12-06 10:56:32 +00:00
aiju
75f5332c9d 2c(1): document some differences with ANSI C 2018-12-01 11:28:26 +00:00
cinap_lenrek
b04ed2ae52 vt(1): vt doesnt exit when the host process exits as claimed (thanks driusan) 2018-11-18 21:28:56 +01:00