diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-11-15 23:02:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-11-15 23:02:45 +0000 |
commit | 807ff6be05a018ad5c4922a914f22a3b42dd97bf (patch) | |
tree | 70b07700ab479a2080d37c0720805eabfeb9891e /usr.bin/less | |
parent | ef0d30da539828ea466d52c4a9affd8b4f11699a (diff) |
Disable LESSHISTFILE by default, requested by deraadt.
Diffstat (limited to 'usr.bin/less')
-rw-r--r-- | usr.bin/less/defines.h | 2 | ||||
-rw-r--r-- | usr.bin/less/less.1 | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/less/defines.h b/usr.bin/less/defines.h index 77f11ab3ac9..61edcf94e61 100644 --- a/usr.bin/less/defines.h +++ b/usr.bin/less/defines.h @@ -119,7 +119,7 @@ #define LESSKEYFILE ".less" #define LESSKEYFILE_SYS SYSDIR "/sysless" #define DEF_LESSKEYINFILE ".lesskey" -#define LESSHISTFILE ".lesshst" +#define LESSHISTFILE "-" /* Settings always true on Unix. */ diff --git a/usr.bin/less/less.1 b/usr.bin/less/less.1 index 86c694fb8ba..3dd330ef98f 100644 --- a/usr.bin/less/less.1 +++ b/usr.bin/less/less.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: less.1,v 1.24 2011/09/16 19:57:30 jmc Exp $ +.\" $OpenBSD: less.1,v 1.25 2011/11/15 23:02:44 nicm Exp $ .\" .\" Copyright (C) 1984-2011 Mark Nudelman .\" @@ -23,7 +23,7 @@ .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 16 2011 $ +.Dd $Mdocdate: November 15 2011 $ .Dt LESS 1 .Os .Sh NAME @@ -1768,7 +1768,7 @@ Name of the history file used to remember search commands and shell commands between invocations of .Nm less . If set to "-" or "/dev/null", a history file is not used. -The default is "$HOME/.lesshst". +The default is "-". .\" The default is "$HOME/.lesshst" on Unix systems, "$HOME/_lesshst" on .\" DOS and Windows systems, or "$HOME/lesshst.ini" or "$INIT/lesshst.ini" .\" on OS/2 systems. |