2012-07-04 09:39:37 +02:00
|
|
|
.\"
|
|
|
|
.\" First parameter, NAME, should be all caps
|
|
|
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
|
|
.\" other parameters are allowed: see man(7), man(1)
|
2012-07-04 10:32:12 +02:00
|
|
|
.TH PONYSAY SECTION "July 4, 2012"
|
2012-07-04 09:39:37 +02:00
|
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.\" Some roff macros, for reference:
|
|
|
|
.\" .nh disable hyphenation
|
|
|
|
.\" .hy enable hyphenation
|
|
|
|
.\" .ad l left justify
|
|
|
|
.\" .ad b justify to both left and right margins
|
|
|
|
.\" .nf disable filling
|
|
|
|
.\" .fi enable filling
|
|
|
|
.\" .br insert line break
|
|
|
|
.\" .sp <n> insert n+1 empty lines
|
|
|
|
.\" for manpage-specific macros, see man(7)
|
|
|
|
.SH NAME
|
|
|
|
ponysay \- A cowsay wrapper with ponies
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B ponysay
|
2012-07-04 10:32:12 +02:00
|
|
|
.RI [ options ]
|
|
|
|
.RI [ message ]
|
2012-07-04 09:39:37 +02:00
|
|
|
.br
|
2012-07-05 09:14:14 +02:00
|
|
|
.B ponythink
|
|
|
|
.RI [ options ]
|
|
|
|
.RI [ message ]
|
|
|
|
.br
|
2012-07-04 09:39:37 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
|
|
|
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
|
|
|
.\" respectively.
|
2012-07-04 10:32:12 +02:00
|
|
|
\fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal.
|
|
|
|
It is a wrapper for \fIcowsay\fP. If \fImessage\fP is not provided, it accepts standard input,
|
|
|
|
word-wraps the message given at about 40 columns, and prints the pony saying the given message on standard output.
|
|
|
|
.PP
|
|
|
|
If no arguments are provided, the program only accepts standard input piped from another program, a file or
|
|
|
|
either here documents or here strings (see man bash(1) for details on here document/string.)
|
2012-07-05 09:14:14 +02:00
|
|
|
.PP
|
|
|
|
\fBponythink\fP is to \fIponysay\fP as \fIcowthink\fP is to \fIcowsay\fP.
|
2012-07-04 09:39:37 +02:00
|
|
|
.SH OPTIONS
|
|
|
|
A summary of options is included below.
|
|
|
|
.TP
|
|
|
|
.B \-h
|
|
|
|
Show summary of options.
|
|
|
|
.TP
|
|
|
|
.B \-v
|
|
|
|
Show version of program.
|
|
|
|
.TP
|
|
|
|
.B \-l
|
2012-07-04 10:32:12 +02:00
|
|
|
List pony files.
|
2012-07-04 09:39:37 +02:00
|
|
|
.TP
|
2012-07-04 10:32:12 +02:00
|
|
|
.B \-f \fIname\fP
|
|
|
|
Select a pony (either a file name or a pony name.)
|
2012-07-04 09:39:37 +02:00
|
|
|
.TP
|
2012-07-04 10:32:12 +02:00
|
|
|
.B \-W \fIcolumn\fP
|
2012-07-04 09:39:37 +02:00
|
|
|
The screen column where the message should be wrapped
|
2012-07-04 10:32:12 +02:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.TP
|
|
|
|
.B PONYSAY_BOTTOM
|
|
|
|
Under TTY (Linux VT), if the output is larger the the screen's height, only the beginning is
|
2012-07-05 09:14:14 +02:00
|
|
|
printed, leaving two blank lines. If you want the buttom to be printed rather the the beginning
|
2012-07-04 10:32:12 +02:00
|
|
|
you can export \fBPONYSAY_BOTTOM\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP.
|
2012-07-05 09:14:14 +02:00
|
|
|
.B PONYSAY_SHELL_LINES
|
|
|
|
Under TTY (Linux VT), if the output is larger the the screen's height, two lines are left blank.
|
|
|
|
If you want moer, or less, blank lines you can export \fBPONYSAY_SHELL_LINES\fP with the value
|
|
|
|
of how many blank lines you want. Naturally this takes effect if the output is not actually larger
|
|
|
|
than the screen.
|
|
|
|
.B PONYSAY_FULL_WIDTH
|
|
|
|
You can export \fBPONYSAY_FULL_WIDTH\fP with the value \fIno\fP, \fIn\fP or \fI0\fP, if you
|
|
|
|
do not want the output to be truncated on the width to fit the terminal.
|
2012-07-05 09:17:43 +02:00
|
|
|
.B PONYSAY_TRUNCATE_HEIGHT
|
|
|
|
Export \fBPONYSAY_TRUNCATE_HEIGHT\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you
|
|
|
|
want to truncate the output on the height even if you are not running \fIponysay\fP under TTY.
|
2012-07-04 10:32:12 +02:00
|
|
|
.SH BUG
|
|
|
|
Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
|
2012-07-04 09:39:37 +02:00
|
|
|
.SH SEE ALSO
|
2012-07-04 11:27:06 +02:00
|
|
|
.BR cowsay (1),
|
2012-07-04 10:32:12 +02:00
|
|
|
.BR fortune (1).
|
2012-07-04 09:39:37 +02:00
|
|
|
.br
|
|
|
|
.SH AUTHOR
|
2012-07-04 10:32:12 +02:00
|
|
|
ponysay was written by Erkin Batu Altunbaş <erkinbatu@gmail.com>
|
|
|
|
with contributions from Mattias Andrée, Sven-Hendrik Haase, Jan Alexander Steffens &a.
|
|
|
|
.\" See file CREDITS for full list
|
|
|
|
.PP
|
|
|
|
This manual page was written by Louis Taylor <kragniz@gmail.com>
|
|
|
|
for the Debian project (and may be used by others), and edited
|
|
|
|
by Mattias Andrée <maandree@kth.se>.
|
|
|
|
.br
|
|
|
|
.SH COPYRIGHT
|
|
|
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
|
|
.br
|
|
|
|
Version 2, December 2004
|
|
|
|
.PP
|
|
|
|
Copyright (C) 2012 Erkin Batu Altunbaş
|
|
|
|
.PP
|
|
|
|
Everyone is permitted to copy and distribute verbatim or modified
|
|
|
|
copies of this license document, and changing it is allowed as long
|
|
|
|
as the name is changed.
|
|
|
|
.PP
|
|
|
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
|
|
.br
|
|
|
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
2012-07-04 09:39:37 +02:00
|
|
|
.PP
|
2012-07-05 09:14:14 +02:00
|
|
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|