diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-06 17:04:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-06 17:04:10 +0000 |
commit | 4dc704e0b4bd25205b2599f94470621429f208db (patch) | |
tree | 860d242be7c5f984206686bac79a4885d1b6261d /usr.bin/mg/mg.1 | |
parent | f02178e518463a297d1c53a7b430f17c3e8b2bb5 (diff) |
support +number; rewritten from buggy code by mjc@bitz.ca, vincent ok
Diffstat (limited to 'usr.bin/mg/mg.1')
-rw-r--r-- | usr.bin/mg/mg.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1 index e7378224234..149dcda7362 100644 --- a/usr.bin/mg/mg.1 +++ b/usr.bin/mg/mg.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mg.1,v 1.15 2003/01/05 09:50:40 pvalchev Exp $ +.\" $OpenBSD: mg.1,v 1.16 2003/01/06 17:04:09 deraadt Exp $ .\" .Dd February 25, 2000 .Dt MG 1 @@ -8,7 +8,8 @@ .Nd emacs-like text editor .Sh SYNOPSIS .Nm mg -.Op Ar +.Op Ar options files +.Op Ar ... .Sh DESCRIPTION .Nm is intended to be a small, fast, and portable editor for @@ -20,6 +21,14 @@ It is compatible with emacs because there shouldn't be any reason to learn more editor types than emacs or .Xr vi 1 . .Pp +At present time only one option is supported: +.Pp +.Bl -tag -width xxxxx -compact +.It Ar +number +Go to the line specified by number (do not insert +a space between the "+" sign and the number). +.El +.Pp 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 |