diff options
author | 2014-04-07 17:33:57 +0000 | |
---|---|---|
committer | 2014-04-07 17:33:57 +0000 | |
commit | 5148d4b997fb0b9012de00ed9a19517379418804 (patch) | |
tree | 77765e57c7b6472353c434d03eddb83aadb49302 | |
parent | Remove description of old more's -d option which we haven't supported (diff) | |
download | wireguard-openbsd-5148d4b997fb0b9012de00ed9a19517379418804.tar.xz wireguard-openbsd-5148d4b997fb0b9012de00ed9a19517379418804.zip |
Back out rev 1.30, our less does actually support the old-style more
-d flag.
-rw-r--r-- | usr.bin/less/less.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/less/less.1 b/usr.bin/less/less.1 index 932c986f877..321b6a474fb 100644 --- a/usr.bin/less/less.1 +++ b/usr.bin/less/less.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: less.1,v 1.30 2014/04/07 16:59:43 millert Exp $ +.\" $OpenBSD: less.1,v 1.31 2014/04/07 17:33:57 millert Exp $ .\" .\" Copyright (C) 1984-2011 Mark Nudelman .\" @@ -578,7 +578,7 @@ Causes full screen repaints to be painted from the bottom of the screen. By default, full screen repaints are done from the top line down to avoid the position of the display being moved when using interactive commands. -.It Fl d | -dumb +.It Fl d | -dumb No (less only) The -d option suppresses the error message normally displayed if the terminal is dumb; that is, lacks some important capability, @@ -586,6 +586,15 @@ such as the ability to clear the screen or scroll backward. The -d option does not otherwise change the behavior of .Nm on a dumb terminal. +This option is on by default when invoked as +.Nm more . +.It Fl d No (more only) +The -d option causes the default prompt to include the +basic directions ``[Press space to continue, 'q' to quit.]''. +The -d option also causes the message ``[Press 'h' for instructions.]'' to be +displayed when an invalid command is entered (normally, the bell is rung). +This option is useful in environments where users may not be experienced +with pagers. .\" .It Fl Dxcolor or --color=xcolor" .\" [MS-DOS only] .\" Sets the color of the text displayed. |