aboutsummaryrefslogtreecommitdiff
path: root/manuals/manpage.6
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-17 01:07:47 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-17 01:07:47 +0200
commit3c888482e41a7c744c8c35e31f49fd63246caa44 (patch)
tree733e3bb93c9435fda5cd25442df2f25be01a9e4a /manuals/manpage.6
parent68d1b029712a62a11faa515e9b0303477d1d3ca7 (diff)
parent8c986f062a12064234cd27d143d4e967ff4aba06 (diff)
downloadponysay-3c888482e41a7c744c8c35e31f49fd63246caa44.tar.gz
ponysay-3c888482e41a7c744c8c35e31f49fd63246caa44.tar.bz2
ponysay-3c888482e41a7c744c8c35e31f49fd63246caa44.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'manuals/manpage.6')
-rw-r--r--manuals/manpage.696
1 files changed, 96 insertions, 0 deletions
diff --git a/manuals/manpage.6 b/manuals/manpage.6
new file mode 100644
index 0000000..e25a560
--- /dev/null
+++ b/manuals/manpage.6
@@ -0,0 +1,96 @@
+.\"
+.\" 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)
+.TH PONYSAY 6 "July 12, 2012"
+.\" 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
+.RI [ options ]
+.RI [ message ]
+.br
+.B ponythink
+.RI [ options ]
+.RI [ message ]
+.br
+.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.
+\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.)
+.PP
+\fBponythink\fP is to \fIponysay\fP as \fIcowthink\fP is to \fIcowsay\fP.
+.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
+List pony files.
+.TP
+.B \-f \fIname\fP
+Select a pony (either a file name or a pony name.)
+.TP
+.B \-W \fIcolumn\fP
+The screen column where the message should be wrapped
+.SH ENVIRONMENT
+.TP
+.B PONYSAY_BOTTOM
+Under TTY (Linux VT), if the output is larger the the screen's height, only the beginning is
+printed, leaving two blank lines. If you want the buttom to be printed rather the the beginning
+you can export \fIPONYSAY_BOTTOM\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP.
+.TP
+.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 more, or less, blank lines you can export \fIPONYSAY_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.
+.TP
+.B PONYSAY_FULL_WIDTH
+You can export \fIPONYSAY_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.
+.TP
+.B PONYSAY_TRUNCATE_HEIGHT
+Export \fIPONYSAY_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.
+.SH BUG
+Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
+.SH SEE ALSO
+.BR cowsay (1),
+.BR fortune (6).
+.br
+.SH AUTHOR
+ponysay was written by Erkin Batu Altunbaş <erkinbatu@gmail.com>
+with major contributions from Mattias Andrée, Sven-Hendrik Haase, Jan Alexander Steffens et al.
+.\" 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
+.PP
+This program is licensed under WTFPL.
+.\" See file COPYING to see the license.