summaryrefslogtreecommitdiff
path: root/usr.bin/banner/banner.h
blob: c3b192f0d5285d7eb84908e2ebac7b1a82b0b5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*	$OpenBSD: banner.h,v 1.2 1996/06/26 05:31:34 deraadt Exp $	*/
/*	$NetBSD: banner.h,v 1.2 1995/04/09 06:00:23 cgd Exp $	*/

/*
 *	Various defines needed for code lifted from lpd.
 *	
 *	@(#)Copyright (c) 1995, Simon J. Gerraty.
 *      
 *      This is free software.  It comes with NO WARRANTY.
 *      Permission to use, modify and distribute this source code 
 *      is granted subject to the following conditions.
 *      1/ that the above copyright notice and this notice 
 *      are preserved in all copies and that due credit be given 
 *      to the author.  
 *      2/ that any changes to this code are clearly commented 
 *      as such so that the author does not get blamed for bugs 
 *      other than his own.
 *      
 *      Please send copies of changes and bug-fixes to:
 *      sjg@zen.void.oz.au
 */

#define LINELEN		132
#define BACKGND		' '

#ifdef LPD_CHSET
#define HEIGHT	9		/* height of characters */
#define DROP	3		/* offset to drop characters with descenders */
#else
#define HEIGHT	8		/* height of characters */
#define DROP	0		/* offset to drop characters with descenders */
#endif
#define WIDTH	8		/* width of characters */