mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
A plaintext README
This commit is contained in:
parent
a42d5be300
commit
818feb2aa3
2 changed files with 106 additions and 24 deletions
118
README
118
README
|
@ -18,7 +18,8 @@
|
|||
|
||||
|
||||
|
||||
REQUIRED dependencies:
|
||||
Required runtime dependencies
|
||||
=============================
|
||||
|
||||
bash : required for the main script [file: ponysay]
|
||||
|
||||
|
@ -29,27 +30,14 @@ coreutils: the main script [file: ponysay] uses stty, cut, ls, cat, head and tai
|
|||
sed : used to remove .pony from pony named when running ponysay -l
|
||||
|
||||
|
||||
|
||||
OPTIONAL dependencies:
|
||||
Optional runtime dependencies
|
||||
=============================
|
||||
|
||||
(none)
|
||||
|
||||
|
||||
|
||||
PONY PROVIDER dependencies:
|
||||
|
||||
make: required to run `make ttyponies`
|
||||
|
||||
coreutils: ln and readlink are used in ttyponies.sh
|
||||
|
||||
bash: required to run ttyponies.sh
|
||||
|
||||
util-say: used by ttyponies.sh to builder ttyponies from xterm ponies
|
||||
# Available for Arch:ers in AUR as util-say-git are on github at https://github.com/maandree/util-say
|
||||
|
||||
|
||||
|
||||
MAKE dependencies:
|
||||
Package building dependencies
|
||||
=============================
|
||||
|
||||
gcc : used for compiling ponysaytruncater.c
|
||||
|
||||
|
@ -58,3 +46,97 @@ gzip: used for compressing manpages
|
|||
make : required to run the make script
|
||||
|
||||
coreutils : make script uses install unlink rm ln mkdir cp
|
||||
|
||||
|
||||
Dependencies for pony providers
|
||||
===============================
|
||||
|
||||
make : required to run `make ttyponies`
|
||||
|
||||
coreutils : ln and readlink are used in ttyponies.sh
|
||||
|
||||
bash : required to run ttyponies.sh
|
||||
|
||||
util-say : used by ttyponies.sh to builder ttyponies from xterm ponies
|
||||
-- Available for Arch:ers in AUR as util-say-git (https://aur.archlinux.org/packages.php?ID=60241)
|
||||
-- and on github at https://github.com/maandree/util-say
|
||||
|
||||
|
||||
Installation on GNU/Linux (or other Unix implementations)
|
||||
=========================================================
|
||||
|
||||
Before installing ponysay, make sure your system have the packages listed under
|
||||
[Required runtime dependencies] and [Package building dependencies] installed.
|
||||
|
||||
Download or clone the project. bleeding edge: https://github.com/erkin/ponysay/tarball/master
|
||||
release: https://github.com/erkin/ponysay/tags
|
||||
|
||||
In the terminal, `cd` into the ponysay directory and execute `make && make install`.
|
||||
This will install ponysay into the $PREFIX (/usr by default, meaning you may need to
|
||||
run `make install` as root, e.g by running `sudo make install`.)
|
||||
|
||||
In order to use ponysay, run: ponysay "I am just the cutest pony!"
|
||||
Or if you have a specific pony in your mind: ponysay -f pinkie "Partay!~"
|
||||
|
||||
Run `info ponysay`, `man 6 ponysay` (man ponysay) or `ponysay -h` for more information.
|
||||
A Spanish manual is available: man -L es 6 ponysay
|
||||
|
||||
|
||||
Pony fortune on terminal startup
|
||||
================================
|
||||
|
||||
This requires that you have fortune utility installed. You can install it from your
|
||||
distributions package repository, it should be named fortune or fortune-mod.
|
||||
|
||||
Edit your ~/.bashrc and this line [to the end should work]:
|
||||
|
||||
fortune | ponysay
|
||||
|
||||
Now every time you open a terminal a pony should give your fortune.
|
||||
|
||||
If you wany ponified fortuned the are some stuff you can try:
|
||||
|
||||
A gigantic sed script:
|
||||
http://www.reddit.com/r/mylittlelinux/comments/srixi/using_ponysay_with_a_ponified_fortune_warning/
|
||||
|
||||
ponypipe:
|
||||
https://github.com/maandree/ponypipe
|
||||
https://aur.archlinux.org/packages.php?ID=60228
|
||||
|
||||
pinkie-pie:
|
||||
https://github.com/maandree/pinkie-pie
|
||||
https://aur.archlinux.org/packages.php?ID=60229
|
||||
|
||||
|
||||
Ponies in TTY (Linux VT)
|
||||
========================
|
||||
|
||||
If you have a custom colour palette edit your ~/.bashrc and add:
|
||||
|
||||
if [ "$TERM" = "linux" ]; then
|
||||
function ponysay
|
||||
{
|
||||
exec ponysay "$@"
|
||||
#RESET PALETTE HERE
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
FAQ
|
||||
===
|
||||
|
||||
Q: The output looks like a mess in (TTY/PuTTY/other)!
|
||||
|
||||
A: Unfortunately, there's nothing much we can do about it.
|
||||
See issue 1: https://github.com/erkin/ponysay/issues/1
|
||||
|
||||
Q: You are missing (my-favourite-pony)!
|
||||
|
||||
A: Ask and we'll add!
|
||||
https://github.com/erkin/ponysay/issues
|
||||
|
||||
Q: Which programs do you use to generate the pony files?
|
||||
|
||||
A: The pony files are actually mostly a bunch of selected browser
|
||||
ponies that are generated into cow files via img2xterm or util-say.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ This is often sufficient, but if is not you may be missing one of the standard p
|
|||
[Download](https://github.com/erkin/ponysay/downloads) or clone the project.
|
||||
In the terminal, `cd` into the ponysay directory and `make && make install`.
|
||||
|
||||
This will install ponysay into the $PREFIX (`/usr` by default, meaning you may need to `make install` as root, e.g. `sudo make install`).
|
||||
This will install ponysay into the $PREFIX (`/usr` by default, meaning you may need to `make install` as root, e.g. `sudo make install`.)
|
||||
|
||||
If either `make` or `make install` fails you be missing one of the standard packages:
|
||||
[gcc](ftp://ftp.gnu.org/gnu/gcc/), [gzip](ftp://ftp.gnu.org/gnu/gzip/), [make](ftp://ftp.gnu.org/gnu/make/) or [coreutils](ftp://ftp.gnu.org/gnu/coreutils/).
|
||||
|
@ -28,12 +28,12 @@ Or if you have a specific pony in your mind:
|
|||
ponysay -f pinkie "Partay!~"
|
||||
|
||||
Run `info ponysay`, `man 6 ponysay` or `ponysay -h` for more information.
|
||||
A spanish manual is available: `man -L es 6 ponysay`.
|
||||
A Spanish manual is available: `man -L es 6 ponysay`.
|
||||
|
||||
|
||||
### Pony fortune on terminal startup
|
||||
|
||||
This requires that you have the `fortune` utility installed. You can install it from your repositories (may be namned `fortune-mod`)
|
||||
This requires that you have the `fortune` utility installed. You can install it from your repositories (may be named `fortune-mod`)
|
||||
or just fetch the source code from [here](ftp://ftp.ibiblio.org/pub/linux/games/amusements/fortune/).
|
||||
|
||||
You can try [this](http://www.reddit.com/r/mylittlelinux/comments/srixi/using_ponysay_with_a_ponified_fortune_warning/) script or
|
||||
|
@ -52,7 +52,7 @@ If you have a custom colour palette edit your `~/.bashrc` and add
|
|||
if [ "$TERM" = "linux" ]; then
|
||||
function ponysay
|
||||
{
|
||||
exec ponysay $@
|
||||
exec ponysay "$@"
|
||||
#RESET PALETTE HERE
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue