2020-04-07 20:57:33 +03:00
|
|
|
.\" $NetBSD: banner.1,v 1.10 2020/04/07 17:57:33 sevan Exp $
|
1995-04-09 09:53:04 +04:00
|
|
|
.\"
|
|
|
|
.\" @(#)Copyright (c) 1995, Simon J. Gerraty.
|
2001-12-01 19:43:07 +03:00
|
|
|
.\"
|
1995-04-09 09:53:04 +04: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
|
1995-04-09 09:53:04 +04:00
|
|
|
.\" 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
|
1995-04-09 09:53:04 +04:00
|
|
|
.\" other than his own.
|
2001-12-01 19:43:07 +03:00
|
|
|
.\"
|
1995-04-09 09:53:04 +04: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
|
1995-04-09 09:53:04 +04:00
|
|
|
.Dt BANNER 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2001-03-08 01:32:36 +03:00
|
|
|
.Nm banner
|
1995-04-09 09:53:04 +04:00
|
|
|
.Nd print strings in large letters
|
|
|
|
.Sh SYNOPSIS
|
1997-10-18 16:12:38 +04:00
|
|
|
.Nm
|
2000-05-30 16:03:31 +04:00
|
|
|
.Op Fl l
|
2012-02-27 01:04:10 +04:00
|
|
|
.Op Fl b Ar bg
|
|
|
|
.Op Fl f Ar fg
|
1995-04-09 09:53:04 +04:00
|
|
|
.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
|
1995-04-09 09:53:04 +04:00
|
|
|
.Ar string
|
|
|
|
in large letters on the standard output.
|
2000-05-30 16:03:31 +04:00
|
|
|
.Pp
|
|
|
|
The options are:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl b Ar bg
|
2001-12-01 19:43:07 +03:00
|
|
|
Use
|
2000-05-30 16:03:31 +04:00
|
|
|
.Ar bg
|
2002-09-30 13:33:39 +04:00
|
|
|
as the background color (character) rather than the default
|
|
|
|
.Dq \ .
|
2000-05-30 16:03:31 +04:00
|
|
|
.It Fl f Ar fg
|
2001-12-01 19:43:07 +03:00
|
|
|
Use
|
2000-05-30 16:03:31 +04:00
|
|
|
.Ar fg
|
2002-09-30 13:33:39 +04:00
|
|
|
as the foreground color (character) rather than the default
|
|
|
|
.Dq # .
|
2000-05-30 16:03:31 +04:00
|
|
|
If
|
|
|
|
.Ar fg
|
2002-09-30 13:33:39 +04:00
|
|
|
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.
|
2000-05-30 16:03:31 +04:00
|
|
|
.It Fl l
|
|
|
|
Use the more attractive LPD font instead of the traditional
|
|
|
|
.Nm
|
|
|
|
font.
|
|
|
|
.El
|
2012-02-29 12:54:55 +04:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
1995-04-09 09:53:04 +04:00
|
|
|
.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 .
|