11590Srgrimes/*- 21590Srgrimes * Copyright (c) 1991 Keith Muller. 31590Srgrimes * Copyright (c) 1993 41590Srgrimes * The Regents of the University of California. All rights reserved. 51590Srgrimes * 61590Srgrimes * This code is derived from software contributed to Berkeley by 71590Srgrimes * Keith Muller of the University of California, San Diego. 81590Srgrimes * 91590Srgrimes * Redistribution and use in source and binary forms, with or without 101590Srgrimes * modification, are permitted provided that the following conditions 111590Srgrimes * are met: 121590Srgrimes * 1. Redistributions of source code must retain the above copyright 131590Srgrimes * notice, this list of conditions and the following disclaimer. 141590Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 151590Srgrimes * notice, this list of conditions and the following disclaimer in the 161590Srgrimes * documentation and/or other materials provided with the distribution. 171590Srgrimes * 3. All advertising materials mentioning features or use of this software 181590Srgrimes * must display the following acknowledgement: 191590Srgrimes * This product includes software developed by the University of 201590Srgrimes * California, Berkeley and its contributors. 211590Srgrimes * 4. Neither the name of the University nor the names of its contributors 221590Srgrimes * may be used to endorse or promote products derived from this software 231590Srgrimes * without specific prior written permission. 241590Srgrimes * 251590Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 261590Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 271590Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 281590Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 291590Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 301590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 311590Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 321590Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 331590Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 341590Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 351590Srgrimes * SUCH DAMAGE. 361590Srgrimes * 371590Srgrimes * @(#)pr.h 8.1 (Berkeley) 6/6/93 3853948Sache * $FreeBSD: releng/11.0/usr.bin/pr/pr.h 74575 2001-03-21 14:32:02Z ache $ 391590Srgrimes */ 401590Srgrimes 411590Srgrimes/* 421590Srgrimes * parameter defaults 431590Srgrimes */ 441590Srgrimes#define CLCNT 1 451590Srgrimes#define INCHAR '\t' 461590Srgrimes#define INGAP 8 471590Srgrimes#define OCHAR '\t' 481590Srgrimes#define OGAP 8 491590Srgrimes#define LINES 66 501590Srgrimes#define NMWD 5 511590Srgrimes#define NMCHAR '\t' 521590Srgrimes#define SCHAR '\t' 531590Srgrimes#define PGWD 72 541590Srgrimes#define SPGWD 512 551590Srgrimes 561590Srgrimes/* 571590Srgrimes * misc default values 581590Srgrimes */ 591590Srgrimes#define HDFMT "%s %s Page %d\n\n\n" 601590Srgrimes#define HEADLEN 5 611590Srgrimes#define TAILLEN 5 6274575Sache#define TIMEFMTD "%e %b %H:%M %Y" 6374575Sache#define TIMEFMTM "%b %e %H:%M %Y" 641590Srgrimes#define FNAME "" 651590Srgrimes#define LBUF 8192 661590Srgrimes#define HDBUF 512 671590Srgrimes 681590Srgrimes/* 691590Srgrimes * structure for vertical columns. Used to balance cols on last page 701590Srgrimes */ 711590Srgrimesstruct vcol { 721590Srgrimes char *pt; /* ptr to col */ 731590Srgrimes int cnt; /* char count */ 741590Srgrimes}; 75