/usr/share/doc/ekg2-ui-ncurses/themes-en.txt is in ekg2-ui-ncurses 1:0.4~pre+20120506.1-14build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | // translation from themes.txt 2009 by Jan J. Roman <poczta@jjroman.net>
.---------------,--------,-------,-----.
| color |ordinary| light | bg |
,---------------+--------+-------+-----'
| black/grey | %k | %K | %l |
| blue | %b | %B | %e |
| red | %r | %R | %s |
| violet | %m/%p | %M/%P | %q |
| turquoise | %c | %C | %d |
| brown/yellow | %y | %Y | %z |
| green | %g | %G | %h |
| white | %w | %W | %x |
| blinking | %i | - | - |
| bold | %T | - | - |
,---------------'--------'-------'-----|
| 'white char' | %n |
`---------------'----------------------'
* * *
%A choose the graphic maping: vt100
%a choose default maping.
* * *
You can use %1-%9 to hard define a width, it can be usefull for tables or lists.
%[10]1 add spaces before text for attaining specific width (in this case 10 - it is the first parameter)
%[-10]1 similar but add spaces after text
%[.5]1 uses zeroes to achive specific length
%[,9]2 the same but uses points
%[_4]1 uses '_' character
%(10)1 if parameter is longer than 10 it will be NOT cut down.
%[^12]1 put first parameter in the middle of space length of 12 (empty fields are filled by spaces).
%[^,8]1 as above but space size is 8 and filling character is point
WARNING! coloring expresions are treated as regular text, Don't use it for auto completion.
* * *
// It is polish declension cause I have no idea how to translate this ;-)
je¶li chce siê rozró¿niaæ przymiotniki dla ró¿nych p³ci, mo¿na u¿yæ
%@n, gdzie ,,n'' to numer formatu, który bierzemy pod uwagê. je¶li
ostatni± liter± bêdzie ,,a'', %@n zostanie zast±pione przez ,,a'',
w innym przypadku przez ,,y''. przyk³ad:
%> %1 jest dostêpn%@1.
nale¿y wzi±æ uwagê, ¿e w wielu wypadkach pseudonimy s± najpierw
formatowane przez known_user i unknown_user, wiêc trzeba podaæ osobny
parametr z samym pseudonimem.
* * *
%> prompt (green by default)
%! error (red by default)
%) prompt2 (turquoise by default)
%# timestamp (GG:MM by default)
%| the end of prompt. Occur of this format means that prompt should
be repeated in the beginning of each new line
example:
%> Very long line, will be divided for several shorter.
On the small term:
.-------------------------.
| ::: Very long line, |
| will be divided for |
| several shorter. |
`-------------------------'
If in format string is %| it means:
%> %|Very long line, will be divided for several shorter.
output will be:
.-------------------------.
| ::: Very long line, |
| ::: will be divided for |
| ::: several shorter. |
`-------------------------'
* * *
There is two special formats:''known_user'' i ''unknown_user''. They define
how to show users from contact list and out of list.
First get two parameters:
%1 - description from contact list
%2 - user identificator
second only one:
%1 - user identificator
* * *
entries readline_*, shouldn't consist of formating codes (with '%'),
The exception of this rule is readline_prompt_query.
This rule is also for config_changed.
* * *
(ncurses) There is posibility of setiing margins and definind its size by ncurses:margin_size variable.
For use margins there is "/|" formating string.
example:
text left/|text right
causes:
text left text right
size of gap is defining in ncurses:margin_size value.
* * *
$Id: themes.txt 4009 2008-06-02 09:56:12Z wiechu $
$Id: themes.txt 4009 2009-03-14 13:35:43Z Pinochet $
|