NetBSD/usr.bin/banner/banner.1

69 lines
1.4 KiB
Groff
Raw Normal View History

2020-04-07 20:57:33 +03:00
.\" $NetBSD: banner.1,v 1.10 2020/04/07 17:57:33 sevan Exp $
.\"
.\" @(#)Copyright (c) 1995, Simon J. Gerraty.
2001-12-01 19:43:07 +03:00
.\"
.\" This is free software. It comes with NO WARRANTY.
2001-03-08 01:34:35 +03:00
.\" Permission to use, modify and distribute this source code
.\" is granted subject to the following conditions.
2001-03-08 01:34:35 +03:00
.\" 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.
2001-12-01 19:43:07 +03:00
.\"
.\" Please send copies of changes and bug-fixes to:
.\" sjg@zen.void.oz.au
.\"
2020-04-07 20:57:33 +03:00
.Dd April 7, 2020
.Dt BANNER 1
.Os
.Sh NAME
.Nm banner
.Nd print strings in large letters
.Sh SYNOPSIS
1997-10-18 16:12:38 +04:00
.Nm
.Op Fl l
.Op Fl b Ar bg
.Op Fl f Ar fg
.Ar string ...
.Sh DESCRIPTION
1997-10-18 16:12:38 +04:00
.Nm
2001-03-08 01:34:35 +03:00
prints up to 10 chars of each
.Ar string
in large letters on the standard output.
.Pp
The options are:
.Bl -tag -width Ds
.It Fl b Ar bg
2001-12-01 19:43:07 +03:00
Use
.Ar bg
as the background color (character) rather than the default
.Dq \ .
.It Fl f Ar fg
2001-12-01 19:43:07 +03:00
Use
.Ar fg
as the foreground color (character) rather than the default
.Dq # .
If
.Ar fg
is
.Dq - ,
then the actual letter being printed is used as the
foreground color in the same way that LPD does it.
The results are quite variable.
.It Fl l
Use the more attractive LPD font instead of the traditional
.Nm
font.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr banner 6
2020-04-07 20:57:33 +03:00
.Sh HISTORY
The
.Nm
utility first appeared in
.Nx 1.2 .