banner

display text in large font 

Command


SYNOPSIS

banner [-c char] [-f fontfile] [-s char] [-w n] [text...]


DESCRIPTION

banner writes the text arguments to the standard output in large letters using a default font. When no text arguments are present, banner reads text from the standard input.

Options

-c char 

uses the single character char to form output characters instead of the default X.

-f fontfile 

uses the output font from fontfile instead of the default font.

-s 

prints text sideways and vertically. With sideways text, multiple lines (taken from standard input) are displayed one right after another, with the equivalent of a space printed between them.

-w n 

limits the output width to at most n characters.


FILES

ROOTDIR/etc/small.fnt 

optional small font file.

ROOTDIR/etc/italic.fnt 

optional italic font file.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

1 

Failure because of any of the following:

— unknown command line option
— inability to open font file
— invalid font file format
— missing fill character
— missing font file
— missing width


PORTABILITY

x/OPEN Portability Guide 4.0. All UNIX systems. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.

The -c, -f, -s and -w options are extensions to traditional implementations of banner.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


PTC MKS Toolkit 10.5 Documentation Build 40.