# # This the sample Eterm config file adapted to be used with TV applications. # The resulting terminal is fine tunned to run a TV application and not for # general use. # What's changed? # # * Font sizes, most have 0.5 aspect ratio. # * Colors to match VGA BIOS values. # * Removed scroll bar, actually the only way I know to scroll in this setup # is using the mouse wheel. Don't know how to assign it to a key if you # know please tellme. # * A lot of key combinations defined. # * The menu is reduced to just a few items. # # I didn't remove all original comments so you can customize it. # # IMPORTANT!! The keys assignments are good for TV and what my system defines # as TERM=Eterm, it doesn't mean it will work on any system. # I tested it Using Debian GNU/Linux Woody. # # As always, the authors guarantee absolutely nothing and take # no responsibility for anything that might happen to you, your # computer, your dog, your sex life, or anyone or anything else # directly or indirectly through the use of, or inability to use, # this program. Use at your OWN risk. # Define the color properties begin color # Foreground, background, cursor, scrollbar, pointer colors foreground #aaaaaa background black cursor #ffff00 cursor_text #880000 pointer white # video attribute can either be "normal" or "reverse" video normal # Redefine the 16 basic colors, if you really feel the need # First word is "color", next is the number (0-15, BD, or UL), # then the values for red, green, and blue separated by spaces # Numbers are base 10 unless preceded by "0x" (base 16) or '0' # (base 8). Alternatively, you can use color names or #xxxxxx # format. # SET: The default Eterm palette doesn't match the VGA BIOS one, I think # Eterm is wrong. # color 0 0 0 0 color 1 0xa8 0 0 color 2 0 0xa8 0 color 3 0xa8 0x54 0 color 4 0 0 0xa8 color 5 0xa8 0 0xa8 color 6 0 0xa8 0xa8 color 7 0xa8 0xa8 0xa8 color 8 0x54 0x54 0x54 color 9 0xfc 0x54 0x54 color 10 0x54 0xfc 0x54 color 11 0xfc 0xfc 0x54 color 12 0x54 0x54 0xfc color 13 0xfc 0x54 0xfc color 14 0x54 0xfc 0xfc color 15 #ffffff color bd #ffffff color ul #ffffff end color # The X11 attributes section. Should be fairly self-explanatory, # but if not, consult the X man page. begin attributes # Geometry == widthxheight+x_offset+y_offset, offsets from top left # if +, bottom right if - # geometry 132x50+100+100 # title %appname() # name %appname() # iconname Eterm # Set the fonts. These must be monospace fonts. The values shown are # the Eterm defaults. The "bold" font is the font used if color BD has # not been set and Eterm cannot map the foreground color to one of the # high-intensity colors (8-15). font default 4 font 0 5x7 font 1 6x12 font 2 7x14 font 3 8x16 # font 4 9x18 Fails on my system font 4 10x20 font 5 12x24 # font bold 7x14 end attributes # The Multichar support options. Same goes for these fonts as for the normal # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # or big5 or gb begin multichar font 0 -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1 font 1 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1 font 2 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 font 3 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 font 4 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 encoding iso-10646 end multichar # Define the imageclasses. begin imageclasses # You must define this before setting any images that use it. This is the $PATH-style variable # that determines where Eterm looks for image files. path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:/usr/share/Eterm/pix/" # If you want a different icon than the standard Eterm one, set this. # icon Eterm.xpm # This is the background animator. See the man page for the syntax. # anim 3 foo1 foo2 foo3 # The rest of the images. begin image type trough mode image allow image trans viewport auto state normal color black #666666 file bar_vertical_3.png # Here is how you specify the geometry string separately. See the man page for its syntax. geom 100 border 2 2 2 3 end image begin image type anchor mode image allow image auto state normal color black #666666 file bar_vertical_1.png geom 100 border 2 2 2 3 state selected file bar_vertical_2.png geom 100 border 2 2 2 3 end image begin image type thumb mode image allow image auto state normal color black #666666 file thumb_1.png geom 100 border 3 3 3 3 state selected file thumb_2.png geom 100 border 3 3 3 3 end image begin image type up_arrow mode image allow image auto state normal color black #666666 file button_arrow_up_1.png geom 100 border 2 2 2 2 state selected file button_arrow_up_2.png geom 100 border 2 2 2 2 state clicked file button_arrow_up_3.png geom 100 border 2 2 2 2 end image begin image type down_arrow mode image allow image auto state normal color black #666666 file button_arrow_down_1.png geom 100 border 2 2 2 2 state selected file button_arrow_down_2.png geom 100 border 2 2 2 2 state clicked file button_arrow_down_3.png geom 100 border 2 2 2 2 end image begin image type menu #mode auto allow image auto mode image allow image auto state normal #color #AAAAAA #999999 color black #999999 file bar_horizontal_1.png geom 100 border 2 3 2 3 state selected file bar_horizontal_2.png geom 100 border 2 3 2 3 end image begin image type submenu #mode auto allow image auto mode image allow image auto state normal #color #AAAAAA #999999 color black #999999 file menu1.png geom 100 border 3 15 3 3 padding 3 15 3 3 state selected file menu2.png geom 100 border 3 15 3 3 padding 3 15 3 3 state clicked file menu3.png geom 100 border 3 15 3 3 padding 3 15 3 3 end image begin image type button_bar #mode auto allow image auto mode image allow image auto state normal #color #AAAAAA #999999 color black #999999 file bar_horizontal_1.png geom 100 border 2 3 2 2 state disabled color white #333333 cmod image 0xc0 border 2 3 2 2 end image begin image type button #mode auto allow image auto mode image allow image auto state normal #color #AAAAAA #999999 color black #cccccc file bar_horizontal_1.png geom 100 border 2 3 2 2 state selected file bar_horizontal_2.png geom 100 border 2 3 2 2 state clicked file bar_horizontal_3.png geom 100 border 2 3 2 2 end image end %include "menus.cfg" # This section *must* come after the menu definitions if you want # menu actions to work. C'est la vie. :-) # # Syntax: bind [ { | anymod } ] { | |