47. Console

provide console specific stuff (esp. font and encoding) <BR> sysconfig /etc/sysconfig/console:<BR> <UL> <LI> CONSOLE_FONT string console font</LI> <LI> CONSOLE_SCREENMAP string console screenmap</LI> <LI> CONSOLE_UNICODEMAP string console unicode map</LI> <LI> CONSOLE_MAGIC string console magic control sequence</LI> <LI> CONSOLE_ENCODING string console encoding</LI> </UL>

47.1. Summary of Module Globals

List of Global Functions

  • Check - Check current configuration This function should be called to check consistency with other modules (mentioned as Depends in the header)

  • Console - constructor does nothing in initial mode restores console configuration from /etc/sysconfig in normal mode

  • Init - initialize console settings

  • Restore - restore data to system (rc.config agent) returns encoding

  • Save - save data to system (rc.config agent)

  • SelectFont - activate a language specific console font

List of Global Variables

    47.2. Global Functions

    47.2.1. Check

    Check current configuration This function should be called to check consistency with other modules (mentioned as Depends in the header)

    Return value

    • boolean - 0 if no change 1 change due to dependency with other module 2 inconsistency detected

    47.2.2. Console

    constructor does nothing in initial mode restores console configuration from /etc/sysconfig in normal mode

    Return value

    • void

    47.2.3. Init

    initialize console settings

    Return value

    • void

    47.2.4. Restore

    restore data to system (rc.config agent) returns encoding

    Return value

    • string

    47.2.5. Save

    save data to system (rc.config agent)

    Return value

    • void

    47.2.6. SelectFont

    activate a language specific console font

    Function parameters

    • string lang

    Return value

    • string - encoding encoding for console i/o

    47.3. Global Variables

    47.4. Module Requirements

    47.4.1. Module Imports

    • Encoding
    • Language
    • Linuxrc
    • Mode
    • Stage

    47.4.2. Module Includes