[BACK]Return to banner.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / banner

File: [local] / src / usr.bin / banner / banner.h (download)

Revision 1.4, Sat May 27 07:55:44 2017 UTC (6 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.3: +1 -6 lines

trim some unused compile options for alternative character forms.

/*	$OpenBSD: banner.h,v 1.4 2017/05/27 07:55:44 tedu 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		' '
#define INVALID		'_'

#define HEIGHT	8		/* height of characters */
#define DROP	0		/* offset to drop characters with descenders */
#define WIDTH	8		/* width of characters */