pr.h revision 1590
1221339Sdim/*- 2221339Sdim * Copyright (c) 1991 Keith Muller. 3221339Sdim * Copyright (c) 1993 4221339Sdim * The Regents of the University of California. All rights reserved. 5221339Sdim * 6221339Sdim * This code is derived from software contributed to Berkeley by 7221339Sdim * Keith Muller of the University of California, San Diego. 8221339Sdim * 9221339Sdim * Redistribution and use in source and binary forms, with or without 10221339Sdim * modification, are permitted provided that the following conditions 11221339Sdim * are met: 12221339Sdim * 1. Redistributions of source code must retain the above copyright 13221339Sdim * notice, this list of conditions and the following disclaimer. 14221339Sdim * 2. Redistributions in binary form must reproduce the above copyright 15221339Sdim * notice, this list of conditions and the following disclaimer in the 16221339Sdim * documentation and/or other materials provided with the distribution. 17221339Sdim * 3. All advertising materials mentioning features or use of this software 18221339Sdim * must display the following acknowledgement: 19221339Sdim * This product includes software developed by the University of 20221339Sdim * California, Berkeley and its contributors. 21221339Sdim * 4. Neither the name of the University nor the names of its contributors 22221339Sdim * may be used to endorse or promote products derived from this software 23221339Sdim * without specific prior written permission. 24221339Sdim * 25221339Sdim * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 26226633Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27221339Sdim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28221339Sdim * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29221339Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30221339Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31221339Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32221339Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33221339Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34221339Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35221339Sdim * SUCH DAMAGE. 36221339Sdim * 37221339Sdim * @(#)pr.h 8.1 (Berkeley) 6/6/93 38221339Sdim */ 39221339Sdim 40221339Sdim/* 41221339Sdim * parameter defaults 42221339Sdim */ 43221339Sdim#define CLCNT 1 44221339Sdim#define INCHAR '\t' 45221339Sdim#define INGAP 8 46221339Sdim#define OCHAR '\t' 47226633Sdim#define OGAP 8 48221339Sdim#define LINES 66 49221339Sdim#define NMWD 5 50221339Sdim#define NMCHAR '\t' 51221339Sdim#define SCHAR '\t' 52#define PGWD 72 53#define SPGWD 512 54 55/* 56 * misc default values 57 */ 58#define HDFMT "%s %s Page %d\n\n\n" 59#define HEADLEN 5 60#define TAILLEN 5 61#define TIMEFMT "%b %e %H:%M %Y" 62#define FNAME "" 63#define LBUF 8192 64#define HDBUF 512 65 66/* 67 * structure for vertical columns. Used to balance cols on last page 68 */ 69struct vcol { 70 char *pt; /* ptr to col */ 71 int cnt; /* char count */ 72}; 73