Commit graph

463 commits

Author SHA1 Message Date
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
mischief a86de839ca rio(1): fix typo 2018-11-04 11:39:04 -08:00
qwx d74fdfc022 misc small manpage fixes 2018-10-28 00:05:05 +02:00
cinap_lenrek 676298b16b vt: get rid of "clear" menu entry, fix 24x80 resize, reset selection on setdim(), document snarf/plumb 2018-09-03 21:51:32 +02:00
qwx 55e0fd6031 dmid: add support for midi streams
tested with a usb midi keyboard and a midi->usb adaptor
2018-08-31 18:01:21 +02:00
Alex Musolino 0c7fe8ae06 mothra(1): fix formatting 2018-08-21 23:09:35 +09:30
spew 4757debd0b acme: add spacesindent mode 2018-08-01 11:14:59 -04:00
qwx a8644d01c3 add games/dpic and games/todpic 2018-07-25 05:02:46 +02:00
qwx 96e511d736 add games/dmid and games/opl3 2018-07-12 09:33:33 +02:00
23hiro 2f1b8246e2 Persist 'k' command in mothra and add matching -k flag (thanks piroko)
"I sometimes find myself on either slow or data-capped network links where downloading images isn't ideal. Attached is a simple patch to mothra that changes the 'k' command to not only remove already-downloaded images from a page, but also toggle a state such that mothra won't attempt to download images on future visited sites until 'k' is toggled again. This also adds a '-k' flag to mothra which enables the flag at startup." --Jeremy O'Brien<neutral@fastmail.com> on 9fans
2018-06-27 19:20:28 +02:00
qwx deae5c854b mus: fix note volume and channel selection; simplify
- fix overwriting channel 10 with channel 9
- fix using channel volume instead of last volume when setting note
  (fixes d_doom and others)
- remove useless state
2018-06-26 10:35:23 +02:00
aiju 21a221129a sysinfo: minor formatting fix 2018-06-13 16:05:31 +01:00
qwx 09c6120444 emulators ui: add option for fixed factor scaling and bound scale vertically 2018-06-13 14:05:19 +02:00
aiju 434fc6a1c4 dc(1): add pi program as example 2018-05-24 15:42:43 +01:00
aiju 1f8d347c92 fplot: draw axes; zoom more naturally; unzoom 2018-05-20 09:14:16 +00:00
spew 9360415d56 ssh:add -r for extra raw mode 2018-05-18 21:36:33 -04:00
qwx abf8c8bf2c add port of aiju's port of games/2600 2018-05-12 19:21:48 +02:00
qwx 1195ca910c add libemu
move redundant code from emulators to a common library
2018-05-12 19:20:53 +02:00
cinap_lenrek 4c9cbe484d fix manpage cross references 2018-05-11 16:15:08 +02:00
aiju 454d26a0e4 pc: add $ operator 2018-05-04 11:07:39 +01:00
aiju 9632ff2381 forp(1): document [] and some bugs 2018-03-31 12:41:41 +00:00
aiju 2fdd83c827 add forp(1) manpage 2018-03-28 20:49:39 +00:00
aiju ef17e2a693 resample(1): document -n option 2018-03-20 20:31:25 +00:00
23hiro 992ed21419 man pages: SYNOPSYS typo 2018-03-20 18:24:26 +01:00
aiju e0be49d7f1 mines(1): fix misleading HISTORY wording 2018-03-17 19:07:50 +00:00
khm 891a8c4f2c manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
glenda 59b31cccdb g: revert accidental change, document missing file type 2018-02-27 10:08:23 -05:00
cinap_lenrek 8a01033efc vmx: allow setting mac address of using ea:nnnnnnnnnnnn! prefix, use genrandom() to generate mac globally unique mac address 2018-02-25 21:11:41 +01:00
aiju d3f4786a1f mines: documentation and chronometric control of supernatural apparitions 2018-02-25 03:38:25 +00:00
stanley lieber e35616cb66 /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
stanley lieber d057d67bed /sys/lib/rootstub 2017-12-11 19:34:15 -05:00
cinap_lenrek c4fd860a56 vt: block selection mode for snarf 2017-08-20 22:18:09 +02:00
Ethan Grammatikidis a4c35d47bf rc(1): catch up with a change made long before 9front 2017-07-01 16:10:57 +01:00
Ethan Grammatikidis 4bcde1a30b pc(1) clarification 2017-07-01 16:02:18 +01:00
aiju 115f7b2440 vmx(1), vmx(3): update manpages 2017-06-19 18:41:34 +00:00
aiju 3b123799ab add vmx documentation 2017-06-13 14:19:42 +00:00
aiju 89f71fa9ed acid(1), proc(3): document watchpoints 2017-06-12 20:31:04 +00:00
stanley lieber db46e826c2 newt: add !cmd 2017-05-28 15:45:07 -04:00
stanley lieber 9c70c81e70 newt: honor environment variables $editor and $pager 2017-05-26 11:15:35 -04:00
cinap_lenrek 74b6d9bda3 ssh: add -h flag to pass host (for compatibility) 2017-05-05 21:04:31 +02:00
aiju 7ade57b678 sed: add -u flag that flushes output buffers before reading in further input 2017-05-05 08:22:13 +00:00
cinap_lenrek 414d29e98f ssh(1): document -T tries option, #subsys cmd behaviour 2017-05-03 20:56:20 +02:00
cinap_lenrek 359955ee4b vt(1): the "send" menu became "paste" 2017-05-01 02:31:50 +02:00
aiju 8d3bbf373c add blit(1) manpage 2017-04-27 08:42:41 +00:00
aiju 042f98784a ssh: make number of retries configurable 2017-04-24 23:26:43 +00:00
cinap_lenrek 403584715f ssh(1): refer to thumbprint(6) for the sshthumbs file format 2017-04-24 02:21:43 +02:00
cinap_lenrek 641c9da369 ssh(1): add $home/lib/thumbfile to FILE section 2017-04-23 03:31:20 +02:00
cinap_lenrek 88cdfe76df ssh: document thumbfile options 2017-04-23 02:59:32 +02:00
cinap_lenrek 2b10f79119 ssh(1): add bugs section about host not being authenticated 2017-04-23 01:11:12 +02:00
cinap_lenrek 9574e3908f ssh(1): initial documentation, needs examples for authentication 2017-04-23 00:42:33 +02:00
aiju e09adf5944 pc(1): fix memory leak and add clog() function 2017-04-02 14:47:23 +00:00
spew 85b8d253d4 games/galaxy: parallelize gravitational force calculations
Once the Barnes-Hut tree is constructed, the gravitational
force calculations can be done in parallel by dividing the
bodies up between a number of procs.
2017-03-25 13:05:47 -05:00
cinap_lenrek c78d6569ac mus(1): fix manpage references 2017-03-18 17:56:34 +01:00
spew acd1a3edda games/galaxy: new mouse behavior
MB1 moves the galaxy. MB2 zooms the galaxy. New body creation
moved to the menu
2017-03-10 09:57:23 -06:00
spew 0e9973c80f games/galaxy: Change button 2 to reposition the galaxy, remove "move" from the button 3 menu 2017-03-01 15:59:26 -06:00