1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
|
---
doc/Makefile.am | 14 ++++++++------
doc/editline.3.roff | 6 +++---
doc/editline.7.roff | 14 +++++++-------
doc/editrc.5.roff | 18 +++++++++---------
4 files changed, 27 insertions(+), 25 deletions(-)
Index: libedit/doc/Makefile.am
===================================================================
--- libedit.orig/doc/Makefile.am
+++ libedit/doc/Makefile.am
@@ -1,5 +1,5 @@
-EL_MANS = editline.3 editline.7 editrc.5
+EL_MANS = editline.3edit editline.7edit editrc.5edit
man_MANS = $(EL_MANS)
@@ -52,13 +52,15 @@ EL_MAN_LINKS += \
install-data-hook: $(EL_MAN_LINKS)
$(EL_MAN_LINKS):
- (cd $(DESTDIR)$(man3dir) && rm -f $@ && $(LN_S) editline.3 $@)
+ (cd $(DESTDIR)$(man3dir) && rm -f $@ && $(LN_S) editline.3edit $@)
-$(EL_MANS):
+SUFFIXES = edit .roff
+
+%edit: %.roff
@if test "$(MANTYPE)" = "mdoc"; then\
- cp $(srcdir)/$@.roff $@;\
- else\
- $(AWK) -f $(srcdir)/mdoc2man.awk $(srcdir)/$@.roff > $@ || rm -f $@;\
+ cp $(srcdir)/$< $@;\
+ else\
+ $(AWK) -f $(srcdir)/mdoc2man.awk $(srcdir)/$< > $@ || rm -f $@;\
fi;
uninstall-local:
Index: libedit/doc/editline.3.roff
===================================================================
--- libedit.orig/doc/editline.3.roff
+++ libedit/doc/editline.3.roff
@@ -27,7 +27,7 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 9, 2018
-.Dt EDITLINE 3
+.Dt EDITLINE 3edit
.Os
.Sh NAME
.Nm editline ,
@@ -950,9 +950,9 @@ is a NUL terminated string to tokenize.
.Xr sh 1 ,
.Xr signal 3 ,
.Xr termcap 3 ,
-.Xr editrc 5 ,
+.Xr editrc 5edit ,
.Xr termcap 5 ,
-.Xr editline 7
+.Xr editline 7edit
.Sh HISTORY
The
.Nm
Index: libedit/doc/editline.7.roff
===================================================================
--- libedit.orig/doc/editline.7.roff
+++ libedit/doc/editline.7.roff
@@ -16,14 +16,14 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd May 7, 2016
-.Dt EDITLINE 7
+.Dt EDITLINE 7edit
.Os
.Sh NAME
.Nm editline
.Nd line editing user interface
.Sh DESCRIPTION
When a program using the
-.Xr editline 3
+.Xr editline 3edit
library prompts for an input string using the function
.Xr el_wgets 3 ,
it reads characters from the terminal.
@@ -40,7 +40,7 @@ The program can switch the default to em
or
.Xr el_parse 3
functions, and the user can switch to emacs mode either in the
-.Xr editrc 5
+.Xr editrc 5edit
configuration file or interactively with the
.Ic ed-command
editor command, in all three cases executing the
@@ -53,7 +53,7 @@ return a string.
.Ss Input character bindings
All default bindings described below can be overridden by individual
programs and can be changed with the
-.Xr editrc 5
+.Xr editrc 5edit
.Ic bind
builtin command.
.Pp
@@ -329,7 +329,7 @@ Ignore any argument.
.It Ic ed-command Pq vi command: So \&: Sc ; emacs: Meta-X, Meta-x
Read a line from the terminal bypassing the normal line editing
functionality and execute that line as an
-.Xr editrc 5
+.Xr editrc 5edit
builtin command.
If in vi command mode, also switch back to vi insert mode.
Ignore any argument.
@@ -919,11 +919,11 @@ of appending to the input queue.
.Sh SEE ALSO
.Xr mg 1 ,
.Xr vi 1 ,
-.Xr editline 3 ,
+.Xr editline 3edit ,
.Xr el_wgets 3 ,
.Xr el_wpush 3 ,
.Xr el_wset 3 ,
-.Xr editrc 5
+.Xr editrc 5edit
.Sh HISTORY
This manual page first appeared in
.Ox 6.0
Index: libedit/doc/editrc.5.roff
===================================================================
--- libedit.orig/doc/editrc.5.roff
+++ libedit/doc/editrc.5.roff
@@ -27,7 +27,7 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd May 22, 2016
-.Dt EDITRC 5
+.Dt EDITRC 5edit
.Os
.Sh NAME
.Nm editrc
@@ -38,7 +38,7 @@
The
.Nm
file defines various settings to be used by the
-.Xr editline 3
+.Xr editline 3edit
library.
.Pp
The format of each line is:
@@ -47,7 +47,7 @@ The format of each line is:
.Pp
.Ar command
is one of the
-.Xr editline 3
+.Xr editline 3edit
builtin commands.
Refer to
.Sx BUILTIN COMMANDS
@@ -57,7 +57,7 @@ for more information.
is the program name string that a program defines when it calls
.Xr el_init 3
to set up
-.Xr editline 3 ,
+.Xr editline 3edit ,
which is usually
.Va argv[0] .
.Ar command
@@ -138,7 +138,7 @@ bindings.
.El
.Pp
The
-.Xr editline 7
+.Xr editline 7edit
manual documents all editor commands and contains more information
about macros and the input queue.
.Pp
@@ -297,7 +297,7 @@ List the values of all the terminal capa
.Bl -tag -width "~/.editrcXXX"
.It Ev EDITRC
Names the default configuration file for the
-.Xr editline 3
+.Xr editline 3edit
library.
.El
.Sh FILES
@@ -305,14 +305,14 @@ library.
.It Pa ~/.editrc
Last resort, if no other file is specified,
user configuration file for the
-.Xr editline 3
+.Xr editline 3edit
library.
.El
.Sh SEE ALSO
-.Xr editline 3 ,
+.Xr editline 3edit ,
.Xr regex 3 ,
.Xr termcap 5 ,
-.Xr editline 7
+.Xr editline 7edit
.Sh AUTHORS
.An -nosplit
The
|