2013-11-09 05:04:01 +00:00
|
|
|
|
.TH PONYSAY 6 "November 09, 2013"
|
2012-07-04 07:39:37 +00:00
|
|
|
|
.SH NAME
|
2012-08-20 12:31:38 +00:00
|
|
|
|
ponysay \- Cowsay reimplementation for ponies
|
2012-07-04 07:39:37 +00:00
|
|
|
|
.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
|
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.
|
2012-08-20 12:31:38 +00:00
|
|
|
|
If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at
|
2013-04-12 01:27:53 +00:00
|
|
|
|
about 60 columns, and prints the pony saying the given message on standard output.
|
2012-07-04 08:32:12 +00:00
|
|
|
|
.PP
|
2012-09-01 03:23:43 +00:00
|
|
|
|
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
|
2012-08-26 17:09:38 +00:00
|
|
|
|
.B \-h, \-\-help
|
2012-07-04 07:39:37 +00:00
|
|
|
|
Show summary of options.
|
|
|
|
|
.TP
|
2012-08-26 17:09:38 +00:00
|
|
|
|
.B \-v, \-\-version
|
2012-07-04 07:39:37 +00:00
|
|
|
|
Show version of program.
|
|
|
|
|
.TP
|
2012-08-26 17:09:38 +00:00
|
|
|
|
.B \-f, \-\-file, \-\-pony \fIname\fP
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Select a pony (either a file name or a pony name), you can use this option 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-10-28 02:33:14 +00:00
|
|
|
|
.B \+f, \+\+file, \+\+pony \fIname\fP
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Select a pony outside of My Little Pony: Friendship is Magic (either a file name or a pony
|
|
|
|
|
name), you can use this options multiple times, and one of the will be selected randomly.
|
2012-08-22 14:59:01 +00:00
|
|
|
|
.TP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP
|
|
|
|
|
This option combines \fI-f\fP and \fI+f\fP.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-f, \-\-files, \-\-ponies \fI[name...]\fP
|
|
|
|
|
Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed
|
|
|
|
|
as an argument to this option.
|
|
|
|
|
.TP
|
|
|
|
|
.B \+\+f, \+\+files, \+\+ponies \fI[name...]\fP
|
|
|
|
|
Variadic variant of \fI+f\fP, meaning that all arguments added after this one will parsed
|
|
|
|
|
as an argument to this option.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP
|
|
|
|
|
This option combines \fI--f\fP and \fI++f\fP.
|
|
|
|
|
.TP
|
2013-05-28 12:12:43 +00:00
|
|
|
|
.B \-q, \-\-quote [\fIname\fP...]
|
|
|
|
|
By using this option, a pony will be printed with quotes from her in My Little Pony:
|
|
|
|
|
Friendship is Magic. The pony will be selected randomly, unless at least one pony
|
|
|
|
|
is added as an argument to \fI-q\fP. If more than one pony is added as an argument
|
|
|
|
|
to \fI-q\fP, the pony will be selected randomly from that set of ponies.
|
|
|
|
|
.TP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.B \-\-q, \-\-quotes [\fIname\fP...]
|
|
|
|
|
Variadic variant of \fI-q\fP, meaning that all arguments added after this one will
|
2013-04-05 06:26:23 +00:00
|
|
|
|
parsed as an argument to this option. Additionally, those options are added to \fI-q\fP.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-05-28 12:12:43 +00:00
|
|
|
|
.B \-b, \-\-bubble, \-\-balloon \fIstyle\fP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Specify the balloon style that should used, this can either be a file name or a
|
|
|
|
|
balloon name printed by \fIponysay -B\fP.
|
|
|
|
|
.TP
|
2012-08-26 17:09:38 +00:00
|
|
|
|
.B \-W, \-\-wrap \fIcolumn\fP
|
2012-10-27 21:24:41 +00:00
|
|
|
|
The screen column where the message should be wrapped, the balloon's extra width is taken
|
2012-10-27 21:43:38 +00:00
|
|
|
|
into consideration. If the argument is not a number, but starts instead with \fIn\fP,
|
2012-10-27 20:50:17 +00:00
|
|
|
|
no wrapping is done, and if it starts with \fIi\fP the width of the terminal is used.
|
2012-10-02 00:18:42 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-c, \-\-compress, \-\-compact [\fIANSI-colour\fP]
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Compress the message in the same way \fIcowsay\fP does, that is basically without multiple
|
|
|
|
|
spaces, and only paragraphs separations.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-l, \-\-list
|
|
|
|
|
List pony files.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-L, \-\-symlist, \-\-altlist
|
|
|
|
|
List pony files with alternative names inside brackets.
|
|
|
|
|
.TP
|
|
|
|
|
.B \+l, \+\+list
|
|
|
|
|
List non-MLP:FiM pony files.
|
|
|
|
|
.TP
|
|
|
|
|
.B \+L, \+\+symlist, \+\+altlist
|
|
|
|
|
List non-MLP:FiM pony files with alternative names inside brackets.
|
|
|
|
|
.TP
|
2013-05-28 12:12:43 +00:00
|
|
|
|
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Prints a list of all balloon styles.
|
|
|
|
|
.TP
|
2012-10-11 20:29:26 +00:00
|
|
|
|
.B \-A, \-\-all
|
2013-05-30 14:52:54 +00:00
|
|
|
|
List all pony files, MLP:FiM and non-MLP:FiM, in this case the first list are MLP:FiM
|
|
|
|
|
and the second are non-MLP:FiM.
|
2012-10-02 00:18:42 +00:00
|
|
|
|
.TP
|
2012-10-11 20:29:26 +00:00
|
|
|
|
.B \+A, \+\+all, \-\-symall, \-\-altall
|
2013-04-05 05:13:22 +00:00
|
|
|
|
List all pony files, including alternatives names inside brackets, these from MLP:FiM
|
|
|
|
|
and non-MLP:FiM the first list are the MLP:FiM and the second one are non-MLP:FiM.
|
2012-10-11 21:40:11 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B \-o, \-\-pony\-only, \-\-ponyonly
|
|
|
|
|
Just print the pony, nothing else like the speech balloon.
|
2012-10-11 23:56:08 +00:00
|
|
|
|
.TP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.B \-i, \-\-info
|
2013-11-09 05:04:01 +00:00
|
|
|
|
By adding this flag you will get a meta-data for a pony printed, rather than the pony itself.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B \+i, \+\+info
|
|
|
|
|
This works just like the \fI-i\fP option, except the pony will use the output has her message
|
|
|
|
|
rather that just print that information.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-r, \-\-restriction
|
2013-11-09 05:04:01 +00:00
|
|
|
|
This option is used to restrict which ponies can be randomly select based one their meta-data.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
A value in the argument is a combination of the tag name and tag value on the form \fINAME=VALUE\fP.
|
|
|
|
|
.TP
|
|
|
|
|
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
|
|
|
|
|
Use \fIxterm\fP’s 256\-colour support (supported by most X11 terminals), despite your terminal’s
|
2013-05-28 12:12:43 +00:00
|
|
|
|
actual compatibilities.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Use Linux VT’s compatibilities \fPwithout\fP KMS utilisation, despite your terminal’s actual compatibilities.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B \-K, \-\-kms\-colours, \-\-kmscolours
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Use Linux VT’s compatibilities \fPwith\fP KMS utilisation, despite your terminal’s actual compatibilities.
|
|
|
|
|
(May not work with all KMS video cards)
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \+c, \-\-colour [\fIANSI-colour\fP]
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Colour the balloon, including link and message. For more colouring features, see the \fIinfo\fP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
manual. The argument, \fIANSI-colour\fP, should be a ANSI colour sequence without leading CSI
|
2012-10-11 23:56:08 +00:00
|
|
|
|
and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright
|
|
|
|
|
depending on the terminal.)
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-\-colour\-bubble, \-\-colour\-balloon [\fIANSI-colour\fP]
|
2013-08-03 02:02:36 +00:00
|
|
|
|
Just like \fI\--colour\fP, but it only colours the balloon, without the message or link.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-\-colour\-link [\fIANSI-colour\fP]
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Just like \fI--colour\fP, but it only colours the balloon link.
|
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-\-colour\-msg, \-\-colour\-message [\fIANSI-colour\fP]
|
2013-08-03 02:02:36 +00:00
|
|
|
|
Just like \fI--colour\fP, but it only colours the message.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-\-colour\-pony [\fIANSI-colour\fP]
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Just like \fI--colour\fP, but it colours the pony.
|
2013-04-05 06:26:23 +00:00
|
|
|
|
This colouring has no effect on regular pony files, as it has its own colouring.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
2013-11-09 05:04:01 +00:00
|
|
|
|
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIANSI-colour\fP]
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Just like \fI--colour\fP, but it colours hyphen added by the word wrapping.
|
2013-04-05 06:26:23 +00:00
|
|
|
|
if you want uncoloured use \fI0\fP, the default is \fi31\fP.
|
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-08-15 18:45:08 +00:00
|
|
|
|
printed, leaving two blank lines. If you want the bottom 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
|
2013-05-30 15:57:20 +00:00
|
|
|
|
of how many blank lines you want.
|
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-08-31 21:24:21 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B PONYSAY_UCS_ME
|
2012-09-01 03:23:43 +00:00
|
|
|
|
Export \fIPONYSAY_UCS_ME\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP,
|
2012-08-31 21:24:21 +00:00
|
|
|
|
if you want [simulated] symlink to pony files using Universal Character Set
|
|
|
|
|
in their names.
|
|
|
|
|
.TP
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
|
2012-09-01 03:23:43 +00:00
|
|
|
|
\fIPONYSAY_KMS_PALETTE\fP or \fIPONYSAY_KMS_PALETTE_CMD\fP is used to tell
|
2013-05-30 16:06:50 +00:00
|
|
|
|
\fIponysay\fP how your TTY palette looks, this feature lets you get the best images
|
2012-08-31 21:24:21 +00:00
|
|
|
|
in TTY if you have Kernel Mode Setting (KMS) support.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B PONYSAY_TYPO_LIMIT
|
2013-11-09 05:04:01 +00:00
|
|
|
|
\fIponysay\fP is able to auto-correct misspelled pony names and balloon style name.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
Without consideration for transpositioning, by default if the weighted distance is greater
|
2013-11-09 05:04:01 +00:00
|
|
|
|
than 5 for the closest words, auto-correction ignored.
|
2013-05-30 15:50:24 +00:00
|
|
|
|
This limit can be changed by exporting the limit to \fIPONYSAY_TYPO_LIMIT\fP; setting
|
2013-11-09 05:04:01 +00:00
|
|
|
|
the limit to zero will disable auto-correction.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B PONYSAY_WRAP_HYPHEN
|
|
|
|
|
You can export what ponysay should use instead of a hyphen when wrapping messages.
|
|
|
|
|
.TP
|
2013-04-13 08:27:57 +00:00
|
|
|
|
.B PONYSAY_WRAP_LIMIT
|
2013-05-28 12:12:43 +00:00
|
|
|
|
Defines how long a word must be to be hyphenated.
|
2013-05-30 16:13:55 +00:00
|
|
|
|
This is used to wrap words that are long so the output gets as pretty as possible.
|
2013-05-28 12:12:43 +00:00
|
|
|
|
This is not the only condition under which a word can be hyphenated, it can also be hyphenated
|
2013-04-05 06:26:23 +00:00
|
|
|
|
if the word cannot fit otherwise.
|
2013-04-05 05:13:22 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B PONYSAY_WRAP_EXCEED
|
|
|
|
|
Defines how much a word must exceed the wrapping point to be hyphenated.
|
2013-05-28 12:12:43 +00:00
|
|
|
|
This setting is used together with \fIPONYSAY_WRAP_LIMIT\fP.
|
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-08-25 22:38:07 +00:00
|
|
|
|
.BR cowsay (0),
|
2013-06-24 05:09:49 +00:00
|
|
|
|
.BR fortune (0),
|
|
|
|
|
.BR ponysay.
|
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-08-19 03:04:51 +00:00
|
|
|
|
with contributions from Mattias Andrée, Elis Axelsson, Sven-Hendrik Haase,
|
|
|
|
|
Pablo Lezaeta, Jan Alexander Steffens et al.
|
2012-07-12 14:46:17 +00:00
|
|
|
|
.\" 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>
|
2013-05-30 15:25:19 +00:00
|
|
|
|
for the Debian GNU/Linux project (and may be used by others), and been edited
|
|
|
|
|
by the ponysay authors for the official ponysay release.
|
2012-07-04 08:32:12 +00:00
|
|
|
|
.br
|
2012-07-04 07:39:37 +00:00
|
|
|
|
.PP
|
2013-04-01 14:52:28 +00:00
|
|
|
|
This program is licensed under GNU GPLv3+.
|
2012-07-12 14:46:17 +00:00
|
|
|
|
.\" See file COPYING to see the license.
|