summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2003-03-27 08:33:01 +0000
committereivind <eivind@FreeBSD.org>2003-03-27 08:33:01 +0000
commita90fb3254ba5b0c461c6f52baca7fab7f1565268 (patch)
tree2a2818d24e52a9ac2d98b816c59a9f75c810e7e9 /usr.sbin/lpr
parent0081603f453ae29921adbb13a7f66a97401a3f80 (diff)
downloadFreeBSD-src-a90fb3254ba5b0c461c6f52baca7fab7f1565268.zip
FreeBSD-src-a90fb3254ba5b0c461c6f52baca7fab7f1565268.tar.gz
Change DEFMX to 0. This removes the size limit for print jobs by default.
Discussed with: gad (now), arch (a year ago)
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/common_source/lp.local.h5
-rw-r--r--usr.sbin/lpr/lpr/printcap.52
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/lp.local.h b/usr.sbin/lpr/common_source/lp.local.h
index bc60549..c6c8d48 100644
--- a/usr.sbin/lpr/common_source/lp.local.h
+++ b/usr.sbin/lpr/common_source/lp.local.h
@@ -30,7 +30,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)lp.local.h 8.1 (Berkeley) 6/6/93
+ * From: @(#)lp.local.h 8.1 (Berkeley) 6/6/93
+ * $FreeBSD$
*/
/*
@@ -43,7 +44,7 @@
#define DEFLP "lp"
#define DEFLOCK "lock"
#define DEFSTAT "status"
-#define DEFMX 1000
+#define DEFMX 0
#define DEFMAXCOPIES 0
#define DEFFF "\f"
#define DEFWIDTH 132
diff --git a/usr.sbin/lpr/lpr/printcap.5 b/usr.sbin/lpr/lpr/printcap.5
index 7131a41..05162de 100644
--- a/usr.sbin/lpr/lpr/printcap.5
+++ b/usr.sbin/lpr/lpr/printcap.5
@@ -99,7 +99,7 @@ zero = unlimited
.It "ms str" Ta Dv NULL Ta No "if lp is a tty, a comma-separated,"
.Xr stty 1 Ns -like
list describing the tty modes
-.It "mx num 1000 maximum file size (in"
+.It "mx num 0 maximum file size (in"
.Dv BUFSIZ
blocks), zero = unlimited
.It "nd str" Ta Dv NULL Ta No "next directory for list of queues (unimplemented)"
OpenPOWER on IntegriCloud