Deleted Added
full compact
README (367516) README (369759)
1**************************************************************************
2**************************************************************************
3** **
4** The FreeBSD Project has chosen to redistribute and modify Less under **
5** the 'Less License' (as described in the 'LICENSE' file). **
6** **
7**************************************************************************
8**************************************************************************
9
1**************************************************************************
2**************************************************************************
3** **
4** The FreeBSD Project has chosen to redistribute and modify Less under **
5** the 'Less License' (as described in the 'LICENSE' file). **
6** **
7**************************************************************************
8**************************************************************************
9
10 Less, version 563
10 Less, version 581.2
11
11
12 This is the distribution of less, version 563, released 13 Jun 2020.
12 This is the distribution of less, version 581.2, released 28 Apr 2021.
13 This program is part of the GNU project (http://www.gnu.org).
14
15 This program is free software. You may redistribute it and/or
16 modify it under the terms of either:
17
18 1. The GNU General Public License, as published by the Free
19 Software Foundation; either version 3, or (at your option) any
20 later version. A copy of this license is in the file COPYING.
21 or
22 2. The Less License, in the file LICENSE.
23
13 This program is part of the GNU project (http://www.gnu.org).
14
15 This program is free software. You may redistribute it and/or
16 modify it under the terms of either:
17
18 1. The GNU General Public License, as published by the Free
19 Software Foundation; either version 3, or (at your option) any
20 later version. A copy of this license is in the file COPYING.
21 or
22 2. The Less License, in the file LICENSE.
23
24 Please report any problems to bug-less@gnu.org.
25 See http://www.greenwoodsoftware.com/less for the latest info.
24 Please report any problems at https://github.com/gwsw/less/issues.
25 See https://greenwoodsoftware.com/less for the latest info.
26 Source repository is at https://github.com/gwsw/less.git.
27
28=========================================================================
29
26 Source repository is at https://github.com/gwsw/less.git.
27
28=========================================================================
29
30This is the distribution of "less", a paginator similar to "more" or "pg".
31
32The formatted manual page is in less.man.
33The manual page nroff source is in less.nro.
34Major changes made since the last posted version are in NEWS.
35
36=======================================================================
30The formatted manual page is in less.man.
31The manual page nroff source is in less.nro.
32Major changes made since the last posted version are in NEWS.
33
34=======================================================================
37PRE-INSTALLATION (when using git)
35INSTALLATION (Unix & Linux systems only):
38
36
39If you are building from a clone of a git repository,
40type "make -f Makefile.aut".
41If you are building from a numbered release package (a tar or zip file
42with a name like less-999.tar.gz or less-999.zip), you should skip this step.
43
44=======================================================================
45INSTALLATION (Unix systems only):
46
471. Move the distributed source to its own directory and unpack it,
48 if you have not already done so.
49
371. Move the distributed source to its own directory and unpack it,
38 if you have not already done so.
39
502. Type "sh configure".
402. If you are building from a clone of a git repository,
41 type "make -f Makefile.aut".
42 If you are building from a numbered release package (a tar or
43 zip file with a name like less-999.tar.gz or less-999.zip downloaded
44 from greenwoodsoftware.com, not from github), you should skip this step.
45
463. Type "sh configure".
51 This will generate a Makefile and a defines.h.
52 Warning: if you have a GNU sed, make sure it is version 2.05 or later.
53
54 The file INSTALL describes the usage of the configure program in
55 general. In addition, these options to configure are supported:
56
57 --with-editor=program
58 Specifies the default editor program used by the "v" command.

--- 15 unchanged lines hidden (view full) ---

74 none No regular expressions, only simple string matching.
75
76 --with-secure
77 Builds a "secure" version of less, with some features disabled
78 to prevent users from viewing other files, accessing shell
79 commands, etc.
80
81
47 This will generate a Makefile and a defines.h.
48 Warning: if you have a GNU sed, make sure it is version 2.05 or later.
49
50 The file INSTALL describes the usage of the configure program in
51 general. In addition, these options to configure are supported:
52
53 --with-editor=program
54 Specifies the default editor program used by the "v" command.

--- 15 unchanged lines hidden (view full) ---

70 none No regular expressions, only simple string matching.
71
72 --with-secure
73 Builds a "secure" version of less, with some features disabled
74 to prevent users from viewing other files, accessing shell
75 commands, etc.
76
77
823. It is a good idea to look over the generated Makefile and defines.h
784. It is a good idea to look over the generated Makefile and defines.h
83 and make sure they look ok. If you know of any peculiarities of
84 your system that configure might not have detected, you may fix the
85 Makefile now. Take particular notice of the list of "terminal"
86 libraries in the LIBS definition in the Makefile; these may need
87 to be edited. The terminal libraries will be some subset of
88 -lncurses -lcurses -ltermcap -ltermlib
89
90 If you wish, you may edit defines.h to remove some optional features.
91 If you choose not to include some features in your version, you may
92 wish to edit the manual page "less.nro" and the help page "less.hlp"
93 to remove the descriptions of the features which you are removing.
94 If you edit less.hlp, you should run "make -f Makefile.aut help.c".
95
79 and make sure they look ok. If you know of any peculiarities of
80 your system that configure might not have detected, you may fix the
81 Makefile now. Take particular notice of the list of "terminal"
82 libraries in the LIBS definition in the Makefile; these may need
83 to be edited. The terminal libraries will be some subset of
84 -lncurses -lcurses -ltermcap -ltermlib
85
86 If you wish, you may edit defines.h to remove some optional features.
87 If you choose not to include some features in your version, you may
88 wish to edit the manual page "less.nro" and the help page "less.hlp"
89 to remove the descriptions of the features which you are removing.
90 If you edit less.hlp, you should run "make -f Makefile.aut help.c".
91
964. Type "make" and watch the fun.
925. Type "make" and watch the fun.
97
93
985. If the make succeeds, it will generate the programs "less",
946. If the make succeeds, it will generate the programs "less",
99 "lesskey" and "lessecho" in your current directory. Test the
100 generated programs.
101
95 "lesskey" and "lessecho" in your current directory. Test the
96 generated programs.
97
1026. When satisfied that it works, if you wish to install it
987. When satisfied that it works, if you wish to install it
103 in a public place, type "make install".
104
105 The default install destinations are:
106 Executables (less, lesskey, lessecho) in /usr/local/bin
107 Documentation (less.nro, lesskey.nro) in /usr/local/man/man1
108 If you want to install any of these files elsewhere, define
109 bindir and/or mandir to the appropriate directories.
110
99 in a public place, type "make install".
100
101 The default install destinations are:
102 Executables (less, lesskey, lessecho) in /usr/local/bin
103 Documentation (less.nro, lesskey.nro) in /usr/local/man/man1
104 If you want to install any of these files elsewhere, define
105 bindir and/or mandir to the appropriate directories.
106
111If you have any problems building or running "less", suggestions,
112complaints, etc., you may mail to bug-less@gnu.org.
113
114Note to hackers: comments noting possible improvements are enclosed
115in double curly brackets {{ like this }}.
116
117(Note that the above note was originally written at a time when
118"hackers" most commonly meant "enthusiastic and dedicated computer
119programmers", not "persons who attempt to circumvent computer security".)
120

--- 137 unchanged lines hidden ---
107
108Note to hackers: comments noting possible improvements are enclosed
109in double curly brackets {{ like this }}.
110
111(Note that the above note was originally written at a time when
112"hackers" most commonly meant "enthusiastic and dedicated computer
113programmers", not "persons who attempt to circumvent computer security".)
114

--- 137 unchanged lines hidden ---