| Trees | Indices | Help |
|
|---|
|
|
|
|||
| create_color_func | |||
|
ConsoleStyleFile A file-like object that behaves something like the colorize() function. |
|||
|
StyleWriter This is just a DumbWriter with a hook in the new_styles() method that passes a styles tuple as a single argument to a callable style_listener attribute. |
|||
|
EOutput Performs fancy terminal formatting for status and informational messages. |
|||
|
ProgressBar The interface is copied from the ProgressBar class from the EasyDialogs module (which is Mac only). |
|||
|
TermProgressBar A tty progress bar similar to wget's. |
|||
| _LazyInitColorMap | |||
|
|||
|
|||
| dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| String |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
havecolor = 1
|
|||
dotitles = 1
|
|||
esc_seq =
|
|||
ansi_codes =
|
|||
rgb_ansi_colors =
|
|||
_legal_terms_re = re.compile(r'^
|
|||
_disable_xtermTitle = Nonehash(x) |
|||
_max_xtermTitle_len = 253
|
|||
default_xterm_title = Nonehash(x) |
|||
compat_functions_colors =
|
|||
_color_map_loaded = True
|
|||
codes = Maps attribute name to ansi code. |
|||
_styles = Maps style class to tuple of attribute names. |
|||
__package__ =
|
|||
blue = <portage.output.create_color_func object at 0x9c37254>
|
|||
bold = <portage.output.create_color_func object at 0x9c37e0c>
|
|||
brown = <portage.output.create_color_func object at 0x9c3789c>
|
|||
c =
|
|||
darkblue = <portage.output.create_color_func object at 0x9c37c74>
|
|||
darkgreen = <portage.output.create_color_func object at 0x9c37
|
|||
darkred = <portage.output.create_color_func object at 0x9c37e3c>
|
|||
darkteal = <portage.output.create_color_func object at 0x9c376ec>
|
|||
darkyellow = <portage.output.create_color_func object at 0x9c3
|
|||
fuchsia = <portage.output.create_color_func object at 0x9c3795c>
|
|||
green = <portage.output.create_color_func object at 0x9c37d4c>
|
|||
purple = <portage.output.create_color_func object at 0x9c37e9c>
|
|||
red = <portage.output.create_color_func object at 0x9c37f74>
|
|||
teal = <portage.output.create_color_func object at 0x9c3705c>
|
|||
turquoise = <portage.output.create_color_func object at 0x9c37
|
|||
white = <portage.output.create_color_func object at 0x9c37d1c>
|
|||
yellow = <portage.output.create_color_func object at 0x9c37794>
|
|||
Imports: errno, io, formatter, re, subprocess, sys, portage, os, _encodings, _unicode_encode, _unicode_decode, COLOR_MAP_FILE, CommandNotFound, FileNotFound, ParseError, PermissionDenied, PortageException, _, writemsg
|
|||
Parse /etc/portage/color.map and return a dict of error codes.
|
|
Get the number of lines and columns of the tty that is connected to fd. Returns a tuple of (lines, columns) or (0, 0) if an error occurs. The curses module is used if available, otherwise the output of `stty size` is parsed. The lines and columns values are guaranteed to be greater than or equal to zero, since a negative COLUMNS variable is known to prevent some commands from working (see bug #394091). |
Set the number of lines and columns for the tty that is connected to fd. For portability, this simply calls `stty rows $lines columns $columns`. |
Load color.map from the given config_root. This is called automatically on first access of the codes or _styles attributes (unless it has already been called for some other reason). |
|
|||
ansi_codes
|
rgb_ansi_colors
|
_legal_terms_re
|
compat_functions_colors
|
codesMaps attribute name to ansi code.
|
_stylesMaps style class to tuple of attribute names.
|
darkgreen
|
darkyellow
|
turquoise
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 23 22:25:34 2013 | http://epydoc.sourceforge.net |