Permalink
Browse files

Merge branch 'master' into develop

  • Loading branch information...
2 parents f763439 + 64b7267 commit 4774e74ba0af1d1716b832c31e3bf31aed305e4b @maandree maandree committed Aug 19, 2012
Showing with 756 additions and 928 deletions.
  1. +4 −0 .gitignore
  2. +0 −3 .gitmodules
  3. +9 −0 CHANGELOG
  4. +1 −1 CREDITS
  5. +0 −181 Makefile
  6. +0 −206 README
  7. +13 −15 README.md
  8. +8 −18 completion/bash-completion.sh
  9. +12 −36 completion/fish-completion.fish
  10. +364 −0 configure
  11. +0 −1 dev/bin/ponysay
  12. +0 −1 dev/lib/ponysay/linklist.pl
  13. +0 −1 dev/lib/ponysay/list.pl
  14. +0 −1 dev/lib/ponysay/pq4ps
  15. +0 −1 dev/lib/ponysay/pq4ps-list.pl
  16. +0 −1 dev/lib/ponysay/pq4ps.pl
  17. +0 −1 dev/share/ponysay/ponies
  18. +0 −1 dev/share/ponysay/quotes
  19. +0 −1 dev/share/ponysay/ttyponies
  20. +0 −35 linklist.pl
  21. +0 −41 list.pl
  22. +2 −1 manuals/manpage.6
  23. +2 −1 manuals/manpage.es.6
  24. +175 −95 manuals/ponysay.texinfo
  25. BIN manuals/ponysay_front.xcf
  26. 0 {quotes → ponyquotes}/applebloom.0
  27. 0 {quotes → ponyquotes}/applebloom.1
  28. 0 {quotes → ponyquotes}/applebloom.2
  29. 0 {quotes → ponyquotes}/applebloom.3
  30. 0 {quotes → ponyquotes}/applebloom.4
  31. 0 {quotes → ponyquotes}/applebloom.5
  32. 0 {quotes → ponyquotes}/applebloom.6
  33. 0 {quotes → ponyquotes}/applebloom.7
  34. 0 {quotes → ponyquotes}/applebloom.8
  35. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.0 → ponyquotes/applejack.0
  36. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.1 → ponyquotes/applejack.1
  37. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.2 → ponyquotes/applejack.2
  38. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.3 → ponyquotes/applejack.3
  39. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.4 → ponyquotes/applejack.4
  40. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.5 → ponyquotes/applejack.5
  41. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.6 → ponyquotes/applejack.6
  42. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.7 → ponyquotes/applejack.7
  43. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.8 → ponyquotes/applejack.8
  44. 0 quotes/applejack+applejackscarecrow+fillyjack+fillyjacktravel.9 → ponyquotes/applejack.9
  45. 0 {quotes → ponyquotes}/bigmac.0
  46. 0 {quotes → ponyquotes}/bigmac.1
  47. 0 {quotes → ponyquotes}/bigmac.2
  48. 0 {quotes → ponyquotes}/bigmac.3
  49. 0 {quotes → ponyquotes}/bigmac.4
  50. 0 quotes/bonbon+bonbonstand.0 → ponyquotes/bonbon.0
  51. 0 quotes/bonbon+bonbonstand.1 → ponyquotes/bonbon.1
  52. 0 {quotes → ponyquotes}/braeburn.0
  53. 0 {quotes → ponyquotes}/braeburn.1
  54. 0 {quotes → ponyquotes}/braeburn.2
  55. 0 quotes/carrot+carrottop+goldenharvest.0 → ponyquotes/carrot.0
  56. 0 quotes/carrot+carrottop+goldenharvest.1 → ponyquotes/carrot.1
  57. 0 quotes/celestia+fillistia+fillycelestia+celestiasmall.0 → ponyquotes/celestia.0
  58. 0 quotes/celestia+fillistia+fillycelestia+celestiasmall.1 → ponyquotes/celestia.1
  59. 0 quotes/celestia+fillistia+fillycelestia+celestiasmall.2 → ponyquotes/celestia.2
  60. 0 quotes/celestia+fillistia+fillycelestia+celestiasmall.3 → ponyquotes/celestia.3
  61. 0 quotes/celestia+fillistia+fillycelestia+celestiasmall.4 → ponyquotes/celestia.4
  62. 0 quotes/cheerilee+cheerilee80.0 → ponyquotes/cheerilee.0
  63. 0 quotes/cheerilee+cheerilee80.1 → ponyquotes/cheerilee.1
  64. 0 quotes/derpy+derpysit+derpystand+derpystandwing.0 → ponyquotes/derpy.0
  65. 0 quotes/derpy+derpysit+derpystand+derpystandwing.1 → ponyquotes/derpy.1
  66. 0 quotes/derpy+derpysit+derpystand+derpystandwing.2 → ponyquotes/derpy.2
  67. 0 quotes/derpy+derpysit+derpystand+derpystandwing.3 → ponyquotes/derpy.3
  68. 0 quotes/derpy+derpysit+derpystand+derpystandwing.4 → ponyquotes/derpy.4
  69. 0 {quotes → ponyquotes}/diamondtiara.0
  70. 0 quotes/discord+discordpuppetmaster+discordamused.0 → ponyquotes/discord.0
  71. 0 quotes/doctor+doctornohat+timeturner.0 → ponyquotes/doctor.0
  72. 0 {quotes → ponyquotes}/fancypants.0
  73. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.0 → ponyquotes/fluttershy.0
  74. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.1 → ponyquotes/fluttershy.1
  75. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.10 → ponyquotes/fluttershy.10
  76. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.11 → ponyquotes/fluttershy.11
  77. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.12 → ponyquotes/fluttershy.12
  78. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.13 → ponyquotes/fluttershy.13
  79. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.14 → ponyquotes/fluttershy.14
  80. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.15 → ponyquotes/fluttershy.15
  81. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.16 → ponyquotes/fluttershy.16
  82. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.17 → ponyquotes/fluttershy.17
  83. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.18 → ponyquotes/fluttershy.18
  84. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.19 → ponyquotes/fluttershy.19
  85. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.2 → ponyquotes/fluttershy.2
  86. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.20 → ponyquotes/fluttershy.20
  87. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.21 → ponyquotes/fluttershy.21
  88. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.22 → ponyquotes/fluttershy.22
  89. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.23 → ponyquotes/fluttershy.23
  90. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.24 → ponyquotes/fluttershy.24
  91. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.25 → ponyquotes/fluttershy.25
  92. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.26 → ponyquotes/fluttershy.26
  93. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.27 → ponyquotes/fluttershy.27
  94. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.28 → ponyquotes/fluttershy.28
  95. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.29 → ponyquotes/fluttershy.29
  96. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.3 → ponyquotes/fluttershy.3
  97. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.30 → ponyquotes/fluttershy.30
  98. 0 ...es/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.31 → ponyquotes/fluttershy.31
  99. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.4 → ponyquotes/fluttershy.4
  100. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.5 → ponyquotes/fluttershy.5
  101. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.6 → ponyquotes/fluttershy.6
  102. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.7 → ponyquotes/fluttershy.7
  103. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.8 → ponyquotes/fluttershy.8
  104. 0 quotes/fluttershy+fluttershygala+fluttershyshy+fluttershystare+fillyshy.9 → ponyquotes/fluttershy.9
  105. 0 quotes/gilda+gildastand.0 → ponyquotes/gilda.0
  106. 0 quotes/gilda+gildastand.1 → ponyquotes/gilda.1
  107. 0 quotes/gilda+gildastand.2 → ponyquotes/gilda.2
  108. 0 quotes/gilda+gildastand.3 → ponyquotes/gilda.3
  109. 0 quotes/gilda+gildastand.4 → ponyquotes/gilda.4
  110. 0 quotes/gilda+gildastand.5 → ponyquotes/gilda.5
  111. 0 quotes/granny+grannychair+grannysleep.0 → ponyquotes/granny.0
  112. +1 −0 ponyquotes/ironwill.0
  113. +1 −0 ponyquotes/ironwill.1
  114. +1 −0 ponyquotes/ironwill.2
  115. +1 −0 ponyquotes/ironwill.3
  116. +1 −0 ponyquotes/ironwill.4
  117. +1 −0 ponyquotes/ironwill.5
  118. +1 −0 ponyquotes/ironwill.6
  119. +1 −0 ponyquotes/ironwill.7
  120. 0 {quotes → ponyquotes}/lily.0
  121. 0 {quotes → ponyquotes}/lily.1
  122. 0 quotes/luna+lunafly.0 → ponyquotes/luna.0
  123. 0 quotes/luna+lunafly.1 → ponyquotes/luna.1
  124. 0 quotes/luna+lunafly.2 → ponyquotes/luna.2
  125. 0 quotes/luna+lunafly.3 → ponyquotes/luna.3
  126. 0 quotes/luna+lunafly.4 → ponyquotes/luna.4
  127. 0 quotes/luna+lunafly.5 → ponyquotes/luna.5
  128. 0 quotes/luna+lunafly.6 → ponyquotes/luna.6
  129. 0 {quotes → ponyquotes}/nightmare.0
  130. 0 {quotes → ponyquotes}/nightmare.1
  131. 0 {quotes → ponyquotes}/nightmare.2
  132. 0 {quotes → ponyquotes}/nightmare.3
  133. 0 {quotes → ponyquotes}/nightmare.4
  134. 0 {quotes → ponyquotes}/nightmare.5
  135. 0 {quotes → ponyquotes}/photofinish.0
  136. 0 {quotes → ponyquotes}/photofinish.1
  137. 0 {quotes → ponyquotes}/photofinish.2
  138. 0 {quotes → ponyquotes}/photofinish.3
  139. 0 {quotes → ponyquotes}/photofinish.4
  140. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.0 → ponyquotes/pinkie.0
  141. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.1 → ponyquotes/pinkie.1
  142. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.10 → ponyquotes/pinkie.10
  143. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.11 → ponyquotes/pinkie.11
  144. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.12 → ponyquotes/pinkie.12
  145. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.13 → ponyquotes/pinkie.13
  146. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.14 → ponyquotes/pinkie.14
  147. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.15 → ponyquotes/pinkie.15
  148. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.16 → ponyquotes/pinkie.16
  149. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.17 → ponyquotes/pinkie.17
  150. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.18 → ponyquotes/pinkie.18
  151. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.19 → ponyquotes/pinkie.19
  152. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.2 → ponyquotes/pinkie.2
  153. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.20 → ponyquotes/pinkie.20
  154. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.21 → ponyquotes/pinkie.21
  155. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.22 → ponyquotes/pinkie.22
  156. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.23 → ponyquotes/pinkie.23
  157. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.24 → ponyquotes/pinkie.24
  158. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.25 → ponyquotes/pinkie.25
  159. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.26 → ponyquotes/pinkie.26
  160. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.27 → ponyquotes/pinkie.27
  161. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.28 → ponyquotes/pinkie.28
  162. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.29 → ponyquotes/pinkie.29
  163. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.3 → ponyquotes/pinkie.3
  164. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.30 → ponyquotes/pinkie.30
  165. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.31 → ponyquotes/pinkie.31
  166. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.32 → ponyquotes/pinkie.32
  167. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.33 → ponyquotes/pinkie.33
  168. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.34 → ponyquotes/pinkie.34
  169. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.35 → ponyquotes/pinkie.35
  170. 0 ...nkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.36 → ponyquotes/pinkie.36
  171. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.4 → ponyquotes/pinkie.4
  172. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.5 → ponyquotes/pinkie.5
  173. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.6 → ponyquotes/pinkie.6
  174. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.7 → ponyquotes/pinkie.7
  175. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.8 → ponyquotes/pinkie.8
  176. 0 ...oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly.9 → ponyquotes/pinkie.9
  177. 0 {quotes → ponyquotes}/pipsqueak.0
  178. 0 {quotes → ponyquotes}/pipsqueak.1
  179. 0 {quotes → ponyquotes}/pipsqueak.2
  180. +130 −0 ponyquotes/ponies
  181. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.0 → ponyquotes/rainbow.0
  182. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.1 → ponyquotes/rainbow.1
  183. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.10 → ponyquotes/rainbow.10
  184. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.11 → ponyquotes/rainbow.11
  185. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.12 → ponyquotes/rainbow.12
  186. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.13 → ponyquotes/rainbow.13
  187. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.14 → ponyquotes/rainbow.14
  188. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.15 → ponyquotes/rainbow.15
  189. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.16 → ponyquotes/rainbow.16
  190. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.17 → ponyquotes/rainbow.17
  191. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.18 → ponyquotes/rainbow.18
  192. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.19 → ponyquotes/rainbow.19
  193. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.2 → ponyquotes/rainbow.2
  194. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.20 → ponyquotes/rainbow.20
  195. 0 .../rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.21 → ponyquotes/rainbow.21
  196. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.3 → ponyquotes/rainbow.3
  197. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.4 → ponyquotes/rainbow.4
  198. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.5 → ponyquotes/rainbow.5
  199. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.6 → ponyquotes/rainbow.6
  200. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.7 → ponyquotes/rainbow.7
  201. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.8 → ponyquotes/rainbow.8
  202. 0 ...es/rainbow+rainbowdrag+rainbowfly+rainbowgala+rainbowsalute+rainbowsleep.9 → ponyquotes/rainbow.9
  203. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.0 → ponyquotes/rarity.0
  204. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.1 → ponyquotes/rarity.1
  205. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.10 → ponyquotes/rarity.10
  206. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.11 → ponyquotes/rarity.11
  207. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.12 → ponyquotes/rarity.12
  208. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.13 → ponyquotes/rarity.13
  209. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.14 → ponyquotes/rarity.14
  210. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.15 → ponyquotes/rarity.15
  211. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.16 → ponyquotes/rarity.16
  212. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.17 → ponyquotes/rarity.17
  213. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.18 → ponyquotes/rarity.18
  214. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.19 → ponyquotes/rarity.19
  215. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.2 → ponyquotes/rarity.2
  216. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.20 → ponyquotes/rarity.20
  217. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.21 → ponyquotes/rarity.21
  218. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.22 → ponyquotes/rarity.22
  219. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.23 → ponyquotes/rarity.23
  220. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.24 → ponyquotes/rarity.24
  221. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.25 → ponyquotes/rarity.25
  222. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.3 → ponyquotes/rarity.3
  223. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.4 → ponyquotes/rarity.4
  224. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.5 → ponyquotes/rarity.5
  225. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.6 → ponyquotes/rarity.6
  226. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.7 → ponyquotes/rarity.7
  227. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.8 → ponyquotes/rarity.8
  228. 0 quotes/rarity+raritydrama+rarityfly+rarityponder+fillyrarity.9 → ponyquotes/rarity.9
  229. 0 quotes/rose+roseluck.0 → ponyquotes/rose.0
  230. 0 quotes/rose+roseluck.1 → ponyquotes/rose.1
  231. 0 {quotes → ponyquotes}/sapphire.0
  232. 0 {quotes → ponyquotes}/scootaloo.0
  233. 0 {quotes → ponyquotes}/scootaloo.1
  234. 0 {quotes → ponyquotes}/scootaloo.2
  235. 0 {quotes → ponyquotes}/scootaloo.3
  236. 0 {quotes → ponyquotes}/scootaloo.4
  237. 0 {quotes → ponyquotes}/scootaloo.5
  238. 0 {quotes → ponyquotes}/scootaloo.6
  239. 0 {quotes → ponyquotes}/scootaloo.7
  240. 0 {quotes → ponyquotes}/silverspoon.0
  241. 0 {quotes → ponyquotes}/soarin.0
  242. 0 {quotes → ponyquotes}/soarin.1
  243. 0 {quotes → ponyquotes}/soarin.2
  244. 0 quotes/spike+spikefloat+spikelove+spikemustache.0 → ponyquotes/spike.0
  245. 0 quotes/spike+spikefloat+spikelove+spikemustache.1 → ponyquotes/spike.1
  246. 0 quotes/spike+spikefloat+spikelove+spikemustache.2 → ponyquotes/spike.2
  247. 0 quotes/spike+spikefloat+spikelove+spikemustache.3 → ponyquotes/spike.3
  248. 0 quotes/spike+spikefloat+spikelove+spikemustache.4 → ponyquotes/spike.4
  249. 0 quotes/spike+spikefloat+spikelove+spikemustache.5 → ponyquotes/spike.5
  250. 0 quotes/spike+spikefloat+spikelove+spikemustache.6 → ponyquotes/spike.6
  251. 0 quotes/spike+spikefloat+spikelove+spikemustache.7 → ponyquotes/spike.7
  252. 0 {quotes → ponyquotes}/spitfire.0
  253. 0 {quotes → ponyquotes}/sweetie.0
  254. 0 {quotes → ponyquotes}/sweetie.1
  255. 0 {quotes → ponyquotes}/sweetie.2
  256. 0 {quotes → ponyquotes}/sweetie.3
  257. 0 {quotes → ponyquotes}/sweetie.4
  258. 0 {quotes → ponyquotes}/sweetie.5
  259. 0 {quotes → ponyquotes}/sweetie.6
  260. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.0 → ponyquotes/trixie.0
  261. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.1 → ponyquotes/trixie.1
  262. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.2 → ponyquotes/trixie.2
  263. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.3 → ponyquotes/trixie.3
  264. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.4 → ponyquotes/trixie.4
  265. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.5 → ponyquotes/trixie.5
  266. 0 quotes/trixie+trixiestage+trixiestand+lulamoon+trixielulamoon.6 → ponyquotes/trixie.6
  267. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.0 → ponyquotes/twilight.0
  268. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.1 → ponyquotes/twilight.1
  269. 0 ...wilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.10 → ponyquotes/twilight.10
  270. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.2 → ponyquotes/twilight.2
  271. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.3 → ponyquotes/twilight.3
  272. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.4 → ponyquotes/twilight.4
  273. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.5 → ponyquotes/twilight.5
  274. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.6 → ponyquotes/twilight.6
  275. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.7 → ponyquotes/twilight.7
  276. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.8 → ponyquotes/twilight.8
  277. 0 .../twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight.9 → ponyquotes/twilight.9
  278. +1 −0 ponyquotes/twiligt.11
  279. +1 −0 ponyquotes/twiligt.12
  280. +1 −0 ponyquotes/twiligt.13
  281. +1 −0 ponyquotes/twiligt.14
  282. +1 −0 ponyquotes/twiligt.15
  283. +1 −0 ponyquotes/twiligt.16
  284. +1 −0 ponyquotes/twiligt.17
  285. +1 −0 ponyquotes/twiligt.18
  286. +1 −0 ponyquotes/twiligt.19
  287. +1 −0 ponyquotes/twiligt.20
  288. +1 −0 ponyquotes/twiligt.21
  289. +1 −0 ponyquotes/twiligt.22
  290. 0 {quotes → ponyquotes}/twist.0
  291. 0 {quotes → ponyquotes}/zecora.0
  292. 0 {quotes → ponyquotes}/zecora.1
  293. 0 {quotes → ponyquotes}/zecora.2
  294. 0 {quotes → ponyquotes}/zecora.3
  295. 0 {quotes → ponyquotes}/zecora.4
  296. 0 {quotes → ponyquotes}/zecora.5
  297. 0 {quotes → ponyquotes}/zecora.6
  298. +0 −1 ponyquotes4ponysay
  299. +16 −285 ponysay
  300. BIN ponysay.pdf
