Commit graph

292 commits

Author SHA1 Message Date
Russ Cox
b962b25eca rc(1): mention /etc/shells in BUGS section 2020-05-05 08:35:56 -04:00
Russ Cox
ff74f7cdda rc: allow unquoted = in command arguments
dd fans rejoice!

Also helps with commands like go test -run=x.
2020-05-04 23:41:15 -04:00
Russ Cox
7d6a248f2c rc: move free carat handling into parser
This fixes at least one shell script (printfont) that expected

	'x'`{y}'z'

to mean

	'x'^`{y}^'z'

as it now does. Before it meant:

	'x'^`{y} 'z'

One surprise is that adjacent lists get a free carat:

	(x y z)(1 2 3)

is

	(x1 y2 z3)

This doesn't affect any rc script in Plan 9 or plan9port.
2020-05-04 23:41:15 -04:00
Larkin Nickle
92aa0e13ad Fix broken references to plan9.bell-labs.com/plan9
Fixes #357
2020-02-22 20:09:40 -05:00
Russ Cox
cb8f735786 all: remove Linux 2.4 vs 2.6 detection
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
2020-01-19 23:04:58 -05:00
sean
2c3c82126b compress: remove (not distributed) from tar(1) manpage. 2020-01-15 10:00:14 -05:00
sean
cb58f3291c compress: import Plan9 compress
Add #define USED(x)... boilerplate

compress: import Plan9 manpage.
2020-01-15 10:00:14 -05:00
markvanatten
a9b462061c winwatch: port based Plan 9 winwatch
Port of Plan 9's winwatch(1).
2020-01-15 08:43:01 -05:00
sean
e0434ae424 soelim: manpage fixes. 2020-01-15 08:27:57 -05:00
sean
40685d24d8 soelim: import from Plan9
Add entry in lib/moveplan9.files to trigger
relocation during INSTALL.
2020-01-15 08:27:57 -05:00
Russ Cox
125cfe1c0d mouse(3): fix definition of Mousectl 2020-01-13 23:17:39 -05:00
Russ Cox
ac6456a0cc clock: import from plan 9
Fixes #250.
2020-01-13 16:53:30 -05:00
Russ Cox
fa7fecff33 wintext: add tmux support, use in ", ""
Fixes #223.
2020-01-13 11:11:14 -05:00
Edouard Klein
185fd7db05 Make venti's doc more accurate 2020-01-13 10:10:31 -05:00
Russ Cox
0158bceec7 libthread: run first thread in proc on system stack
For pthread systems that are fussy about which stack is used,
this makes sure that threadmain runs on a system stack.
If you only use proccreate (never threadcreate), all threads run
on system stacks.
2020-01-12 15:08:28 -05:00
Fazlul Shahriar
a4e59b3702 9term: add a "look" menu item (#299)
Add a menu item which functions similar to acme's `Look` command.

This is copied from 9front. See:
https://code.9front.org/hg/plan9front/rev/1f1596dbca51
https://code.9front.org/hg/plan9front/rev/d2de1d2f7b48
2020-01-07 15:02:01 -05:00
Russ Cox
f264bbcdf6 acme(1): update man page to note -a trimming trailing spaces on Put 2020-01-06 15:26:25 -05:00
Jason Felice
b0aecb4ba5 plumber: add -f (foreground) option (#288)
In MacOS, services run by launchd must run in the foreground, since
launchd manages forking and other resources.
2019-10-29 10:07:10 -04:00
Noah Evans
5517aa0340 man/memdraw.3: fix typo 2019-04-05 15:10:05 -04:00
Russ Cox
16d0081989 libdraw: redo default font construction to be hidpi-safe
If $font is not set, the default font is constructed from
font data linked into every libdraw binary. That process
was different from the usual openfont code, and so it was
not hidpi-aware, resulting in very tiny fonts out of the box
on hidpi systems, until users set $font.

Fix this by using openfont to construct the default font,
by recognizing the name *default* when looking for
font and subfont file contents. Then all the hidpi scaling
applies automatically.

As a side effect, the concept of a 'default subfont' is gone,
as are display->defaultsubfont, getdefont, and memgetdefont.
2018-11-16 00:03:24 -05:00
Tobias Heinicke
a309537fdc paint: add drawing program from 9front (#112)
Paint first appeared in 9front. The 9front license is reproduced
in the related source files - the original repository is located at
https://code.9front.org/hg/plan9front.
2018-11-15 22:10:26 -05:00
Leah Neukirchen
c665ab76a8 xd: add -R for runewise dump
Ported from Plan 9 2013-05-21.
b377a116d1

Closes #16.
2017-10-01 11:46:06 +02:00
Kare Nuorteva
b3336e5cbb all: remove .cvsignore files
Rename following .cvsignore files to .gitkeep since they are
required by the build (directories must exist before build):
	- bin/fossil/.gitkeep
	- bin/fs/.gitkeep
	- bin/venti/.gitkeep

Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
2017-09-14 17:25:17 +02:00
Russ Cox
a399388593 all: update site from swtch.com to 9fans.github.io 2017-09-01 13:25:20 -04:00
Russ Cox
6cb3a2b9c3 codereview: delete, now using GitHub pull requests 2017-09-01 13:25:20 -04:00
Russ Cox
a5632a13a0 9(1): document gotcha with oh-my-zsh 2017-09-01 12:06:22 -04:00
Russ Cox
b546bd6e72 man: various cleanup
Change-Id: I9130e7d10ae42e894923097a7c97da802eb0d8c3
Reviewed-on: https://plan9port-review.googlesource.com/2962
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-07-16 02:52:27 +00:00
Russ Cox
b7488c5d32 man5, man6: delete empty dirs
Change-Id: Iff3843740d98f5fb79499d3b6024333361dfe755
Reviewed-on: https://plan9port-review.googlesource.com/2960
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-07-16 02:52:18 +00:00
Russ Cox
35abfa1b39 man1: document mouse keystrokes in acme, sam, 9term
Change-Id: Id99ce9a143a21009d93a1c6ba2d1f84a3588649f
Reviewed-on: https://plan9port-review.googlesource.com/2942
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-07-16 02:24:45 +00:00
Russ Cox
3ebbd193dc svgpic: new program to convert pic to svg
This is an experiment.
Like tpic it's a copy-and-paste fork of pic.

Change-Id: Ia22772bd5881c7904a6d8f8e0b46fde8cea89cbd
Reviewed-on: https://plan9port-review.googlesource.com/2920
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-06-19 13:51:14 +00:00
Russ Cox
b3a110affa man: document font syntaxes
Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18
Reviewed-on: https://plan9port-review.googlesource.com/1173
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:53:15 +00:00
Russ Cox
213fc4f6fb libdraw: autoscale fonts when moving between low and high dpi screens
Change-Id: I6093955b222db89dfe437fb723593b173d888d01
Reviewed-on: https://plan9port-review.googlesource.com/1170
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:51:23 +00:00
Russ Cox
08e793723c man: more Mercurial references changed to Git
Change-Id: I940a21d67b21b5dd139cb20b9fae9595506fc5ae
2014-11-16 22:00:17 -05:00
Russ Cox
0edb04685b codereview: make commit -a the default; warn about uncommitted changes at upload
also update README.md for github

Change-Id: I7d578a902ffed7f6d69780721e29a1972b6f6992
2014-11-16 21:48:16 -05:00
Russ Cox
95fee1d42e all: update for Git
- rewrite .gitignore to use git patterns
- mv hg(1) to git(1) and rewrite
- add lib/git/commit-msg.hook
- add skeleton codereview script
- update codereview(1)

Change-Id: I061cd8e4de77ebbd6037a7c5d1582cd1d986f62f
2014-11-16 21:21:28 -05:00
Russ Cox
72197f89d4 col: import from plan 9, by popular demand
TBR=rsc
https://codereview.appspot.com/158240043
2014-10-20 20:41:41 -04:00
Russ Cox
4a3fb87264 acme: add log file in acme root directory
Reading /mnt/acme/log reports a log of window create,
put, and delete events, as they happen. It blocks until the
next event is available.

Example log output:

8 new /Users/rsc/foo.go
8 put /Users/rsc/foo.go
8 del /Users/rsc/foo.go

This lets acme-aware programs react to file writes, for example
compiling code, running a test, or updating an import block.

TBR=r
R=r
https://codereview.appspot.com/89560044
2014-04-30 12:14:29 -04:00
Shenghou Ma
c9ed9e13bf man/man1/0intro.1: update supported systems.
LGTM=rsc
R=rsc
https://codereview.appspot.com/71070050
2014-03-14 10:10:20 -04:00
David du Colombier
6f4d00ee45 fossil: import from plan 9
R=rsc
https://codereview.appspot.com/7988047
2013-09-23 23:00:39 +02:00
Russ Cox
01e3847b7e xd: accept -S for 8-byte swap
R=rsc
https://codereview.appspot.com/7565045
2013-03-11 17:26:11 -04:00
Marius Eriksen
2589c5c6ee acme: set $samfile (same as $%) during execution
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6854092
2012-11-25 22:56:08 -05:00
Russ Cox
9f3851871e libdraw: add scalesize
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
9e4b56e764 libthread: add threadspawnd
R=rsc
http://codereview.appspot.com/6742064
2012-10-22 12:32:09 -04:00
Marius Eriksen
81c2c5e775 acme: add $acmeshell to control execution shell
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6614056
2012-10-21 16:52:08 -04:00
Rob Kroeger
ef99c9f1ae devdraw: MacBook retina support
Enable with export devdrawretina=1 (everything will be smaller).

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6592072
2012-10-16 13:55:44 -04:00
Akshat Kumar
ac3ba726f9 src/cmd: Add a repurposed import(4), called `9import', to the ports.
The code is adapted from Plan 9's import(4); this allows us to speak
that protocol. We don't currently support AAN (in the works) or
TLS/SSL.

Thanks to David for help with the man page, testing, and development.

R=0intro, rsc
CC=plan9port.codebot
http://codereview.appspot.com/6458100
2012-09-24 10:35:01 -04:00
David du Colombier
e31375ac4e srv(4), mount: update v9fs usage
The v9fs usage is documented on
https://www.kernel.org/doc/Documentation/filesystems/9p.txt

R=rsc
http://codereview.appspot.com/6445072
2012-08-05 19:17:18 +02:00
David du Colombier
ac2662695a dial(3): update dialparse
R=rsc
http://codereview.appspot.com/6455083
2012-08-03 19:58:31 +02:00
Russ Cox
d2173bb552 disk/mkfs, disk/mkext: add from Plan 9
R=rsc, rsc
http://codereview.appspot.com/6405057
2012-07-17 19:10:45 -04:00
Russ Cox
7276d83b82 venti(8): fix discussion of variables
R=rsc
http://codereview.appspot.com/6397046
2012-07-14 08:01:15 -04:00