erkin / ponysay

Pony rewrite of cowsay.
GNU General Public License v3.0
1.22k stars 82 forks source link

Pony not showing correctly on OS X #238

Closed zephyrfalcon closed 8 years ago

zephyrfalcon commented 8 years ago

ponysay doesn't seem to render the pony properly on Mac OS X, at least not in the default terminal. Is this simply unsupported/a known problem, or are there certain settings that might change this? As far as I can tell, the terminal on OS X does not support some (most?) of the ANSI codes being used, resulting in displays such as:

screen shot 2016-05-02 at 5 56 06 am

Am I doing something wrong? Is there a way around this?

maandree commented 8 years ago

It looks like you have TERM=linux in your environment. Try env TERM=xterm ponysay. You may also want to change your font to one that have good support for Block Elements.

zephyrfalcon commented 8 years ago

Ugh, you are right, I did have TERM=linux in my .zshrc. (I'm not sure why, maybe it originated on Linux and I copied it to OS X at some point, making changes but leaving that setting alone.) In any case, it works now. Thanks for your help! ^_^

maandree commented 8 years ago

You probably do not want TERM=linux in any file in your system other than /etc/inittab (or corresponding for your init system) on Linux. It indicates that you are running in Linux VT (outside X).