Fossil SCM

Disable the piping of output through $env(PAGER).

drh 2011-07-09 21:06 autosetup
Commit cd2cb3b347ee05b945161cc449d5810f87dde249
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:
42
53
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.
614
715
On a windows box, use one of the Makefiles in the win/ subdirectory,
816
according to your compiler and environment. If you have GCC and MSYS
917
installed on your system, the consider:
1018
1119
--- 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
--- autosetup/autosetup
+++ autosetup/autosetup
@@ -1641,11 +1641,11 @@
16411641
}
16421642
16431643
# If not already paged and stdout is a tty, pipe the output through the pager
16441644
# This is done by reinvoking autosetup with --nopager added
16451645
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]]} {
16471647
catch {
16481648
exec [info nameofexecutable] $::argv0 --nopager {*}$::argv | [getenv PAGER] >@stdout <@stdin 2>/dev/null
16491649
}
16501650
exit 0
16511651
}
16521652
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button