Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit Include EDITRC in doc.
details: https://anonhg.NetBSD.org/src/rev/b29db69d2151
branches: trunk
changeset: 354724:b29db69d2151
user: kre <kre%NetBSD.org@localhost>
date: Tue Jun 27 01:22:58 2017 +0000
description:
Include EDITRC in doc.
diffstat:
lib/libedit/editline.3 | 4 +++-
lib/libedit/editrc.5 | 12 ++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r 06c115619056 -r b29db69d2151 lib/libedit/editline.3
--- a/lib/libedit/editline.3 Tue Jun 27 01:13:44 2017 +0000
+++ b/lib/libedit/editline.3 Tue Jun 27 01:22:58 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: editline.3,v 1.93 2017/04/10 15:02:40 abhinav Exp $
+.\" $NetBSD: editline.3,v 1.94 2017/06/27 01:22:58 kre Exp $
.\"
.\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -667,6 +667,8 @@
is
.Dv NULL ,
try
+.Pa $EDITRC
+and if that is not set
.Pa $HOME/.editrc .
Refer to
.Xr editrc 5
diff -r 06c115619056 -r b29db69d2151 lib/libedit/editrc.5
--- a/lib/libedit/editrc.5 Tue Jun 27 01:13:44 2017 +0000
+++ b/lib/libedit/editrc.5 Tue Jun 27 01:22:58 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: editrc.5,v 1.32 2016/05/22 23:54:20 christos Exp $
+.\" $NetBSD: editrc.5,v 1.33 2017/06/27 01:22:58 kre Exp $
.\"
.\" Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -293,10 +293,18 @@
List the values of all the terminal capabilities (see
.Xr termcap 5 ) .
.El
+.Sh ENVIRONMENT
+.Bl -tag -width "~/.editrcXXX"
+.It Ev EDITRC
+Names the default configuration file for the
+.Xr editline 3
+library.
+.El
.Sh FILES
.Bl -tag -width "~/.editrcXXX"
.It Pa ~/.editrc
-User configuration file for the
+Last resort, if no other file is specified,
+user configuration file for the
.Xr editline 3
library.
.El
Home |
Main Index |
Thread Index |
Old Index