Annotation of src/usr.bin/banner/banner.h, Revision 1.3
1.3 ! tedu 1: /* $OpenBSD: banner.h,v 1.2 1996/06/26 05:31:34 deraadt Exp $ */
1.1 deraadt 2: /* $NetBSD: banner.h,v 1.2 1995/04/09 06:00:23 cgd Exp $ */
3:
4: /*
5: * Various defines needed for code lifted from lpd.
6: *
7: * @(#)Copyright (c) 1995, Simon J. Gerraty.
8: *
9: * This is free software. It comes with NO WARRANTY.
10: * Permission to use, modify and distribute this source code
11: * is granted subject to the following conditions.
12: * 1/ that the above copyright notice and this notice
13: * are preserved in all copies and that due credit be given
14: * to the author.
15: * 2/ that any changes to this code are clearly commented
16: * as such so that the author does not get blamed for bugs
17: * other than his own.
18: *
19: * Please send copies of changes and bug-fixes to:
20: * sjg@zen.void.oz.au
21: */
22:
23: #define LINELEN 132
24: #define BACKGND ' '
1.3 ! tedu 25: #define INVALID '_'
1.1 deraadt 26:
27: #ifdef LPD_CHSET
28: #define HEIGHT 9 /* height of characters */
29: #define DROP 3 /* offset to drop characters with descenders */
30: #else
31: #define HEIGHT 8 /* height of characters */
32: #define DROP 0 /* offset to drop characters with descenders */
33: #endif
34: #define WIDTH 8 /* width of characters */
35: