#   VGA Configuration file for the "SVGATextMode" program       #

#
# READ THE MANUAL PAGE for a verbose explanation of the syntax of this file!
#
# NOTES:
#
# 0. Just for safety: use "savetextmode" to save your current textmode
#    before trying anything of this stuff! If you get it wrong, you can
#    always restore your screen with "textmode" (prepare to type that 
#    "blindly": you might need to!). And to be even safer: do your first
#    tests from the standard 80x25 mode, and do your "savetextmode" in
#    that mode. It is not al all a sure thing that savetextmode will
#    enable you to return your screen to its original condition.
#
#    Another option would be to start the X-Windows system before running
#    SVGATextMode. X ALSO saves your text mode, and so when your text mode
#    is screwed up, switching to X and back might restore the screen again
#    (except for the screen SIZE...)
#
# 1. You can use "vgaset" to tune timing parameters, just as in X-Windows.
#
#
# 3. In case of trouble: read the doc/FAQ file in the distribution. It tells 
#    you what to do or try in case something doesn't work. Also _please_ don't
#    forget to read the manuals. They contain lots of hints and background
#    information, and most questions you were just about to ask me by E-mail are
#    answered in there.
#
# ---

# [Leave the lines below in here: it is used to detect the TextConfig file
# version] 
#@stm_version_number@.1.9


Chipset "VGA"
Clocks  25.175 28.322

# On many VGA cards, using this clocks line works as well:
# Clocks 25.175 28.3 0 36

#
Terminals "tty6" "tty5" "tty4" "tty3" "tty2" "tty1"


#ResetProg "/etc/STM_reset"

#
# When using 9-bit wide fonts, normally the 8th column is copied to 9th
# column for glyphs 0xC0 - 0xDF, but this makes some ISO-compatible fonts
# look very ugly (ISO has not line graphics characters but normal fonts
# in region 0xC0 - 0xDF). This option disables this feature so that the 9th
# column will always be blank for all characters.
#

option "iso_font9"


#############################################################################
#
# The following lines are about automatic font loading:
#  - 'Option LoadFont' enables the automatic font loading.
#       If this line is commented out, no font loading will be done, 
#       independent of the presence of "FontProg", "FontPath" or "FontSelect"
#       lines.
#  - 'FontProg ...' tells SVGATextMode where to find the font loading program
#  - 'FontPath ...' will tell the font program where the fonts are located.
#       the default is no path: setfont has a default font path built into it.
#  - 'FontSelect ... ...' tells the font loading program what font to use
#       for which font character cell sizes.
#       I've pointed 4 different font sizes to the same font each time. This
#       is not a requirement, but it's convenient (not much fonts for 9-pixel
#       wide characters around, and the same goes for odd-sized font heights)
#

#Option "LoadFont"
#FontProg "/command/setfont"
#FontPath "/.us/lib/kbd/consolefonts"
#FontSelect "Cyr_a8x16"   8x16 9x16 8x15 9x15 
#FontSelect "13"   8x14 9x14 8x13 9x13
#FontSelect "11"   8x12 9x12 8x11 9x11
#FontSelect "Cyr_a8x8"    8x8  9x8  8x7  9x7
#FontSelect "Cyr_a8x32"   8x32 9x32 8x31 9x31

#
# using the following FontProg line will avoid losing high-ascii characters
# on newer Linux systems (kernels 1.3.x and up)
# (mainly the IBM-style box-characters used in text-based menuing systems)

## untested
#FontProg "/command/setfont -u def.uni"


#############################################################################
#
# The lines shown here are the default built into SVGATextMode. Most monitors
# are capable of a lot more than that. Enable and change these to use the full 
# capabilities of your monitor.
# The syntax is similar to the one used in XF86Config.
#
# Changing these BEYOND what your monitor can handle, COULD result in damage
# to the monitor! See your monitor's user's manual for details.
#

## we lie. Smoke doesn't lie. Believe the smoke.
HorizSync 20-60
VertRefresh 50-90


#############################################################################
#
# Optionally define the "default" mode, which will be called when SVGATextMode
# is started _without_ a mode definition string.
#

DefaultMode "80x36"


BorderColor 11




#############################################################################
#############################################################################
#
# Standard 80x25 text mode: this should ALWAYS work (i.e. no timing problems
# because of a too large pixel clock)
# If this works, then at least PART of the program works fine... 
#

"80.25.16"       28.3    640  680  776  800    400  412  414  449 font  9x16

## cLIeNUX default maybe
## this one should work on ANY VGA card/monitor, my #'s say this one is 31.5khz

"90"		 28.3	 720  780  824	 888    400  412  414  449 font  8x11


## VGA-only, PS/2 9517 monitor, can't get it all the way to the right
"100"		 28.3    800  808  900  976   407   440 450  470   font  8x11  

## ## ## ## ## ## ## ## ## #  ### ## ## # ##### ## ## ## ## ## ## ############



# Below are a bunch of other possible modes for standard VGA chipsets, with 
#

"25"          25.2   640  680  776  800    400  412  414  449 font  8x16
"80x25"          28.3   640  680  776  800    400  412  414  449 font  9x16

"28"          25.2   640  680  776  800    392  412  414  449 font  8x14
"80x28"          28.3   640  680  776  800    392  412  414  449 font  9x14

"29"          25.2   640  680  776  800    464  490  492  525 font  8x16
"80x29"          28.3   640  680  776  800    464  490  492  525 font  9x16

"30"          25.2   640  680  776  800    480  490  492  525 font  8x16
"30x9"          28.3   640  680  776  800    480  490  492  525 font  9x16

"32"          25.2   640  680  776  800    480  490  492  525 font  8x15
"32x9"          28.3   640  680  776  800    480  490  492  525 font  9x15

"40"          25.2   640  680  776  800    480  490  492  525 font  8x12
"40x9"          28.3   640  680  776  800    480  490  492  525 font  9x12

"43"          25.2   640  680  776  800    473  489  491  525 font  8x11
"43x9"          28.3   640  680  776  800    473  489  491  525 font  9x11

"80x43x8_small"    25.2   640  680  776  800    387  408  410  449 font   8x9
"80x43x9_small"    28.3   640  680  776  800    387  408  410  449 font   9x9

"50"          25.2   640  680  776  810    400  412  414  449 font   8x8
"50x9"          28.3   640  680  776  800    400  412  414  449 font   9x8

"60"          25.2   640  680  776  800    480  490  492  525 font   8x8
"60x9"          28.3   640  680  776  800    480  490  492  525 font   9x8

