xref: /netbsd-src/usr.bin/banner/banner.1 (revision 219fc162e3fc8b3b1aa2aacc1018da8878fde626)
1*219fc162Ssevan.\"	$NetBSD: banner.1,v 1.10 2020/04/07 17:57:33 sevan Exp $
2b83d704eScgd.\"
3b83d704eScgd.\"	@(#)Copyright (c) 1995, Simon J. Gerraty.
4b83d704eScgd.\"
5b83d704eScgd.\"	This is free software.	It comes with NO WARRANTY.
6b83d704eScgd.\"	Permission to use, modify and distribute this source code
7b83d704eScgd.\"	is granted subject to the following conditions.
8b83d704eScgd.\"	1/ that the above copyright notice and this notice
9b83d704eScgd.\"	are preserved in all copies and that due credit be given
10b83d704eScgd.\"	to the author.
11b83d704eScgd.\"	2/ that any changes to this code are clearly commented
12b83d704eScgd.\"	as such so that the author does not get blamed for bugs
13b83d704eScgd.\"	other than his own.
14b83d704eScgd.\"
15b83d704eScgd.\"	Please send copies of changes and bug-fixes to:
16b83d704eScgd.\"	sjg@zen.void.oz.au
17b83d704eScgd.\"
18*219fc162Ssevan.Dd April 7, 2020
19b83d704eScgd.Dt BANNER 1
20b83d704eScgd.Os
21b83d704eScgd.Sh NAME
22b83d704eScgd.Nm banner
23b83d704eScgd.Nd print strings in large letters
24b83d704eScgd.Sh SYNOPSIS
2580baf83fSlukem.Nm
26023a2d6dSsjg.Op Fl l
276e31cc7bSwiz.Op Fl b Ar bg
286e31cc7bSwiz.Op Fl f Ar fg
29b83d704eScgd.Ar string ...
30b83d704eScgd.Sh DESCRIPTION
3180baf83fSlukem.Nm
32b83d704eScgdprints up to 10 chars of each
33b83d704eScgd.Ar string
34b83d704eScgdin large letters on the standard output.
35023a2d6dSsjg.Pp
36023a2d6dSsjgThe options are:
37023a2d6dSsjg.Bl -tag -width Ds
38023a2d6dSsjg.It Fl b Ar bg
39023a2d6dSsjgUse
40023a2d6dSsjg.Ar bg
41b8836fd1Sgrantas the background color (character) rather than the default
42b8836fd1Sgrant.Dq \  .
43023a2d6dSsjg.It Fl f Ar fg
44023a2d6dSsjgUse
45023a2d6dSsjg.Ar fg
46b8836fd1Sgrantas the foreground color (character) rather than the default
47b8836fd1Sgrant.Dq # .
48023a2d6dSsjgIf
49023a2d6dSsjg.Ar fg
50b8836fd1Sgrantis
51b8836fd1Sgrant.Dq - ,
52b8836fd1Sgrantthen the actual letter being printed is used as the
53b8836fd1Sgrantforeground color in the same way that LPD does it.
54b8836fd1SgrantThe results are quite variable.
55023a2d6dSsjg.It Fl l
56023a2d6dSsjgUse the more attractive LPD font instead of the traditional
57023a2d6dSsjg.Nm
58023a2d6dSsjgfont.
59023a2d6dSsjg.El
606e31cc7bSwiz.Sh EXIT STATUS
616e31cc7bSwiz.Ex -std
62b83d704eScgd.Sh SEE ALSO
63b83d704eScgd.Xr banner 6
64*219fc162Ssevan.Sh HISTORY
65*219fc162SsevanThe
66*219fc162Ssevan.Nm
67*219fc162Ssevanutility first appeared in
68*219fc162Ssevan.Nx 1.2 .
69