Document Windows Subsystem for Linux support

Fixes https://github.com/erkin/ponysay/issues/255
This commit is contained in:
Ng Yik Phang 2017-05-28 16:51:02 +08:00
parent 9e724a64c2
commit 11da9e563d
2 changed files with 13 additions and 10 deletions

View file

@ -47,6 +47,16 @@ The package is available in OpenSuSe 13.2 and Factory since 6th april 2014, if y
#### Mac OS X (OSX) #### Mac OS X (OSX)
A `ponysay` [Homebrew](https://github.com/mxcl/homebrew) formula is available. A `ponysay` [Homebrew](https://github.com/mxcl/homebrew) formula is available.
#### Microsoft™ Windows®
[¯\\\_(ツ)\_/¯](http://fc05.deviantart.net/fs71/i/2011/266/d/e/shrugpony_firefly_by_imaplode-d4aqtvx.png)
You could either run ponysay on:
* Cygwin
* [Windows Subsystem for Linux](https://msdn.microsoft.com/en-us/commandline/wsl/about) (more compatible)
Make sure you install the latest Windows updates to [enable true colour console support](https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/), then follow the install instructions for Ubuntu in a bash console.
### Print a pony fortune upon terminal startup ### Print a pony fortune upon terminal startup
This requires the `fortune` utility to be installed. It can install be from the distribution's repositories (might be named `fortune-mod`). This requires the `fortune` utility to be installed. It can install be from the distribution's repositories (might be named `fortune-mod`).
@ -85,14 +95,6 @@ fi
Read the PDF or info manual for more information. Read the PDF or info manual for more information.
Installation on Microsoft™ Windows®
-----------------------------------
[¯\\\_(ツ)\_/¯](http://fc05.deviantart.net/fs71/i/2011/266/d/e/shrugpony_firefly_by_imaplode-d4aqtvx.png)
Ponysay runs on Cygwin and GNU/NT (a.k.a. Ubuntu on Windows),
however the Windows's Bash on Ubuntu on Windows terminal does
support xterm-256color colours.
Dependencies Dependencies
------------ ------------

View file

@ -2616,8 +2616,9 @@ fonts in Windows 8; Consolas 10pt, and larger, can be used for almost perfect
ponies (they may be just a little distorted on the height), however Consolas ponies (they may be just a little distorted on the height), however Consolas
is only able print the ASCII based balloons. is only able print the ASCII based balloons.
Ponysay also runs on Ubuntu on Windows, but the terminal's colour support Ponysay also runs on Windows Subsystem for Linux, be sure to install the
leaves something to be desired. latest Windows updates to enable true colour console support, then follow the
install instructions for Ubuntu in a bash console.