Sorry, we could not display the entire diff because too many files (341) changed.
View
4 .gitignore
@@ -16,6 +16,10 @@
/completion/*-completion-think.*
/manuals/manpage.*.gz
+/ponysay.info
/ponysay.info.gz
/truncater
*.install
+/Makefile
+/quotes/
+
View
3 .gitmodules
@@ -1,3 +0,0 @@
-[submodule "ponyquotes4ponysay"]
- path = ponyquotes4ponysay
- url = git://github.com/maandree/ponyquotes4ponysay.git
View
9 CHANGELOG
@@ -1,3 +1,12 @@
+Version 2.0
+
+ Makefile is generated by running `./configure`.
+
+ All Perl scripts and almost all Bash are reimplemented in one Python 3 script.
+
+ kmsponies4ponysay is included.
+
+
Version 1.4.1
Code is repaired and more portable.
View
2 CREDITS
@@ -3,12 +3,12 @@
# Active developers
Erkin Batu Altunbaş
Mattias Andrée
+Elis Axelsson
Sven-Hendrik Haase
Pablo Lezaeta
Jan Alexander Steffens
# Patchers and other contributors
-Elis Axelsson
Duane Bekaert
Kyah Rindlisbacher
James Ross-Gowan
View
181 Makefile
@@ -1,181 +0,0 @@
-PREFIX="/usr"
-INSTALLDIR="$(DESTDIR)$(PREFIX)"
-
-
-all: truncater manpages infomanual ponythinkcompletion
-
-truncater:
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o "truncater" "truncater.c"
-
-manpages:
- gzip -9 -f < "manuals/manpage.6" > "manuals/manpage.6.gz"
- gzip -9 -f < "manuals/manpage.es.6" > "manuals/manpage.es.6.gz"
-
-infomanual:
- makeinfo "manuals/ponysay.texinfo"
- gzip -9 -f "ponysay.info"
-
-ponysaycompletion:
- sed -e 's/\/usr\//'"$$(sed -e 's/\//\\\//g' <<<$(PREFIX))"'\//g' <"completion/bash-completion.sh" >"completion/bash-completion.sh.install"
- sed -e 's/\/usr\//'"$$(sed -e 's/\//\\\//g' <<<$(PREFIX))"'\//g' <"completion/fish-completion.fish" >"completion/fish-completion.fish.install"
- sed -e 's/\/usr\//'"$$(sed -e 's/\//\\\//g' <<<$(PREFIX))"'\//g' <"completion/zsh-completion.zsh" >"completion/zsh-completion.zsh.install"
-
-ponythinkcompletion: ponysaycompletion
- sed -e 's/ponysay/ponythink/g' <"completion/bash-completion.sh.install" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/bash-completion-think.sh"
- sed -e 's/ponysay/ponythink/g' <"completion/fish-completion.fish.install" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/fish-completion-think.fish"
- sed -e 's/ponysay/ponythink/g' <"completion/zsh-completion.zsh.install" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/zsh-completion-think.zsh"
-
-install-min: truncater
- mkdir -p "$(INSTALLDIR)/share/ponysay/"
- mkdir -p "$(INSTALLDIR)/share/ponysay/ponies"
- mkdir -p "$(INSTALLDIR)/share/ponysay/ttyponies"
- mkdir -p "$(INSTALLDIR)/share/ponysay/quotes"
- cp -P ponies/*.pony "$(INSTALLDIR)/share/ponysay/ponies/"
- cp -P ttyponies/*.pony "$(INSTALLDIR)/share/ponysay/ttyponies/"
- cp -P quotes/*.* "$(INSTALLDIR)/share/ponysay/quotes/"
-
- mkdir -p "$(INSTALLDIR)/bin/"
- install "ponysay" "$(INSTALLDIR)/bin/ponysay"
- ln -sf "ponysay" "$(INSTALLDIR)/bin/ponythink"
-
- mkdir -p "$(INSTALLDIR)/lib/ponysay/"
- install -s "truncater" "$(INSTALLDIR)/lib/ponysay/truncater"
- install "list.pl" "$(INSTALLDIR)/lib/ponysay/list.pl"
- install "linklist.pl" "$(INSTALLDIR)/lib/ponysay/linklist.pl"
- install "pq4ps" "$(INSTALLDIR)/lib/ponysay/pq4ps"
- install "pq4ps.pl" "$(INSTALLDIR)/lib/ponysay/pq4ps.pl"
- install "pq4ps-list.pl" "$(INSTALLDIR)/lib/ponysay/pq4ps-list.pl"
-
- mkdir -p "$(INSTALLDIR)/share/licenses/ponysay/"
- install "COPYING" "$(INSTALLDIR)/share/licenses/ponysay/COPYING"
-
-install-bash: ponythinkcompletion
- mkdir -p "$(INSTALLDIR)/share/bash-completion/completions/"
- install "completion/bash-completion.sh.install" "$(INSTALLDIR)/share/bash-completion/completions/ponysay"
- install "completion/bash-completion-think.sh" "$(INSTALLDIR)/share/bash-completion/completions/ponythink"
-
-install-zsh: ponythinkcompletion
- mkdir -p "$(INSTALLDIR)/share/zsh/site-functions/"
- install "completion/zsh-completion.zsh.install" "$(INSTALLDIR)/share/zsh/site-functions/_ponysay"
- install "completion/zsh-completion-think.zsh" "$(INSTALLDIR)/share/zsh/site-functions/_ponythink"
-
-install-fish: ponythinkcompletion
- mkdir -p "$(INSTALLDIR)/share/fish/completions/"
- install "completion/fish-completion.fish.install" "$(INSTALLDIR)/share/fish/completions/ponysay.fish"
- install "completion/fish-completion-think.fish" "$(INSTALLDIR)/share/fish/completions/ponythink.fish"
-
-install-man: manpages
- mkdir -p "$(INSTALLDIR)/share/man/man6"
- install "manuals/manpage.6.gz" "$(INSTALLDIR)/share/man/man6/ponysay.6.gz"
- ln -sf "ponysay.6.gz" "$(INSTALLDIR)/share/man/man6/ponythink.6.gz"
-
-install-man-es: manpages
- mkdir -p "$(INSTALLDIR)/share/man/es/man6"
- install "manuals/manpage.es.6.gz" "$(INSTALLDIR)/share/man/es/man6/ponysay.6.gz"
- ln -sf "ponysay.6.gz" "$(INSTALLDIR)/share/man/es/man6/ponythink.6.gz"
-
-install-info: infomanual
- mkdir -p "$(INSTALLDIR)/share/info"
- install "ponysay.info.gz" "$(INSTALLDIR)/share/info/ponysay.info.gz"
- install "ponysay.info.gz" "$(INSTALLDIR)/share/info/ponythink.info.gz"
- install-info --dir-file="$(INSTALLDIR)/share/info/dir" --entry="Miscellaneous" --description="My Little Ponies for your terminal" "$(INSTALLDIR)/share/info/ponysay.info.gz"
- install-info --dir-file="$(INSTALLDIR)/share/info/dir" --entry="Miscellaneous" --description="My Little Ponies for your terminal" "$(INSTALLDIR)/share/info/ponythink.info.gz"
-
-install-no-info: install-min install-bash install-zsh install-fish install-man install-man-es
-
-install-pdf:
- install "ponysay.pdf" "$(INSTALLDIR)/doc/ponysay.pdf"
-
-install: install-no-info install-info
- @echo -e '\n\n'\
-'/--------------------------------------------------\\\n'\
-'| ___ |\n'\
-'| / (_) o |\n'\
-'| \__ _ _ __ |\n'\
-'| / / |/ | | / \_| | |\n'\
-'| \___/ | |_/|/\__/ \_/|/ |\n'\
-'| /| /| |\n'\
-'| \| \| |\n'\
-'| ____ |\n'\
-'| | _ \ ___ _ __ _ _ ___ __ _ _ _ |\n'\
-'| | |_) |/ _ \ | '\''_ \ | | | |/ __| / _` || | | | |\n'\
-'| | __/| (_) || | | || |_| |\__ \| (_| || |_| | |\n'\
-'| |_| \___/ |_| |_| \__, ||___/ \__,_| \__, | |\n'\
-'| |___/ |___/ |\n'\
-'\\--------------------------------------------------/'
- @echo '' | ./ponysay -f ./`if [[ "$$TERM" = "linux" ]]; then echo ttyponies; else echo ponies; fi`/pinkiecannon.pony | tail --lines=30 ; echo -e '\n'
-
-uninstall:
- if [ -d "$(INSTALLDIR)/share/ponysay" ]; then rm -fr "$(INSTALLDIR)/share/ponysay" ; fi
- if [ -d "$(INSTALLDIR)/lib/ponysay" ]; then rm -fr "$(INSTALLDIR)/lib/ponysay" ; fi
- if [ -f "$(INSTALLDIR)/bin/ponysay" ]; then unlink "$(INSTALLDIR)/bin/ponysay" ; fi
- if [ -f "$(INSTALLDIR)/bin/ponythink" ]; then unlink "$(INSTALLDIR)/bin/ponythink" ; fi
- if [ -f "$(INSTALLDIR)/share/licenses/ponysay/COPYING" ]; then unlink "$(INSTALLDIR)/share/licenses/ponysay/COPYING" ; fi
- if [ -f "$(INSTALLDIR)/share/bash-completion/completions/ponysay" ]; then unlink "$(INSTALLDIR)/share/bash-completion/completions/ponysay" ; fi
- if [ -f "$(INSTALLDIR)/share/bash-completion/completions/ponythink" ]; then unlink "$(INSTALLDIR)/share/bash-completion/completions/ponythink"; fi
- if [ -f "$(INSTALLDIR)/share/fish/completions/ponysay.fish" ]; then unlink "$(INSTALLDIR)/share/fish/completions/ponysay.fish" ; fi
- if [ -f "$(INSTALLDIR)/share/fish/completions/ponythink.fish" ]; then unlink "$(INSTALLDIR)/share/fish/completions/ponythink.fish" ; fi
- if [ -f "$(INSTALLDIR)/share/zsh/site-functions/_ponysay"; ]; then unlink "$(INSTALLDIR)/share/zsh/site-functions/_ponysay" ; fi
- if [ -f "$(INSTALLDIR)/share/zsh/site-functions/_ponythink"; ]; then unlink "$(INSTALLDIR)/share/zsh/site-functions/_ponythink" ; fi
- if [ -f "$(INSTALLDIR)/share/man/man6/ponysay.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/man6/ponysay.6.gz" ; fi
- if [ -f "$(INSTALLDIR)/share/man/man6/ponythink.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/man6/ponythink.6.gz" ; fi
- if [ -f "$(INSTALLDIR)/share/man/es/man6/ponysay.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/es/man6/ponysay.6.gz" ; fi
- if [ -f "$(INSTALLDIR)/share/man/es/man6/ponythink.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/es/man6/ponythink.6.gz" ; fi
- if [ -f "$(INSTALLDIR)/share/info/ponysay.info.gz" ]; then unlink "$(INSTALLDIR)/share/info/ponysay.info.gz" ; fi
- if [ -f "$(INSTALLDIR)/share/info/ponythink.info.gz" ]; then unlink "$(INSTALLDIR)/share/info/ponythink.info.gz" ; fi
- if [ -f "$(INSTALLDIR)/doc/ponysay.pdf" ]; then unlink "$(INSTALLDIR)/doc/ponysay.pdf" ; fi
-
-uninstall-old:
- if [ -d "$(INSTALLDIR)/share/ponies" ]; then rm -fr "$(INSTALLDIR)/share/ponies" ; fi
- if [ -d "$(INSTALLDIR)/share/ttyponies" ]; then rm -fr "$(INSTALLDIR)/share/ttyponies" ; fi
- if [ -f "$(INSTALLDIR)/bin/ponysaytruncater" ]; then unlink "$(INSTALLDIR)/bin/ponysaytruncater" ; fi
- if [ -d "$(INSTALLDIR)/lib/ponysay/pq4ps-list" ]; then unlink "$(INSTALLDIR)/lib/ponysay/pq4ps-list" ; fi
-
-clean:
- if [ -f "truncater" ]; then rm -f "truncater" ; fi
- if [ -f "completion/bash-completion-think.sh" ]; then rm -f "completion/bash-completion-think.sh" ; fi
- if [ -f "completion/fish-completion-think.fish" ]; then rm -f "completion/fish-completion-think.fish"; fi
- if [ -f "completion/zsh-completion-think.zsh" ]; then rm -f "completion/zsh-completion-think.zsh" ; fi
- if [ -f "manuals/manpage.6.gz" ]; then rm -f "manuals/manpage.6.gz" ; fi
- if [ -f "manuals/manpage.es.6.gz" ]; then rm -f "manuals/manpage.es.6.gz" ; fi
- if [ -f "ponysay.info.gz" ]; then rm -f "ponysay.info.gz" ; fi
-
-clean-old:
- if [ -f "ponysaytruncater" ]; then rm -f "ponysaytruncater" ; fi
-
-
-## Scripts for maintainers
-
-ttyponies:
- mkdir -p "ttyponies"
- for pony in $$(ls --color=no "ponies/"); do \
- echo "building ttypony: $$pony" ;\
- if [ `readlink "ponies/$$pony"` = "" ]; then \
- ponysay2ttyponysay < "ponies/$$pony" | tty2colourfultty -c 1 -e > "ttyponies/$$pony" ;\
- git add "ttyponies/$$pony" ;\
- elif [ ! -f "ttyponies/$$pony" ]; then \
- ln -s `readlink "ponies/$$pony"` "ttyponies/$$pony" ;\
- git add "ttyponies/$$pony" ;\
- fi \
- done
-
-pdfmanual:
- texi2pdf "manuals/ponysay.texinfo"
- git add "manuals/ponysay.texinfo" "ponysay.pdf"
- for ext in `echo aux cp cps fn ky log pg toc tp vr`; do \
- (if [ -f "ponysay.$$ext" ]; then unlink "ponysay.$$ext"; fi); \
- done
- if [ -d "ponysay.t2d" ]; then rm -r "ponysay.t2d"; fi
-
-submodules: clean
- (cd "ponyquotes4ponysay/"; make clean)
- git submodule init
- git submodule update
-
-quotes: submodules
- (cd "ponyquotes4ponysay/"; make -B)
- if [ -d quotes ]; then git rm "quotes/"*.*; fi
- mkdir -p "quotes"
- cp "ponyquotes4ponysay/ponyquotes/"*.* "quotes"
- git add "quotes/"*.*
-
View
206 README
@@ -1,206 +0,0 @@
- _____
-| __ \
-| |__) |___ _ __ _ _ ___ __ _ _ _
-| ___// _ \ | '_ \ | | | |/ __| / _` || | | |
-| | | (_) || | | || |_| |\__ \| (_| || |_| |
-|_| \___/ |_| |_| \__, ||___/ \__,_| \__, |
- __/ | __/ |
- |___/ |___/
- _____ _ _ _ _
- |_ _|___ __| | __ _ _ _ _ _ ___ _ _ _ _ | |_ ___ _ _ _ __ (_) _ _ __ _ | |
- | | / _ \/ _` |/ _` || || | | || |/ _ \| || || '_| | _|/ -_)| '_|| ' \ | || ' \ / _` || | _
- |_| \___/\__,_|\__,_| \_, | \_, |\___/ \_,_||_| \__|\___||_| |_|_|_||_||_||_|\__,_||_|( )
- |__/ |__/ |/
- _ _ _ _ _ _
- | |_ ___ _ __ ___ _ _ _ _ ___ __ __ __ | |_ | |_ ___ __ __ __ ___ _ _ | | __| || |
- | _|/ _ \| ' \ / _ \| '_|| '_|/ _ \\ V V / | _|| ' \ / -_) \ V V // _ \| '_|| |/ _` ||_|
- \__|\___/|_|_|_|\___/|_| |_| \___/ \_/\_/ \__||_||_|\___| \_/\_/ \___/|_| |_|\__,_|(_)
-
-
-
-Required runtime dependencies
-=============================
-
- bash : required for the main script [file: ponysay]
-
- cowsay : this is a wrapper for cowsay
-
- coreutils : the main script [file: ponysay] uses stty, cut, ls, cat, sort, readlink, pwd, head and tail
-
- sed : used to remove .pony from pony names when running `ponysay -l` and `ponysay -L`
-
- perl : required to run `ponysay -l` and `ponysay -L`
-
-
-Optional runtime dependencies
-=============================
-
- ponyquotes4ponysay : for support of My Little Pony quotes with associated pony
- -- Included as a submodule, and can easily be removed by edit Makefile.
-
- kmsponies4ponysay : improving TTY support under KMS support
- -- Available for Arch:ers in AUR (https://aur.archlinux.org/packages.php?ID=61111)
- -- and on github at https://github.com/maandree/ponyquotes4ponysay
-
-
-Package building dependencies
-=============================
-
- gcc : used for compiling ponysaytruncater.c
-
- gzip : used for compressing manpages
-
- make : required to run the make script
-
- coreutils : make script uses install, unlink, rm, ln, mkdir and cp
-
- tex
- texinfo : required to build info manual (tex is required by texinfo)
-
-
-Dependencies for pony providers
-===============================
-
- make : required to run `make -B ttyponies`
-
- coreutils : ln and readlink are used in the ttyponies subscript
-
- bash : used in the ttyponies subscript
-
- util-say : used by `make ttyponies` to build 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
-
-
-Pony quotes
-===========
-
-Running `ponysay -q` will give you a random pony saying one it its quote from MLP:FiM.
-Add one or more argument after `-q` to sepecify a set of ponies from which one will be selected randomly.
-
-When running `ponysay -l` or `ponysay -L` the ponies which have quotes will be printed bold or bright (depending on terminal).
-
-
-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
- https://github.com/rossy2401/img2xterm
- or util-say.
- https://github.com/maandree/util-say
- https://aur.archlinux.org/packages.php?ID=60241
-
-
-Providing ponies
-================
-
- Most pony images are browser ponies or desktop ponies,
- browser ponies is a port of desktop ponies, implementing it in JavaScript.
-
- Browser ponies: https://github.com/panzi/Browser-Ponies
- Desktop ponies: http://desktop-pony-team.deviantart.com/
-
- There is also a collection of ponies that are not yet pixelated in a Java reimplementation:
- https://github.com/maandree/unisay/tree/develop/dev/newponies
-
-
- New ponies can be created from regular images by using img2xterm
- https://github.com/rossy2401/img2xterm
- or util-say
- https://github.com/maandree/util-say
- https://aur.archlinux.org/packages.php?ID=60241
-
- Using util-say:
-
- img2ponysay -c 1 -2 -- SOURCE_IMAGE > PONY_FILE
-
- PONY_FILE should end with .pony and be localed in ponies/
-
- Omit -2 if the source image does not use double pixel size.
-
- (`-c 1` is no longer required.)
- For more information see https://github.com/maandree/util-say/wiki/img2ponysay
-
- When a pony is added please also add a ttypony version, but if you don't please
- state so in the pull request so we do not miss the create it; the simplest way to
- do this is to run `make -B ttyponies` after adding the ponies to ponies/.
-
- Running `make -B ttyponies` will build (or rebuild) all ttyponies with a pony present
- in ponies/, and creates all needed symlinks.
-
- To be able to run `make -B ttyponies` you must have the packages listed under
- [Dependencies for pony providers].
-
View
28 README.md
@@ -12,10 +12,10 @@ First of all, you need `cowsay` from your local repositories.
Obtain it from [here](http://www.nog.net/~tony/warez) if you wish to compile it yourself.
This is often sufficient, but if is not you may be missing one of the standard packages: [bash](ftp://ftp.gnu.org/gnu/bash/), [coreutils](ftp://ftp.gnu.org/gnu/coreutils/) or [sed](ftp://ftp.gnu.org/gnu/sed/).
-[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`.)
+[Download](/erkin/ponysay/downloads) or clone the project.
+In the terminal, `cd` into the ponysay directory and `./configure && make && make install`.
+You make need to be super user to run `make install`, on most systems this
+can be achieved by running `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/), or [git](http://git-scm.com/).
@@ -46,7 +46,7 @@ This requires that you have the `fortune` utility installed. You can install it
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
-[ponypipe](https://github.com/maandree/ponypipe) to ponify fortunes.
+[ponypipe](/maandree/ponypipe) to ponify fortunes.
Edit your `~/.bashrc` and add this to the end of the file
@@ -84,19 +84,17 @@ Dependencies
### Required runtime dependencies
-`bash`: required for the main script [file: ponysay]
-
-`cowsay`: this is a wrapper for cowsay
+`bash`: bash is used in a minor part of the program to make everything work, this will be removed later
-`coreutils`: the main script uses stty, cut, ls, cat, sort, readlink, pwd, head and tail
+`coreutils`: stty in coreutils used to determine size of the terminal, other parts of coreutils will not be needed for long
-`sed`: used to remove .pony from pony names when running `ponysay -l` and `ponysay -l`
+`cowsay`: this is a wrapper for cowsay
-`perl`: required to run `ponysay -l` and `ponysay -L`
+`python>=3`: Written in python 3
### Package building dependencies
-`gcc`: used for compiling ponysaytruncater.c
+`gcc`: used for compiling truncater.c
`gzip`: used for compressing manpages
@@ -110,13 +108,13 @@ 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).
+__A:__ Unfortunately, there's nothing much we can do about it. See [issue 1](/erkin/ponysay/issues/1).
__Q:__ You are missing _(my-favourite-pony)_!
-__A:__ [Ask](https://github.com/erkin/ponysay/issues) and we'll add!
+__A:__ [Ask](/erkin/ponysay/issues) and we'll add!
__Q:__ Which programs do you use to generate the pony files?
__A:__ The pony files are actually mostly a bunch of selected [browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html)
-that are generated into cow files via [img2xterm](https://github.com/rossy2401/img2xterm) or [util-say](https://github.com/maandree/util-say).
+that are generated into cow files via [img2xterm](/rossy2401/img2xterm) or [util-say](/maandree/util-say).
View
26 completion/bash-completion.sh
@@ -8,28 +8,18 @@ _ponysay()
options='-v -h -l -f -W -q'
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
- if [ $prev = "-f" ]; then
- COMPREPLY=()
-
- sysponies=/usr/share/ponysay/ponies/
- usrponies=~/.local/share/ponysay/ponies/
- if [[ $TERM = "linux" ]]; then
- sysponies=/usr/share/ponysay/ttyponies/
- usrponies=~/.local/share/ponysay/ttyponies/
- fi
-
- [ -d $sysponies ] && COMPREPLY+=( $( compgen -W "$(ls --color=no $sysponies | sed -e 's/.pony//g')" -- "$cur" ) )
- [ -d $usrponies ] && COMPREPLY+=( $( compgen -W "$(ls --color=no $usrponies | sed -e 's/.pony//g')" -- "$cur" ) )
+ if [ $prev = "-f" ] || [ $prev = "--pony" ]; then
+ ponies=$('/usr/bin/ponysay.py' --onelist)
+ COMPREPLY=( $( compgen -W "$ponies" -- "$cur" ) )
- elif [ $prev = "-W" ]; then
+ elif [ $prev = "-q" ] || [ $prev = "--quote" ]; then
+ quoters=$('/usr/bin/ponysay.py' --quoters)
+ COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) )
+
+ elif [ $prev = "-W" ] || [ $prev = "--wrap" ]; then
cols=$(( `stty size | cut -d ' ' -f 2` - 10 ))
COMPREPLY=( $cols $(( $cols / 2 )) 100 60 )
- elif [ $prev = "-q" ]; then
- qcmd=/usr/lib/ponysay/pq4ps
- quoters=$($qcmd -l)
- COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) )
-
fi
}
View
48 completion/fish-completion.fish
@@ -1,45 +1,21 @@
-# Completions for ponysay
+# FISH completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>
-if test $TERM = "linux"
- set -g systempath /usr/share/ponysay/ttyponies/
- set -g homepath ~/.local/share/ponysay/ttyponies/
-else
- set -g systempath /usr/share/ponysay/ponies/
- set -g homepath ~/.local/share/ponysay/ponies/
-end
+set -g ponies (/usr/bin/ponysay.py --onelist)
+set -g quoters (/usr/bin/ponysay.py --quoters)
-if test -d $systempath
- set -g systemponies (ls --color=no $systempath | sed -e 's/\.pony//' -e 's/_.*//' | perl -pe 's/([a-z])([A-Z])/\1\\\ \2/' )
-end
+complete --command ponysay --short-option h --long-option help --description 'help of ponysay'
+complete --command ponysay --short-option v --long-option version --description 'version of ponysay'
+complete --command ponysay --short-option l --long-option list --description 'list pony files'
+complete --command ponysay --short-option L --long-option altlist --description 'list pony files with alternatives'
+complete --command ponysay --short-option f --long-option pony --arguments "$ponies" --description 'pony'
+complete --command ponysay --short-option q --long-option quote --arguments "$quoters" --no-files --description 'pony'
+complete --command ponysay --short-option W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped'
+complete --command ponysay --arguments 'MESSAGE'
-if test -d $homepath
- set -g homeponies (ls --color=no $homepath | sed -e 's/\.pony//' -e 's/_.*//' | perl -pe 's/([a-z])([A-Z])/\1\\\ \2/' )
-end
-
-
-set -g qcmd /usr/lib/ponysay/pq4ps
-set -g quoters ($qcmd -l)
-
-
-complete -c ponysay -s h --description "Help of ponysay"
-complete -c ponysay -s v --description "Version of ponysay"
-complete -c ponysay -s l --description "List pony files"
-complete -c ponysay -s L --description "List pony files with alternatives"
-complete -c ponysay -s f -a "$homeponies $systemponies" --description "Select a pony"
-complete -c ponysay -s q -a "$quoters" --description "Select ponies for MLP:FiM quotes"
-complete -c ponysay -s W -a "Integer" --description "The screen column where the message should be wrapped"
-
-
-set -e systempath
-set -e homepath
-
-set -e systemponies
-set -e homeponies
-
-set -e qcmd
+set -e ponies
set -e quoters
View
364 configure
@@ -0,0 +1,364 @@
+#!/usr/bin/env bash
+
+
+PREFIX="/usr"
+INFODESC=\''My Little Ponies for your terminal'\'
+
+completions='completion/bash-completion.sh completion/fish-completion.fish completion/zsh-completion.zsh'
+shareDirs='ponies ttyponies quotes'
+manFiles='manuals/manpage.6 manuals/manpage.es.6'
+licenseFiles='COPYING'
+
+
+
+oldInstalledFiles='bin/ponysaytruncater lib/ponysay/list.pl lib/ponysay/linklist.pl lib/ponysay/pq4ps lib/ponysay/pq4ps.pl lib/ponysay/pq4ps-list lib/ponysay/pq4ps-list.pl'
+oldInstalledDirs='share/ponies share/ttyponies'
+oldCompiledFiles='ponysaytruncater ponysay.install'
+oldCompiledDirs=''
+
+installedFiles='bin/ponysay bin/ponythink bin/ponysay.py bin/ponythink.py doc/ponysay.pdf share/info/ponysay.info.gz share/info/ponythink.info.gz'
+installedDirs='share/ponysay lib/ponysay'
+compiledFiles='truncater ponysay.info.gz ponysay.py.install'
+compiledDirs='quotes'
+
+for man in $manFiles; do
+ oldCompiledFiles="$oldCompiledFiles $man.gz"
+done
+for completion in $completions; do
+ thinkfile="${completion%%.*}-think.${completion##*.}"
+ compiledFiles="$compiledFiles $completion.install $thinkfile"
+done
+for file in $licenseFiles; do
+ installedFiles="$installedFiles share/licenses/ponysay/$file"
+done
+
+
+
+function getcompdir()
+{
+ if [ "$1" == 'bash' ]; then echo -n 'bash-completion/completions'
+ elif [ "$1" == 'fish' ]; then echo -n 'fish/completions'
+ elif [ "$1" == 'zsh' ]; then echo -n 'zsh/site-functions'
+ fi
+}
+
+function getcompfile()
+{
+ if [ "$1" == 'bash' ]; then echo -n "$2"
+ elif [ "$1" == 'fish' ]; then echo -n "$2"'.fish'
+ elif [ "$1" == 'zsh' ]; then echo -n '_'"$2"
+ fi
+}
+
+
+
+installPdf=''
+installInfo=' install-info'
+installMan=' install-man'
+installManEs=''
+installBash=' install-bash'
+installFish=' install-fish'
+installZsh=' install-zsh'
+
+for arg in "$@"; do
+ opt="${arg%%=*}"
+ val="${arg##*=}"
+
+ if [ "$opt" = '--prefix' ]; then
+ PREFIX="$val"
+ elif [ "$opt" = '--info-desc' ]; then
+ INFODESC=\'"$(sed -e s/\'/\''\\'\'\'/g <<<"$val")"\'
+
+ elif [ "$opt" = '--with-pdf' ]; then installPdf=' install-pdf'
+ elif [ "$opt" = '--without-info' ]; then installInfo=''
+ elif [ "$opt" = '--without-man' ]; then installMan=''
+ elif [ "$opt" = '--with-man-es' ]; then installManEs=' install-man-es'
+ elif [ "$opt" = '--without-bash' ]; then installBash=''
+ elif [ "$opt" = '--without-fish' ]; then installFish=''
+ elif [ "$opt" = '--without-zsh' ]; then installZsh=''
+
+ elif [ "$opt" = "--everything" ]; then
+ installPdf=' install-pdf'
+ installInfo=' install-info'
+ installMan=' install-man'
+ installManEs=' install-man-es'
+ installBash=' install-bash'
+ installFish=' install-fish'
+ installZsh=' install-zsh'
+
+ else
+ echo "$0: error: option not recongised: $arg" >&2
+ fi
+done
+
+compileMethods='core truncater manpages ponysaycompletion ponythinkcompletion'
+installMethods='install-min'"$installPdf$installInfo$installMan$installManEs$installBash$installFish$installZsh"
+if [ ! "$installInfo" = '' ]; then
+ compileMethods="$compileMethods infomanual"
+fi
+
+
+
+function correctPrefix()
+{
+ for file in "$@"; do
+ echo -en '\t'
+ echo 'sed -e '\''s/'\''\'\'''\''\/usr\//'\''\'\''"$(SED_PREFIX)"'\''\//g'\'' < "'"$file"'" > "'"$file"'.install"'
+ done
+}
+
+function gzCompress()
+{
+ for file in "$@"; do
+ echo -en '\t'
+ echo 'gzip -9 -f < "'"$file"'" > "'"$file"'".gz'
+ done
+}
+
+function thinkCompletion()
+{
+ for file in "$@"; do
+ echo -en '\tsed'
+ echo -n ' -e '\''s/ponysay/ponythink/g'\'
+ echo -n ' < "'"$file"'.install" | sed'
+ echo -n ' -e '\''s/\/ponythink\//\/ponysay\//g'\'
+ echo -n ' -e '\''s/\\\/ponythink\\\//\\\/ponysay\\\//g'\'
+ thinkfile="${file%%.*}-think.${file##*.}"
+ echo ' > "'"$thinkfile"'"'
+ done
+}
+
+
+
+echo "PREFIX = $PREFIX, edit with option --prefix=PREFIX"
+echo "INFODESC = $INFODESC, edit with option --info-desc=INFODESC"
+echo
+[ ! "$installPdf" = '' ] && echo "Installing PDF manual"
+[ ! "$installInfo" = '' ] && echo "Installing info manual, add option --without-info to skip"
+[ ! "$installMan" = '' ] && echo "Installing English manpage manual, add option --without-man to skip"
+[ ! "$installManEs" = '' ] && echo "Installing Spanish manpage manual"
+[ ! "$installBash" = '' ] && echo "Installing autocompletion for GNU Bash, add option --without-bash to skip"
+[ ! "$installFish" = '' ] && echo "Installing autocompletion for fish, add option --without-fish to skip"
+[ ! "$installZsh" = '' ] && echo "Installing autocompletion for zsh, add option --without-zsh to skip"
+echo
+[ ! "$installPdf" = '' ] || echo "Skipping PDF manual, add option --with-pdf to install"
+[ ! "$installInfo" = '' ] || echo "Skipping info manual"
+[ ! "$installMan" = '' ] || echo "Skipping English manpage manual"
+[ ! "$installManEs" = '' ] || echo "Skipping Spanish manpage manual, add option --with-man-es to install"
+[ ! "$installBash" = '' ] || echo "Skipping autocompletion for GNU Bash"
+[ ! "$installFish" = '' ] || echo "Skipping autocompletion for fish"
+[ ! "$installZsh" = '' ] || echo "Skipping autocompletion for zsh"
+echo
+
+
+
+function makeMakefile()
+{
+ echo 'PREFIX='\'"$PREFIX"\'
+ echo 'INSTALLDIR="$(DESTDIR)$(PREFIX)"'
+ echo 'SED_PREFIX=$$(sed -e '\''s/\//\\\//g'\'' <<<$(PREFIX))'
+ echo
+ echo 'default: '"$compileMethods"
+ echo
+ echo 'all: core truncater quotes manpages infomanual ponysaycompletion ponythinkcompletion'
+ echo
+
+ echo "core:"
+ correctPrefix 'ponysay.py'
+ echo
+
+ echo "truncater:"
+ echo -en '\t'
+ echo '$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o "truncater" "truncater.c"'
+ echo
+
+ echo "quotes:"
+ echo -en '\t' ; echo 'mkdir -p quotes'
+ echo -en '\t' ; echo 'for ponies in $$(cat ponyquotes/ponies); do \'
+ echo -en '\t' ; echo ' for pony in $$(echo $$ponies | sed -e '\''s/+/ /g'\''); do \'
+ echo -en '\t' ; echo ' echo '\''Generating quote files for '\''"$$pony"; \'
+ echo -en '\t' ; echo ' for file in $$(ls "ponyquotes/" | grep "$$pony\\.*"); do \'
+ echo -en '\t' ; echo ' if [ -f "ponyquotes/$$file" ]; then \'
+ echo -en '\t' ; echo ' cp "ponyquotes/"$$file "quotes/"$$ponies'\''.'\''$$(echo $$file | cut -d '\''.'\'' -f 2) \'
+ echo -en '\t' ; echo ';fi;done;done;done'
+ echo
+
+ echo 'manpages:'
+ gzCompress $manFiles
+ echo
+
+ echo 'infomanual:'
+ echo -en '\t'
+ echo 'makeinfo "manuals/ponysay.texinfo"'
+ gzCompress 'ponysay.info'
+ echo
+
+ echo 'ponysaycompletion:'
+ correctPrefix $completions
+ echo
+
+ echo 'ponythinkcompletion: ponysaycompletion'
+ thinkCompletion $completions
+ echo
+
+ echo 'install-min: core truncater quotes'
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"'
+ for dir in $shareDirs; do
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/'"$dir"'"'
+ echo -en '\t' ; echo 'cp -P "'"$dir"'/"*.* "$(INSTALLDIR)/share/ponysay/'"$dir"'/"'
+ done
+ echo
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/bin/"'
+ echo -en '\t' ; echo 'install "ponysay" "$(INSTALLDIR)/bin/ponysay"'
+ echo -en '\t' ; echo 'install "ponysay.py" "$(INSTALLDIR)/bin/ponysay.py"'
+ echo -en '\t' ; echo 'ln -sf "ponysay" "$(INSTALLDIR)/bin/ponythink"'
+ echo -en '\t' ; echo 'ln -sf "ponysay.py" "$(INSTALLDIR)/bin/ponythink.py"'
+ echo
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/lib/ponysay/"'
+ echo -en '\t' ; echo 'install -s "truncater" "$(INSTALLDIR)/lib/ponysay/truncater"'
+ echo
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/licenses/ponysay/"'
+ for file in $licenseFiles; do
+ echo -en '\t'
+ echo 'install "'"$file"'" "$(INSTALLDIR)/share/licenses/ponysay/'"$file"'"'
+ done
+ echo
+ echo -en '\t' ; echo 'mkdir -p $(DESTDIR)/var/cache/ponysay/'
+ echo -en '\t' ; echo 'chmod 777 $(DESTDIR)/var/cache/ponysay/'
+ echo
+
+ for completion in $completions; do
+ shell="${completion##*/}"
+ shell="${shell%%-*}"
+ thinkfile="${completion%%.*}-think.${completion##*.}"
+ shelldir='share/'"$(getcompdir $shell)"'/'
+ echo 'install-'"$shell"': ponysaycompletion ponythinkcompletion'
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/'"$shelldir"'"'
+ echo -en '\t' ; echo 'install "'"$completion"'" "$(INSTALLDIR)/'"$shelldir$(getcompfile $shell ponysay)"'"'
+ echo -en '\t' ; echo 'install "'"$thinkfile"'" "$(INSTALLDIR)/'"$shelldir$(getcompfile $shell ponythink)"'"'
+ echo
+ installedFiles="$installedFiles $shelldir$(getcompfile $shell ponysay) $shelldir$(getcompfile $shell ponythink)"
+ done
+
+ echo 'install-pdf:'
+ echo -en '\t'
+ echo 'install "ponysay.pdf" "$(INSTALLDIR)/doc/ponysay.pdf"'
+ echo
+
+ echo 'install-info: infomanual'
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/info"'
+ echo -en '\t' ; echo 'install "ponysay.info.gz" "$(INSTALLDIR)/share/info/ponysay.info.gz"'
+ echo -en '\t' ; echo 'install "ponysay.info.gz" "$(INSTALLDIR)/share/info/ponythink.info.gz"'
+ echo -en '\t' ; echo 'install-info --dir-file="$(INSTALLDIR)/share/info/dir" --entry="Miscellaneous" --description='"$INFODESC"' "$(INSTALLDIR)/share/info/ponysay.info.gz"'
+ echo -en '\t' ; echo 'install-info --dir-file="$(INSTALLDIR)/share/info/dir" --entry="Miscellaneous" --description='"$INFODESC"' "$(INSTALLDIR)/share/info/ponythink.info.gz"'
+ echo
+
+ for man in $manFiles; do
+ lang="${man##*manpage}"
+ lang="${lang%%.6}"
+ mandir="${lang/\.//}"
+ echo 'install-man'"${lang/\./-}"': manpages'
+ echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/man'"$mandir"'/man6"'
+ echo -en '\t' ; echo 'install "'"$man"'.gz" "$(INSTALLDIR)/share/man'"$mandir"'/man6/ponysay.6.gz"'
+ echo -en '\t' ; echo 'ln -sf "ponysay.6.gz" "$(INSTALLDIR)/share/man'"$mandir"'/man6/ponythink.6.gz"'
+ echo
+ installedFiles="$installedFiles share/man$mandir/man6/ponysay.6.gz share/man$mandir/man6/ponythink.6.gz"
+ done
+
+ echo
+ echo 'install: '"$installMethods"
+ echo -en '\t' ; echo '@echo -e \\n\\n\'
+ cat <<EOF
+'/--------------------------------------------------\\\\\n'\\
+'| ___ |\\n'\\
+'| / (_) o |\\n'\\
+'| \\__ _ _ __ |\\n'\\
+'| / / |/ | | / \\_| | |\\n'\\
+'| \\___/ | |_/|/\\__/ \\_/|/ |\\n'\\
+'| /| /| |\\n'\\
+'| \\| \\| |\\n'\\
+'| ____ |\\n'\\
+'| | _ \\ ___ _ __ _ _ ___ __ _ _ _ |\\n'\\
+'| | |_) |/ _ \\ | '\\''_ \\ | | | |/ __| / _\` || | | | |\n'\\
+'| | __/| (_) || | | || |_| |\\__ \\| (_| || |_| | |\\n'\\
+'| |_| \\___/ |_| |_| \\__, ||___/ \\__,_| \\__, | |\\n'\\
+'| |___/ |___/ |\\n'\\
+'\\\\--------------------------------------------------/'
+EOF
+ echo -en '\t' ; echo '@echo dummy | ./ponysay -f ./`if [[ "$$TERM" = "linux" ]]; then echo ttyponies; else echo ponies; fi`/pinkiecannon.pony | tail --lines=30 ; echo -e \\n'
+ echo
+
+ echo 'uninstall:'
+ echo -en '\t' ; echo 'if [ -d "$(DESTDIR)/var/cache/ponysay" ]; then rm -rf "$(INSTALLDIR)/var/cache/ponysay"; fi'
+ for old in $installedDirs; do
+ echo -en '\t'
+ echo 'if [ -d "$(INSTALLDIR)/'"$old"'" ]; then rm -rf "$(INSTALLDIR)/'"$old"'"; fi'
+ done
+ for old in $installedFiles; do
+ echo -en '\t'
+ echo 'if [ -f "$(INSTALLDIR)/'"$old"'" ]; then unlink "$(INSTALLDIR)/'"$old"'"; fi'
+ done
+ echo
+
+ echo 'clean:'
+ for old in $compiledDirs; do
+ echo -en '\t'
+ echo 'if [ -d "'"$old"'" ]; then rm -rf "'"$old"'"; fi'
+ done
+ for old in $compiledFiles; do
+ echo -en '\t'
+ echo 'if [ -f "'"$old"'" ]; then rm -f "'"$old"'"; fi'
+ done
+ echo
+
+ echo 'uninstall-old:'
+ for old in $oldInstalledDirs; do
+ echo -en '\t'
+ echo 'if [ -d "$(INSTALLDIR)/'"$old"'" ]; then rm -rf "$(INSTALLDIR)/'"$old"'"; fi'
+ done
+ for old in $oldInstalledFiles; do
+ echo -en '\t'
+ echo 'if [ -f "$(INSTALLDIR)/'"$old"'" ]; then unlink "$(INSTALLDIR)/'"$old"'"; fi'
+ done
+ echo
+
+ echo 'clean-old:'
+ for old in $oldCompiledDirs; do
+ echo -en '\t'
+ echo 'if [ -d "'"$old"'" ]; then rm -rf "'"$old"'"; fi'
+ done
+ for old in $oldCompiledFiles; do
+ echo -en '\t'
+ echo 'if [ -f "'"$old"'" ]; then rm -f "'"$old"'"; fi'
+ done
+ echo
+
+ cat <<EOF
+## Scripts for maintainers
+
+ttyponies:
+ mkdir -p "ttyponies"
+ for pony in \$\$(ls --color=no "ponies/"); do \\
+ echo "building ttypony: \$\$pony" ;\\
+ if [ \`readlink "ponies/\$\$pony"\` = "" ]; then \\
+ ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 -e > "ttyponies/\$\$pony" ;\\
+ git add "ttyponies/\$\$pony" ;\\
+ elif [ ! -f "ttyponies/\$\$pony" ]; then \\
+ ln -s \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
+ git add "ttyponies/\$\$pony" ;\\
+ fi \\
+ done
+
+pdfmanual:
+ texi2pdf "manuals/ponysay.texinfo"
+ git add "manuals/ponysay.texinfo" "ponysay.pdf"
+ for ext in \`echo aux cp cps fn ky log pg toc tp vr\`; do \\
+ (if [ -f "ponysay.\$\$ext" ]; then unlink "ponysay.\$\$ext"; fi); \\
+ done
+ if [ -d "ponysay.t2d" ]; then rm -r "ponysay.t2d"; fi
+
+EOF
+}
+
+makeMakefile > Makefile
+
View
1 dev/bin/ponysay
View
1 dev/lib/ponysay/linklist.pl
View
1 dev/lib/ponysay/list.pl
View
1 dev/lib/ponysay/pq4ps
View
1 dev/lib/ponysay/pq4ps-list.pl
View
1 dev/lib/ponysay/pq4ps.pl
View
1 dev/share/ponysay/ponies
View
1 dev/share/ponysay/quotes
View
1 dev/share/ponysay/ttyponies
View
35 linklist.pl
@@ -1,35 +0,0 @@
-#!/usr/bin/perl
-
-# ponysaylist
-# Prints a list of ponies in columns
-#
-# Licensed under WTFPL
-# See COPYING for details
-
-# Author: Mattias Andrée, maandree@kth.se
-# spider-mario
-
-
-use strict;
-use warnings;
-use utf8;
-
-my %hash;
-
-{
- local @ARGV = @ARGV;
- while ((my ($source, $target), @ARGV) = @ARGV) {
- unless ($source eq $target) {
- push @{$hash{$target}}, $source;
- }
- }
-}
-
-while ((my ($source, $target), @ARGV) = @ARGV) {
- if ($source eq $target) {
- my @list = @{$hash{$source} // []};
- print $source;
- print ' (', join(' ', @list), ')' if @list;
- print "\n";
- }
-}
View
41 list.pl
@@ -1,41 +0,0 @@
-#!/usr/bin/env perl
-
-# ponysaylist
-# Prints a list of ponies in columns
-#
-# Licensed under WTFPL
-# See COPYING for details
-
-# Author: Mattias Andrée, maandree@kth.se
-# spider-mario
-
-
-use strict;
-use warnings;
-use utf8;
-use feature qw(say);
-use integer;
-use List::Util qw(max);
-
-my $scrw = shift @ARGV // 1;
-
-#for (@ARGV) {
-# # Format names from pony names
-# s/(?<=[a-z])(?=[A-Z])/ /;
-# s/_(.*)/\t($1)/;
-#}
-
-my $maxw = max 1, map {length} @ARGV;
-
-my $cols = max 1, (($scrw + 2) / ($maxw + 2));
-
-my @list = map {sprintf "%-${maxw}s", $_} @ARGV;
-
-my $rows = (@list + $cols - 1) / $cols;
-
-my @rowlist;
-for my $i (0 .. $#list) {
- push @{$rowlist[$i % $rows]}, $list[$i];
-}
-
-say join ' ', @$_ for @rowlist;
View
3 manuals/manpage.6
@@ -104,7 +104,8 @@ Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
.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.
+with contributions from Mattias Andrée, Elis Axelsson, Sven-Hendrik Haase,
+Pablo Lezaeta, Jan Alexander Steffens et al.
.\" See file CREDITS for full list.
.PP
This manual page was originally written by Louis Taylor <kragniz@gmail.com>
View
3 manuals/manpage.es.6
@@ -108,7 +108,8 @@ Los bugs pueden ser reportados en
.br
.SH AUTOR
ponysay fue escrito por Erkin Batu Altunbaş <erkinbatu@gmail.com>
-con la ayuda de Mattias Andrée, Sven-Hendrik Haase, Jan Alexander Steffens y otros.
+con la ayuda de Mattias Andrée, Elis Axelsson, Sven-Hendrik Haase,
+Pablo Lezaeta, Jan Alexander Steffens y otros.
.\" vea el archivo CREDITS para la lista completa.
.PP
Este manual originalmente fue escrito por Louis Taylor <kragniz@gmail.com>
View
270 manuals/ponysay.texinfo
@@ -8,7 +8,7 @@
@documentlanguage en
@finalout
@c %**end of header
-@set VERSION 1.4.1
+@set VERSION 2.0
@copying
This manual is for ponysay
@@ -117,24 +117,35 @@ Otherwise @command{ponysay} and @command{ponythink} is the same thing.
Parse the following arguments as parts of @code{@var{message}}.
@item -h
+@itemx --help
@cindex @command{-h}
+@cindex @command{--help}
Show summary of options.
@item -v
+@item --verion
@cindex @command{-v}
+@cindex @command{--version}
Show version of program.
@item -f PONY
+@itemx --pony PONY
@cindex @command{-f}
+@cindex @command{--pony}
Specify the pony that should printed, this can either be a file name or
a pony name printed by @command{ponysay -l}. If it is a file name with
a relative path and does not include a `@code{/}', it must begin with
`@code{./}', this is a @command{cowsay} issue. This option can be used
multiple times to specify a set of ponies from which one will be selected
randomly. If no pony is specified one will be selected randomly.
+If you have @command{util-say} installed, you can use .png-files as the
+arguments for this options.
+
@item -q [PONY...]
+@itemx --quote [PONY...]
@cindex @command{-q}
+@cindex @command{--quote}
By using this option, a pony will be printed with quotes from her in My Little Pony:
Friendship is Magic. The pony will be selected randomly, unless at least one pony
is added as an argument after @command{-q}. If one or more ponies are added after
@@ -143,19 +154,25 @@ This option requires the extension @command{ponyquotes4ponysay}, which
is included by default since version 1.2.
@item -W COLUMN
+@itemx --wrap COLUMN
@cindex @command{-W}
+@cindex @command{--wrap}
Specify the screen column where the message should be wrapped,
this is by default 40, which is inherited from @command{cowsay}.
@item -l
+@itemx --list
@cindex @command{-l}
+@cindex @command{--list}
Lists all installed ponies. If the extension @command{ponyquotes4ponysay}
is installed the ponies which have quotes, i.e. can be used with the
@command{-q} option, will be mark by being printed in bold or bright
(depending on the terminal.)
@item -L
+@itemx --linklist
@cindex @command{-L}
+@cindex @command{--altlist}
Lists all installed ponies. If the extension @command{ponyquotes4ponysay}
is installed the ponies which have quotes, i.e. can be used with the
@command{-q} option, will be mark by being printed in bold or bright
@@ -226,7 +243,7 @@ to @command{ponypipe}: @url{http://www.reddit.com/r/mylittlelinux/comments/srixi
If you use TTY and have a custom colour palette, you should also add to your
@code{~/.bashrc}, before @code{fortune | ponysay}:
@example
-[[ "$TERM" = "linux" ]] &&
+[ "$TERM" = "linux" ] &&
function ponysay
@{ exec ponysay "$@@"
#RESET PALETTE HERE
@@ -249,7 +266,7 @@ So before opening @command{screen} you use set @code{$TERM} to @code{xterm-256co
if you are using a terminal with support for @code{xterm}'s 256 colours; this
can be done by adding to your @code{~/.bashrc}:
@example
-[[ "$TERM" = "xterm" ]] &&
+[ "$TERM" = "xterm" ] &&
function screen
@{ export TERM="xterm-256color"
exec screen "$@@"
@@ -303,10 +320,10 @@ are not running @command{ponysay} under TTY.
@cindex replace cowsay
If you want to use another program than @command{cowsay} (the first
@command{cowsay} found in @code{$PATH}), you can export @code{PONYSAY_COWSAY}
-with the value of that program. If, and only if, @code{PONYSAY_COWSAY} does
-not have any value, @command{cowsay} is patch with @code{use utf8;} to the
-beginning. The @code{use utf8;} patch is introduced to make it easier to
-customise cowsay.
+with the value of that program. In earlier versions than version 2.0: If, and
+only if, @code{PONYSAY_COWSAY} does not have any value, @command{cowsay} is
+patch with @code{use utf8;} to the beginning. The @code{use utf8;} patch is
+introduced to make it easier to customise cowsay.
@code{PONYSAY_COWTHINK} will be used instead of @code{PONYSAY_COWSAY} if
you run @command{ponythink}.
@@ -448,20 +465,14 @@ properties that makes a picture good.
@table @option
@item bash
-Required for the main script [file: @command{ponysay}].
+Required for the glue script.
@item cowsay
This is a wrapper for @command{cowsay}.
@item coreutils
-The main script [file: @command{ponysay}] uses @command{stty}, @command{cut},
-@command{ls}, @command{cat}, @command{sort}, @command{readlink}, @command{pwd},
-@command{head} and @command{tail}.
-@item sed
-@cindex @command{-l}
-@cindex @command{-L}
-Used to remove @code{.pony} from pony names when running @command{ponysay -l}
-and @command{ponysay -L}.
-@item perl
-Required to run @command{ponysay -l} and @command{ponysay -L}.
+@command{stty} is used to determine the size of the terminal,
+other parts of Coreutils will not be needed for long
+@item python
+Python version 3 is the primary language of the program
@end table
@node Optional runtime dependencies
@@ -470,19 +481,21 @@ Required to run @command{ponysay -l} and @command{ponysay -L}.
@cindex optional dependencies
@table @option
-@item ponyquotes4ponysay
-@cindex ponyquotes4ponysay
-@cindex @command{-q}
-For support of My Little Pony quotes with associated pony: the @code{-q} option.
-It can be downloaded at @url{https://github.com/maandree/ponyquotes4ponysay}.
+@item util-say
+@cindex @command{util-say}
+@cindex kms
+@cindex tty
+@cindex linux vt
+For improved TTY support for user with custom colour palette and KMS support.
+It can be downloaded at @url{https://github.com/maandree/util-say}.
-Since version 1.2, this module is included in ponysay. You can edit ponysay's
-@code{Makefile} to remove it.
+@cindex png images
+@cindex images, png
+@cindex portable network graphics
+For ther purpose of simplying for pony contributors, @command{ponysay}
+supports using .png-images (note that the file must not miss the
+@code{.png} in the file) in addition of .pony-files or pony names.
-@item kmsponies4ponysay
-@cindex kmsponies4ponysay
-For improved TTY support for user with custom colour palette and KMS support.
-It can be downloaded at @url{https://github.com/maandree/kmsponies4ponysay}.
@end table
@@ -499,6 +512,8 @@ Required to run the make script.
@item coreutils
The make script uses @command{install}, @command{unlink}, @command{rm}, @command{ln},
@command{mkdir} and @command{cp}.
+@item sed
+Used on the make system.
@item texinfo
@itemx info
@command{texinfo} and @command{info} are required if you want this @command{info} manual.
@@ -543,7 +558,7 @@ It can be downloaded at @url{https://github.com/maandree/util-say}.
@menu
* Installations basics:: The basics of installations.
-* Custom installations:: Installation customisations.
+* Custom installations:: Installation customisation.
@end menu
@node Installations basics
@@ -561,69 +576,93 @@ for bleeding edge, or from @url{https://github.com/erkin/ponysay/tags} for relea
If you have @command{git} you @command{clone} the project URL
@url{https://github.com/erkin/ponysay.git}.
-In the terminal,@command{cd} into the ponysay directory and execute
-@command{make install}. This will install @command{ponysay} into the
+In the terminal, @command{cd} into the ponysay directory and execute
+@command{./configure && make install}. This will install @command{ponysay} into the
@code{/usr}, meaning you may need to run @command{make install} as root,
e.g. by running @command{sudo make install}.
Now you will be to use ponysay, run: @command{ponysay "I am just the cutest pony!"},
or if have a specific pony in your mind: @command{ponysay -f pinkie "Partay!~"}.
+@cindex manpage translations
@command{ponysay} comes with this @command{info} manual and a manpage in section 6,
@command{man 6 ponysay} (or just @command{man ponysay}). The manpage is also available
-in Spanish: @command{man -L es 6 ponysay}.
+in Spanish: @command{man -L es 6 ponysay}. The install the Spanish manual add the
+option @command{--with-man-es} when running @command{./configure}.
@node Custom installations
@subsection Custom installations
@cindex customised installations
@cindex installation customisation
@cindex make
-
-A basic installation will install everyting @command{ponysay} has to offer, except
-the prebuild PDF manual. If you want to install the PDF manual, which is by default
-installed as a @command{info} manual, you can run @command{make install-pdf}.
-@command{make install-pdf} has no require means and will install the PDF manual, and
-only the PDF manual, to @code{/usr/doc/ponysay.pdf}.
-
-If you want to perform a regular installation, but without the @command{info} manual
-you can run @command{make install-no-info}. It is also possible to install each part
-independently; running @command{make install-min} will install the core of
-@command{ponysay}, which is the minimal set that can installed without generating
-errors or problems. After perform the core installaton whether are some other install
-commands:
-
+@cindex @command{./configure}
+@cindex configure
+
+@cindex @command{--everything}
+A basic installation will install everything @command{ponysay} has to offer, except
+the prebuilt PDF manual and translated manpages. If you want to install exactly
+everything add the option @command{--everything} when running @command{./configure}.
+
+@cindex @command{--with-pdf}
+@cindex PDF manual, with
+@cindex @command{--without-man}
+@cindex manpage, without
+@cindex @command{--without-info}
+@cindex @command{info} manual, without
+@cindex @command{--with-man-LANG}
+@cindex manpage translations
+After @command{--everything} it is possible to remove unwanted parts, this can
+of cause be done without @command{--everything}. If you want to install the
+PDF manual to @code{/usr/doc/ponysay.pdf} add the option @command{--with-pdf} when
+running @command{./configure}. To install a manpage translation add
+@command{--with-man-LANG} and substitute the the language code for @code{LANG}.
+Currently the only translation is Spanish with the language code @code{es}.
+If you do not want the English manpage add the option @command{--without-man}.
+If you do not want the @command{info} manual add the option @command{--without-info}.
+
+
+The following argumentless options are also recognised:
@itemize @bullet
-@item @command{make install-bash}
-will install completion for @command{ponysay} and shell GNU Bash.
-@item @command{make install-fish}
-will install completion for @command{ponysay} and shell @command{fish}.
-@item @command{make install-zsh}
-will install completion for @command{ponysay} and shell @command{zsh}.
-@item @command{make install-info}
-will install the @command{info} manual, this will enable the command @command{info ponysay}.
-@item @command{make install-man}
-will install the English manpage, which is a small to the point manual that is
-a bit more helpful @command{ponysay --help}. This will enable the command
-@command{man ponysay} and @command{man 6 ponysay}.
-@item @command{make install-man-es}
-will install a Spanish translation of the manpage. To read it you execute
-@command{man -L es ponysay} or @command{man -L es 6 ponysay}.
+@item @command{--without-bash}
+@cindex @command{--without-bash}
+@cindex @command{bash}, without
+will skip installation of auto-completion for @command{ponysay} and the
+GNU Bourne-again shell, @command{bash}.
+@item @command{--without-fish}
+@cindex @command{--without-fish}
+@cindex @command{fish}, without
+will skip installation of auto-completion for @command{ponysay} and the
+Friendly interactive shell, @command{fish}.
+@item @command{--without-zsh}
+@cindex @command{--without-zsh}
+@cindex @command{zsh}, without
+will skip installation of auto-completion for @command{ponysay} and the
+shell @command{zsh}.
@end itemize
+@cindex @command{--prefix=TARGET}
+@cindex @code{/usr/games}
The program is by default installed in @code{/usr}, if you want another target
-directory, you can add @code{PREFIX} when running @command{make}. For example
-to install @command{ponysay} in @code{/usr/games} you build the program by
-running @command{make PREFIX=/usr/games}, and alike for installation and uninstallation.
+directory, you can add @command{--prefix=TARGET} when running @command{./configure}.
+For example to install @command{ponysay} in @code{/usr/games} you build the
+program by running @command{./configure --prefix=/usr/games}, and alike for
+installation and uninstallation. Notice the @command{=} cannot be substituted
+with white space.
+
+@cindex @command{--info-desc=DESCRIPTION}
+If you are not using @command{--without-info} you can add
+@command{--info-desc=DESCRIPTION} to specify the description @command{info}
+which provide when listing commands.
@node Arch Linux
@section Arch Linux
@cindex arch linux
The official Arch Linux package repositories contains @command{ponysay} as
-@code{community/ponysay}. The Arch Linux User Repository (AUR) contains a bleeding edge
-git version of @command{ponysay} as @code{ponysay-git}.
+@code{community/ponysay}. The Arch Linux User Repository (AUR) contains a bleeding
+edge git version of @command{ponysay} as @code{ponysay-git}.
@node Gentoo Linux
@@ -649,15 +688,11 @@ and a PPA can be found at @url{https://launchpad.net/~blazemore/+archive/ponysay
If you did not install @command{ponysay} with a package manager, but rather
manually from the upstream, you can uninstall it by running @command{make uninstall}.
-Do not forget @code{PREFIX} if it is not installed in @code{/usr}, see
-@ref{Custom installations}.
Well written package manages will uninstall files that the package is no longer
using, i.e. if deleted, moved or renamed. To uninstall files that are not longer
used, by the currently installed version you will need that versions @code{Makefile}.
To perform the uninstallion of old filed run @command{make uninstall-old}.
-Do not forget @code{PREFIX} if it is not installed in @code{/usr}, see
-@ref{Custom installations}.
@@ -683,8 +718,8 @@ are enabled when other packages are installed.
@command{ponyquotes4ponysay} is a package that adds support for MLP:FiM quotes that are
displayed with the associated ponies. See @ref{Invoking ponysay} for more information.
-As of version 1.2 @command{ponyquotes4ponysay} is included in @command{ponysay}, but can easily
-be removed, but is still available at @url{https://github.com/maandree/ponyquotes4ponysay}.
+As of version 1.2 @command{ponyquotes4ponysay} is included in @command{ponysay},
+but is still available at @url{https://github.com/maandree/ponyquotes4ponysay}.
@node kmsponies4ponysay
@@ -700,7 +735,7 @@ be removed, but is still available at @url{https://github.com/maandree/ponyquote
@cindex .bashrc
@command{kmsponies4ponysay} is an extension for TTY users that have a custom TTY colour
-palette and KMS support. KMS is supported on must computers, but due to lack of published
+palette and KMS support. KMS is supported on most computers, but due to lack of published
specifications Nvidea drivers does not support KMS. @command{kmsponies4ponysay} can be
downloaded at @url{https://github.com/maandree/kmsponies4ponysay}.
@@ -718,7 +753,7 @@ Assuming you have a function in your @code{~/.bashrc}, to reset the colour palet
you set it to last time in the terminal, named @command{reset-palette}, your @code{~/.bashrc}
should, for example, contain:
@example
-[[ "$TERM" = "linux" ]] &&
+[ "$TERM" = "linux" ] &&
function ponysay
@{ export PONYSAY_KMS_PALETTE="`reset-palette`"
exec ponysay "$@@"
@@ -727,6 +762,9 @@ should, for example, contain:
@command{kmsponies4ponysay} uses @code{/var/cache/kmsponies4ponysay/} for cache space.
+As of version 2.0 @command{kmsponies4ponysay} is included in @command{ponysay},
+but is still available at @url{https://github.com/maandree/kmsponies4ponysay}.
+
@node Inner workings
@@ -739,6 +777,7 @@ should, for example, contain:
* Printing in TTY with KMS:: Printing in TTY with KMS.
* Truncation:: Output truncation.
* Languages:: Selection of languages.
+* Shell auto-completion:: Things make auto-completion simplier.
@end menu
@@ -817,13 +856,37 @@ sequences after the first character after the initial escape if it is not either
@cindex script languages
@cindex programming languages
-Ponysay is written primarily in GNU Bash shell script (POSIX compliant); the truncater
-is however written in C, because it is simple, fast, does not pose addition dependencies,
-and is easy to do byte hacking in.
+Before version 2.0 @command{ponysay} was written primarily in GNU Bash script
+(POSIX compliant); the truncater was however written in C, because it is simple,
+fast, does not pose addition dependencies, and is easy to do byte hacking in.
+
+Sometimes shell is too slow, in these cases Perl was used; Perl was already
+required by cowsay, is similar to shell, but also supports hash tables.
+
+However since version 2.0 we are trying to move from all there languages
+and only use Python 3.
+
+
+@node Shell auto-completion
+@section Shell auto-completion
+@cindex auto-completion, inner workings
+@cindex shell, auto-completion
+@cindex @command{--onelist}
+@cindex @command{--quoters}
+
+To make it easier to write auto-completion for shells, @command{ponysay} supports
+the two options @command{--onelist} and @command{--quoters}, which has not short
+versions.
+
+Executing @command{ponysay --onelist} will list every available pony,
+independent of where it is located, the output is a sorted and consists only
+of one pony per line.
+
+@command{ponysay --quoters} work just as @command{ponysay --onelist}, excepts
+it limites the ponies to those that have quotes. Ponies that have qoutes,
+but does not exist, i.e. does not have a .pony-file, are not listed.
-Sometimes shell is too slow, in these cases [that exist today] Perl is used; Perl
-is already required by cowsay, is similar to shell, but also supports hash tables.
-[maandree: I actually learned Perl just for this.]
+Auto-completion scripts should not suggest these options.
@@ -892,6 +955,17 @@ To be able to run @command{make -B ttyponies} you must have the packages listed
@cindex versions
@cindex previous releases
+@heading Version 2.0
+
+@itemize @bullet
+@item
+Makefile is generated by running @command{./configure}.
+@item
+All Perl scripts and almost all Bash are reimplemented in one Python 3 script.
+@item
+kmsponies4ponysay is included.
+@end itemize
+
@heading Version 1.4.1
@itemize @bullet
@@ -1188,26 +1262,28 @@ First release.
@node Ponysay contributors
@appendix Ponysay contributors
-Active developers of ponysay:
+Active developers and major contributors of ponysay:
@itemize @bullet
-@item Erkin Batu Altunbaş
-@item Mattias Andrée
-@item Sven-Hendrik Haase
-@item Pablo Lezaeta
-@item Jan Alexander Steffens
+@item Erkin ``erkin'' Batu Altunbaş