summaryrefslogtreecommitdiffstats
path: root/pym/output.py
Commit message (Collapse)AuthorAgeFilesLines
* Tweak EOutput.term_columns calculation for TERM="dumb" soZac Medico2007-11-201-1/+1
| | | | | | | | that it behaves like TERM="cons25" currently does. Thanks to Ulrich Mueller <ulm@gentoo.org> for the patch. (trunk r8468) svn path=/main/branches/2.1.2/; revision=8548
* If the title string is too big then xtermTitle() canZac Medico2007-11-021-0/+5
| | | | | | | misbehave by causing the terminal to echo some of the characters and generate a "beep" sound. (trunk r8289) svn path=/main/branches/2.1.2/; revision=8363
* Merge the portage.spawn() implementation with pty logging from trunk:Zac Medico2007-07-251-0/+9
| | | | | | | | | - Sending output through the pty device makes logging compatible with sesandbox and the default selinux security policy (see bug #162404). - Having a pty device for stdout makes $PAGER behave nicely for things like check_license() from eutils.eclass. svn path=/main/branches/2.1.2/; revision=7395
* Add "reset" to the list of attributes in color.map.5 and add define NORMAL ↵Zac Medico2007-07-121-1/+2
| | | | | | like functions.sh does. (trunk r7242) svn path=/main/branches/2.1.2/; revision=7243
* Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for emerge's Yes/No prompt. ↵Zac Medico2007-07-081-0/+2
| | | | | | (trunk r7199) svn path=/main/branches/2.1.2/; revision=7200
* Misc color fixes. Thanks to Arfrever Frehtes Taifersar Arahesis ↵Zac Medico2007-07-061-12/+12
| | | | | | <Arfrever.FTA@GMail.Com> for this patch from bug#183861, comment #9. (trunk r7183) svn path=/main/branches/2.1.2/; revision=7184
* Remove the PKG_*ARG* color classes in order to simplify things since it's ↵Zac Medico2007-07-061-8/+2
| | | | | | questionable whether many people will want to use them. Also, make the PKG_*SYSTEM colors default to the traditional colors since people are generally most interested in world packages. (trunk r7174) svn path=/main/branches/2.1.2/; revision=7175
* For bug #183861, allow a color class in color.map to specify a space ↵Zac Medico2007-07-051-20/+68
| | | | | | separated list of attributes so that any combination of foreground, background, and other attributes is possible. Also make color class handling for package sets more consistent. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>. svn path=/main/branches/2.1.2/; revision=7151
* Add a 0xAAAA00 rgb color code to represent the darkyellow color that some ↵Zac Medico2007-06-291-1/+3
| | | | | | terminals have instead of brown. (trunk r7094) svn path=/main/branches/2.1.2/; revision=7095
* For bug #142473, add 2 additional color classes for system packages and ↵Zac Medico2007-06-281-0/+4
| | | | | | packages matched by arguments. (trunk r7074:7076) svn path=/main/branches/2.1.2/; revision=7077
* For bug #142473, add 4 color classes corresponding to combinations of ↵Zac Medico2007-06-251-0/+4
| | | | | | world/merge/nomerge attributes of each package. (trunk r7031) svn path=/main/branches/2.1.2/; revision=7032
* Return early from get_term_size() is stdout is not a tty. (trunk r6875)Zac Medico2007-06-191-0/+2
| | | | svn path=/main/branches/2.1.2/; revision=6876
* For bug #182571, handle curses.error if it's thrown inside get_term_size(). ↵Zac Medico2007-06-191-2/+5
| | | | | | (trunk r6873) svn path=/main/branches/2.1.2/; revision=6874
* For bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)Zac Medico2007-06-151-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6847
* For consistency with other xterm titles code, redirect $PROMPT_COMMAND ↵Zac Medico2007-06-111-1/+10
| | | | | | output to stderr. (trunk r6799) svn path=/main/branches/2.1.2/; revision=6800
* For bug #81097, detect and report suspicious hardlinks to suid/sgid files. ↵Zac Medico2007-06-101-0/+1
| | | | | | False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks. The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). (trunk r6791:6794) svn path=/main/branches/2.1.2/; revision=6795
* Only execute $PROMPT_COMMAND when appropriate. (trunk r6772)Zac Medico2007-06-091-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=6773
* For bug #139383, in xtermTitleReset() use os.system() instead of ↵Zac Medico2007-06-081-1/+2
| | | | | | commands.getoutput() since the latter puts too much restriction on what $PROMPT_COMMAND may contain. (trunk r6768) svn path=/main/branches/2.1.2/; revision=6769
* For bug #164655, port quickpkg to python and use the tarfile module for ↵Zac Medico2007-06-081-11/+24
| | | | | | proper handling of symlinks to directories. Thanks to Martin Parm <parmus@diku.dk> for the initial port. (trunk r6728) svn path=/main/branches/2.1.2/; revision=6753
* Fix eend so that it works properly on a standard BSD console. Thanks to ↵Zac Medico2007-05-021-0/+3
| | | | | | UberLord. (trunk r6466:6467) svn path=/main/branches/2.1.2/; revision=6468
* Make xterm titles work even when color is disabled. Thanks to Joachim ↵Zac Medico2007-02-121-1/+1
| | | | | | Kaeber <joachim.kaeber@web.de> in bug #166255. (trunk r5949:5950) svn path=/main/branches/2.1.2/; revision=5958
* Implement --color < y | n > for bug #42115 and deprecate --nocolor. When ↵Zac Medico2006-11-011-3/+6
| | | | | | --color is not specified, rely on the old NOCOLOR variable and/or stdout auto-detection. svn path=/main/trunk/; revision=4906
* For bug #152157, don't send a redundant escape sequence with ${PROMPT_COMMAND}.Zac Medico2006-10-211-4/+6
| | | | svn path=/main/trunk/; revision=4782
* Allow an empty PROMPT_COMMAND for bug #152157.Zac Medico2006-10-201-1/+3
| | | | svn path=/main/trunk/; revision=4771
* Call sys.stdout.flush() after print statements so that output has the ↵Zac Medico2006-09-291-0/+5
| | | | | | correct order when multiple processes output to a shared pipe. svn path=/main/trunk/; revision=4554
* Handle a potential ValueError when parsing the number of terminal columns.Zac Medico2006-07-201-5/+14
| | | | svn path=/main/trunk/; revision=3954
* Add an EOutput class that provides a python implementation of the familar e* ↵Zac Medico2006-07-191-0/+142
| | | | | | funtions from /sbin/functions.sh. Thanks to Alex Tarkovsky <alextarkovsky@gmail.com> for this patch. svn path=/main/trunk/; revision=3924
* When displaying the resume merge list, don't show the skipped package when ↵Zac Medico2006-07-031-0/+1
| | | | | | --skipfirst is enabled. See bug #121106. svn path=/main/trunk/; revision=3778
* Add a new MERGE_LIST_PROGRESS color class and remove hard coded yellow/green.Zac Medico2006-07-011-0/+1
| | | | svn path=/main/trunk/; revision=3743
* retain current color schema by adding a new color class for unmergingMike Frysinger2006-06-281-1/+4
| | | | svn path=/main/trunk/; revision=3681
* Set WARN=red to so that warnings appear red, as they always have.Zac Medico2006-06-281-1/+1
| | | | svn path=/main/trunk/; revision=3680
* Put bright colors before dark colors for bug #137206. Thanks to Benno ↵Zac Medico2006-06-181-1/+1
| | | | | | Schulenberg <benno@nietvergeten.nl> for this patch. svn path=/main/trunk/; revision=3532
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483
* use escaping code that works for mrxvt too; thanks to nelchael for the ↵Simon Stelling2006-05-021-1/+1
| | | | | | patch; bug 117509 svn path=/main/trunk/; revision=3306
* Print [ OK ] messages (like eend) when checksums are good. Thanks to ↵Zac Medico2006-04-301-0/+7
| | | | | | fox2mike for suggesting this. svn path=/main/trunk/; revision=3279
* Move some color mappings to ensure that they do not override the user ↵Zac Medico2006-04-051-5/+5
| | | | | | defined color map. svn path=/main/trunk/; revision=3076
* Add color code mappings for 16 colors in rgb format.Zac Medico2006-04-051-12/+32
| | | | svn path=/main/trunk/; revision=3075
* Add support for user configuration of colors in the output module for bug ↵Zac Medico2006-04-041-1/+44
| | | | | | #125120. Thanks to solar for the patch that this was derived from. svn path=/main/trunk/; revision=3072
* Create a single colorize() function in the output module and use it to ↵Zac Medico2006-03-291-44/+21
| | | | | | generate all of the existing color functions. svn path=/main/trunk/; revision=3030
* Patch by Ed Catmur to add "gnome" to legal_terms in output.py.Zac Medico2006-02-211-1/+1
| | | | svn path=/main/trunk/; revision=2756
* Patch by marienz to generate default_xterm_title just in time with python ↵Zac Medico2006-02-211-3/+13
| | | | | | instead of the shell. Fixes "Bad substitution" shell messages reported by flameeyes. svn path=/main/trunk/; revision=2755
* Kill the double xterm title codes.Jason Stubbs2006-01-011-1/+1
| | | | svn path=/main/trunk/; revision=2515
* Use the env's PROMPT_COMMAND for resetting xterm titles when available.Jason Stubbs2005-12-251-5/+6
| | | | | | Otherwise use ${user}@${hostname}:${cwd}. svn path=/main/trunk/; revision=2454
* bye bye mr. cvs_id_stringBrian Harring2005-08-301-1/+1
| | | | svn path=/main/branches/2.0/; revision=1953
* header changes, $Header: -> $Id:Brian Harring2005-08-301-1/+1
| | | | svn path=/main/branches/2.0/; revision=1951
* Migration (without history) of the current stable line to subversion.Jason Stubbs2005-08-281-0/+167
svn path=/main/branches/2.0/; revision=1941