summaryrefslogtreecommitdiffstats
path: root/usr.bin/less (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minor fixes;jmc2014-11-231-3/+4
|
* Improve manpage markup.bentley2014-11-232-228/+461
| | | | | | | | | | - Mark up flags with Fl - Mark up commands with Cm or Ic - Replace some double quotes with semantic alternatives - Fix the incorrectly documented -" option - Correct broken intra-page references ok jmc@
* in the compat with more section, document:jmc2014-05-281-6/+20
| | | | | | | | | | | - the sense of -c is inverted - -GX are on by default - fold the note on -d into the stuff on -GX i deliberately left out mentioning -l being on by default, since i think the note below (all LESS vars are ignored) covers it adequately; ok millert
* When invoked as more, make the -i option behave the same as less'smillert2014-05-283-4/+14
| | | | -I to match POSIX. OK and man bits from jmc@
* Use REG_STARTEND to permit searches to work past/across NUL bytes.guenther2014-05-231-0/+5
| | | | ok millert@ shadchin@
* sync some of the text of ENVIRONMENT with more(1), and cut somejmc2014-05-131-14/+25
| | | | | | verbiage; ok millert
* All callers of helpfile() are #ifdef SMALL so only define thatmillert2014-05-131-0/+2
| | | | function when SMALL is not defined. OK guenther@
* zap double full stop; ok schwarzejmc2014-05-111-1/+1
|
* remove unused variablechl2014-05-101-1/+0
| | | | ok shadchin@
* Give more(1) its own help file, shorter than the one for less(1).schwarze2014-05-106-7/+93
| | | | | The helpfile itself was prepared by jmc@, the glue by me. OK millert@ jmc@
* zap the commented out stuff from this file: it mainly pertains to otherjmc2014-05-091-38/+1
| | | | | | systems, and our page is sufficiently far away from upstream to justify it; ok millert
* move some remnants of more behaviour to the compat section, and use Xr forjmc2014-05-091-14/+14
| | | | refs to more instead of Nm;
* whack some useless verbiage from DESCRIPTION, and merge some of it intojmc2014-05-081-86/+28
| | | | | the env vars section; tidy up the env vars section and remove the commented out stuff which relataes mainly to less on other systems;
* - update DESCRIPTION and COMPATIBILITY WITH MOREjmc2014-05-081-34/+44
| | | | | | - Xr more 1 ok millert schwarze
* options first, then pager commands; also remove one non-standard Sh;jmc2014-05-011-371/+373
|
* STANDARDS is no longer relevant to this page, so remove it; while here,jmc2014-05-011-15/+4
| | | | zap some trailing whitespace introduced in recent update
* the beginning of removing more details from this page, since we now havejmc2014-05-011-45/+29
| | | | | | | a separate more(1): it's a big page so i'm doing it in bits. in this commit, remove more stuff from SYNOPSIS, remove some cleverness from SYNOPSIS, and use consistent argument names;
* Remove support for the obsolete (non-POSIX) "more -d" prompt.millert2014-04-293-36/+5
| | | | | | This was a local change that was only enabled when the LESS_IS_MORE environment variable was set and not when invoked as "more". OK shadchin@ jmc@
* Kill the link to /usr/bin/page. OK henning@ jmc@ miod@ schwarze@millert2014-04-261-3/+2
|
* Revert 1.11. That patch is not only not necessary, it is quite harmful now.shadchin2014-04-261-3/+0
| | | | ok schwarze@
* discussing terminfo is not needed; ok schwarzejmc2014-04-251-7/+1
|
* Make more(1) POSIX compliant with respect to the -e option.schwarze2014-04-253-21/+25
| | | | | | | | | | | | By default, "more" now works like "less -e", and "more -e" now works like "less -E", and more never exits just because the file fits on the first screen, like "less -F" would. While documenting this, add some text to the DESCRIPTION explaining how paging works. That allows a very concise description of -e. code change ok millert@ manual page joint work with and ok jmc@
* Merge Less 458 plus local patchesshadchin2014-04-2550-649/+988
| | | | ok guenther@, ok jmc@ for man bits
* Import of Less 458shadchin2014-04-2513-62/+157
| | | | ok guenther@
* be a bit clearer about what this page is; ok millert schwarzejmc2014-04-251-10/+13
|
* Install separate more.1 instead of using a link from less.1.millert2014-04-241-3/+3
| | | | Requested by jmc@
* combine some notes in STANDARDS for consistency;jmc2014-04-241-7/+5
|
* tiny fix: Remove duplicate rows, they appeared after importing less 444shadchin2014-04-191-7/+0
| | | | suggested Daniel Dickman
* Deny requests to display interactive help unless we can be really sureschwarze2014-04-141-0/+7
| | | | | | that they actually result from the user interactively asking for help. Help requests originating from various other sources caused infinite loops. OK millert@ "better than getting stuck in a help loop (sweet irony ;)" jmc@
* Explain how -p works with respect to multiple commands, and provide EXAMPLES;schwarze2014-04-141-2/+26
| | | | feedback and ok jmc@ millert@.
* Reference re_format(7), not ed(1) when talking about regexp matching.millert2014-04-121-4/+7
|
* more(1) is not an editor, so don't say -t will "edit" a file;schwarze2014-04-121-2/+2
| | | | wording suggested by millert@, also discussed with sobrado@
* - simplify macros in COMMANDSjmc2014-04-121-34/+15
| | | | | | | - some clean up - don;t document VISUAL, since we're sticking to posix stuff here ok millert
* Unlike less, more should use basic regular expressions.millert2014-04-121-1/+2
| | | | OK schwarze@
* remove some obsolescent text and tweak -p slightly; ok millertjmc2014-04-101-6/+3
|
* The -p option now matches POSIX. With jmc@millert2014-04-091-6/+7
|
* - move the "more is less" blurb to a more relevant placejmc2014-04-091-11/+11
| | | | | | - document in STANDARDS that we do not have an equivalent "skip" command ok millert
* In "more" mode, POSIX says the command specified by the -p optionmillert2014-04-091-7/+11
| | | | | should apply to every edited file, not just the first one. It is equivalent to less's ++ option. Patch sent to upstream. OK shadchin@
* add EXIT STATUS; ok millertjmc2014-04-091-1/+3
|
* update COMMANDS to only reflect those specified by posix; ok millertjmc2014-04-091-12/+9
|
* update ENVIRONMENT; ok millertjmc2014-04-091-11/+21
|
* various fixes for the options list, and use the same Nd as less (which wasjmc2014-04-081-52/+27
| | | | | | also historical more's); feedback/ok millert
* some initial cleanup;jmc2014-04-071-41/+32
|
* First cut at a separate more(1), based on the 4.4BSD more.1.millert2014-04-071-0/+338
| | | | | There are a number of commands listed that POSIX does not specify which we may want to remove or at least document as extensions.
* Back out rev 1.30, our less does actually support the old-style moremillert2014-04-071-2/+11
| | | | -d flag.
* Remove description of old more's -d option which we haven't supportedmillert2014-04-071-12/+3
| | | | for years. OK jmc@
* fix a leak in an error pathjsg2014-01-221-1/+3
| | | | ok krw@ deraadt@
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-162-8/+8
|
* Use .Lk for HTTP hyperlinks, not .Pa.schwarze2012-08-121-4/+5
| | | | | | | | Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
* Quit if write(2) returns -1 when writing to the tty, which canmillert2012-05-171-1/+6
| | | | happen if the tty is revoked. OK deraadt@