resolve merge conflict

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-06-01 06:59:14 +02:00
commit 97f01d8b9b
8 changed files with 847 additions and 464 deletions

549
CHANGELOG
View file

@ -1,403 +1,371 @@
Version 3.0.2 Version 3.0.2
New ponies: brucemane, cremebrulee, deepblue, hairytipper, mantishy, New ponies: brucemane, cremebrulee, deepblue, hairytipper, mantishy, mule, peachbottom, rainbowdashcrystal,
mule, peachbottom, rainbowdashcrystal, rainbowdrop, rainbowdrop, strawberrycream, unclewing, wildflower
strawberrycream, unclewing, wildflower
New extraponies: firefox, fluffle, IE, milky New extraponies: firefox, fluffle, IE, milky
Default value for -W has been changed from 40 to 60. Default value for -W has been changed from 40 to 60.
Turkish manual page added.
Swedish manual page added.
Added manpage for ponysay-tool Added manpage for ponysay-tool
Version 3.0.1 Version 3.0.1
New ponies: harshwhinny New ponies: harshwhinny
All ponies has been reviewed and improved when needed. All ponies has been reviewed and improved when needed.
The ponysay-tool command is now installed. The ponysay-tool command is now installed.
Version 3.0 Version 3.0
New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep, New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep, billneigh, cadancecrystal, cadancescruffy,
billneigh, cadancecrystal, cadancescruffy, cloudchaser, cloudchaser, descent, featherweight, fiddlesticks, flitter, gingersnap, haakim, hayseed, lighningdust,
descent, featherweight, fiddlesticks, flitter, gingersnap, jubileena, midnightstrike, mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface, poundcake,
haakim, hayseed, lighningdust, jubileena, midnightstrike, princesserroria, raccoon, rainbowblitz, rarityelite, ravenearth, ravenunicorn, royalunicornguard, rumble,
mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface, shiningarmorcrystal, sombra, spikecrystal, squirrel, sweetcream (comic), trixieamulet, twilacorn,
poundcake, princesserroria, raccoon, rainbowblitz, twilightcrystal, twilightfly, twilightprincess, twilightwings, twinkleshine
rarityelite, ravenearth, ravenunicorn, royalunicornguard,
rumble, shiningarmorcrystal, sombra, spikecrystal,
squirrel, sweetcream (comic), trixieamulet, twilacorn,
twilightcrystal, twilightfly, twilightprincess,
twilightwings, twinkleshine
New extraponies: donutpony, gleamingshield, hestelle, johndelancie, New extraponies: donutpony, gleamingshield, hestelle, johndelancie, jristz, maandree, orion, pipsqueak (without pirate suit),
jristz, maandree, orion, paradise, pizzapony, snowdrop, tempo, ticket
pipsqueak (without pirate suit), paradise, pizzapony,
snowdrop, tempo, ticket
Ponies renamed: lotusbloosom → lotusblossom (typo) Ponies renamed: lotusbloosom → lotusblossom (typo)
maredowellgallop → maredowellgallop (need a master) maredowellgallop → maredowellgallop (need a version named as master)
ironwillwalk → ironwillwalk (need a master) ironwillwalk → ironwillwalk (need a version named as master)
shadowbolts → nightingale (shadowbolts split) shadowbolts → nightingale (shadowbolts split)
lily → lilyvalley (official name) lily → lilyvalley (official name)
sweatiesing → sweetiesing (name consistency) sweatiesing → sweetiesing (name consistency)
carecake become carrotcake (official name) carecake become carrotcake (official name)
peppermoon → papermoon (miswriting) peppermoon → papermoon (miswriting)
maria into danger (given by the author) maria into danger (given by the author)
meliot → melilot (miswriting) meliot → melilot (miswriting)
Pony symlink added: lily → lilyvalley Pony symlink added: lily → lilyvalley
sweetiedrops → bonbon sweetiedrops → bonbon
carecake → carrotcake carecake → carrotcake
berrydreams → blueberry berrydreams → blueberry
raven → ravenunicorn (need a version named as master) raven → ravenunicorn (need a version named as master)
fillycelestia and filliestia has been moved to extraponies. fillycelestia and filliestia has been moved to extraponies.
Renamed option -F to +f and option --F to ++f, -F and --F has new Renamed option -F to +f and option --F to ++f, -F and --F has new definitions.
definitions.
Environment variable 'PONYSAY_TYPO_LIMIT' has been added. Environment variable 'PONYSAY_TYPO_LIMIT' has been added.
Environment variable 'PONYSAY_WRAP_HYPHEN' has been added. Environment variable 'PONYSAY_WRAP_HYPHEN' has been added.
Environment variable 'PONYSAY_WRAP_LIMIT' has been added. Environment variable 'PONYSAY_WRAP_LIMIT' has been added.
Environment variable 'PONYSAY_WRAP_EXCEED' has been added. Environment variable 'PONYSAY_WRAP_EXCEED' has been added.
Added support for ~/.ponysayrc with the alternatives: Added support for ~/.ponysayrc with the alternatives: ${XDG_CONFIG_HOME}/ponysay/ponysayrc
${XDG_CONFIG_HOME}/ponysay/ponysayrc and ~/.config/ponysay/ponysayrc as well as the global fallback /etc/ponysayrc.
and ~/.config/ponysay/ponysayrc as well as the global fallback
/etc/ponysayrc.
-f, +f and -q may be unargumented if that are at the end of -f, +f and -q may be unargumented if that are at the end of the command line.
the command line.
ponysay-tool is introduced, it can be used to edit, remove and ponysay-tool is introduced, it can be used to edit, remove and copy pony meta data, and more.
copy pony meta data, and more.
ponysay-tool --kms generates all kmsponies for the current TTY palette. ponysay-tool --kms generates all kmsponies for the current TTY palette.
Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to specify how
specify how much extra height the balloon causes at the top and at much extra height the balloon causes at the top and at the bottom of the pony.
the bottom of the pony.
${XDG_DATA_HOME}/ponysay/* is allowed in favour of ${XDG_DATA_HOME}/ponysay/* is allowed in favour of ${HOME}/.local/share/ponysay/*
${HOME}/.local/share/ponysay/*
Balloons can be have and explicit minimum column span with placement Balloons can be have and explicit minimum column span with placement justification.
justification.
Only ponies that fit the terminal will be randomly selected Only ponies that fit the terminal will be randomly selected (for directory with pony
(for directory with pony dimension files generated), however if no dimension files generated), however if no pony fits, any of the can be randomly selected.
pony fits, any of the can be randomly selected.
Setup option --sysconf-dir with default value /etc added. Setup option --sysconf-dir with default value /etc added.
New manditory setup option --freedom. New manditory setup option --freedom.
Pony metadata options added: --info, ++info and --restrict. Pony metadata options added: --info, ++info and --restrict.
The license has been changed to the The license has been changed to the GNU General Public License version 3+, WTFPL 2.
GNU General Public License version 3+, WTFPL 2.
Version 2.9.1 Version 2.9.1
Bug fix: correction in the -W option broke the -o option. Bug fix: correction in the -W option broke the -o option.
Version 2.9 Version 2.9
New ponies: pinkieumbrelahatfear, twilighttime New ponies: pinkieumbrelahatfear, twilighttime
New extraponies: molestia (Tumblr) New extraponies: molestia (Tumblr)
The option -q works like -f and -F, it takes one argument, The option -q works like -f and -F, it takes one argument, and may be used multiple
and may be used multiple times for more arguments. times for more arguments.
The old option -q is renamed to --q. The old option -q is renamed to --q.
The options --f and --F has been added. The options --f and --F has been added.
Weighted distance for autocorrection on pony names and boolean style Weighted distance for autocorrection on pony names and boolean style name is set to 5, rather
name is set to 5, rather than unlimited. Currently this cannot be than unlimited. Currently this cannot be modified (without editing the source code.)
modified (without editing the source code.)
If file descriptor 3 is definied when ponysay is executed, extra If file descriptor 3 is definied when ponysay is executed, extra information is printed to it.
information is printed to it.
Arguments starting with n or i is allowed for -W. Arguments starting with n or i is allowed for -W.
Version 2.8 Version 2.8
New ponies: airheart, bastionyorsets, gustavelegrand, milkyway, New ponies: airheart, bastionyorsets, gustavelegrand, milkyway, peppermoon, pinkacopter, pinkiefly,
peppermoon, pinkacopter, pinkiefly, pinkieparade, pinkieparade, pinkieumbrellahat, raritycomplaining, shiningarmorwedding, soarinofficer,
pinkieumbrellahat, raritycomplaining, shiningarmorwedding, starlight, sunnyrays, sweatiesing, tenderheart, tom, twilightspike, zecorabalance
soarinofficer, starlight, sunnyrays, sweatiesing,
tenderheart, tom, twilightspike, zecorabalance
New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry, New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry, butterscotch,
butterscotch, drhoovesdiscorded (Tumblr), duskshine, drhoovesdiscorded (Tumblr), duskshine, elusive, rainbowblitz
elusive, rainbowblitz
Pony symlink added: georgewachingtony → bastionyorsets Pony symlink added: georgewachingtony → bastionyorsets
Support for explicit hypthenation using soft hyphens had been added Support for explicit hypthenation using soft hyphens had been added to the word wrapper.
to the word wrapper.
Support for explicit non-word wrapping using non-breaking space had Support for explicit non-word wrapping using non-breaking space had been added to the word wrapper.
been added to the word wrapper.
The word wrapper colours the inserted hyphens in red. The word wrapper colours the inserted hyphens in red.
Support for terminal capabilities emulation with the Support for terminal capabilities emulation with the flags -X, -V and -K.
flags -X, -V and -K.
Support for printing just the pony, using the flag -o. Support for printing just the pony, using the flag -o.
Colouring option flags are added. Colouring option flags are added.
Automatic correction of incorrectly spelled pony names and balloon Automatic correction of incorrectly spelled pony names and balloon style names added.
style names added.
Version 2.7 Version 2.7
New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio, New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio, frederickhorseshoepin,
frederickhorseshoepin, horsemd, jeffletroski, jesuspezuna, horsemd, jeffletroski, jesuspezuna, joe, joetuxedo, manticore, meadowsong,
joe, joetuxedo, manticore, meadowsong, meliot, meliot, pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos, turf,
pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos, waltercoltchak
turf, waltercoltchak
New extraponies: blueballblitz (Various fanfics, Shadowbolt), New extraponies: blueballblitz (Various fanfics, Shadowbolt), drhooves1, drhooves2, drhooves3,
drhooves1, drhooves2, drhooves3, drhooves4, drhooves5, drhooves4, drhooves5, drhooves6, drhooves7, drhooves8, drhooves9, drhooves10,
drhooves6, drhooves7, drhooves8, drhooves9, drhooves10, drhooves11, nyx (Fanfic: Past Sins), nyxdisguised (Fanfic: Past Sins),
drhooves11, nyx (Fanfic: Past Sins), pinkaminacupcake (Fanfic)
nyxdisguised (Fanfic: Past Sins),
pinkaminacupcake (Fanfic)
Pony renamed: cracky → crackle Pony renamed: cracky → crackle
Version 2.6 Version 2.6
New ponies: applebloomdance, blueberry, blueberrycake, blueharvest, New ponies: applebloomdance, blueberry, blueberrycake, blueharvest, candylicious,
candylicious, cherrycola, cracky, cutiemarkcrusaders, cherrycola, cracky, cutiemarkcrusaders, derpybags, derpycloud, firestreak,
derpybags, derpycloud, firestreak, hughjelly, lemonhearts, hughjelly, lemonhearts, lyrabonbon, noi, pictureperfect, pigpen,
lyrabonbon, noi, pictureperfect, pigpen, poppycock, poppycock, quickfix, rainbowhurricane, rainboshadowbolt, silverspeed,
quickfix, rainbowhurricane, rainboshadowbolt, silverspeed, surprise (wonderbolt), thunderlane, timeturner, twilightthebearded
surprise (wonderbolt), thunderlane, timeturner,
twilightthebearded
New extraponies: faust (alicorn), maria (Moonstuck, seapony), New extraponies: faust (alicorn), maria (Moonstuck, seapony), posey (Tumblr),
posey (Tumblr), slanderpony (Various tumblr), slanderpony (Various tumblr), sparkler (Tumblr), twilight (Tumblr)
sparkler (Tumblr), twilight (Tumblr)
Pony symlink added: bonbonlyra → lyrabonbon Pony symlink added: bonbonlyra → lyrabonbon
clockwork → quickfix clockwork → quickfix
drhooves → timeturner drhooves → timeturner
epona → quickfix epona → quickfix
lotusbloosom → lotus lotusbloosom → lotus
doctor and doctornohat has become extraponies, because their mane style doctor and doctornohat has become extraponies, because their mane style is
is different from in the TV show. And timeturner no longer links to different from in the TV show. And timeturner no longer links to any of them.
any of them.
./configure and make is no longer support. ./configure and make is no longer support.
Version 2.5.1 Version 2.5.1
New extra ponies: sealyra New extra ponies: sealyra
Build system as compatibility with standard GNU Make build system. Build system as compatibility with standard GNU Make build system.
Version 2.5 Version 2.5
Brand new highly configurable build system. Brand new highly configurable build system.
UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale users.)
users.)
Version 2.4 Version 2.4
Nothing worth mentioning. Nothing worth mentioning.
Note: Identifies itself as version 2.3 Note: Identifies itself as version 2.3
Version 2.3 Version 2.3
Support for 'best.pony' file. Support for 'best.pony' file.
`-q` accepts file names. `-q` accepts file names.
Improved Unicode support: treats combining characters as invisible. Improved Unicode support: treats combining characters as invisible.
Optional support for UCS pony names. Optional support for UCS pony names.
Pony files and balloon style files can be pipes (as Pony files and balloon style files can be pipes (as
well as sockets, doors and as always regular files.) well as sockets, doors and as always regular files.)
Support cowsay style message compression. Support cowsay style message compression.
New ponies: blaze New ponies: blaze
New extraponies: fyrefly (Tumblr), surprise (Tumblr), woona (Moonstuck), New extraponies: fyrefly (Tumblr), surprise (Tumblr), woona (Moonstuck),
woonanohat (Moonstuck) woonanohat (Moonstuck)
Pony symlink added: pinkieoink → oinkoinkoink Pony symlink added: pinkieoink → oinkoinkoink
Support for non-MLP:FiM ponies (known as extraponies). Support for non-MLP:FiM ponies (known as extraponies).
Version 2.2 Version 2.2
Full support for arbitrary positioning of balloon in pony files. Full support for arbitrary positioning of balloon in pony files.
ANSI colour sequences in pony files are applied only to the pony image, ANSI colour sequences in pony files are applied only to the pony image,
not the balloon link or the balloon itself. not the balloon link or the balloon itself.
Support for colours in the message. Support for colours in the message.
Support custom balloon styles using the option '-b', '-B' will list all Support custom balloon styles using the option '-b', '-B' will list all
available. This list depends on whether you are invoking `ponysay` or available. This list depends on whether you are invoking `ponysay` or `ponythink`.
`ponythink`.
Version 2.1.1 Version 2.1.1
Nothing worth mentioning. Nothing worth mentioning.
Version 2.1 Version 2.1
Pony renamed: applebumkin → applebumpkin Pony renamed: applebumkin → applebumpkin
New ponies: purplehaze, owlowiscious New ponies: purplehaze, owlowiscious
Cowsay has be reimplemented, and have full Unicode support Cowsay has be reimplemented, and have full Unicode support
and support for @code{figlet} style messages. and support for @code{figlet} style messages.
Deleted environment variables: PONYSAY_COWSAY, PONYSAY_COWTHINK Deleted environment variables: PONYSAY_COWSAY, PONYSAY_COWTHINK
You will need Python 3, but not GNU Bash, Perl or Cowsay. You will need Python 3, but not GNU Bash, Perl or Cowsay.
New .pony file format is used. New .pony file format is used.
Version 2.0 Version 2.0
Makefile is generated by running `./configure`. Makefile is generated by running `./configure`.
All Perl scripts and almost all Bash are reimplemented in one All Perl scripts and almost all Bash are reimplemented in one Python 3 script.
Python 3 script.
kmsponies4ponysay is included. kmsponies4ponysay is included.
Version 1.4.1 Version 1.4.1
Code is repaired and more portable. Code is repaired and more portable.
Version 1.4 Version 1.4
Make file is improved. Make file is improved.
Note: Identifies itself as version 1.3 Note: Identifies itself as version 1.3
Version 1.3 Version 1.3
New ponies: forestspirit, hollydash, raggedy, rhyme New ponies: forestspirit, hollydash, raggedy, rhyme
Pony renamed: sindy → powderrouge Pony renamed: sindy → powderrouge
Pony symlink added: sindy → powderrouge Pony symlink added: sindy → powderrouge
PREFIX=/some-dir can be used when invoking make, PREFIX=/some-dir can be used when invoking make, the default value is /usr
the default value is /usr
Version 1.2 Version 1.2
ponyquotes4ponysay is included. ponyquotes4ponysay is included.
Support for extension: kmsponies4ponysay. Support for extension: kmsponies4ponysay.
New ponies: ace, filthyrich, blueblood, gingergold, hayfever, New ponies: ace, filthyrich, blueblood, gingergold, hayfever,
highscore, junebug, mrsparkle, persnickety, ponet, highscore, junebug, mrsparkle, persnickety, ponet,
screwloose, tornadobolt. screwloose, tornadobolt.
Pony renamed: elsie → prettyvision Pony renamed: elsie → prettyvision
Pony symlinks added: mrsparkle → nightlight Pony symlinks added: mrsparkle → nightlight
elsie → prettyvision elsie → prettyvision
Arbitrary spaces in '-f' argument is not longer accepted (it causes Arbitrary spaces in '-f' argument is not longer accepted (it causes
problems with file names including spaces). problems with file names including spaces).
Note: Identifies itself as version 1.1 Note: Identifies itself as version 1.1
Version 1.1 Version 1.1
Manpages are compressed before installation. Manpages are compressed before installation.
'info manual' added. 'info manual' added.
Shell completion for 'ponythink' added, in addition to 'ponysay'. Shell completion for 'ponythink' added, in addition to 'ponysay'.
'fish' completion added. 'fish' completion added.
'/usr/lib/ponysay' is used instead of '/usr/bin' '/usr/lib/ponysay' is used instead of '/usr/bin'
for code used by the main script. for code used by the main script.
'~/.local/share/ponysay is used for private pony directories. '~/.local/share/ponysay is used for private pony directories.
'ncurses' is no longer needed for determining the screen's size, 'ncurses' is no longer needed for determining the screen's size,
'coreutils' is used instead. 'coreutils' is used instead.
Pony symlinks added: amethyststar → sparkler Pony symlinks added: amethyststar → sparkler
berrypinch → ruby berrypinch → ruby
craftycrate → boxxy craftycrate → boxxy
magnum → raritysdad magnum → raritysdad
pearl → raritysmom pearl → raritysmom
powderrouge → sindy powderrouge → sindy
royalribbo → violet royalribbo → violet
New ponies: blossomforth, bonvoyage, cadance, celestiasmall, New ponies: blossomforth, bonvoyage, cadance, celestiasmall,
changelingqueen, cherryberry, discordamused, changelingqueen, cherryberry, discordamused,
discordpuppetmaster, fleurdelishair, fleurdelislay, owl, discordpuppetmaster, fleurdelishair, fleurdelislay,
perrypierce, petunia, pinacolada, skyra, truffleshuffle. owl, perrypierce, petunia, pinacolada, skyra,
truffleshuffle.
Pony spelling removed: fillycadence. Pony spelling removed: fillycadence.
Pony symlink change: perry → (pokey → perrypierce). Pony symlink change: perry → (pokey → perrypierce).
Option '-L' added, lists ponies with symlink mapping. Option '-L' added, lists ponies with symlink mapping.
Support for extension: ponyquotes4ponysay. Support for extension: ponyquotes4ponysay.
Accepts arbitrary spaces in '-f' argument. Accepts arbitrary spaces in '-f' argument.
Version 1.0 Version 1.0
Spanish translation of the manpage is added. Spanish translation of the manpage is added.
New ponies: applecore, applejackscarecrow, bonbonstand, changeling, New ponies: applecore, applejackscarecrow, bonbonstand, changeling,
chrysalis, cottoncloudy, diamondmint, discord, chrysalis, cottoncloudy, diamondmint, discord,
fillycadence, flam, fleurdelis, flim, fluttershyshy, fillycadence, flam, fleurdelis, flim, fluttershyshy,
fluttershystare, lyrasit, oinkoinkoink (is pinkie), fluttershystare, lyrasit, oinkoinkoink (is pinkie),
philomenaphoenix, pinkiecannon, pinkiecannonfront, philomenaphoenix, pinkiecannon, pinkiecannonfront,
pinkiecannonhappy, pinkiegummy, pinkiehugfluttershy, pinkiecannonhappy, pinkiegummy, pinkiehugfluttershy,
pinkiehugsfluttershy, pinkiepartycannon, pinkieprincess, pinkiehugsfluttershy, pinkiepartycannon, pinkieprincess,
@ -406,137 +374,138 @@ Version 1.0
raritydrama, shiningarmor, shiningarmorguard, snowflak, raritydrama, shiningarmor, shiningarmorguard, snowflak,
spikemustache, stevenmagnet, stevenmagnettrue, spikemustache, stevenmagnet, stevenmagnettrue,
twilightcrazyfromball, twilightrage, twilightzero, twilightcrazyfromball, twilightrage, twilightzero,
wildfire. wildfire.
Pony symlinks added: djpon-3 → vinyl Pony symlinks added: djpon-3 → vinyl
fillycadance → fillycadence fillycadance → fillycadence
horsepower → snowflake horsepower → snowflake
Improved TTY support: ponies have low colours resolution, instead Improved TTY support: ponies have low colours resolution, instead
of monochrome, when the high colour resolution is not available. of monochrome, when the high colour resolution is not available.
Version 0.10 Version 0.10
Manpage manual added. Manpage manual added.
The directories for pony directories are changed The directories for pony directories are changed
from '/usr/share' to '/usr/share/ponysay' and '~' to '~/.ponysay'. from '/usr/share' to '/usr/share/ponysay' and '~' to '~/.ponysay'.
Pony symlinks added: carrottop → carrot Pony symlinks added: carrottop → carrot
goldenharvest → carrot goldenharvest → carrot
harpass → lyra harpass → lyra
heartstrings → lyra heartstrings → lyra
lulamoon → trixie lulamoon → trixie
minuette → colgate minuette → colgate
noteworthy → blues noteworthy → blues
perry → pokey perry → pokey
pokeypierce → pokey pokeypierce → pokey
timeturner → doctornohat timeturner → doctornohat
trixielulamoon → trixie trixielulamoon → trixie
twilightvelvet → mrssparkle twilightvelvet → mrssparkle
Support for truncating output on height, enabled by default under TTY. Support for truncating output on height, enabled by default under TTY.
Environment variables added: 'PONYSAY_FULL_WIDTH', Environment variables added: 'PONYSAY_FULL_WIDTH',
'PONYSAY_SHELL_LINES', 'PONYSAY_TRUNCATE_HEIGHT', 'PONYSAY_BOTTOM'. 'PONYSAY_SHELL_LINES', 'PONYSAY_TRUNCATE_HEIGHT', 'PONYSAY_BOTTOM'.
Version 0.9 Version 0.9
Output truncated on width to fit screen. Output truncated on width to fit screen.
Support for TTY (Linux VT). Support for TTY (Linux VT).
'bash' completion added. 'bash' completion added.
'zsh' completion added. 'zsh' completion added.
New ponies: allie, archer, boxxy, carecake, cupcake, daringdo, New ponies: allie, archer, boxxy, carecake, cupcake, daringdo,
davenport, fancypants, ironwillwalk, lily, lunafly, davenport, fancypants, ironwillwalk, lily, lunafly,
maredowellfly, maredowellgallop, master, mjolna, orange, maredowellfly, maredowellgallop, master, mjolna,
raritysdad, raritysmom, royalnightguard, ruby, sparkler, orange, raritysdad, raritysmom, royalnightguard,
violet. ruby, sparkler, violet.
Version 0.8 Version 0.8
New ponies: aloe, angle, applebloom, applebumkin, applefritter, New ponies: aloe, angle, applebloom, applebumkin, applefritter,
berrypunch, bigmac, blinkie, blues, braeburn, caesar, berrypunch, bigmac, blinkie, blues, braeburn, caesar,
candymane, caramel, cheerilee, cheerilee80, clyde, colgate, candymane, caramel, cheerilee, cheerilee80, clyde,
colton, daisy, derpystand, derpystandwing, diamondtiara, colgate, colton, daisy, derpystand, derpystandwing,
dinky, doctornohat, elsie, fido, fillycelestia, fillydash, diamondtiara, dinky, doctornohat, elsie, fido,
fillydashfly, fillyjack, fillyjacktravel, fillypinkie, fillycelestia, fillydash, fillydashfly, fillyjack,
fillypinkiecurly, fillyrarity, fillyshy, fluttershygala, fillyjacktravel, fillypinkie, fillypinkiecurly,
gilda, gildastand, granny, grannychair, grannysleep, gummy, fillyrarity, fillyshy, fluttershygala, gilda, gildastand,
hoity, horte, inky, laflour, lightning, lintsalot, lotus, granny, grannychair, grannysleep, gummy, hoity, horte,
mayor, mrssparkle, nightmare, opal, parasprite, philomena, inky, laflour, lightning, lintsalot, lotus, mayor,
mrssparkle, nightmare, opal, parasprite, philomena,
photofinish, pinkamina, pinkiebounce, pinkiechicken, photofinish, pinkamina, pinkiebounce, pinkiechicken,
pinkiegala, pipsqueak, pokey, rainbowfly, rainbowgala, pinkiegala, pipsqueak, pokey, rainbowfly, rainbowgala,
rainbowsleep, raindrops, rarityfly, raritygala, rainbowsleep, raindrops, rarityfly, raritygala,
rarityponder, redheart, rocky, rose, rover, royalguard, rarityponder, redheart, rocky, rose, rover, royalguard,
sapphire, scootaloo, screwball, shadowbolts, silverspoon, sapphire, scootaloo, screwball, shadowbolts, silverspoon,
silverstar, sindy, snails, snips, soarin, soigne, spike, silverstar, sindy, snails, snips, soarin, soigne, spike,
spikefloat, spikelove, spot, stella, strongheart, sue, spikefloat, spikelove, spot, stella, strongheart, sue,
suedance, tank, trixiestage, trixiestand, turnip, twist, suedance, tank, trixiestage, trixiestand, turnip, twist,
winona. winona.
Note: Identifies itself as version 0.7 Note: Identifies itself as version 0.7
Version 0.7 Version 0.7
New ponies: carrot, octavia, trixie, vinyl, zecora. New ponies: carrot, octavia, trixie, vinyl, zecora.
Support for listing ponies with '-l' option. Support for listing ponies with '-l' option.
Version 0.6 Version 0.6
New ponies: bonbon, celestia, doctor, fillistia (filly Celestia), New ponies: bonbon, celestia, doctor, fillistia (filly Celestia),
spitfire, woona (not moonstuck, filly Luna). spitfire, woona (not moonstuck).
Dropping usage of utility 'which', using 'hash' instead. Dropping usage of utility 'which', using 'hash' instead.
Note: Identifies itself as version 0.5 Note: Identifies itself as version 0.5
Version 0.5 Version 0.5
Using utility 'which' to determine existance of 'cowsay'. Using utility 'which' to determine existance of 'cowsay'.
Version 0.4 Version 0.4
'.cow' files are removed. '.cow' files are removed.
Support for '-W' option. Support for '-W' option.
Select random pony if not specified. Select random pony if not specified.
Added command '-f' for supports file names, and not only pony names. Added command '-f' for supports file names, and not only pony names.
Version 0.3 Version 0.3
Fixed use of '.pony' files. Fixed use of '.pony' files.
Version 0.2 Version 0.2
Pony files end with '.pony' instead of '.cow'. Pony files end with '.pony' instead of '.cow'.
lyrasleep is renamed to lyra. lyrasleep is renamed to lyra.
'.cow' files are kept but not used. '.cow' files are kept but not used.
Added option '-h' prints proper help. Added option '-h' prints proper help.
Version 0.1 Version 0.1
First release. First release.
Includes the ponies: applejack, derpy, derpysit, fluttershy, luna, Includes the ponies: applejack, derpy, derpysit, fluttershy,
lyrasleep, pinkie, rainbow, rarity, sweetie, luna, lyrasleep, pinkie, rainbow, rarity,
twilight. sweetie, twilight.

View file

@ -24,7 +24,7 @@ Or if you have a specific pony in your mind:
ponysay -f pinkie "Partay!~" ponysay -f pinkie "Partay!~"
Consult `info ponysay`, `man 6 ponysay` or `ponysay -h` for additional information. Consult `info ponysay`, `man 6 ponysay` or `ponysay -h` for additional information.
A Spanish manual is also available: `man -L es 6 ponysay`. Spanish and Turkish manuals are also available: `man -L es 6 ponysay` and 'man -L tr 6 ponysay` respectively.
#### Arch Linux #### Arch Linux
The package is in the official repositories as `community/ponysay`. A Git version is also present, named `ponysay-git` in AUR. The package is in the official repositories as `community/ponysay`. A Git version is also present, named `ponysay-git` in AUR.

View file

@ -1,20 +1,4 @@
.\" .TH PONYSAY 6 "April 05, 2013"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PONYSAY 0 "April 05, 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME .SH NAME
ponysay \- Cowsay reimplementation for ponies ponysay \- Cowsay reimplementation for ponies
.SH SYNOPSIS .SH SYNOPSIS
@ -30,9 +14,6 @@ ponysay \- Cowsay reimplementation for ponies
.br .br
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal. \fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal.
If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at
about 60 columns, and prints the pony saying the given message on standard output. about 60 columns, and prints the pony saying the given message on standard output.
@ -54,22 +35,16 @@ Show summary of options.
Show version of program. Show version of program.
.TP .TP
.B \-f, \-\-file, \-\-pony \fIname\fP .B \-f, \-\-file, \-\-pony \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 option multiple times,
and one of the will be selected randomly. and one of the will be selected randomly.
.TP .TP
.B \+f, \+\+file, \+\+pony \fIname\fP .B \+f, \+\+file, \+\+pony \fIname\fP
Select a non-MLP:FiM pony (either a file name or a pony name), you can use this options Select a pony outside of My Little Pony: Friendship is Magic (either a file name or a pony
multiple times, and one of the will be selected randomly. name), you can use this options multiple times, and one of the will be selected randomly.
.TP .TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP .B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP
This option combines \fI-f\fP and \fI+f\fP. This option combines \fI-f\fP and \fI+f\fP.
.TP .TP
.B \-q, \-\-quote [\fIname\fP...]
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 to \fI-q\fP. If one or more ponies are added as an argument
to \fI-q\fP the pony will be selected randomly from that set of ponies.
.TP
.B \-\-f, \-\-files, \-\-ponies \fI[name...]\fP .B \-\-f, \-\-files, \-\-ponies \fI[name...]\fP
Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed
as an argument to this option. as an argument to this option.
@ -81,11 +56,17 @@ as an argument to this option.
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP .B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP
This option combines \fI--f\fP and \fI++f\fP. This option combines \fI--f\fP and \fI++f\fP.
.TP .TP
.B \-q, \-\-quote [\fIname\fP...]
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 to \fI-q\fP. If more than one pony is added as an argument
to \fI-q\fP, the pony will be selected randomly from that set of ponies.
.TP
.B \-\-q, \-\-quotes [\fIname\fP...] .B \-\-q, \-\-quotes [\fIname\fP...]
Variadic variant of \fI-q\fP, meaning that all arguments added after this one will Variadic variant of \fI-q\fP, meaning that all arguments added after this one will
parsed as an argument to this option. Additionally, those options are added to \fI-q\fP. parsed as an argument to this option. Additionally, those options are added to \fI-q\fP.
.TP .TP
.B \-b, \-\-bubble, \-\-ballon \fIstyle\fP .B \-b, \-\-bubble, \-\-balloon \fIstyle\fP
Specify the balloon style that should used, this can either be a file name or a Specify the balloon style that should used, this can either be a file name or a
balloon name printed by \fIponysay -B\fP. balloon name printed by \fIponysay -B\fP.
.TP .TP
@ -110,12 +91,12 @@ List non-MLP:FiM pony files.
.B \+L, \+\+symlist, \+\+altlist .B \+L, \+\+symlist, \+\+altlist
List non-MLP:FiM pony files with alternative names inside brackets. List non-MLP:FiM pony files with alternative names inside brackets.
.TP .TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP .B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Prints a list of all balloon styles. Prints a list of all balloon styles.
.TP .TP
.B \-A, \-\-all .B \-A, \-\-all
List all pony files, MLP-FiM and non-MLP-FiM, in this case the first list are MLP:FiM List all pony files, MLP:FiM and non-MLP:FiM, in this case the first list are MLP:FiM
and the second are non-MLP-FiM. and the second are non-MLP:FiM.
.TP .TP
.B \+A, \+\+all, \-\-symall, \-\-altall .B \+A, \+\+all, \-\-symall, \-\-altall
List all pony files, including alternatives names inside brackets, these from MLP:FiM List all pony files, including alternatives names inside brackets, these from MLP:FiM
@ -137,23 +118,22 @@ A value in the argument is a combination of the tag name and tag value on the fo
.TP .TP
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours .B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Use \fIxterm\fPs 256\-colour support (supported by most X11 terminals), despite your terminals Use \fIxterm\fPs 256\-colour support (supported by most X11 terminals), despite your terminals
actual compatibilies. actual compatibilities.
.TP .TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours .B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Use Linux VTs compatbilies \fPwithout\fP KMS utilisation, despite your terminals actual compatibilies. Use Linux VTs compatibilities \fPwithout\fP KMS utilisation, despite your terminals actual compatibilities.
.TP
.TP .TP
.B \-K, \-\-kms\-colours, \-\-kmscolours .B \-K, \-\-kms\-colours, \-\-kmscolours
Use Linux VTs compatbilies \fPwith\fP KMS utilisation, despite your terminals actual compatibilies Use Linux VTs compatibilities \fPwith\fP KMS utilisation, despite your terminals actual compatibilities.
(not work with all KMS video card). (May not work with all KMS video cards)
.TP .TP
.B \+c, \-\-colour [\fIansi-colour\fP] .B \+c, \-\-colour [\fIansi-colour\fP]
Colour the balloon, including link and message. For more colouring features, se the \fIinfo\fP Colour the balloon, including link and message. For more colouring features, see the \fIinfo\fP
manual. The argument, \fIansi-colour\fP, should be a ANSI colour sequence without leading CSI manual. The argument, \fIansi-colour\fP, should be a ANSI colour sequence without leading CSI
and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright
depending on the terminal.) depending on the terminal.)
.TP .TP
.B \-\-colour\-bubble, \-\-colour\-ballon [\fIansi-colour\fP] .B \-\-colour\-bubble, \-\-colour\-balloon [\fIansi-colour\fP]
Just like \fP\--colour\fI, but it only colours the balloon, without the message or link. Just like \fP\--colour\fI, but it only colours the balloon, without the message or link.
.TP .TP
.B \-\-colour\-link [\fIansi-colour\fP] .B \-\-colour\-link [\fIansi-colour\fP]
@ -169,7 +149,6 @@ This colouring has no effect on regular pony files, as it has its own colouring.
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP] .B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP]
Just like \fI--colour\fP, but it colours hyphen added by the word wrapping. Just like \fI--colour\fP, but it colours hyphen added by the word wrapping.
if you want uncoloured use \fI0\fP, the default is \fi31\fP. if you want uncoloured use \fI0\fP, the default is \fi31\fP.
presistent.
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP
.B PONYSAY_BOTTOM .B PONYSAY_BOTTOM
@ -180,8 +159,7 @@ you can export \fIPONYSAY_BOTTOM\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP
.B PONYSAY_SHELL_LINES .B PONYSAY_SHELL_LINES
Under TTY (Linux VT), if the output is larger the the screen's height, two lines are left blank. Under TTY (Linux VT), if the output is larger the the screen's height, two lines are left blank.
If you want more, or less, blank lines you can export \fIPONYSAY_SHELL_LINES\fP with the value If you want more, or less, blank lines you can export \fIPONYSAY_SHELL_LINES\fP with the value
of how many blank lines you want. Naturally this takes effect if the output is not actually of how many blank lines you want.
larger than the screen.
.TP .TP
.B PONYSAY_FULL_WIDTH .B PONYSAY_FULL_WIDTH
You can export \fIPONYSAY_FULL_WIDTH\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you You can export \fIPONYSAY_FULL_WIDTH\fP with the value \fIyes\fP, \fIy\fP or \fI1\fP, if you
@ -198,28 +176,28 @@ in their names.
.TP .TP
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD .B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
\fIPONYSAY_KMS_PALETTE\fP or \fIPONYSAY_KMS_PALETTE_CMD\fP is used to tell \fIPONYSAY_KMS_PALETTE\fP or \fIPONYSAY_KMS_PALETTE_CMD\fP is used to tell
ponysay how your TTY palette looks, this feature lets you get the best images \fIponysay\fP how your TTY palette looks, this feature lets you get the best images
in TTY if you have Kernel Mode Setting (KMS) support. in TTY if you have Kernel Mode Setting (KMS) support.
.TP .TP
.B PONYSAY_TYPO_LIMIT .B PONYSAY_TYPO_LIMIT
\fIponysay\fP is able to auto correct misspelled pony names and balloon style name. \fIponysay\fP is able to autocorrect misspelled pony names and balloon style name.
Without consideration for transpositioning, by default if the weighted distance is greater Without consideration for transpositioning, by default if the weighted distance is greater
than 5 for the closest words, auto correction ignored. than 5 for the closest words, autocorrection ignored.
This limit can be changed by exporting This limit can be changed by exporting the limit to \fIPONYSAY_TYPO_LIMIT\fP; setting
the limit to PONYSAY_TYPO_LIMIT; setting the limit to zero will disable auto correction. the limit to zero will disable autocorrection.
.TP .TP
.B PONYSAY_WRAP_HYPHEN .B PONYSAY_WRAP_HYPHEN
You can export what ponysay should use instead of a hyphen when wrapping messages. You can export what ponysay should use instead of a hyphen when wrapping messages.
.TP .TP
.B PONYSAY_WRAP_LIMIT .B PONYSAY_WRAP_LIMIT
Defines how long a word mush be to be hyphenated. Defines how long a word must be to be hyphenated.
This is used for to wrap words that are long so the output gets as pretty as possible. This is used to wrap words that are long so the output gets as pretty as possible.
This s not the only condition under which a word can be hyphenated, it can also be hyphenated This is not the only condition under which a word can be hyphenated, it can also be hyphenated
if the word cannot fit otherwise. if the word cannot fit otherwise.
.TP .TP
.B PONYSAY_WRAP_EXCEED .B PONYSAY_WRAP_EXCEED
Defines how much a word must exceed the wrapping point to be hyphenated. Defines how much a word must exceed the wrapping point to be hyphenated.
This setting is used togather with \fIPONYSAY_WRAP_LIMIT\fP. This setting is used together with \fIPONYSAY_WRAP_LIMIT\fP.
.SH BUG .SH BUG
Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>. Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
.SH SEE ALSO .SH SEE ALSO
@ -233,10 +211,9 @@ Pablo Lezaeta, Jan Alexander Steffens et al.
.\" See file CREDITS for full list. .\" See file CREDITS for full list.
.PP .PP
This manual page was originally written by Louis Taylor <kragniz@gmail.com> This manual page was originally written by Louis Taylor <kragniz@gmail.com>
for the Debian GNU/Linux project (and may be used by others), and edited by for the Debian GNU/Linux project (and may be used by others), and been edited
Mattias Andrée <maandree@kth.se> for the official ponysay release. by the ponysay authors for the official ponysay release.
.br .br
.PP .PP
This program is licensed under GNU GPLv3+. This program is licensed under GNU GPLv3+.
.\" See file COPYING to see the license. .\" See file COPYING to see the license.

View file

@ -1,20 +1,4 @@
.\" .TH PONYSAY 6 "Abril 05 de 2013"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PONYSAY 0 "Abril 05 de 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NOMBRE .SH NOMBRE
ponysay \- Una reimplementación de cowsay usando ponis ponysay \- Una reimplementación de cowsay usando ponis
.SH SINOPSIS .SH SINOPSIS
@ -30,9 +14,6 @@ ponysay \- Una reimplementación de cowsay usando ponis
.br .br
.SH DESCRIPCIÓN .SH DESCRIPCIÓN
.PP .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBponysay\fP muestra la imagen de un poni con un texto dado por el usuario, esto dentro de la \fBponysay\fP muestra la imagen de un poni con un texto dado por el usuario, esto dentro de la
terminal. terminal.
.br .br
@ -87,7 +68,7 @@ Esta opción combina \fI--f\fP y \fI++f\fP.
Viable variante de \fI-q\fP, todos los argumentos dados después de este argumento serán Viable variante de \fI-q\fP, todos los argumentos dados después de este argumento serán
pasados a dicha opción. pasados a dicha opción.
.TP .TP
.B \-b, \-\-bubble, \-\-ballon \fIstyle\fP .B \-b, \-\-bubble, \-\-balloon \fIstyle\fP
Especifica el tipo de globo de texto a utilizar, puede ser la ruta a un archivo o bien uno de las Especifica el tipo de globo de texto a utilizar, puede ser la ruta a un archivo o bien uno de las
opciones dadas por \fIponysay -B\fP. opciones dadas por \fIponysay -B\fP.
.TP .TP
@ -112,10 +93,10 @@ Lista los ponis no pertenecientes a MLP:FiM disponibles.
.B \+L, \+\+symlist, \+\+altlist .B \+L, \+\+symlist, \+\+altlist
Lista los ponis no pertenecientes a MLP:FiM con nombres alternativos dentro de paréntesis. Lista los ponis no pertenecientes a MLP:FiM con nombres alternativos dentro de paréntesis.
.TP .TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP .B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Muestra la lista de globos de texto disponibles. Muestra la lista de globos de texto disponibles.
.TP .TP
.B \-A. \-\-all .B \-A. \-\-all
Lista todos los ponis, tanto pertenecientes a MLP:FiM cono no pertenecientes a esta Lista todos los ponis, tanto pertenecientes a MLP:FiM cono no pertenecientes a esta
la primera lista son los pertenecientes a esta y la subsiguente los no pertenecientes. la primera lista son los pertenecientes a esta y la subsiguente los no pertenecientes.
.TP .TP
@ -157,7 +138,7 @@ Colorea el globo, Incluyendo mensajes y enlaces. Para más información acerca d
y sin la cola \fIm\fP, por ejemplo \fI1;31\fP puede referirse al color rojo y en negrita (o claro y sin la cola \fIm\fP, por ejemplo \fI1;31\fP puede referirse al color rojo y en negrita (o claro
dependiendo de la terminal.) dependiendo de la terminal.)
.TB .TB
.B \-\-colour\-bubble, \-\-colour\-ballon [\fIansi-colour\fP] .B \-\-colour\-bubble, \-\-colour\-balloon [\fIansi-colour\fP]
Trabaja como \fP\--colour\fI pero solo colorea el globo de texto. Trabaja como \fP\--colour\fI pero solo colorea el globo de texto.
.TP .TP
.B \-\-colour\-link [\fIansi-colour\fP] .B \-\-colour\-link [\fIansi-colour\fP]
@ -172,7 +153,7 @@ Este coloreo no tiene efecto en archivos pony dado que tienen su propio coloreo.
.TP .TP
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP] .B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP]
Trabaja como \fI--colour\fP pero solo colorea guiones agregados por la envoluta del texto. Trabaja como \fI--colour\fP pero solo colorea guiones agregados por la envoluta del texto.
Si desea remover el color use \fI0\fP, por defecto es \fI31\fP persistentemente. Si desea remover el color use \fI0\fP, por defecto es \fI31\fP.
.SH ENTORNO .SH ENTORNO
.TP .TP
.B PONYSAY_BOTTOM .B PONYSAY_BOTTOM
@ -184,8 +165,7 @@ inicio puede exportar \fIPONYSAY_BOTTOM\fP con el valor \fIyes\fP, \fIy\fP o \fI
.B PONYSAY_SHELL_LINES .B PONYSAY_SHELL_LINES
Bajo TTY (Linux VT), si la imagen es mas larga que la anchura de la terminal en pantalla, solo dos Bajo TTY (Linux VT), si la imagen es mas larga que la anchura de la terminal en pantalla, solo dos
líneas blancas serán impresas. si desea más o menos lineas blancas, puede exportar líneas blancas serán impresas. si desea más o menos lineas blancas, puede exportar
\fIPONYSAY_SHELL_LINES\fP con el valor de cuantas líneas blancas desea. Naturalmente esto solo \fIPONYSAY_SHELL_LINES\fP con el valor de cuantas líneas blancas desea.
tomará efecto si la salida no es mas larga que la pantalla.
.TP .TP
.B PONYSAY_FULL_WIDTH .B PONYSAY_FULL_WIDTH
Puede exportar \fIPONYSAY_FULL_WIDTH\fP con el valor \fIyes\fP, \fIy\fP o \fI1\fP, si usted Puede exportar \fIPONYSAY_FULL_WIDTH\fP con el valor \fIyes\fP, \fIy\fP o \fI1\fP, si usted
@ -243,8 +223,7 @@ Pablo Lezaeta, Jan Alexander Steffens y otros.
.PP .PP
Este manual originalmente fue escrito por Louis Taylor <kragniz@gmail.com> Este manual originalmente fue escrito por Louis Taylor <kragniz@gmail.com>
para el proyecto Debian GNU/Linux (y puede ser usado por otros), y editado por para el proyecto Debian GNU/Linux (y puede ser usado por otros), y editado por
Mattias Andrée <maandree@kth.se> para el lanzamiento oficial de ponysay autores de ponysay para el lanzamiento oficial de ponysay.
y traducido por Pablo Lezaeta al español.
.br .br
La actual traducción al español fue escrita por Pablo Lezaeta <prflr88@gmail.com>. La actual traducción al español fue escrita por Pablo Lezaeta <prflr88@gmail.com>.
.br .br

221
manuals/manpage.sv.6 Normal file
View file

@ -0,0 +1,221 @@
.TH PONYSAY 6 "Maj 30, 2013"
.SH NAME
ponysay \- Cowsay reimplementation för ponnyer
.SH ÖVERSIKT
.B ponysay
.RI [ alternativ ]
[--]
.RI [ meddelande ]
.br
.B ponythink
.RI [ alternativ ]
[--]
.RI [ meddelande ]
.br
.SH BESKRIVNING
.PP
\fBponysay\fP visar en bild av en ponny som säger en text som ges av användaren i en terminal.
Om \fImeddelande\fP inte har angivits, kommer indata från standard input användas. Meddelandet
kommer automatiskt radbryas vid runt 60 kolonner, och ponnyen med meddelandet kommer att skrivas
ut till standard output.
.PP
Om inga argument används kommer programmet bara acceptera indata från standard input om det
kommer från att annat program, en fil eller ett här-dokument eller här-sträng (se man bash(1)
för detaljer om här-dokument och här-strängar.)
.PP
\fBponythink\fP är till \fIponysay\fP som \fIcowthink\fP är till \fIcowsay\fP.
.PP
För en omfattande dokumentation kör `info ponysay`.
.SH ALTERNATIV
En sammanfattning av alternative är listad nedan.
.TP
.B \-h, \-\-help
Visa sammanfattning av alternativ.
.TP
.B \-v, \-\-version
Visa programmets version.
.TP
.B \-f, \-\-file, \-\-pony \fInamn\fP
Välj en ponny (antingen ett filnamn eller ponnynamn); du kan använda detta val flera gånger
för att få en av dem slumpmässigt utvalt.
.TP
.B \+f, \+\+file, \+\+pony \fInamn\fP
Välj en ponny som inte är med i My Little Pony: Vänskap är magisk [sic!] (antingen ett filnamn
eller ponnynamn); du kan använda detta val flera gånger för att få en av dem slumpmässigt utvalt.
.TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP
Detta alternativ är en kombination av \fI-f\fP och \fI+f\fP.
.TP
.B \-\-f, \-\-files, \-\-ponies \fI[namn...]\fP
Variadisk variant av \fI-f\fP, innebärande att alla argument som följer detta tolkas som
värde för detta.
.TP
.B \+\+f, \+\+files, \+\+ponies \fI[namn...]\fP
Variadisk variant av \fI+f\fP, innebärande att alla argument som följer detta tolkas som
värde för detta.
.TP
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP
Detta alternativ är en kombination av \fI--f\fP och \fI++f\fP.
.TP
.B \-q, \-\-quote [\fInamn\fP...]
Genom att använda detta alternativ kommer en ponny att skrivas ut med ett citat från
henne själv i My Little Pony: Vänskap är magisk. Ponnyen kommer att väljas slumpmässigt
om inget värde ges. Om mer än en ponny anges genom \fI-q\fP kommer en av dem väljas ut
slumpmässigt.
.TP
.B \-\-q, \-\-quotes [\fInamn\fP...]
Variadisk variant av \fI-q\fP, innebärande att alla argument som följer detta tolkas som
värde för detta.
.TP
.B \-b, \-\-bubble, \-\-balloon \fIstil\fP
Specifiera en talrutestil som ska användas, detta kan antingen vara ett filnamn eller ett
talrutestilsnamn som listas av \fIponysay -B\fP.
.TP
.B \-W, \-\-wrap \fIkolonn\fP
Skärmkolonnen till vilket meddelandet kommer att begrännas; talrutans kanters bredd kommer
at räknas in. Om värdet inte är ett nummer, men istället börjar med \fIn\fP kommer ingen
begränsning användas, och om det börjar med \fIi\fP kommer terminals bredd att användas.
.TP
.B \-c, \-\-compress, \-\-compact [\fIansi-färg\fP]
Packar ihop meddelande på samma sätt som \fIcowsay\fP kör, det är i princip utan multipla
mellanrum och endast styckeseparation.
.TP
.B \-l, \-\-list
Lista ponnyer.
.TP
.B \-L, \-\-symlist, \-\-altlist
Lista ponnyer med alternativa namn inom parantes.
.TP
.B \+l, \+\+list
Lista icke-MLP:Väm-ponnyer.
.TP
.B \+L, \+\+symlist, \+\+altlist
Lista icke-MLP:Väm-ponnyer med alternativa namn inom parantes.
.TP
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstil\fP
Lista alla talrutestiler.
.TP
.B \-A, \-\-all
Lista alla ponier, både MLP:Väm-ponnyer och icke-MLP:Väm-ponnyer. Först listas
MLP:Väm-ponnyer och sedan icke-MLP:Väm-ponnyer.
.TP
.B \+A, \+\+all, \-\-symall, \-\-altall
Lista alla ponier med alternativa namn inom parantes, både MLP:Väm-ponnyer och
icke-MLP:Väm-ponnyer. Först listas MLP:Väm-ponnyer och sedan icke-MLP:Väm-ponnyer.
.TP
.B \-o, \-\-pony\-only, \-\-ponyonly
Rita bara ut ponnyer, ingenting annat, igen talruta och inget meddelande.
.TP
.B \-i, \-\-info
Genom att ligga till detta alternativ kommer metadata för ponnyen skrivas ut
istället för ponnyen.
.TP
.B \+i, \+\+info
Detta fungerar som \fI-i\fP, förutom att utdatat kommer att användas som ponnyns
meddelande istället för att bara skriva ut metadatat.
.TP
.B \-r, \-\-restriction
Detta alternativ används för att begränsa, baserat på metadata, vilka ponnyer som kan
slumpmässigt väjas ut. Att värde i för detta alternativ är en kombination av ett tag-namn
och ett tag-värde på formen \fINAMN=VÄRDE\fP. (Läs `info ponysay` för mer information.)
.TP
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Använd \fIxterm\fPs 256\-färgstöd (stöds av de flesta X11 terminalerna), oavsätt din
terminals egentliga kompatibiliteter.
.TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Använd Linux VT:s kompatibiliteter \fPutan\fP att utnyttja KMS oavsätt din terminals
egentliga kompatibiliteter.
.TP
.B \-K, \-\-kms\-colours, \-\-kmscolours
Använd Linux VT:s kompatibiliteter \fPoch\fP utnyttja KMS oavsätt din terminals
egentliga kompatibiliteter. (Fungerar inte på alla KMS videokort.)
.TP
.B \+c, \-\-colour [\fIansi-färg\fP]
Färglägg talrutan, inklusive länken och meddelandet. För mer färgläggningsegenskaper,
se \fIinfo\fP-manualen. Argumentet, \fIansi-färg\fP, ska vara en ANSI-färgsekvens utan
inledande CSI och utan avslutande \fIm\fP, till exempel kommer \fI1;31\fP göra det
röd och tjockt (eller ljust beroende på terminalen.)
.TP
.B \-\-colour\-bubble, \-\-colour\-balloon [\fIansi-färg\fP]
Precis som \fP\--colour\fI, förutom att endast talrutan, och ingendera av meddelandet
och länken, kkommer att färgläggas.
.TP
.B \-\-colour\-link [\fIansi-färg\fP]
Precis som \fP\--colour\fI, förutom att endast länken kommer att färgläggas.
.TP
.B \-\-colour\-msg, \-\-colour\-message [\fIansi-färg\fP]
Precis som \fP\--colour\fI, förutom att endast meddelandet kommer att färgläggas.
.TP
.B \-\-colour\-pony [\fIansi-färg\fP]
Precis som \fI--colour\fP, förutmo att ponnien kommer ett färgläggas. Detta
kommer bara ge effekt om ponnyn inte är en vanlig ponny och saknas sin egna färgläggning.
.TP
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-färg\fP]
Precis som \fI--colour\fP, förutom att bindestrecken som läggs in vid breddbegränsning
kommer att färgläggas. För samma färg som texten, använd \fI0\fP, standardfärgen är
\fi31\fP (rött).
.SH SYSTEMVARIABLER
.TP
.B PONYSAY_BOTTOM
Under TTY (Linux VT), om utskriften är större än skärmens höjd, endast början kommer att
skrivas ut, och två tomma rader lämnas. Om du vill ha slutet istället för höjden utskriven,
exportera \fIPONYSAY_BOTTOM\fP med värdet \fIyes\fP, \fIy\fP eller \fI1\fP.
.TP
.B PONYSAY_SHELL_LINES
Under TTY (Linux VT), om utskrifteb är större än skärmens höjd, två rader kommer att lämnas
tommer. Om du vill ha fler, eller färre, tomma rader kan du exportera \fIPONYSAY_SHELL_LINES\fP
med värde av hur många tomma rader du vill ha.
.TP
.B PONYSAY_FULL_WIDTH
Om du exporterar \fIPONYSAY_FULL_WIDTH\fP med värdet \fIyes\fP, \fIy\fP eller \fI1\fP kommer
utskriften inte att beskäras på bredde för att få plats i terminalen.
.TP
.B PONYSAY_TRUNCATE_HEIGHT
Exportera \fIPONYSAY_TRUNCATE_HEIGHT\fP med värdet \fIyes\fP, \fIy\fP eller \fI1\fP om du
vill beskära utskriften på höjden även om du inte för \fIponysay\fP under TTY (Linux VT).
.TP
.B PONYSAY_UCS_ME
Exportera \fIPONYSAY_UCS_ME\fP med värdet \fIyes\fP, \fIy\fP eller \fI1\fP, om du vill ha
simulerade symboliska länkar till ponnyer med Universal Character Set in deras namn.
.TP
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
\fIPONYSAY_KMS_PALETTE\fP eller \fIPONYSAY_KMS_PALETTE_CMD\fP används för att talla om för
\fIponysay\fP how din TTY-färgpalett ser ut, detta egenskap låter dig få bästa möjliga bild
under TTY om du har Kernel Mode Setting-stöd (KMS).
.TP
.B PONYSAY_TYPO_LIMIT
\fIponysay\fP kan autokorregera felstavade namn på ponnyer och talrutestilar.
Utan hänsyn till transpositionering kommer det viktade avståndet användas för att
avgöra vilket namn som ska väljas, om avståndet är större än 5 kommer ingen korrektion
att ske. Detta begränsing kan andras genom exportera en ny begränsning till \fIPONYSAY_TYPO_LIMIT\fP.
Om gränsen sätts till noll stängs autokorrektion av.
.TP
.B PONYSAY_WRAP_HYPHEN
Du kan exportera till \fIPONYSAY_WRAP_HYPHEN\fP vilket tecken du vill använd stället för
binnesträck när ponysay begrännsar bredden på ett meddelande.
.TP
.B PONYSAY_WRAP_LIMIT
Definierar hur långt ett ord måste vara för att avstavas. Avstavning kan ske även om ordet
inte är tillräckligt långt om det krävs.
.TP
.B PONYSAY_WRAP_EXCEED
Definierar hur mycket av ett som måste gå utan för gränsen för att avstavs. Detta används
tillsammans med \fIPONYSAY_WRAP_LIMIT\fP.
.SH FEL
Fel kan rapporteras på <\fBhttps://github.com/erkin/ponysay/issues\fP>.
.SH SE OCKSÅ
.BR cowsay (0),
.BR fortune (0).
.br
.SH FÖRFATTARE
ponysay är skriven av Erkin Batu Altunbaş <erkinbatu@gmail.com> med bidrag från Mattias Andrée,
Elis Axelsson, Sven-Hendrik Haase, Pablo Lezaeta, Jan Alexander Steffens et al.
.\" See file CREDITS for full list.
.PP
Denna manpage skrevs först av Louis Taylor <kragniz@gmail.com> för Debin GNU/Linux-projektet
(och får används av andra), och har redigeras av ponysay's skapare för inkludering i ponysay.
.br
.PP
Detta program är under licensen GNU GPLv3+.
.\" See file COPYING to see the license.

222
manuals/manpage.tr.6 Normal file
View file

@ -0,0 +1,222 @@
.TH PONYSAY 6 "Mayıs 28, 2013"
.SH AD
ponysay \- Poniler için cowsay uygulaması
.SH KULLANIM
.B ponysay
.RI [ seçenekler ]
[--]
.RI [ ileti ]
.br
.B ponythink
.RI [ seçenekler ]
[--]
.RI [ ileti ]
.br
.SH TANIM
.PP
\fBponysay\fP kullanıcı tarafından sağlanan bir metni söyleyen bir poni resmini uçbirimde
sergiler. Eğer bir \fIileti\fP sağlanmamışsa, standart girdi alır, yaklaşık altmışıncı sütundan
sonra sözcük kaydırma yaparak verilen iletiyi söyleyen poniyi standart çıktıyla yazdırır.
.PP
Eğer hiçbir seçenek sağlanmamışsa; program yalnızca bir diğer programdan, bir dosyadan veya ya
here belgesinden ya da "here sözcesinden" borulanan standart girdiyi alır. (Here belgesi/sözcesi
üzerine ayrıntılı bilgi için bakınız: man bash(1))
alır.
.PP
\fIponysay\fP için \fBponythink\fP, \fIcowsay\fP için \fIcowthink\fP gibidir.
.PP
Ayrıntılı belgelendirme için `info ponysay`e başvurun.
.SH SEÇENEKLER
Seçeneklerin bir özeti aşağıda verilmiştir.
.TP
.B \-h, \-\-help
Seçeneklerin bir özetini yazdır.
.TP
.B \-v, \-\-version
Programın sürümünü yazdır.
.TP
.B \-f, \-\-file, \-\-pony \fIad\fP
Poni seç (ya bir dosya ya da bir poni adı); bu seçeneği birden çok kez kullanabilirsiniz, içlerinden biri rastgele
seçilecektir.
.TP
.B \+f, \+\+file, \+\+pony \fIad\fP
My Little Pony: Arkadaşlık Sihirlidir'de bulunmayan bir poni seçimi (ya bir dosya ya da bir
poni adı); bu seçeneği birden çok kez kullanabilirsiniz, içlerinden biri rastgele seçilecektir.
.TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIad\fP
Bu seçenek \fI-f\fP ile \fI+f\fP'yi birleştirir.
.TP
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIad\fP
Bu seçenek \fI--f\fP ile \fI++f\fP'yi birleştirir.
.TP
.B \-\-f, \-\-files, \-\-ponies [\fIad...\fP]
\fI-f\fP'nin değişkin türevi; yani bu seçeneğin ardından eklenen tüm değişkenler bu seçeneğin
değişkeni olarak yorumlanacaktır.
.TP
.B \+\+f, \+\+files, \+\+ponies [\fIad...\fP]
\fI+f\fP'nin değişkin türevi.
.TP
.B \-q, \-\-quote [\fIekle\fP...]
Bu seçeneğin kullanılmasıyla bir poni, My Little Pony: Arkadaşlık Sihirlidir'deki
replikleriyle yazdırılacaktır. En az bir poni \fI-q\fP'ye bir değişken verilmediği sürece
poni rastgele seçilecektir. Eğer birden çok poni değişkeni sağlanırsa; poni, değişkenler
arasından rastgele seçilecektir.
.TP
.B \-\-q, \-\-quotes [\fIad\fP...]
\fI-q\fP'nun değişkin türevi. Ayrıca bu değişkenler \fI-q\fP'ye de eklenir.
.TP
.B \-b, \-\-bubble, \-\-balloon \fIbiçim\fP
Kullanılacak balon biçimini belirt; bu ya bir dosya adı ya da \fIponysay -B\fP
ile yazdırılmış bir balon adı olabilir.
.TP
.B \-W, \-\-wrap \fIsütun\fP
İletinin kaydırılacağı ekran sütunu, balonun ek genişliği göz önünde tutulur. Eğer değişken
bir sayı değil ise; eğer \fIn\fP ile başlıyorsa sözcük kaydırma yapılmaz, \fIi\fP ile
başlıyorsa uçbirimin genişliği kullanılır.
.TP
.B \-c, \-\-compress, \-\-compact [\fIANSI-rengi\fP]
İletiyi \fIcowsay\fP'in yaptığı gibi sıkıştır, yani çoklu boşluklar olmadan ve yalnız satırbaşı
aralıklarıyla.
.TP
.B \-l, \-\-list
Poni dosyalarını sırala.
.TP
.B \-L, \-\-symlist, \-\-altlist
Poni dosyalarını köşeli ayraç içinde almaşık adlarıyla sırala.
.TP
.B \+l, \+\+list
My Little Pony: Arkadaşlık Sihirlidir dışındaki poni dosyalarını sırala.
.TP
.B \+L, \+\+symlist, \+\+altlist
My Little Pony: Arkadaşlık Sihirlidir dışındaki poni dosyalarını köşeli ayraç içinde almaşık
adlarıyla sırala.
.TP
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Tüm balon biçimlerin sırala.
.TP
.B \-A, \-\-all
Tüm poni dosyalarını sırala, My Little Pony: Arkadaşlık Sihirlidir içinde ve dışındakilerin
tümünü. Bu durumda içindekiler önce, dışındakiler sonra yazdırılır.
.TP
.B \+A, \+\+all, \-\-symall, \-\-altall
Tüm poni dosyalarını ayraç içinde almaşık adlarıyla sırala.
.TP
.B \-o, \-\-pony\-only, \-\-ponyonly
Yalnız poniyi yazdır, konuşma balonunu yoksay.
.TP
.B \-i, \-\-info
Poninin metaverisini yazdır, kendisini değil.
.TP
.B \+i, \+\+info
Poniye metaverisini söylet.
.TP
.B \-r, \-\-restriction
Bu seçenek, rastgele seçilecek olan ponileri metaverilerine göre sınırlandırır. Geçerli bir
değişken \fIAD=DEĞER\fP biçiminde bir etiket adı ve etiket değeri birleşimindedir.
.TP
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Uçbirimin gerçek özelliklerini yoksayarak \fIxterm\fP'in (çoğu X11 uçbirimlerince desteklenen)
256\-renk desteğini kullan.
.TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Uçbirimin gerçek özelliklerini yoksayarak (KMSsiz) Linux VT'nin özelliklerini
kullan.
.TP
.B \-K, \-\-kms\-colours, \-\-kmscolours
Uçbirimin gerçek özelliklerini yoksayarak (KMS ile) Linux VT'nin özelliklerini kullan.
(Tüm KMS ekran kartlarıyla çalışmayabilir.)
.TP
.B \+c, \-\-colour [\fIANSI-rengi\fP]
Balonu, bağlantıyı ve iletiyi boya. Daha çok boyama özelliği için bakınız: `info ponysay`
Değişken \fIANSI-rengi\fP, önünde bir CSI ve ardında \fIm\fP bulunmayan bir ANSI rengi olmalıdır.
Örneğin; \fI1;31\fP, metnin kırmızı ve kalın (veya parlak, uçbirime göre değişir) olmasını sağlar.
.TP
.B \-\-colour\-bubble, \-\-colour\-balloon [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız balonu boya.
.TP
.B \-\-colour\-link [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız balon bağlantısını boya.
.TP
.B \-\-colour\-msg, \-\-colour\-message [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız iletiyi boya.
.TP
.B \-\-colour\-pony [\fIANSI-rengi\fP]
\fI\-\-colour\fP gibi, ancak poniyi boya.
Bu boyamanın gerçek poni dosyaları üzerinde bir etkisi yoktur.
.TP
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIANSI-rengi\fP]
\fI\-\-colour\fP gibi, ancak sözcük kaydırmayla eklenen tireyi boyar.
Renksiz için \fI0\fP'ı kullanın, öntanımlı değer \fi31\fP'dir.
.SH ÇEVRE
.TP
.B PONYSAY_BOTTOM
TTY (Linux VT) içerisinde eğer çıktı ekran yüksekliğinden büyükse, yalnızca başı
yazdırılarak iki dize boş bırakılır. Eğer başı yerine sonunun yazdırılmasını istiyorsanız,
\fIPONYSAY_BOTTOM\fP'yi \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç edin.
.TP
.B PONYSAY_SHELL_LINES
TTY (Linux VT) içerisinde eğer çıktı ekran yüksekliğinden büyükse, yalnızca başı
yazdırılarak iki dize boş bırakılır. Eğer daha çok veya az boş dizenin kullanılmasını
istiyorsanız, \fIPONYSAY_SHELL_LINES\fP'ı dilediğiniz dize sayısının değeriyle ihraç edin.
.TP
.B PONYSAY_FULL_WIDTH
Çıktının uçbirime sığdırılması için sıkıştırılmasını istemiyorsanız \fIPONYSAY_FULL_WIDTH\fP'i
\fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç edin.
.TP
.B PONYSAY_TRUNCATE_HEIGHT
Eğer TTY içerisinde olmasanız bile çıktının sıkıştırılmasını istiyorsanız,
\fIPONYSAY_TRUNCATE_HEIGHT\fP'i \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç
edin.
.TP
.B PONYSAY_UCS_ME
Eğer Evrensel Karakter Seti kullanan poni dosyalarına [öykünülmüş] simgesel bağlantı
istiyorsanız, \fIPONYSAY_UCS_ME\fP'yi \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle
ihraç edin.
.TP
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
\fIPONYSAY_KMS_PALETTE\fP veya \fIPONYSAY_KMS_PALETTE_CMD\fP değerleri ponysay'e TTY
renklerinizin nasıl göründüğünü bildirmekte kullanılır. Bu özellik, KMS desteği varsa
TTY'nizde en iyi nitelikte görüntü elde etmenizi sağlar.
.TP
.B PONYSAY_TYPO_LIMIT
\fIponysay\fP yanlış yazılan poni ve balon biçim adlarını düzeltebilir. Aktarmayı göz
önünde bulundurmadan, öntanımlı olarak eğer ağırlıklı uzaklık en yakın sözcükler için
beşten çoksa düzeltme yoksayılır. Bu sınırı \fIPONYSAY_TYPO_LIMIT\fP'i dilediğiniz sayısal
değerle ihraç ederek değiştirebilirsiniz. Sınırı sıfır kılmak düzeltmeyi devredışı bırakır.
.TP
.B PONYSAY_WRAP_HYPHEN
Sözcük kaydırma sırasında \fIponysay\fP'in tire (\-) yerine hangi imi kullanması
gerektiğini \fIPONYSAY_WRAP_HYPHEN\fP'ı bir sözce değeriyle ihraç ederek belirtebilirsiniz.
.TP
.B PONYSAY_WRAP_LIMIT
Bir sözcüğün tireyle ayrılması için ne denli uzun olması gerektiğini tanımlar.
Bu değer, çıktıyı süslemek amacıyla uzun sözcükleri kaydırmak için kullanılır. Bu, bir
sözcüğün tireyle ayrıldığı tek koşul değildir; eğer sözcük başka türlü sığmıyorsa
da tireyle ayrılabilir.
.TP
.B PONYSAY_WRAP_EXCEED
Bir sözcüğün tireyle ayrılması için kaydırılma noktasını ne denli aşması gerektiğini
tanımlar. Bu değer \fIPONYSAY_WRAP_LIMIT\fP ile birlikte kullanılır.
This setting is used togather with \fIPONYSAY_WRAP_LIMIT\fP.
.SH HATA
Hatalar <\fBhttps://github.com/erkin/ponysay/issues\fP> adresinde bildirilebilir.
.SH AYRICA BAKINIZ
.BR cowsay(0),
.BR fortune(0).
.BR `info\ ponysay`
.br
.SH AUTHOR
ponysay, Erkin Batu Altunbaş <erkinbatu@gmail.com> tarafından
Mattias Andrée, Elis Axelsson, Sven-Hendrik Haase, Pablo Lezaeta, Jan Alexander Steffens
ve diğerlerinin katkılarıyla yazılmıştır. Tam sıralama için CREDITS dosyasına bakınız.
.PP
Bu kılavuz sayfası aslen Louis Taylor <kragniz@gmail.com> tarafından Debian GNU/Linux
projesi için (başkalarınca da kullanılabilir) yazılmış olup. Belgili tanımlık resmi
ponysay serbest bırakmak için ponysay yazarlar tarafından düzenlendi.
.br
Türkçe çeviri Erkin Batu Altunbaş tarafından yapılmıştır.
.br
.PP
Bu program GNU Genel Kamu Lisansı altında olup lisansta belirtilen koşullar uyarınca
dağıtımı, değiştirilmesi ve satışına izin verilmektedir. Tüm lisans metnini görmek için
LICENCE adlı dosyaya bakınız.

View file

@ -719,7 +719,7 @@ lines are left blank. If you want more, or less, blank lines you can export
@env{PONYSAY_SHELL_LINES} with the value of how many blank lines you want. @env{PONYSAY_SHELL_LINES} with the value of how many blank lines you want.
Naturally this takes effect eve n if the output is not actually larger than Naturally this takes effect eve n if the output is not actually larger than
the screen. the screen.
@item PONYSAY_FULL_WIDTH @item PONYSAY_FULL_WIDTH
@vindex @env{PONYSAY_FULL_WIDTH} @vindex @env{PONYSAY_FULL_WIDTH}
You can export @env{PONYSAY_FULL_WIDTH} with the value @code{yes}, @code{y} You can export @env{PONYSAY_FULL_WIDTH} with the value @code{yes}, @code{y}
@ -971,7 +971,7 @@ This tag decribes which groups a pony classifies under, it is a comma
seperated lower case list, and it cannot be empty, by it can be (but shouldn't) seperated lower case list, and it cannot be empty, by it can be (but shouldn't)
skipped for every pony in the image. skipped for every pony in the image.
The standard values are (you may use other ones if fitting): The standard values are (you may use other ones if fitting):
@itemize @bullet @itemize @bullet
@item @code{mare} @item @code{mare}
Adult female pony Adult female pony
@ -1045,13 +1045,13 @@ value should be 2.
In the rare case that the file contains multiple links (and multi ponies), the In the rare case that the file contains multiple links (and multi ponies), the
metadata should contains multiple entries of this tag, one entry for each link metadata should contains multiple entries of this tag, one entry for each link
sorted in the order of the linkes placement in the image, in the same way sorted in the order of the linkes placement in the image, in the same way
ponies are ordered. ponies are ordered.
@item LINK @item LINK
@vindex @var{LINK} @vindex @var{LINK}
In the rare case that the file contains multiple links the metadata should In the rare case that the file contains multiple links the metadata should
contains multiple entries of this tag, one entry for each link sorted in the contains multiple entries of this tag, one entry for each link sorted in the
order of the linkes placement in the image, in the same way ponies are ordered. order of the linkes placement in the image, in the same way ponies are ordered.
The value for this tag must be either @code{regular} or @code{mirrored}. The value for this tag must be either @code{regular} or @code{mirrored}.
@code{regular} applies to linkes with NNESSW (@code{\}) direction. @code{regular} applies to linkes with NNESSW (@code{\}) direction.
@ -1558,7 +1558,7 @@ terminal used can support those two requisites.
@command{ponysay} should work just fine on GNU/Hurd, except for in the native @command{ponysay} should work just fine on GNU/Hurd, except for in the native
virtual terminal (TTY). Hurd's terminal is limited to 16 colours and does not virtual terminal (TTY). Hurd's terminal is limited to 16 colours and does not
provide the capaility of modifing provide the capaility of modifing.
If we are lucky it may be possible draw pictures, in full resultions, as you If we are lucky it may be possible draw pictures, in full resultions, as you
can in linux; which is currently not inplemented in @command{ponysay}. can in linux; which is currently not inplemented in @command{ponysay}.
@ -1834,12 +1834,12 @@ Now you will be to use ponysay, run:
@command{ponysay "I am just the cutest pony!"}, @command{ponysay "I am just the cutest pony!"},
or if have a specific pony in your mind: @command{ponysay -f pinkie "Partay!~"}. or if have a specific pony in your mind: @command{ponysay -f pinkie "Partay!~"}.
@cindex man page translations
@command{ponysay} comes with this @command{info} manual and a manpage in @command{ponysay} comes with this @command{info} manual and a manpage in section 6,
section 6, @command{man 6 ponysay} (or just @command{man ponysay}). @command{man 6 ponysay} (or just @command{man ponysay}). The manpage is also available
The manpage is also available in Spanish: @command{man -L es 6 ponysay}. in Spanish, Swedish and Turkish: @command{man -L es 6 ponysay}, @command{man -L sv 6 ponysay},
To install the Spanish manual add the option @option{--with-man-es} when @command{man -L tr 6 ponysay}. To install the localised manual, add the option @option{--with-man-es},
running @command{./setup.py}. @option{--with-man-sv} or @option{--with-man-tr} when running @command{./setup.py}.
@ -2053,6 +2053,46 @@ Install English @command{man} manual. Set directory for @command{man} manuals.
@opindex @option{--without-es-man-manual} @opindex @option{--without-es-man-manual}
Install Spanish @command{man} manual. Set directory for @command{man} manuals. Install Spanish @command{man} manual. Set directory for @command{man} manuals.
@item --with-man-sv
@itemx --with-manpage-sv
@itemx --with-man-manual-sv
@itemx --with-sv-man
@itemx --with-sv-manpage
@itemx --with-sv-man-manual=/usr/share/man
@opindex @option{--with-man-sv}
@opindex @option{--without-man-sv}
@opindex @option{--with-manpage-sv}
@opindex @option{--without-manpage-sv}
@opindex @option{--with-man-manual-sv}
@opindex @option{--without-man-manual-sv}
@opindex @option{--with-sv-man}
@opindex @option{--without-sv-man}
@opindex @option{--with-sv-manpage}
@opindex @option{--without-sv-manpage}
@opindex @option{--with-sv-man-manual}
@opindex @option{--without-sv-man-manual}
Install Swedish @command{man} manual. Set directory for @command{man} manuals.
@item --with-man-tr
@itemx --with-manpage-tr
@itemx --with-man-manual-tr
@itemx --with-tr-man
@itemx --with-tr-manpage
@itemx --with-tr-man-manual=/usr/share/man
@opindex @option{--with-man-tr}
@opindex @option{--without-man-tr}
@opindex @option{--with-manpage-tr}
@opindex @option{--without-manpage-tr}
@opindex @option{--with-man-manual-tr}
@opindex @option{--without-man-manual-tr}
@opindex @option{--with-tr-man}
@opindex @option{--without-tr-man}
@opindex @option{--with-tr-manpage}
@opindex @option{--without-tr-manpage}
@opindex @option{--with-tr-man-manual}
@opindex @option{--without-tr-man-manual}
Install Turkish @command{man} manual. Set directory for @command{man} manuals.
@item --with-man @item --with-man
@itemx --with-manpage @itemx --with-manpage
@itemx --with-man-manual @itemx --with-man-manual
@ -2106,6 +2146,27 @@ extension. This option does not imply @option{--with-man-en}. (Default)
Compress Spanish @command{man} manual, select compression by file name Compress Spanish @command{man} manual, select compression by file name
extension. This option does not imply @option{--with-man-es}. (Default) extension. This option does not imply @option{--with-man-es}. (Default)
@item --with-man-tr-compression
@itemx --with-manpage-tr-compression
@itemx --with-man-manual-tr-compression
@itemx --with-tr-man-compression
@itemx --with-tr-manpage-compression
@itemx --with-tr-man-manual-compression=gz
@opindex @option{--with-man-tr-compression}
@opindex @option{--without-man-tr-compression}
@opindex @option{--with-manpage-tr-compression}
@opindex @option{--without-manpage-tr-compression}
@opindex @option{--with-man-manual-tr-compression}
@opindex @option{--without-man-manual-tr-compression}
@opindex @option{--with-tr-man-compression}
@opindex @option{--without-tr-man-compression}
@opindex @option{--with-tr-manpage-compression}
@opindex @option{--without-tr-manpage-compression}
@opindex @option{--with-tr-man-manual-compression}
@opindex @option{--without-tr-man-manual-compression}
Compress Turkish @command{man} manual, select compression by file name extension.
This option does not imply @option{--with-man-tr}. (Default)
@item --with-man-compression @item --with-man-compression
@itemx --with-manpage-compression @itemx --with-manpage-compression
@itemx --with-man-manual-compression @itemx --with-man-manual-compression
@ -2916,11 +2977,11 @@ makedepends=('git' 'texinfo' 'info' 'gzip' 'python>=3', 'zip')
build() build()
@{ cd "$srcdir"; git clone git://github.com/erkin/ponysay.git ponysay @{ cd "$srcdir"; git clone git://github.com/erkin/ponysay.git ponysay
cd ponysay ; git checkout "$pkgver" cd ponysay ; git checkout "$pkgver"
./setup.py --everything --without-pdf-compression \ ./setup.py --everything --without-pdf-compression \
--bin-dir=/usr/bin --dest-dir="$pkgdir" \ --bin-dir=/usr/bin --dest-dir="$pkgdir" \
--freedom=parital build --freedom=parital build
# CHANGE --freedom=parital to --freedom=strict # CHANGE --freedom=parital to --freedom=strict
# FOR ONLY COMPLETELY FREE PONIES, # FOR ONLY COMPLETELY FREE PONIES,
# useful for GNU/Linux-libre distributions # useful for GNU/Linux-libre distributions
@ -3131,6 +3192,10 @@ Default value for @option{-W}, the message wrapping column, has been changed
from 40 to 60, to wrap messages better. from 40 to 60, to wrap messages better.
@item @item
Added manpage for @command{ponysay-tool} Added manpage for @command{ponysay-tool}
@item
Turkish manual page added.
@item
Swedish manual page added.
@end itemize @end itemize
@heading Version 3.0.1 @heading Version 3.0.1
@ -3281,11 +3346,11 @@ Arguments starting with @code{n} or @code{i} is allowed for @option{-W}.
@heading Version 2.8 @heading Version 2.8
@itemize @bullet @itemize @bullet
@item @item
New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand}, New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand}, @file{milkyway},
@file{milkyway}, @file{peppermoon}, @file{pinkacopter}, @file{pinkiefly}, @file{peppermoon}, @file{pinkacopter}, @file{pinkiefly}, @file{pinkieparade},
@file{pinkieparade}, @file{pinkieumbrellahat}, @file{shiningarmorwedding}, @file{pinkieumbrellahat}, @file{shiningarmorwedding}, @file{soaringofficer},
@file{soaringofficer}, @file{starlight}, @file{sunnyrays}, @file{sweatiesing}, @file{starlight}, @file{sunnyrays}, @file{sweatiesing}, @file{tenderheart}, @file{tom},
@file{tenderheart}, @file{tom}, @file{twilightspike}, @file{zecorabalance} @file{twilightspike}, @file{zecorabalance}
@item @item
New extraponies: @file{applejack} (Tumblr), @file{applejack-63}, New extraponies: @file{applejack} (Tumblr), @file{applejack-63},
@file{artemis}, @file{blueberry}, @file{butterscotch}, @file{artemis}, @file{blueberry}, @file{butterscotch},
@ -3320,17 +3385,15 @@ names added.
@heading Version 2.7 @heading Version 2.7
@itemize @bullet @itemize @bullet
@item @item
New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow}, New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow}, @file{derpysad},
@file{derpysad}, @file{flowertrio}, @file{frederickhorseshoepin}, @file{flowertrio}, @file{frederickhorseshoepin}, @file{horsemd}, @file{jeffletroski},
@file{horsemd}, @file{jeffletroski}, @file{jesuspezuna}, @file{joe}, @file{jesuspezuna}, @file{joe}, @file{joetuxedo}, @file{manticore},
@file{joetuxedo}, @file{manticore}, @file{meadownsong}, @file{meliot}, @file{meadownsong}, @file{meliot}, @file{pinkiegummydisguise}, @file{seaswirl},
@file{pinkiegummydisguise}, @file{seaswirl}, @file{theodoredonaldkerabatsos}, @file{theodoredonaldkerabatsos}, @file{turf}, @file{waltercoltchak}
@file{turf}, @file{waltercoltchak}
@item @item
New extraponies: @file{blueballblitz} (Varous fanfics, Shadowbolt), New extraponies: @file{blueballblitz} (Varous fanfics, Shadowbolt), @file{drhooves1},
@file{drhooves1}, @file{drhooves2}, @file{drhooves3}, @file{drhooves4}, @file{drhooves2}, @file{drhooves3}, @file{drhooves4}, @file{drhooves5}, @file{drhooves6},
@file{drhooves5}, @file{drhooves6}, @file{drhooves7}, @file{drhooves8}, @file{drhooves7}, @file{drhooves8}, @file{drhooves9}, @file{drhooves10}, @file{drhooves11},
@file{drhooves9}, @file{drhooves10}, @file{drhooves11},
@file{nyx} (Fanfic: Past Sins), @file{nyxdisguised} (Fanfic: Past Sins), @file{nyx} (Fanfic: Past Sins), @file{nyxdisguised} (Fanfic: Past Sins),
@file{pinkaminacupcake} (Fanfic) @file{pinkaminacupcake} (Fanfic)
@item @item
@ -3858,7 +3921,7 @@ The freedom to study how the program works, and change it so it does your
computing as you wish (freedom 1). Access to the source code is a precondition computing as you wish (freedom 1). Access to the source code is a precondition
for this. for this.
@item @item
The freedom to redistribute copies so you can help your neighbour (freedom 2). The freedom to redistribute copies so you can help your neighbour (freedom 2).
@item @item
The freedom to distribute copies of your modified versions to others (freedom 3). The freedom to distribute copies of your modified versions to others (freedom 3).
By doing this you can give the whole community a chance to benefit from your By doing this you can give the whole community a chance to benefit from your
@ -3909,4 +3972,3 @@ If not, see <http://www.gnu.org/licenses/>.
@bye @bye

View file

@ -7,14 +7,12 @@ import sys
from zipfile import ZipFile from zipfile import ZipFile
from subprocess import Popen, PIPE from subprocess import Popen, PIPE
PONYSAY_VERSION = '3.0.2'
PONYSAY_VERSION = '3.0.1'
manpages = [('en', 'English'), # must be first manpages = [('en', 'English'), # must be first
('es', 'Spanish')] ('es', 'Spanish'),
('sv', 'Swedish'),
('tr', 'Turkish')]
sharedirs = [('ponies', 'xterm ponies', 'PONYDIR', True), # must be first sharedirs = [('ponies', 'xterm ponies', 'PONYDIR', True), # must be first
('ttyponies', 'tty ponies', 'TTYPONYDIR', True), ('ttyponies', 'tty ponies', 'TTYPONYDIR', True),
@ -44,9 +42,6 @@ ponysaysrc = [src + '.py' for src in
'backend', 'colourstack', 'ucs', 'spellocorrecter', 'kms', 'backend', 'colourstack', 'ucs', 'spellocorrecter', 'kms',
'list', 'metadata', 'ponysaytool')] 'list', 'metadata', 'ponysaytool')]
COPY = 'copy' COPY = 'copy'
HARD = 'hard' HARD = 'hard'
SYMBOLIC = 'symbolic' SYMBOLIC = 'symbolic'
@ -68,38 +63,33 @@ class Setup():
description = 'installer for ponysay', description = 'installer for ponysay',
usage = usage) usage = usage)
opts.add_argumentless(alternatives = ['--help']) opts.add_argumentless(alternatives = ['--help'])
opts.add_argumentless(alternatives = ['--version']) opts.add_argumentless(alternatives = ['--version'])
opts.add_argumented (alternatives = ['---DESTDIR'], arg="DESTDIR") opts.add_argumented (alternatives = ['---DESTDIR'], arg="DESTDIR")
opts.add_argumented (alternatives = ['---PREFIX'], arg="PREFIX") opts.add_argumented (alternatives = ['---PREFIX'], arg="PREFIX")
opts.add_argumentless(help = 'Install everything that is not explicitly excluded',
opts.add_argumentless(help = 'Install everything that is not explicity excluded',
alternatives = ['--everything', '--with-everything']) alternatives = ['--everything', '--with-everything'])
opts.add_argumentless(help = 'Install only the essentials\nNote that this can vary depending on version', opts.add_argumentless(help = 'Install only the essentials\nNote that this can vary depending on the version',
alternatives = ['--minimal']) alternatives = ['--minimal'])
opts.add_argumentless(help = 'Install nothing (except legal documents) that is not explicity included', opts.add_argumentless(help = 'Install nothing (except legal documents) that is not explicitly included',
alternatives = ['--nothing', '--with-nothing']) alternatives = ['--nothing', '--with-nothing'])
for command in commands: for command in commands:
opts.add_argumentless(help = 'Do not install the %s command' % (command), opts.add_argumentless(help = 'Do not install the %s command' % (command),
alternatives = ['--without-' + command, '--without-' + command + '-command']) alternatives = ['--without-' + command, '--without-' + command + '-command'])
opts.add_argumented (help = 'Install the %s command, and set file name\nDefualt = /usr/bin/%s' % (command, command), opts.add_argumented (help = 'Install the %s command, and set file name\nDefault = /usr/bin/%s' % (command, command),
alternatives = ['--with-' + command, '--with-' + command + '-command'], arg='EXEC') alternatives = ['--with-' + command, '--with-' + command + '-command'], arg='EXEC')
opts.add_argumentless(help = 'Do not install a user shared cache', opts.add_argumentless(help = 'Do not install a user shared cache',
alternatives = ['--without-shared-cache']) alternatives = ['--without-shared-cache'])
opts.add_argumented (help = 'Install a user shared cache at CACHEDIR\nDefault = /var/cache/ponysay', opts.add_argumented (help = 'Install a user shared cache at CACHEDIR\nDefault = /var/cache/ponysay',
alternatives = [ '--with-shared-cache'], arg='CACHEDIR') alternatives = [ '--with-shared-cache'], arg='CACHEDIR')
for shell in shells: for shell in shells:
opts.add_argumentless(help = 'Do not install completion for ' + shell[2], opts.add_argumentless(help = 'Do not install completion for ' + shell[2],
alternatives = ['--without-' + shell[0], '--without-' + shell[0] + '-completion']) alternatives = ['--without-' + shell[0], '--without-' + shell[0] + '-completion'])
@ -107,14 +97,12 @@ class Setup():
opts.add_argumented (help = 'Set file name for the completion for ponysay in' + shell[2], opts.add_argumented (help = 'Set file name for the completion for ponysay in' + shell[2],
alternatives = ['--with-' + shell[0], '--with-' + shell[0] + '-completion'], arg='PONYSAY_%s_FILE' % (shell[0].upper())) alternatives = ['--with-' + shell[0], '--with-' + shell[0] + '-completion'], arg='PONYSAY_%s_FILE' % (shell[0].upper()))
opts.add_argumentless(help = 'Only install explicitly included shell completions', opts.add_argumentless(help = 'Only install explicitly included shell completions',
alternatives = ['--without-shell', '--without-shell-completion']) alternatives = ['--without-shell', '--without-shell-completion'])
opts.add_argumented (help = 'Set share/ directory used for shell completions\nDefault = $SHAREDIR', opts.add_argumented (help = 'Set share/ directory used for shell completions\nDefault = $SHAREDIR',
alternatives = ['--with-shell', '--with-shell-completion'], arg='SHAREDIR') alternatives = ['--with-shell', '--with-shell-completion'], arg='SHAREDIR')
opts.add_argumentless(help = 'Do not install PDF manual\nDefault', opts.add_argumentless(help = 'Do not install PDF manual\nDefault',
alternatives = ['--without-pdf', '--without-pdf-manual']) alternatives = ['--without-pdf', '--without-pdf-manual'])
@ -145,7 +133,6 @@ class Setup():
opts.add_argumented (help = 'Select compression for info manual\nDefault = gz, xz is also recognised', opts.add_argumented (help = 'Select compression for info manual\nDefault = gz, xz is also recognised',
alternatives = ['--with-info-compression', '--with-info-manual-compression'], arg='COMPRESSION') alternatives = ['--with-info-compression', '--with-info-manual-compression'], arg='COMPRESSION')
for man in manpages: for man in manpages:
opts.add_argumentless(help = 'Do not install %s manpage manual' % (man[1]), opts.add_argumentless(help = 'Do not install %s manpage manual' % (man[1]),
alternatives = ['--without-man-%s' % (man[0]), '--without-manpage-%s' % (man[0]), '--without-man-manual-%s' % (man[0]), alternatives = ['--without-man-%s' % (man[0]), '--without-manpage-%s' % (man[0]), '--without-man-manual-%s' % (man[0]),
@ -155,7 +142,6 @@ class Setup():
alternatives = ['--with-man-%s' % (man[0]), '--with-manpage-%s' % (man[0]), '--with-man-manual-%s' % (man[0]), alternatives = ['--with-man-%s' % (man[0]), '--with-manpage-%s' % (man[0]), '--with-man-manual-%s' % (man[0]),
'--with-%s-man' % (man[0]), '--with-%s-manpage' % (man[0]), '--with-%s-man-manual' % (man[0])], arg='MANDIR') '--with-%s-man' % (man[0]), '--with-%s-manpage' % (man[0]), '--with-%s-man-manual' % (man[0])], arg='MANDIR')
opts.add_argumentless(help = 'Do not install any manpages', opts.add_argumentless(help = 'Do not install any manpages',
alternatives = ['--without-man', '--without-manpage', '--without-man-manual']) alternatives = ['--without-man', '--without-manpage', '--without-man-manual'])
@ -183,7 +169,6 @@ class Setup():
alternatives = ['--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0]), alternatives = ['--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0]),
'--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0])], arg='SECTION') '--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0])], arg='SECTION')
for dir in sharedirs: for dir in sharedirs:
opts.add_argumentless(help = 'Do not install ' + dir[1], opts.add_argumentless(help = 'Do not install ' + dir[1],
alternatives = ['--without-' + dir[0]]) alternatives = ['--without-' + dir[0]])
@ -197,14 +182,12 @@ class Setup():
opts.add_argumentless(help = 'Install UCS pony name map\nDefault', opts.add_argumentless(help = 'Install UCS pony name map\nDefault',
alternatives = ['--with-ucs', '--with-ucs-names']) alternatives = ['--with-ucs', '--with-ucs-names'])
opts.add_argumentless(help = 'Let the installer set the env name for python in ponysay\nDefault', opts.add_argumentless(help = 'Let the installer set the env name for python in ponysay\nDefault',
alternatives = ['--without-custom-env-python']) alternatives = ['--without-custom-env-python'])
opts.add_argumented (help = 'Set the env name for python in ponysay', opts.add_argumented (help = 'Set the env name for python in ponysay',
alternatives = ['--with-custom-env-python'], arg='PYTHON') alternatives = ['--with-custom-env-python'], arg='PYTHON')
opts.add_argumented (help = 'Set a prefix to all implicit directories\nDefault = /usr', opts.add_argumented (help = 'Set a prefix to all implicit directories\nDefault = /usr',
alternatives = ['--prefix'], arg='PREFIX') alternatives = ['--prefix'], arg='PREFIX')
@ -232,29 +215,22 @@ class Setup():
opts.add_argumented (help = 'Set the system\'s directory for cache directories\nDefault = /var/cache', opts.add_argumented (help = 'Set the system\'s directory for cache directories\nDefault = /var/cache',
alternatives = ['--cache-dir'], arg='CACHEDIR') alternatives = ['--cache-dir'], arg='CACHEDIR')
opts.add_argumented (help = 'Set off environment for installation\nEmpty by default', opts.add_argumented (help = 'Set off environment for installation\nEmpty by default',
alternatives = ['--dest-dir'], arg='DESTDIR') alternatives = ['--dest-dir'], arg='DESTDIR')
opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised', opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised',
alternatives = ['--linking'], arg='TYPE') alternatives = ['--linking'], arg='TYPE')
opts.add_argumented (help = 'Install all ponies or only the completely free ponies\nThis option is manditory, use strict, full, true or yes ' + opts.add_argumented (help = 'Install all ponies or only the completely free ponies\nThis option is manditory, use strict, full, true or yes ' +
'for only free ponies,\nand partial, sloppy, false or no for all ponies', 'for only free ponies,\nand partial, sloppy, false or no for all ponies',
alternatives = ['--freedom'], arg='FREEDOM') alternatives = ['--freedom'], arg='FREEDOM')
opts.parse() opts.parse()
self.linking = SYMBOLIC self.linking = SYMBOLIC
if opts.opts['--linking'] is not None: if opts.opts['--linking'] is not None:
self.linking = opts.opts['--linking'][0] self.linking = opts.opts['--linking'][0]
self.free = None self.free = None
if opts.opts['--freedom'] is not None: if opts.opts['--freedom'] is not None:
if opts.opts['--freedom'][0].lower() in ('strict', 'full', 'true', 'yes'): if opts.opts['--freedom'][0].lower() in ('strict', 'full', 'true', 'yes'):
@ -272,7 +248,6 @@ class Setup():
print('') print('')
exit(255) exit(255)
if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is None): if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is None):
destdir = opts.opts['---DESTDIR'][0] destdir = opts.opts['---DESTDIR'][0]
if len(destdir) > 0: if len(destdir) > 0:
@ -283,7 +258,6 @@ class Setup():
if len(prefix) > 0: if len(prefix) > 0:
opts.opts['--prefix'] = [prefix] opts.opts['--prefix'] = [prefix]
if (len(opts.files) > 1) or (opts.opts['--help'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'help')): if (len(opts.files) > 1) or (opts.opts['--help'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'help')):
opts.help() opts.help()
elif (opts.opts['--version'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'version')): elif (opts.opts['--version'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'version')):
@ -297,6 +271,7 @@ class Setup():
else: else:
conf = self.configure(opts.opts) conf = self.configure(opts.opts)
self.viewconf(conf) self.viewconf(conf)
os.umask(0o755)
if method == 'build': if method == 'build':
self.build(conf) self.build(conf)
@ -320,7 +295,6 @@ class Setup():
elif not method == 'view': elif not method == 'view':
opts.help() opts.help()
''' '''
Display configurations Display configurations
''' '''
@ -371,7 +345,6 @@ class Setup():
print() print()
''' '''
Compile ponysay Compile ponysay
''' '''
@ -454,7 +427,7 @@ class Setup():
if man is manpages[0]: lang = '' if man is manpages[0]: lang = ''
else: lang = '.' + man[0] else: lang = '.' + man[0]
if conf[key] is not None: if conf[key] is not None:
src = 'manuals/manpage' + lang + '.0' src = 'manuals/manpage' + lang + '.6'
dest = src + '.install' dest = src + '.install'
(fileout, filein) = (None, None) (fileout, filein) = (None, None)
try: try:
@ -473,7 +446,7 @@ class Setup():
src = dest src = dest
ext = conf[key + '-compression'] ext = conf[key + '-compression']
if ext is not None: if ext is not None:
dest = 'manuals/manpage' + lang + '.0.' + ext dest = 'manuals/manpage' + lang + '.6.' + ext
compress(src, dest, ext) compress(src, dest, ext)
if conf['info'] is not None: if conf['info'] is not None:
@ -577,7 +550,6 @@ class Setup():
print() print()
''' '''
Install compiled ponysay Install compiled ponysay
''' '''
@ -644,7 +616,7 @@ class Setup():
if man is manpages[0]: lang = '' if man is manpages[0]: lang = ''
else: lang = '.' + man[0] else: lang = '.' + man[0]
if conf[key] is not None: if conf[key] is not None:
src = 'manuals/manpage' + lang + '.0.' + ('install' if conf[key + '-compression'] is None else conf[key + '-compression']) src = 'manuals/manpage' + lang + '.6.' + ('install' if conf[key + '-compression'] is None else conf[key + '-compression'])
dests = [] dests = []
for command in commands: for command in commands:
if conf[command] is not None: if conf[command] is not None:
@ -664,7 +636,6 @@ class Setup():
self.cp(False, file[0], [conf[file[0]]], Setup.validateFreedom if self.free else None) self.cp(False, file[0], [conf[file[0]]], Setup.validateFreedom if self.free else None)
print() print()
''' '''
Uninstall ponysay Uninstall ponysay
''' '''
@ -722,7 +693,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Uninstall file ponysay no longer uses Uninstall file ponysay no longer uses
''' '''
@ -743,7 +713,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Remove compiled files Remove compiled files
''' '''
@ -770,7 +739,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Remove compiled files ponysay is no longer compiling Remove compiled files ponysay is no longer compiling
''' '''
@ -789,7 +757,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Removes listed files and directories Removes listed files and directories
''' '''
@ -819,7 +786,6 @@ class Setup():
else: else:
break; break;
''' '''
Check whether a file is fully free Check whether a file is fully free
''' '''
@ -840,7 +806,6 @@ class Setup():
return False return False
return True return True
''' '''
Copys a files or directory to multiple destinations Copys a files or directory to multiple destinations
''' '''
@ -919,7 +884,6 @@ class Setup():
os.unlink(dest) os.unlink(dest)
self.symlink(target, dest) self.symlink(target, dest)
''' '''
Create a symlink with a relative path Create a symlink with a relative path
''' '''
@ -943,7 +907,6 @@ class Setup():
os.symlink('/'.join(targets), dest) os.symlink('/'.join(targets), dest)
''' '''
Parses configurations Parses configurations
''' '''
@ -976,7 +939,6 @@ class Setup():
conf['libexec-dir'] = '/usr/libexec/ponysay' conf['libexec-dir'] = '/usr/libexec/ponysay'
conf['share-dir'] = '/usr/share' conf['share-dir'] = '/usr/share'
if opts['--private'] is not None: if opts['--private'] is not None:
if opts['--prefix'] is None: if opts['--prefix'] is None:
opts['--prefix'] = [os.environ['HOME'] + '/.local'] opts['--prefix'] = [os.environ['HOME'] + '/.local']
@ -1018,14 +980,12 @@ class Setup():
for key in conf: for key in conf:
defaults[key] = conf[key] defaults[key] = conf[key]
if opts['--nothing'] is not None: if opts['--nothing'] is not None:
opts['--minimal'] = opts['--nothing'] opts['--minimal'] = opts['--nothing']
for key in ['custom-env-python']: for key in ['custom-env-python']:
conf[key] = None conf[key] = None
if opts['--everything'] is None: if opts['--everything'] is None:
for key in ['pdf', 'pdf-compression']: for key in ['pdf', 'pdf-compression']:
conf[key] = None conf[key] = None
@ -1054,7 +1014,6 @@ class Setup():
conf[command] = None conf[command] = None
conf[sharedirs[0][0]] = None conf[sharedirs[0][0]] = None
for coll in [['shell', '/usr/share', [item[0] for item in shells]], for coll in [['shell', '/usr/share', [item[0] for item in shells]],
['man', '/usr/share/man', ['man-' + item[0] for item in manpages]], ['man', '/usr/share/man', ['man-' + item[0] for item in manpages]],
['man-compression', 'gz', ['man-' + item[0] + '-compression' for item in manpages]] ['man-compression', 'gz', ['man-' + item[0] + '-compression' for item in manpages]]
@ -1066,7 +1025,6 @@ class Setup():
for item in coll[2]: for item in coll[2]:
defaults[item] = conf[item] = defaults[item].replace(coll[1], coll[1] if opts['--with-' + coll[0]][0] is None else opts['--with-' + coll[0]][0]); defaults[item] = conf[item] = defaults[item].replace(coll[1], coll[1] if opts['--with-' + coll[0]][0] is None else opts['--with-' + coll[0]][0]);
for key in conf: for key in conf:
if '--with-' + key not in opts: if '--with-' + key not in opts:
continue continue
@ -1084,12 +1042,10 @@ class Setup():
else: else:
conf['man-section-' + mansection[0]] = mansection[1] conf['man-section-' + mansection[0]] = mansection[1]
self.destDir = None if opts['--dest-dir'] is None else opts['--dest-dir'][0] self.destDir = None if opts['--dest-dir'] is None else opts['--dest-dir'][0]
return conf return conf
def applyDestDir(self, conf): def applyDestDir(self, conf):
if self.destDir is not None: if self.destDir is not None:
for key in conf: for key in conf:
@ -1097,7 +1053,6 @@ class Setup():
if conf[key].startswith('/'): if conf[key].startswith('/'):
conf[key] = self.destDir + conf[key] conf[key] = self.destDir + conf[key]
def unapplyDestDir(self, conf): def unapplyDestDir(self, conf):
if self.destDir is not None: if self.destDir is not None:
for key in conf: for key in conf:
@ -1106,7 +1061,6 @@ class Setup():
conf[key] = conf[key][len(self.destDir):] conf[key] = conf[key][len(self.destDir):]
ARGUMENTLESS = 0 ARGUMENTLESS = 0
ARGUMENTED = 1 ARGUMENTED = 1
''' '''
@ -1222,6 +1176,5 @@ class ArgParser():
print() print()
if __name__ == '__main__': if __name__ == '__main__':
Setup() Setup()