summaryrefslogtreecommitdiff
path: root/patches/smbclient-pager.patch
blob: a0cbb09dace807269450041c787f6614ed830e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Goal: Use the pager alternative as pager is PAGER is undefined

Fixes: #125603

Status wrt upstream: Debian specific

Author: Steve Langasek <vorlon@debian.org>

Note: 

Index: samba-3.0.28a/source/include/local.h
===================================================================
--- samba-3.0.28a.orig/source/include/local.h
+++ samba-3.0.28a/source/include/local.h
@@ -109,7 +109,7 @@
 /* the default pager to use for the client "more" command. Users can
    override this with the PAGER environment variable */
 #ifndef PAGER
-#define PAGER "more"
+#define PAGER "/usr/bin/pager"
 #endif
 
 /* the size of the uid cache used to reduce valid user checks */