summaryrefslogtreecommitdiff
path: root/usr.bin/mg/mg.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-03-10 19:07:24 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-03-10 19:07:24 +0000
commitcf1b4e08510bc8999948bda7359768d09c39a204 (patch)
tree27f31377f332ec56d36f52e72deb1b796c69137a /usr.bin/mg/mg.1
parent7ebe05221f9fbfd208c91354709cacfdd8982f1a (diff)
Various cleanups and standardization.
Diffstat (limited to 'usr.bin/mg/mg.1')
-rw-r--r--usr.bin/mg/mg.130
1 files changed, 18 insertions, 12 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index 6a5f32b7707..57bdd55d769 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -13,12 +13,13 @@ is intended to be a small, fast, and portable editor for
people who can't (or don't want to) run the real emacs for one
reason or another, or are not familiar with the
.Xr vi 1
-editor. It is compatible with emacs because there shouldn't
+editor.
+It is compatible with emacs because there shouldn't
be any reason to learn more editor types than emacs or
.Xr vi 1 .
.Pp
-Normal editing commands are very similar to Gnu Emacs. In the
-following examples, ^X means control-X, and M-X means Meta-X,
+Normal editing commands are very similar to Gnu Emacs.
+In the following examples, ^X means control-X, and M-X means Meta-X,
where the Meta key may be either a special key on your keyboard
or the ALT key; otherwise ESC followed by the key X works as well.
.Pp
@@ -78,11 +79,14 @@ For more key bindings, type
.Nm
differs primarily in not having special modes for tasks other than
straight editing, e.g., mail and news, and in not having special modes that
-support various programming languages. It does have text justification
-and auto-fill mode. Since it is written completely in C, there is no
-language in which you can write extensions. However, you can rebind
-keys and change some parameters. There are no limits to line length
-or format. Command, buffer, and file name completion and listing can
+support various programming languages.
+It does have text justification
+and auto-fill mode.
+Since it is written completely in C, there is no
+language in which you can write extensions.
+However, you can rebind keys and change some parameters.
+There are no limits to line length or format.
+Command, buffer, and file name completion and listing can
be done using the spacebar and
.Ql ? ,
respectively.
@@ -102,12 +106,13 @@ is set to
.Nm
will use
.Pa .mg-vt100
-as a startup file. The terminal type startup file is used
-first.
+as a startup file.
+The terminal type startup file is used first.
See the manual for a full list of the commands that can
go in the files.
.Pp
-Here's another example sequence that you may find useful. By default,
+Here's another example sequence that you may find useful.
+By default,
.Dq ()
and
.Dq []
@@ -134,7 +139,8 @@ terminal-specific startup file
When you type
.Ql ?
to list possible file names, buffer names, etc.,
-a help buffer is created for the possibilities. In Gnu Emacs,
+a help buffer is created for the possibilities.
+In Gnu Emacs,
this buffer goes away the next time you type a real command.
In
.Nm mg ,