Skip to content

Commit

Permalink
acme(1): update man page to note -a trimming trailing spaces on Put
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed Jan 6, 2020
1 parent d905752 commit f264bbc
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions man/man1/acme.1
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ hold button 3 down near the top of the scroll bar. Moving the mouse
down the scroll bar speeds up the rate of scrolling.
(The experimental option
.B -r
reverses the scrolling behavior of buttons 1 and 3, to behave
reverses the scrolling behavior of buttons 1 and 3, to behave
more like
.IR xterm (1).)
.SS Layout
Expand Down Expand Up @@ -193,10 +193,15 @@ When a window is in autoindent mode
(see the
.B Indent
command below) and a newline character is typed,
acme copies leading white space on the current line to the new line.
.I acme
copies leading white space on the current line to the new line,
and when a window is
.BR Put ,
.I acme
removes all trailing end-of-line white space before writing the file.
The option
.B -a
causes each window to start in
causes each window to start in
autoindent mode.
.SS "Directory context
Each window's tag names a directory: explicitly if the window
Expand Down Expand Up @@ -406,7 +411,7 @@ command.
.B Local
In the Plan 9
.IR acme ,
this prefix causes a command to be run in
this prefix causes a command to be run in
.IR acme 's own
file name space and environment variable group.
On Unix this is impossible.
Expand Down Expand Up @@ -540,7 +545,7 @@ The environment variable
.B $acmeshell
determines which shell is used to execute such commands; the
.IR rc (1)
shell is used by default.
shell is used by default.
.SS "Mouse button 3
Pointing at text with button 3 instructs
.I acme
Expand Down Expand Up @@ -658,7 +663,7 @@ button and then typing Option without letting go of the button will
cause a 1-2 chord, cutting the selection.
On Mac systems, the usual keyboard shortcuts
Command-C, -V, -X, and -Z invoke
copy, paste, cut, and undo,
copy, paste, cut, and undo,
and Command-Shift-Z invokes redo,
as in other programs.
Especially on Mac laptops, these keyboard shortcuts are
Expand Down

0 comments on commit f264bbc

Please sign in to comment.