Fossil SCM
Disable the piping of output through $env(PAGER).
Commit
cd2cb3b347ee05b945161cc449d5810f87dde249
Parent
ded86a4e53ed767…
2 files changed
+11
-3
+1
-1
+11
-3
| --- BUILD.txt | ||
| +++ BUILD.txt | ||
| @@ -1,10 +1,18 @@ | ||
| 1 | -All of the source code for fossil is contained in the src/ subdirectory. | |
| 2 | -But there is a lot of generated code, so you will probably want to | |
| 3 | -use the Makefile. To do a complete build on unix, just type: | |
| 1 | +To do a complete build on most unix systems, just type: | |
| 4 | 2 | |
| 5 | 3 | make |
| 4 | + | |
| 5 | +If you have an unusual unix system for which the standard Makefile | |
| 6 | +will not work, or if you want to do some non-standard options, you can | |
| 7 | +also run: | |
| 8 | + | |
| 9 | + ./configure; make | |
| 10 | + | |
| 11 | +The ./configure script builds GNUmakefile which will be used in place | |
| 12 | +of Makefile. Run "./configure --help" for a listing of the available | |
| 13 | +options. | |
| 6 | 14 | |
| 7 | 15 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 8 | 16 | according to your compiler and environment. If you have GCC and MSYS |
| 9 | 17 | installed on your system, the consider: |
| 10 | 18 | |
| 11 | 19 |
| --- BUILD.txt | |
| +++ BUILD.txt | |
| @@ -1,10 +1,18 @@ | |
| 1 | All of the source code for fossil is contained in the src/ subdirectory. |
| 2 | But there is a lot of generated code, so you will probably want to |
| 3 | use the Makefile. To do a complete build on unix, just type: |
| 4 | |
| 5 | make |
| 6 | |
| 7 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 8 | according to your compiler and environment. If you have GCC and MSYS |
| 9 | installed on your system, the consider: |
| 10 | |
| 11 |
| --- BUILD.txt | |
| +++ BUILD.txt | |
| @@ -1,10 +1,18 @@ | |
| 1 | To do a complete build on most unix systems, just type: |
| 2 | |
| 3 | make |
| 4 | |
| 5 | If you have an unusual unix system for which the standard Makefile |
| 6 | will not work, or if you want to do some non-standard options, you can |
| 7 | also run: |
| 8 | |
| 9 | ./configure; make |
| 10 | |
| 11 | The ./configure script builds GNUmakefile which will be used in place |
| 12 | of Makefile. Run "./configure --help" for a listing of the available |
| 13 | options. |
| 14 | |
| 15 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 16 | according to your compiler and environment. If you have GCC and MSYS |
| 17 | installed on your system, the consider: |
| 18 | |
| 19 |
+1
-1
| --- autosetup/autosetup | ||
| +++ autosetup/autosetup | ||
| @@ -1641,11 +1641,11 @@ | ||
| 1641 | 1641 | } |
| 1642 | 1642 | |
| 1643 | 1643 | # If not already paged and stdout is a tty, pipe the output through the pager |
| 1644 | 1644 | # This is done by reinvoking autosetup with --nopager added |
| 1645 | 1645 | proc use_pager {} { |
| 1646 | - if {![opt-bool nopager] && [getenv PAGER ""] ne "" && ![string match "not a tty" [exec tty]]} { | |
| 1646 | + if {0 && ![opt-bool nopager] && [getenv PAGER ""] ne "" && ![string match "not a tty" [exec tty]]} { | |
| 1647 | 1647 | catch { |
| 1648 | 1648 | exec [info nameofexecutable] $::argv0 --nopager {*}$::argv | [getenv PAGER] >@stdout <@stdin 2>/dev/null |
| 1649 | 1649 | } |
| 1650 | 1650 | exit 0 |
| 1651 | 1651 | } |
| 1652 | 1652 |
| --- autosetup/autosetup | |
| +++ autosetup/autosetup | |
| @@ -1641,11 +1641,11 @@ | |
| 1641 | } |
| 1642 | |
| 1643 | # If not already paged and stdout is a tty, pipe the output through the pager |
| 1644 | # This is done by reinvoking autosetup with --nopager added |
| 1645 | proc use_pager {} { |
| 1646 | if {![opt-bool nopager] && [getenv PAGER ""] ne "" && ![string match "not a tty" [exec tty]]} { |
| 1647 | catch { |
| 1648 | exec [info nameofexecutable] $::argv0 --nopager {*}$::argv | [getenv PAGER] >@stdout <@stdin 2>/dev/null |
| 1649 | } |
| 1650 | exit 0 |
| 1651 | } |
| 1652 |
| --- autosetup/autosetup | |
| +++ autosetup/autosetup | |
| @@ -1641,11 +1641,11 @@ | |
| 1641 | } |
| 1642 | |
| 1643 | # If not already paged and stdout is a tty, pipe the output through the pager |
| 1644 | # This is done by reinvoking autosetup with --nopager added |
| 1645 | proc use_pager {} { |
| 1646 | if {0 && ![opt-bool nopager] && [getenv PAGER ""] ne "" && ![string match "not a tty" [exec tty]]} { |
| 1647 | catch { |
| 1648 | exec [info nameofexecutable] $::argv0 --nopager {*}$::argv | [getenv PAGER] >@stdout <@stdin 2>/dev/null |
| 1649 | } |
| 1650 | exit 0 |
| 1651 | } |
| 1652 |