NetBSD/usr.bin/banner/banner.h
sjg 023a2d6df4 Allow the LPD font to be selected at runtime rather than compile time.
Also added -f fg and -b bg switches to control the fore/back ground
"colors".  One can now do inverse :-)
2000-05-30 12:03:31 +00:00

29 lines
960 B
C

/* $NetBSD: banner.h,v 1.3 2000/05/30 12:03:31 sjg 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 ' '
#define HEIGHT 9 /* height of characters */
#define WIDTH 8 /* width of characters */
extern char scnkey_lpd[][HEIGHT];
extern char scnkey_def[][HEIGHT];