Added mising version info to texinfo

This commit is contained in:
Pablo Lezaeta 2012-08-22 18:10:28 -04:00
commit d67b95bfbb
25 changed files with 1641 additions and 499 deletions

View file

@ -98,7 +98,7 @@ FAQ
__Q:__ The output looks like a mess in _(TTY/PuTTY/other)_! __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](/erkin/ponysay/issues/1). __A:__ Unfortunately we cannot make it perfect, see [issue 1](/erkin/ponysay/issues/1). But we have done a lot, read more about how to get the best the current state of the art has to offer in the [manual](/erkin/ponysay/blob/master/ponysay.pdf?raw=true).
__Q:__ You are missing _(my-favourite-pony)_! __Q:__ You are missing _(my-favourite-pony)_!
@ -106,5 +106,6 @@ __A:__ [Ask](/erkin/ponysay/issues) and we'll add!
__Q:__ Which programs do you use to generate the pony files? __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) __A:__ The pony files are actually mostly a bunch of selected [browser ponies](//web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html), converted using [util-say](/maandree/util-say).
that are generated into cow files via [img2xterm](/rossy2401/img2xterm) or [util-say](/maandree/util-say).
The [PDF manual](/erkin/ponysay/blob/master/ponysay.pdf?raw=true) should answer most of your questions.

30
balloons/ascii.say Normal file
View file

@ -0,0 +1,30 @@
/:/
\:\
n:_
:
s:_
w:|
e: |
ww:|
ee: |
nw:
:/
ne:
:\
sw:\
se:/
nnw:_
:
nne:_
:
ssw:_
sse:_
nww:|
nee: |
sww:|
see: |

30
balloons/ascii.think Normal file
View file

@ -0,0 +1,30 @@
/:o
\:o
n:_
:
s:_
w:(
e: )
ww:(
ee: )
nw:
:(
ne:
:)
sw:(
se:)
nnw:_
:
nne:_
:
ssw:_
sse:_
nww:(
nee: )
sww:(
see: )

25
balloons/cowsay.say Normal file
View file

@ -0,0 +1,25 @@
/:/
\:\
n:_
s:-
w:|
e: |
ww:<
ee: >
nw: _
ne:_
sw: -
se:-
nnw:_
nne:_
ssw:-
sse:-
nww:/
nee: \
sww:\
see: /

25
balloons/cowsay.think Normal file
View file

@ -0,0 +1,25 @@
/:o
\:o
n:_
s:-
w:(
e: )
ww:(
ee: )
nw: _
ne:_
sw: -
se:-
nnw:_
nne:_
ssw:-
sse:-
nww:(
nee: )
sww:(
see: )

35
balloons/linux-vt.say Normal file
View file

@ -0,0 +1,35 @@
/:/
\:\
n:─
:
s:
:─
w:│
e: │
ww:│
ee: │
nw:┌
:│
ne:┐
:│
sw:│
:└
se:│
:┘
nnw:─
:
nne:─
:
ssw:
:─
sse:
:─
nww:│
nee: │
sww:│
see: │

35
balloons/round.say Normal file
View file

@ -0,0 +1,35 @@
/:
\:╲
n:─
:
s:
:─
w:│
e: │
ww:│
ee: │
nw:╭
:│
ne:╮
:│
sw:│
:╰
se:│
:╯
nnw:─
:
nne:─
:
ssw:
:─
sse:
:─
nww:│
nee: │
sww:│
see: │

35
balloons/unicode.say Normal file
View file

@ -0,0 +1,35 @@
/:
\:╲
n:─
:
s:
:─
w:│
e: │
ww:│
ee: │
nw:┌
:│
ne:┐
:│
sw:│
:└
se:│
:┘
nnw:─
:
nne:─
:
ssw:
:─
sse:
:─
nww:│
nee: │
sww:│
see: │

25
balloons/unicode.think Normal file
View file

@ -0,0 +1,25 @@
/:o
\:o
n:⁀
s:‿
w:(
e: )
ww:(
ee: )
nw:(
ne:)
sw:(
se:)
nnw:⁀
nne:⁀
ssw:‿
sse:‿
nww:(
nee: )
sww:(
see: )

View file

@ -5,17 +5,25 @@ _ponysay()
local cur prev words cword local cur prev words cword
_init_completion -n = || return _init_completion -n = || return
options='--version --help --list --altlist --pony --wrap --quote' options='--version --help --list --altlist --pony --wrap --quote --balloonlist --balloon --file ++file ++pony ++list ++altlist'
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
if [ $prev = "-f" ] || [ $prev = "--pony" ]; then if [ $prev = "-f" ] || [ $prev = "--pony" ] || [ $prev = "--file" ]; then
ponies=$('/usr/bin/ponysay' --onelist) ponies=$('/usr/bin/ponysay' --onelist)
COMPREPLY=( $( compgen -W "$ponies" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$ponies" -- "$cur" ) )
elif [ $prev = "-F" ] || [ $prev = "++pony" ] || [ $prev = "++file" ]; then
extraponies=$('/usr/bin/ponysay' ++onelist)
COMPREPLY=( $( compgen -W "$extraponies" -- "$cur" ) )
elif [ $prev = "-q" ] || [ $prev = "--quote" ]; then elif [ $prev = "-q" ] || [ $prev = "--quote" ]; then
quoters=$('/usr/bin/ponysay' --quoters) quoters=$('/usr/bin/ponysay' --quoters)
COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) )
elif [ $prev = "-b" ] || [ $prev = "--balloon" ]; then
balloons=$('/usr/bin/ponysay' --balloonlist)
COMPREPLY=( $( compgen -W "$balloons" -- "$cur" ) )
elif [ $prev = "-W" ] || [ $prev = "--wrap" ]; then elif [ $prev = "-W" ] || [ $prev = "--wrap" ]; then
cols=$(( `stty size | cut -d ' ' -f 2` - 10 )) cols=$(( `stty size | cut -d ' ' -f 2` - 10 ))
COMPREPLY=( $cols $(( $cols / 2 )) 100 60 ) COMPREPLY=( $cols $(( $cols / 2 )) 100 60 )

View file

@ -4,18 +4,26 @@
# Author: Elis Axelsson <etu AT elis DOT nu> # Author: Elis Axelsson <etu AT elis DOT nu>
set -g ponies ('/usr/bin/ponysay' --onelist) set -g ponies ('/usr/bin/ponysay' --onelist)
set -g xponies ('/usr/bin/ponysay' ++onelist)
set -g quoters ('/usr/bin/ponysay' --quoters) set -g quoters ('/usr/bin/ponysay' --quoters)
set -g balloons ('/usr/bin/ponysay' --balloonlist)
## TODO: update with options [see info manual]: +l +L ++list ++altlist ++file --file ++pony
complete --command ponysay --short-option h --long-option help --description 'help of ponysay' 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 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 list --description 'list pony names'
complete --command ponysay --short-option L --long-option altlist --description 'list pony files with alternatives' complete --command ponysay --short-option L --long-option altlist --description 'list pony names with alternatives'
complete --command ponysay --short-option B --long-option balloonlist --description 'list balloon style names'
complete --command ponysay --short-option f --long-option pony --arguments "$ponies" --description 'pony' 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 F --arguments "$xponies" --description 'extra pony'
complete --command ponysay --short-option q --long-option quote --arguments "$quoters" --description 'pony'
complete --command ponysay --short-option b --long-option balloon --arguments "$balloons" --description 'balloon style'
complete --command ponysay --short-option W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped' 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' complete --command ponysay --arguments 'MESSAGE'
set -e ponies
set -e quoters
set -e ponies
set -e xponies
set -e quoters
set -e balloons

View file

@ -2,10 +2,15 @@
_shortopts=( _shortopts=(
'-v[Show version and exit]' '-v[Show version and exit]'
'-h[Show this help and exit]' '-h[Show this help and exit]'
'-l[list ponyfiles]' '-l[list pony names]'
'-L[list ponyfiles with alternatives]' '-L[list pony names with alternatives]'
'-f[Select a pony (either a filename or a ponyname]: :_path_files -W '/usr/share/ponysay/ponies' -g "*(\:r)"' '+l[list extra pony names]'
'+L[list extra pony names with alternatives]'
'-B[list balloon style names]'
'-f[Select a pony (either a file name or a pony name)]: :_path_files -W '/usr/share/ponysay/ponies' -g "*(\:r)"'
'-F[Select a extra pony]: :_path_files -W '/usr/share/ponysay/extraponies' -g "*(\:r)"'
'-q[Select ponies for MLP:FiM quotes]' '-q[Select ponies for MLP:FiM quotes]'
'-b[Selecy a balloon style]'
'-W[The screen column where the message should be wrapped]' '-W[The screen column where the message should be wrapped]'
) )
_arguments -s : \ _arguments -s : \

25
configure vendored
View file

@ -6,7 +6,7 @@ INFODESC=\''My Little Ponies for your terminal'\'
SHELL='bash' SHELL='bash'
completions='completion/bash-completion.sh completion/fish-completion.fish completion/zsh-completion.zsh' completions='completion/bash-completion.sh completion/fish-completion.fish completion/zsh-completion.zsh'
shareDirs='ponies ttyponies quotes' shareDirs='ponies ttyponies quotes balloons extraponies extrattyponies'
manFiles='manuals/manpage.6 manuals/manpage.es.6' manFiles='manuals/manpage.6 manuals/manpage.es.6'
licenseFiles='COPYING' licenseFiles='COPYING'
@ -17,7 +17,7 @@ oldInstalledDirs='lib/ponysay share/ponies share/ttyponies bin/ponysaylist.pl'
oldCompiledFiles='truncater ponysaytruncater ponysay.py.install' oldCompiledFiles='truncater ponysaytruncater ponysay.py.install'
oldCompiledDirs='' oldCompiledDirs=''
installedFiles='bin/ponysay bin/ponythink doc/ponysay.pdf share/info/ponysay.info.gz share/info/ponythink.info.gz' installedFiles='bin/ponysay bin/ponythink doc/ponysay.pdf share/info/ponysay.info.gz share/info/ponythink.info.gz share/ponysay/ucsmap'
installedDirs='share/ponysay lib/ponysay' installedDirs='share/ponysay lib/ponysay'
compiledFiles='ponysay.info ponysay.info.gz ponysay.install ponysay.install~' compiledFiles='ponysay.info ponysay.info.gz ponysay.install ponysay.install~'
compiledDirs='quotes' compiledDirs='quotes'
@ -224,13 +224,16 @@ function makeMakefile()
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"' echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"'
for dir in $shareDirs; do for dir in $shareDirs; do
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/'"$dir"'"' echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/'"$dir"'"'
echo -en '\t' ; echo 'cp -P "'"$dir"'/"*.* "$(INSTALLDIR)/share/ponysay/'"$dir"'/"' echo -en '\t' ; echo 'cp -P "'"$dir"'/"* "$(INSTALLDIR)/share/ponysay/'"$dir"'/"'
done done
echo echo
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/bin/"' echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/bin/"'
echo -en '\t' ; echo 'install "ponysay.install" "$(INSTALLDIR)/bin/ponysay"' echo -en '\t' ; echo 'install "ponysay.install" "$(INSTALLDIR)/bin/ponysay"'
echo -en '\t' ; echo 'ln -sf "ponysay" "$(INSTALLDIR)/bin/ponythink"' echo -en '\t' ; echo 'ln -sf "ponysay" "$(INSTALLDIR)/bin/ponythink"'
echo echo
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/ponysay/"'
echo -en '\t' ; echo 'install "share/ucsmap" "$(INSTALLDIR)/share/ponysay/ucsmap"'
echo
echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/licenses/ponysay/"' echo -en '\t' ; echo 'mkdir -p "$(INSTALLDIR)/share/licenses/ponysay/"'
for file in $licenseFiles; do for file in $licenseFiles; do
echo -en '\t' echo -en '\t'
@ -239,7 +242,6 @@ function makeMakefile()
echo echo
echo 'install-cache:' echo 'install-cache:'
echo -en '\t' ; echo 'if [ -d "/var/cache/ponysay" ]; then rm -r "/var/cache/ponysay"; fi'
echo -en '\t' ; echo 'mkdir -p "$(DESTDIR)/var/cache/ponysay/"' echo -en '\t' ; echo 'mkdir -p "$(DESTDIR)/var/cache/ponysay/"'
echo -en '\t' ; echo 'chmod 777 "$(DESTDIR)/var/cache/ponysay/"' echo -en '\t' ; echo 'chmod 777 "$(DESTDIR)/var/cache/ponysay/"'
echo echo
@ -359,6 +361,7 @@ EOF
ttyponies: ttyponies:
mkdir -p "ttyponies" mkdir -p "ttyponies"
for pony in \$\$(ls --color=no "ponies/"); do \\ for pony in \$\$(ls --color=no "ponies/"); do \\
if [ 1 "\$\$pony" = '.info' ]; then \\
echo "building ttypony: \$\$pony" ;\\ echo "building ttypony: \$\$pony" ;\\
if [ "\`readlink "ponies/\$\$pony"\`" = '' ]; then \\ if [ "\`readlink "ponies/\$\$pony"\`" = '' ]; then \\
ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 > "ttyponies/\$\$pony" ;\\ ponysay2ttyponysay < "ponies/\$\$pony" | tty2colourfultty -c 1 > "ttyponies/\$\$pony" ;\\
@ -367,6 +370,20 @@ ttyponies:
ln -sf \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\ ln -sf \`readlink "ponies/\$\$pony"\` "ttyponies/\$\$pony" ;\\
git add "ttyponies/\$\$pony" ;\\ git add "ttyponies/\$\$pony" ;\\
fi ;\\ fi ;\\
fi ;\\
done
mkdir -p "extrattyponies"
for pony in \$\$(ls --color=no "extraponies/"); do \\
if [ 1 "\$\$pony" = '.info' ]; then \\
echo "building extrattypony: \$\$pony" ;\\
if [ "\`readlink "extraponies/\$\$pony"\`" = '' ]; then \\
ponysay2ttyponysay < "extraponies/\$\$pony" | tty2colourfultty -c 1 > "extrattyponies/\$\$pony" ;\\
git add "extrattyponies/\$\$pony" ;\\
else \\
ln -sf \`readlink "extraponies/\$\$pony"\` "extrattyponies/\$\$pony" ;\\
git add "extrattyponies/\$\$pony" ;\\
fi ;\\
fi ;\\
done done
pdfmanual: pdfmanual:

3
extraponies/info Normal file
View file

@ -0,0 +1,3 @@
Dummy file for this directory as it is otherwise empty.
Non-MLP:FiM ponies should be placed here.

3
extrattyponies/info Normal file
View file

@ -0,0 +1,3 @@
Dummy file for this directory as it is otherwise empty.
Non-MLP:FiM ttyponies should be placed here.

View file

@ -58,10 +58,20 @@ List pony files.
.B \-L .B \-L
List pony files with alternative names inside brackets. List pony files with alternative names inside brackets.
.TP .TP
.B \+l
List non-MLP:FiM pony files.
.TP
.B \+L
List non-MLP:FiM pony files with alternative names inside brackets.
.TP
.B \-f \fIname\fP .B \-f \fIname\fP
Select a pony (either a file name or a pony name), you can use this options multiple times, Select a pony (either a file name or a pony name), you can use this options multiple times,
and one of the will be selected randomly. and one of the will be selected randomly.
.TP .TP
.B \-F \fIname\fP
Select a non-MLP:FiM pony (either a file name or a pony name), you can use this options
multiple times, and one of the will be selected randomly.
.TP
.B \-q [\fIname\fP...] .B \-q [\fIname\fP...]
By using this option, a pony will be printed with quotes from her in My Little Pony: 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 Friendship is Magic. The pony will be selected randomly, unless at least one pony

View file

@ -58,8 +58,17 @@ Lista los ponis disponibles.
.B \-L .B \-L
Lista los ponis con nombres alternativos dentro de paréntesis. Lista los ponis con nombres alternativos dentro de paréntesis.
.TP .TP
.B \+l
Lista los ponis no MLP:FiM disponibles.
.TP
.B \+L
Lista los ponis no MLP:FiM con nombres alternativos dentro de paréntesis.
.TP
.B \-f \fInombre\fP .B \-f \fInombre\fP
selecciona un poni específico (ya sea un archivo o el nombre directamente), puedes usar esta opción con múltiples ponis y de estos será elejído uno al azar. Selecciona un poni específico (ya sea un archivo o el nombre directamente), puedes usar esta opción con múltiples ponis y de estos será elejído uno al azar.
.TP
.B \-F \fInombre\fP
Selecciona un poni no MLP:FiM específico (ya sea un archivo o el nombre directamente), puedes usar esta opción con múltiples ponis y de estos será elejído uno al azar.
.TP .TP
.B \-q [\fInombre\fP...] .B \-q [\fInombre\fP...]
Usando esta opción un poni será mostrado dando una cita de My Little Pony: Frienship is magic Usando esta opción un poni será mostrado dando una cita de My Little Pony: Frienship is magic

File diff suppressed because it is too large Load diff

Binary file not shown.

1
ponies/pinkieoink.pony Symbolic link
View file

@ -0,0 +1 @@
./oinkoinkoink.pony

View file

@ -91,7 +91,7 @@ photofinish
pinacolada pinacolada
pinkamina pinkamina
pinkie+pinkiecannonfront+pinkiecannon+pinkiebounce+pinkiecannonhappy+pinkiegala+pinkiechicken+pinkiehugfluttershy+pinkiegummy+pinkietongue+pinkiesilly pinkie+pinkiecannonfront+pinkiecannon+pinkiebounce+pinkiecannonhappy+pinkiegala+pinkiechicken+pinkiehugfluttershy+pinkiegummy+pinkietongue+pinkiesilly
pinkie+pinkiepartycannon+pinkieprincess+pinkiehugsfluttershy+pinkiewhoops+oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly pinkie+pinkiepartycannon+pinkieprincess+pinkiehugsfluttershy+pinkiewhoops+oinkoinkoink+pinkiewhoopsout+pinkiewhoopseat+fillypinkie+fillypinkiecurly+pinkieoink
pipsqueak pipsqueak
pokey+pokeypierce pokey+pokeypierce
ponet ponet

693
ponysay

File diff suppressed because it is too large Load diff

Binary file not shown.

5
share/ucsmap Normal file
View file

@ -0,0 +1,5 @@
mjölna → mjolna
piñacolada → pinacolada
vın̈yl → vinyl
#jesús pezuña

1
ttyponies/pinkieoink.pony Symbolic link
View file

@ -0,0 +1 @@
./oinkoinkoink.pony