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

195
CHANGELOG
View file

@ -1,15 +1,19 @@
Version 3.0.2
New ponies: brucemane, cremebrulee, deepblue, hairytipper, mantishy,
mule, peachbottom, rainbowdashcrystal, rainbowdrop,
strawberrycream, unclewing, wildflower
New ponies: brucemane, cremebrulee, deepblue, hairytipper, mantishy, mule, peachbottom, rainbowdashcrystal,
rainbowdrop, strawberrycream, unclewing, wildflower
New extraponies: firefox, fluffle, IE, milky
Default value for -W has been changed from 40 to 60.
Turkish manual page added.
Swedish manual page added.
Added manpage for ponysay-tool
Version 3.0.1
New ponies: harshwhinny
@ -21,26 +25,19 @@ Version 3.0.1
Version 3.0
New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep,
billneigh, cadancecrystal, cadancescruffy, cloudchaser,
descent, featherweight, fiddlesticks, flitter, gingersnap,
haakim, hayseed, lighningdust, jubileena, midnightstrike,
mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface,
poundcake, princesserroria, raccoon, rainbowblitz,
rarityelite, ravenearth, ravenunicorn, royalunicornguard,
rumble, shiningarmorcrystal, sombra, spikecrystal,
squirrel, sweetcream (comic), trixieamulet, twilacorn,
twilightcrystal, twilightfly, twilightprincess,
twilightwings, twinkleshine
New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep, billneigh, cadancecrystal, cadancescruffy,
cloudchaser, descent, featherweight, fiddlesticks, flitter, gingersnap, haakim, hayseed, lighningdust,
jubileena, midnightstrike, mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface, poundcake,
princesserroria, raccoon, rainbowblitz, rarityelite, ravenearth, ravenunicorn, royalunicornguard, rumble,
shiningarmorcrystal, sombra, spikecrystal, squirrel, sweetcream (comic), trixieamulet, twilacorn,
twilightcrystal, twilightfly, twilightprincess, twilightwings, twinkleshine
New extraponies: donutpony, gleamingshield, hestelle, johndelancie,
jristz, maandree, orion,
pipsqueak (without pirate suit), paradise, pizzapony,
snowdrop, tempo, ticket
New extraponies: donutpony, gleamingshield, hestelle, johndelancie, jristz, maandree, orion, pipsqueak (without pirate suit),
paradise, pizzapony, snowdrop, tempo, ticket
Ponies renamed: lotusbloosom → lotusblossom (typo)
maredowellgallop → maredowellgallop (need a master)
ironwillwalk → ironwillwalk (need a master)
maredowellgallop → maredowellgallop (need a version named as master)
ironwillwalk → ironwillwalk (need a version named as master)
shadowbolts → nightingale (shadowbolts split)
lily → lilyvalley (official name)
sweatiesing → sweetiesing (name consistency)
@ -57,8 +54,7 @@ Version 3.0
fillycelestia and filliestia has been moved to extraponies.
Renamed option -F to +f and option --F to ++f, -F and --F has new
definitions.
Renamed option -F to +f and option --F to ++f, -F and --F has new definitions.
Environment variable 'PONYSAY_TYPO_LIMIT' has been added.
@ -68,32 +64,24 @@ Version 3.0
Environment variable 'PONYSAY_WRAP_EXCEED' has been added.
Added support for ~/.ponysayrc with the alternatives:
${XDG_CONFIG_HOME}/ponysay/ponysayrc
and ~/.config/ponysay/ponysayrc as well as the global fallback
/etc/ponysayrc.
Added support for ~/.ponysayrc with the alternatives: ${XDG_CONFIG_HOME}/ponysay/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
the command line.
-f, +f and -q may be unargumented if that are at the end of the command line.
ponysay-tool is introduced, it can be used to edit, remove and
copy pony meta data, and more.
ponysay-tool is introduced, it can be used to edit, remove and copy pony meta data, and more.
ponysay-tool --kms generates all kmsponies for the current TTY palette.
Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to
specify how much extra height the balloon causes at the top and at
the bottom of the pony.
Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to specify how
much extra height the balloon causes at the top and at the bottom of the pony.
${XDG_DATA_HOME}/ponysay/* is allowed in favour of
${HOME}/.local/share/ponysay/*
${XDG_DATA_HOME}/ponysay/* is allowed in favour of ${HOME}/.local/share/ponysay/*
Balloons can be have and explicit minimum column span with placement
justification.
Balloons can be have and explicit minimum column span with placement justification.
Only ponies that fit the terminal will be randomly selected
(for directory with pony dimension files generated), however if no
pony fits, any of the can be randomly selected.
Only ponies that fit the terminal will be randomly selected (for directory with pony
dimension files generated), however if no pony fits, any of the can be randomly selected.
Setup option --sysconf-dir with default value /etc added.
@ -101,8 +89,7 @@ Version 3.0
Pony metadata options added: --info, ++info and --restrict.
The license has been changed to the
GNU General Public License version 3+, WTFPL 2.
The license has been changed to the GNU General Public License version 3+, WTFPL 2.
Version 2.9.1
@ -116,69 +103,57 @@ Version 2.9
New extraponies: molestia (Tumblr)
The option -q works like -f and -F, it takes one argument,
and may be used multiple times for more arguments.
The option -q works like -f and -F, it takes one argument, and may be used multiple
times for more arguments.
The old option -q is renamed to --q.
The options --f and --F has been added.
Weighted distance for autocorrection on pony names and boolean style
name is set to 5, rather than unlimited. Currently this cannot be
modified (without editing the source code.)
Weighted distance for autocorrection on pony names and boolean style name is set to 5, rather
than unlimited. Currently this cannot be modified (without editing the source code.)
If file descriptor 3 is definied when ponysay is executed, extra
information is printed to it.
If file descriptor 3 is definied when ponysay is executed, extra information is printed to it.
Arguments starting with n or i is allowed for -W.
Version 2.8
New ponies: airheart, bastionyorsets, gustavelegrand, milkyway,
peppermoon, pinkacopter, pinkiefly, pinkieparade,
pinkieumbrellahat, raritycomplaining, shiningarmorwedding,
soarinofficer, starlight, sunnyrays, sweatiesing,
tenderheart, tom, twilightspike, zecorabalance
New ponies: airheart, bastionyorsets, gustavelegrand, milkyway, peppermoon, pinkacopter, pinkiefly,
pinkieparade, pinkieumbrellahat, raritycomplaining, shiningarmorwedding, soarinofficer,
starlight, sunnyrays, sweatiesing, tenderheart, tom, twilightspike, zecorabalance
New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry,
butterscotch, drhoovesdiscorded (Tumblr), duskshine,
elusive, rainbowblitz
New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry, butterscotch,
drhoovesdiscorded (Tumblr), duskshine, elusive, rainbowblitz
Pony symlink added: georgewachingtony → bastionyorsets
Support for explicit hypthenation using soft hyphens had been added
to the word wrapper.
Support for explicit hypthenation using soft hyphens had been added to the word wrapper.
Support for explicit non-word wrapping using non-breaking space had
been added to the word wrapper.
Support for explicit non-word wrapping using non-breaking space had been added to the word wrapper.
The word wrapper colours the inserted hyphens in red.
Support for terminal capabilities emulation with the
flags -X, -V and -K.
Support for terminal capabilities emulation with the flags -X, -V and -K.
Support for printing just the pony, using the flag -o.
Colouring option flags are added.
Automatic correction of incorrectly spelled pony names and balloon
style names added.
Automatic correction of incorrectly spelled pony names and balloon style names added.
Version 2.7
New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio,
frederickhorseshoepin, horsemd, jeffletroski, jesuspezuna,
joe, joetuxedo, manticore, meadowsong, meliot,
pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos,
turf, waltercoltchak
New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio, frederickhorseshoepin,
horsemd, jeffletroski, jesuspezuna, joe, joetuxedo, manticore, meadowsong,
meliot, pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos, turf,
waltercoltchak
New extraponies: blueballblitz (Various fanfics, Shadowbolt),
drhooves1, drhooves2, drhooves3, drhooves4, drhooves5,
drhooves6, drhooves7, drhooves8, drhooves9, drhooves10,
drhooves11, nyx (Fanfic: Past Sins),
nyxdisguised (Fanfic: Past Sins),
New extraponies: blueballblitz (Various fanfics, Shadowbolt), drhooves1, drhooves2, drhooves3,
drhooves4, drhooves5, drhooves6, drhooves7, drhooves8, drhooves9, drhooves10,
drhooves11, nyx (Fanfic: Past Sins), nyxdisguised (Fanfic: Past Sins),
pinkaminacupcake (Fanfic)
Pony renamed: cracky → crackle
@ -186,17 +161,14 @@ Version 2.7
Version 2.6
New ponies: applebloomdance, blueberry, blueberrycake, blueharvest,
candylicious, cherrycola, cracky, cutiemarkcrusaders,
derpybags, derpycloud, firestreak, hughjelly, lemonhearts,
lyrabonbon, noi, pictureperfect, pigpen, poppycock,
quickfix, rainbowhurricane, rainboshadowbolt, silverspeed,
surprise (wonderbolt), thunderlane, timeturner,
twilightthebearded
New ponies: applebloomdance, blueberry, blueberrycake, blueharvest, candylicious,
cherrycola, cracky, cutiemarkcrusaders, derpybags, derpycloud, firestreak,
hughjelly, lemonhearts, lyrabonbon, noi, pictureperfect, pigpen,
poppycock, quickfix, rainbowhurricane, rainboshadowbolt, silverspeed,
surprise (wonderbolt), thunderlane, timeturner, twilightthebearded
New extraponies: faust (alicorn), maria (Moonstuck, seapony),
posey (Tumblr), slanderpony (Various tumblr),
sparkler (Tumblr), twilight (Tumblr)
New extraponies: faust (alicorn), maria (Moonstuck, seapony), posey (Tumblr),
slanderpony (Various tumblr), sparkler (Tumblr), twilight (Tumblr)
Pony symlink added: bonbonlyra → lyrabonbon
clockwork → quickfix
@ -204,9 +176,8 @@ Version 2.6
epona → quickfix
lotusbloosom → lotus
doctor and doctornohat has become extraponies, because their mane style
is different from in the TV show. And timeturner no longer links to
any of them.
doctor and doctornohat has become extraponies, because their mane style is
different from in the TV show. And timeturner no longer links to any of them.
./configure and make is no longer support.
@ -222,8 +193,7 @@ Version 2.5
Brand new highly configurable build system.
UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale
users.)
UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale users.)
Version 2.4
@ -268,8 +238,7 @@ Version 2.2
Support for colours in the message.
Support custom balloon styles using the option '-b', '-B' will list all
available. This list depends on whether you are invoking `ponysay` or
`ponythink`.
available. This list depends on whether you are invoking `ponysay` or `ponythink`.
Version 2.1.1
@ -297,8 +266,7 @@ Version 2.0
Makefile is generated by running `./configure`.
All Perl scripts and almost all Bash are reimplemented in one
Python 3 script.
All Perl scripts and almost all Bash are reimplemented in one Python 3 script.
kmsponies4ponysay is included.
@ -323,8 +291,7 @@ Version 1.3
Pony symlink added: sindy → powderrouge
PREFIX=/some-dir can be used when invoking make,
the default value is /usr
PREFIX=/some-dir can be used when invoking make, the default value is /usr
Version 1.2
@ -376,8 +343,9 @@ Version 1.1
New ponies: blossomforth, bonvoyage, cadance, celestiasmall,
changelingqueen, cherryberry, discordamused,
discordpuppetmaster, fleurdelishair, fleurdelislay, owl,
perrypierce, petunia, pinacolada, skyra, truffleshuffle.
discordpuppetmaster, fleurdelishair, fleurdelislay,
owl, perrypierce, petunia, pinacolada, skyra,
truffleshuffle.
Pony spelling removed: fillycadence.
@ -454,23 +422,24 @@ Version 0.9
New ponies: allie, archer, boxxy, carecake, cupcake, daringdo,
davenport, fancypants, ironwillwalk, lily, lunafly,
maredowellfly, maredowellgallop, master, mjolna, orange,
raritysdad, raritysmom, royalnightguard, ruby, sparkler,
violet.
maredowellfly, maredowellgallop, master, mjolna,
orange, raritysdad, raritysmom, royalnightguard,
ruby, sparkler, violet.
Version 0.8
New ponies: aloe, angle, applebloom, applebumkin, applefritter,
berrypunch, bigmac, blinkie, blues, braeburn, caesar,
candymane, caramel, cheerilee, cheerilee80, clyde, colgate,
colton, daisy, derpystand, derpystandwing, diamondtiara,
dinky, doctornohat, elsie, fido, fillycelestia, fillydash,
fillydashfly, fillyjack, fillyjacktravel, fillypinkie,
fillypinkiecurly, fillyrarity, fillyshy, fluttershygala,
gilda, gildastand, granny, grannychair, grannysleep, gummy,
hoity, horte, inky, laflour, lightning, lintsalot, lotus,
mayor, mrssparkle, nightmare, opal, parasprite, philomena,
candymane, caramel, cheerilee, cheerilee80, clyde,
colgate, colton, daisy, derpystand, derpystandwing,
diamondtiara, dinky, doctornohat, elsie, fido,
fillycelestia, fillydash, fillydashfly, fillyjack,
fillyjacktravel, fillypinkie, fillypinkiecurly,
fillyrarity, fillyshy, fluttershygala, gilda, gildastand,
granny, grannychair, grannysleep, gummy, hoity, horte,
inky, laflour, lightning, lintsalot, lotus, mayor,
mrssparkle, nightmare, opal, parasprite, philomena,
photofinish, pinkamina, pinkiebounce, pinkiechicken,
pinkiegala, pipsqueak, pokey, rainbowfly, rainbowgala,
rainbowsleep, raindrops, rarityfly, raritygala,
@ -494,7 +463,7 @@ Version 0.7
Version 0.6
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.
@ -537,6 +506,6 @@ Version 0.1
First release.
Includes the ponies: applejack, derpy, derpysit, fluttershy, luna,
lyrasleep, pinkie, rainbow, rarity, sweetie,
twilight.
Includes the ponies: applejack, derpy, derpysit, fluttershy,
luna, lyrasleep, pinkie, rainbow, rarity,
sweetie, twilight.

View file

@ -24,7 +24,7 @@ Or if you have a specific pony in your mind:
ponysay -f pinkie "Partay!~"
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
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 @@
.\"
.\" 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)
.TH PONYSAY 6 "April 05, 2013"
.SH NAME
ponysay \- Cowsay reimplementation for ponies
.SH SYNOPSIS
@ -30,9 +14,6 @@ ponysay \- Cowsay reimplementation for ponies
.br
.SH DESCRIPTION
.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.
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.
@ -54,22 +35,16 @@ Show summary of options.
Show version of program.
.TP
.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.
.TP
.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
multiple times, and one of the will be selected randomly.
Select a pony outside of My Little Pony: Friendship is Magic (either a file name or a pony
name), you can use this options multiple times, and one of the will be selected randomly.
.TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP
This option combines \fI-f\fP and \fI+f\fP.
.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
Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed
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
This option combines \fI--f\fP and \fI++f\fP.
.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...]
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.
.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
balloon name printed by \fIponysay -B\fP.
.TP
@ -110,12 +91,12 @@ List non-MLP:FiM pony files.
.B \+L, \+\+symlist, \+\+altlist
List non-MLP:FiM pony files with alternative names inside brackets.
.TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Prints a list of all balloon styles.
.TP
.B \-A, \-\-all
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.
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.
.TP
.B \+A, \+\+all, \-\-symall, \-\-altall
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
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Use \fIxterm\fPs 256\-colour support (supported by most X11 terminals), despite your terminals
actual compatibilies.
actual compatibilities.
.TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Use Linux VTs compatbilies \fPwithout\fP KMS utilisation, despite your terminals actual compatibilies.
.TP
Use Linux VTs compatibilities \fPwithout\fP KMS utilisation, despite your terminals actual compatibilities.
.TP
.B \-K, \-\-kms\-colours, \-\-kmscolours
Use Linux VTs compatbilies \fPwith\fP KMS utilisation, despite your terminals actual compatibilies
(not work with all KMS video card).
Use Linux VTs compatibilities \fPwith\fP KMS utilisation, despite your terminals actual compatibilities.
(May not work with all KMS video cards)
.TP
.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
and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright
depending on the terminal.)
.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.
.TP
.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]
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.
presistent.
.SH ENVIRONMENT
.TP
.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
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
of how many blank lines you want. Naturally this takes effect if the output is not actually
larger than the screen.
of how many blank lines you want.
.TP
.B PONYSAY_FULL_WIDTH
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
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
\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.
.TP
.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
than 5 for the closest words, auto correction ignored.
This limit can be changed by exporting
the limit to PONYSAY_TYPO_LIMIT; setting the limit to zero will disable auto correction.
than 5 for the closest words, autocorrection ignored.
This limit can be changed by exporting the limit to \fIPONYSAY_TYPO_LIMIT\fP; setting
the limit to zero will disable autocorrection.
.TP
.B PONYSAY_WRAP_HYPHEN
You can export what ponysay should use instead of a hyphen when wrapping messages.
.TP
.B PONYSAY_WRAP_LIMIT
Defines how long a word mush be to be hyphenated.
This is used for 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
Defines how long a word must be to be hyphenated.
This is used to wrap words that are long so the output gets as pretty as possible.
This is not the only condition under which a word can be hyphenated, it can also be hyphenated
if the word cannot fit otherwise.
.TP
.B PONYSAY_WRAP_EXCEED
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
Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
.SH SEE ALSO
@ -233,10 +211,9 @@ Pablo Lezaeta, Jan Alexander Steffens et al.
.\" See file CREDITS for full list.
.PP
This manual page was originally written by Louis Taylor <kragniz@gmail.com>
for the Debian GNU/Linux project (and may be used by others), and edited by
Mattias Andrée <maandree@kth.se> for the official ponysay release.
for the Debian GNU/Linux project (and may be used by others), and been edited
by the ponysay authors for the official ponysay release.
.br
.PP
This program is licensed under GNU GPLv3+.
.\" See file COPYING to see the license.

View file

@ -1,20 +1,4 @@
.\"
.\" 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)
.TH PONYSAY 6 "Abril 05 de 2013"
.SH NOMBRE
ponysay \- Una reimplementación de cowsay usando ponis
.SH SINOPSIS
@ -30,9 +14,6 @@ ponysay \- Una reimplementación de cowsay usando ponis
.br
.SH DESCRIPCIÓN
.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
terminal.
.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
pasados a dicha opción.
.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
opciones dadas por \fIponysay -B\fP.
.TP
@ -112,7 +93,7 @@ Lista los ponis no pertenecientes a MLP:FiM disponibles.
.B \+L, \+\+symlist, \+\+altlist
Lista los ponis no pertenecientes a MLP:FiM con nombres alternativos dentro de paréntesis.
.TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Muestra la lista de globos de texto disponibles.
.TP
.B \-A. \-\-all
@ -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
dependiendo de la terminal.)
.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.
.TP
.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
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP]
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
.TP
.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
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
\fIPONYSAY_SHELL_LINES\fP con el valor de cuantas líneas blancas desea. Naturalmente esto solo
tomará efecto si la salida no es mas larga que la pantalla.
\fIPONYSAY_SHELL_LINES\fP con el valor de cuantas líneas blancas desea.
.TP
.B PONYSAY_FULL_WIDTH
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
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
Mattias Andrée <maandree@kth.se> para el lanzamiento oficial de ponysay
y traducido por Pablo Lezaeta al español.
autores de ponysay para el lanzamiento oficial de ponysay.
.br
La actual traducción al español fue escrita por Pablo Lezaeta <prflr88@gmail.com>.
.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

@ -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
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
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!"},
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
section 6, @command{man 6 ponysay} (or just @command{man ponysay}).
The manpage is also available in Spanish: @command{man -L es 6 ponysay}.
To install the Spanish manual add the option @option{--with-man-es} when
running @command{./setup.py}.
@command{ponysay} comes with this @command{info} manual and a manpage in section 6,
@command{man 6 ponysay} (or just @command{man ponysay}). The manpage is also available
in Spanish, Swedish and Turkish: @command{man -L es 6 ponysay}, @command{man -L sv 6 ponysay},
@command{man -L tr 6 ponysay}. To install the localised manual, add the option @option{--with-man-es},
@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}
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
@itemx --with-manpage
@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
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
@itemx --with-manpage-compression
@itemx --with-man-manual-compression
@ -3131,6 +3192,10 @@ Default value for @option{-W}, the message wrapping column, has been changed
from 40 to 60, to wrap messages better.
@item
Added manpage for @command{ponysay-tool}
@item
Turkish manual page added.
@item
Swedish manual page added.
@end itemize
@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
@itemize @bullet
@item
New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand},
@file{milkyway}, @file{peppermoon}, @file{pinkacopter}, @file{pinkiefly},
@file{pinkieparade}, @file{pinkieumbrellahat}, @file{shiningarmorwedding},
@file{soaringofficer}, @file{starlight}, @file{sunnyrays}, @file{sweatiesing},
@file{tenderheart}, @file{tom}, @file{twilightspike}, @file{zecorabalance}
New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand}, @file{milkyway},
@file{peppermoon}, @file{pinkacopter}, @file{pinkiefly}, @file{pinkieparade},
@file{pinkieumbrellahat}, @file{shiningarmorwedding}, @file{soaringofficer},
@file{starlight}, @file{sunnyrays}, @file{sweatiesing}, @file{tenderheart}, @file{tom},
@file{twilightspike}, @file{zecorabalance}
@item
New extraponies: @file{applejack} (Tumblr), @file{applejack-63},
@file{artemis}, @file{blueberry}, @file{butterscotch},
@ -3320,17 +3385,15 @@ names added.
@heading Version 2.7
@itemize @bullet
@item
New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow},
@file{derpysad}, @file{flowertrio}, @file{frederickhorseshoepin},
@file{horsemd}, @file{jeffletroski}, @file{jesuspezuna}, @file{joe},
@file{joetuxedo}, @file{manticore}, @file{meadownsong}, @file{meliot},
@file{pinkiegummydisguise}, @file{seaswirl}, @file{theodoredonaldkerabatsos},
@file{turf}, @file{waltercoltchak}
New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow}, @file{derpysad},
@file{flowertrio}, @file{frederickhorseshoepin}, @file{horsemd}, @file{jeffletroski},
@file{jesuspezuna}, @file{joe}, @file{joetuxedo}, @file{manticore},
@file{meadownsong}, @file{meliot}, @file{pinkiegummydisguise}, @file{seaswirl},
@file{theodoredonaldkerabatsos}, @file{turf}, @file{waltercoltchak}
@item
New extraponies: @file{blueballblitz} (Varous fanfics, Shadowbolt),
@file{drhooves1}, @file{drhooves2}, @file{drhooves3}, @file{drhooves4},
@file{drhooves5}, @file{drhooves6}, @file{drhooves7}, @file{drhooves8},
@file{drhooves9}, @file{drhooves10}, @file{drhooves11},
New extraponies: @file{blueballblitz} (Varous fanfics, Shadowbolt), @file{drhooves1},
@file{drhooves2}, @file{drhooves3}, @file{drhooves4}, @file{drhooves5}, @file{drhooves6},
@file{drhooves7}, @file{drhooves8}, @file{drhooves9}, @file{drhooves10}, @file{drhooves11},
@file{nyx} (Fanfic: Past Sins), @file{nyxdisguised} (Fanfic: Past Sins),
@file{pinkaminacupcake} (Fanfic)
@item
@ -3909,4 +3972,3 @@ If not, see <http://www.gnu.org/licenses/>.
@bye

View file

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