openbsd-ports/editors/elvis/patches/patch-doc_elvis_man
sthen dcf8bf5606 Various patches to editors/elvis, mostly from Debian, via Donovan Watteau:
- add --docdir so that :help works
- add --verbose
- fix a bug in the ")" command that could cause a segfault
- fix a bug when lauching elvis in a directory containing a "tags" dir
- make file/syntax detection work for scripts using "env"
- add "return" to the list of shell script keywords
- fix a few things in the man pages (\-, typo, whitespace) since
we were already patching them.
2012-05-05 14:03:15 +00:00

84 lines
3.4 KiB
Plaintext

$OpenBSD: patch-doc_elvis_man,v 1.1 2012/05/05 14:03:15 sthen Exp $
--- doc/elvis.man.orig Tue Oct 21 04:32:26 2003
+++ doc/elvis.man Sat May 5 13:48:08 2012
@@ -1,4 +1,4 @@
-.TH elvis 1
+.TH ELVIS 1
.SH NAME
elvis \- a clone of the ex/vi text editor
.SH SYNOPSIS
@@ -46,7 +46,7 @@ you can give the command ":q" in each of its windows.
If you've modified the buffer in a window, and you want to abandon those
changes, then give the command ":q!" instead.
.SH "HELP PAGES"
-For more information please take a look at
+For more information please take a look at
.BR Elvis '
help pages.
These pages should have been installed together with
@@ -83,7 +83,7 @@ by running...
.B Elvis
to output more status messages.
You can use multiple \fB-V\fP flags to get even more detailed
-information.
+information.
\fB-VVV\fP can be handy when
.B Elvis
isn't initializing itself quite the way you
@@ -150,7 +150,7 @@ The \fB-S\fR flag is just used to make
permanently paranoid, for the duration of this process.
.IP \fB-SS\fR
Sets security=restricted.
-This is more extreme security than "-S".
+This is more extreme security than "\-S".
The intent is to protect the system against reading by malicious users.
.IP "\fB-f \fIsession\fR"
Makes
@@ -163,13 +163,13 @@ Redirects messages and trace information out to
.I logfile
instead of going to stdout/stderr as usual.
This is useful under Windows95, where stdout/stderr don't show anywhere.
-If you're having trouble configuring WinElvis, try running "WinElvis -VVV -o log"
+If you're having trouble configuring WinElvis, try running "WinElvis \-VVV \-o log"
and then you can find the trace and error messages in the file "log".
.IP "\fB-G \fIgui\fR"
Makes
.B Elvis
use the named \fIgui\fR user interface instead of the default.
-To see a list of supported user interfaces, give the command "elvis -?".
+To see a list of supported user interfaces, give the command "elvis \-?".
.IP "\fB-c \fIcommand\fR"
After loading the first file, interpret \fIcommand\fR as an ex command line.
Several ex command lines can be sent in one line, separated by "|".
@@ -334,9 +334,9 @@ First, the server
temporarily sets security=safer while the
command is executed, for security reasons.
Second, the command is executed by the server's existing window, not the
-new one, so (for example) "elvis -client -c 20 foo" creates a new window for the file
-"foo", and then moves the OLD WINDOW's cursor to line 20 of whatever file
-it was showing.
+new one, so (for example) "elvis \-client \-c 20 foo" creates a new window for
+the file "foo", and then moves the OLD WINDOW's cursor to line 20 of whatever
+file it was showing.
.SS "X11 Mouse"
.PP
I've tried to reach a balance between the mouse behavior of
@@ -454,7 +454,7 @@ when looking for a header file such as <stdio.h>.
.IP "LC_ALL, LC_MESSAGES, and LANG"
If LANG is defined, then
.B Elvis
-will look for for its message translations in
+will look for its message translations in
.IR $LANG/elvis.msg ,
and only use just plain
.I elvis.msg
@@ -500,7 +500,7 @@ containing a file named
.IP TERM
For the termcap interface, this is the name of the terminal's termcap/terminfo
entry.
-Also, if its value is "kvt" or ends with "-r" or "-rv", then the background
+Also, if its value is "kvt" or ends with "\-r" or "\-rv", then the background
option will be "light" by default; else it will be "dark".
.IP TERMCAP
For the termcap interface, this can either store the name of a termcap file