Next: , Previous: Advanced usage, Up: Top


4 Environment variables

ponysay supports the follow environment variables:

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 bottom to be printed rather the the beginning you can export PONYSAY_BOTTOM with the value yes, y or 1.
PONYSAY_SHELL_LINES
Under TTY (Linux VT), if the output is larger than the screen's height, two lines are left blank. If you want more, or less, blank lines you can export PONYSAY_SHELL_LINES with the value of how many blank lines you want. Naturally this takes effect eve n if the output is not actually larger than the screen.
PONYSAY_FULL_WIDTH
You can export PONYSAY_FULL_WIDTH with the value yes, y or 1, if you do not want the output to be truncated on the width to fit the terminal.
PONYSAY_TRUNCATE_HEIGHT
Export PONYSAY_TRUNCATE_HEIGHT with the value yes, y or 1, if you want to truncate the output on the height even if you are not running ponysay under TTY.
PONYSAY_UCS_ME
Export PONYSAY_UCS_ME with the value yes, y or 1, if you want [simulated] symlink to pony files using Universal Character Set in their names. Otherwise pony files uses only ASCII. If you want to remove the ASCII:ised names export PONYSAY_UCS_ME with the value harder, h or 2 instead.

If you have not enabled this, UCS names are not usable, suggested or listed. If you use yes UCS names will be usable, suggested and listed. If you use harder ASCII:ised names will not be suggested or listed, but they will still be usable.

PONYSAY_KMS_PALETTE
PONYSAY_KMS_PALETTE_CMD
PONYSAY_KMS_PALETTE or PONYSAY_KMS_PALETTE_CMD is used to tell ponysay how your TTY palette looks, this feature lets you get the best images in TTY if you have Kernel Mode Setting (KMS) support.

See KMS ponies for information on how to use this.