Commit graph

313 commits

Author SHA1 Message Date
zhenya-1007
e2a141ae09 Fix a typo 2023-01-23 15:45:55 -05:00
David Arnold
4938281a82 Fix tyop 2023-01-09 17:03:29 -05:00
mmnmnnmnmm
10e46bde5a
Modernise terminology (#573) 2022-08-18 10:47:17 -04:00
Ben Huntsman
8bf462f339 man/man3/stat.3: Update man page to match include/libc.h. Resolves Issue #530 2022-05-11 21:46:32 +00:00
Roger Peppe
d0d440860f
src/cmd/acme: provide info on presense or absence of undo history (#528)
It's sometimes useful to know whether there's been editing activity
in a window. This PR adds that information to the ctl file.

Change-Id: I21a342ac636dd5c7701b3ed560e3526867329c2c
2021-10-19 12:08:45 -04:00
Ben Huntsman
385a6d5877 lib9p: Remove postmountsrv (#505) 2021-08-30 21:03:41 -04:00
Russ Cox
93a25a0f97 install(1): mention libfontconfig1-dev for Debian
Also update install.txt, which mistakenly contained intro(1).

Pointed out by Nicholas Schwartz.
2021-04-09 15:23:55 -04:00
Fazlul Shahriar
36cd4c58c1 man9: rename IM to MR
Commit d32deab17b renamed IM to MR but
these man pages were missed.
2021-01-29 19:33:10 -05:00
Russ Cox
0ed5e9f828 9a: remove a few mentions 2020-12-30 08:07:24 -05:00
Russ Cox
e68f07d46f libthread: make pthreadperthread the default 2020-12-30 00:20:26 -05:00
Russ Cox
b3a20a96eb libthread: add threadmaybackground
Programs that want to background themselves now need
to define threadmaybackground returning 1.
This avoids a confusing (to people and debuggers)
extra parent process for all the threaded programs
that will never want to background themselves.
2020-12-30 00:12:14 -05:00
Russ Cox
d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00
Russ Cox
977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00
Russ Cox
dd7c4e5104 fontsrv(4): update man page for size of fontsrv subfonts
Fixes #432.
2020-07-22 20:03:55 -04:00
Russ Cox
057d8a76a9 acme: add font control message 2020-07-18 21:54:06 -04:00
Russ Cox
01b5056135 ed(1): fix documentation for list mode
I changed from 6 to 8 digits but forgot to update the man page.
2020-05-29 21:43:10 -04:00
sean
95220bf887 ed: handle Unicode beyond the BMP correctly in list mode.
List mode was constrained to the BMP. This change introduces
the following new list mode convention, using Go string literal syntax:

Non-printing ASCII characters display as \xhh.
Non-ASCII characters in the BMP display as \uhhhh.
Characters beyond the BMP display as \Uhhhhhhhh.
2020-05-29 21:42:23 -04:00
Russ Cox
3850e6e177 devdraw: accept 5- and 6-byte Unicode hex values
Alt X 1234 for U+1234
Alt X X 12345 for U+12345
Alt X X X 103456 for U+103456.
2020-05-29 21:28:59 -04:00
Russ Cox
a6ad39aaaa libdraw: handle larger number of subfonts 2020-05-29 20:58:37 -04:00
Russ Cox
bfe4377e40 man: update man pages to say $HOME when accurate
Fixes #386.
2020-05-18 23:51:35 -04:00
Russ Cox
9444b8e4bc 9c, 9l: accept CC9FLAGS from config
Also, if CC9FLAGS includes -fsanitize=address (ASAN),
predefine PLAN9PORT_ASAN for use by programs that need
to know (mainly libthread).

The 9c script used to have a variable called ngflags, which
was ccflags except -g (ng stood for "no g"), but nothing needs
it split out anymore, so simplify to just ccflags.
2020-05-17 20:15:41 -04:00
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