Module Name: src Committed By: kre Date: Tue Jun 27 01:22:58 UTC 2017
Modified Files: src/lib/libedit: editline.3 editrc.5 Log Message: Include EDITRC in doc. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/lib/libedit/editline.3 cvs rdiff -u -r1.32 -r1.33 src/lib/libedit/editrc.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libedit/editline.3 diff -u src/lib/libedit/editline.3:1.93 src/lib/libedit/editline.3:1.94 --- src/lib/libedit/editline.3:1.93 Mon Apr 10 15:02:40 2017 +++ src/lib/libedit/editline.3 Tue Jun 27 01:22:58 2017 @@ -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 @@ If is .Dv NULL , try +.Pa $EDITRC +and if that is not set .Pa $HOME/.editrc . Refer to .Xr editrc 5 Index: src/lib/libedit/editrc.5 diff -u src/lib/libedit/editrc.5:1.32 src/lib/libedit/editrc.5:1.33 --- src/lib/libedit/editrc.5:1.32 Sun May 22 23:54:20 2016 +++ src/lib/libedit/editrc.5 Tue Jun 27 01:22:58 2017 @@ -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 @@ then the character is set to 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