2012-07-04 07:39:37 +00: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-12 14:46:17 +00:00
|
|
|
.TH PONYSAY 6 "July 12, 2012"
|
2012-07-04 07:39:37 +00: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 08:32:12 +00:00
|
|
|
.RI [ options ]
|
2012-07-26 01:34:04 +00:00
|
|
|
[--]
|
2012-07-04 08:32:12 +00:00
|
|
|
.RI [ message ]
|
2012-07-04 07:39:37 +00:00
|
|
|
.br
|
2012-07-05 07:14:14 +00:00
|
|
|
.B ponythink
|
|
|
|
.RI [ options ]
|
2012-07-26 01:34:04 +00:00
|
|
|
[--]
|
2012-07-05 07:14:14 +00:00
|
|
|
.RI [ message ]
|
|
|
|
.br
|
2012-07-04 07:39:37 +00: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 08:32:12 +00: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 07:14:14 +00:00
|
|
|
.PP
|
|
|
|
\fBponythink\fP is to \fIponysay\fP as \fIcowthink\fP is to \fIcowsay\fP.
|
2012-07-25 15:14:02 +00:00
|
|
|
.PP
|
|
|
|
For an extensive documentation run `info ponysay`.
|
2012-07-04 07:39:37 +00: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 08:32:12 +00:00
|
|
|
List pony files.
|
2012-07-04 07:39:37 +00:00
|
|
|
.TP
|
2012-07-18 21:55:00 +00:00
|
|
|
.B \-L
|
2012-07-27 04:49:20 +00:00
|
|
|
List pony files with alternative names inside brackets.
|
2012-07-18 21:55:00 +00:00
|
|
|
.TP
|
2012-07-04 08:32:12 +00:00
|
|
|
.B \-f \fIname\fP
|
2012-07-18 18:07:43 +00:00
|
|
|
Select a pony (either a file name or a pony name), you can use this options multiple times,
|
2012-07-18 14:47:57 +00:00
|
|
|
and one of the will be selected randomly.
|
2012-07-04 07:39:37 +00:00
|
|
|
.TP
|
2012-07-25 15:14:02 +00:00
|
|
|
.B \-q [\fIname\fP...]
|
2012-07-25 00:06:26 +00:00
|
|
|
By using this option, a pony will be printed with quotes from her in My Litte Pony:
|
|
|
|
Friendship is Magic. The pony will be selected randomly, unless at least one pony
|
|
|
|
is added as an argument after \fI-q\fP. If one or more ponies are added after \fI-q\fP
|
|
|
|
the pony will be selected randomly from that set of ponies.
|
2012-07-19 23:22:05 +00:00
|
|
|
.TP
|
2012-07-04 08:32:12 +00:00
|
|
|
.B \-W \fIcolumn\fP
|
2012-07-18 18:07:43 +00:00
|
|
|
The screen column where the message should be wrapped.
|
2012-07-04 08:32:12 +00: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 07:14:14 +00:00
|
|
|
printed, leaving two blank lines. If you want the buttom to be printed rather the the beginning
|
2012-07-05 09:00:09 +00:00
|
|
|
you can export \fIPONYSAY_BOTTOM\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP.
|
|
|
|
.TP
|
2012-07-05 07:14:14 +00:00
|
|
|
.B PONYSAY_SHELL_LINES
|
|
|
|
Under TTY (Linux VT), if the output is larger the the screen's height, two lines are left blank.
|
2012-07-05 09:00:09 +00:00
|
|
|
If you want more, or less, blank lines you can export \fIPONYSAY_SHELL_LINES\fP with the value
|
2012-07-05 07:14:14 +00:00
|
|
|
of how many blank lines you want. Naturally this takes effect if the output is not actually larger
|
|
|
|
than the screen.
|
2012-07-05 09:00:09 +00:00
|
|
|
.TP
|
2012-07-05 07:14:14 +00:00
|
|
|
.B PONYSAY_FULL_WIDTH
|
2012-07-20 03:22:46 +00:00
|
|
|
You can export \fIPONYSAY_FULL_WIDTH\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you
|
2012-07-05 07:14:14 +00:00
|
|
|
do not want the output to be truncated on the width to fit the terminal.
|
2012-07-05 09:00:09 +00:00
|
|
|
.TP
|
2012-07-05 07:17:43 +00:00
|
|
|
.B PONYSAY_TRUNCATE_HEIGHT
|
2012-07-05 09:00:09 +00:00
|
|
|
Export \fIPONYSAY_TRUNCATE_HEIGHT\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you
|
2012-07-05 07:17:43 +00:00
|
|
|
want to truncate the output on the height even if you are not running \fIponysay\fP under TTY.
|
2012-07-04 08:32:12 +00:00
|
|
|
.SH BUG
|
|
|
|
Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
|
2012-07-04 07:39:37 +00:00
|
|
|
.SH SEE ALSO
|
2012-07-04 09:27:06 +00:00
|
|
|
.BR cowsay (1),
|
2012-07-12 13:58:05 +00:00
|
|
|
.BR fortune (6).
|
2012-07-04 07:39:37 +00:00
|
|
|
.br
|
|
|
|
.SH AUTHOR
|
2012-07-04 08:32:12 +00:00
|
|
|
ponysay was written by Erkin Batu Altunbaş <erkinbatu@gmail.com>
|
2012-07-12 14:46:17 +00:00
|
|
|
with major contributions from Mattias Andrée, Sven-Hendrik Haase, Jan Alexander Steffens et al.
|
|
|
|
.\" See file CREDITS for full list.
|
2012-07-04 08:32:12 +00:00
|
|
|
.PP
|
2012-07-18 14:47:57 +00:00
|
|
|
This manual page was originally written by Louis Taylor <kragniz@gmail.com>
|
2012-07-25 01:42:58 +00:00
|
|
|
for the Debian GNU/Linux project (and may be used by others), and edited by
|
2012-07-18 14:47:57 +00:00
|
|
|
Mattias Andrée <maandree@kth.se> for the official ponysay release.
|
2012-07-04 08:32:12 +00:00
|
|
|
.br
|
2012-07-04 07:39:37 +00:00
|
|
|
.PP
|
2012-07-12 14:46:17 +00:00
|
|
|
This program is licensed under WTFPL.
|
|
|
|
.\" See file COPYING to see the license.
|