Korean Solaris User's Guide

Configuring STREAMS for Korean Solaris Software

You can use the commands in this section to configure STREAMS modules.

    Use the following command to explicitly configure the STREAMS module for the EUC, completion code, terminal type.


    system% setterm -x EUC
    

    Use the following command to explicitly initialize the Packed STREAMS module that supports the combination code of KS C 5601-1987.


    system% setterm -x PACK
    

    Use the following command to explicitly initialize the Johap STREAMS module that supports a combination code of KS C 5601-1992.


    system% setterm -x JOHAP
    

Use this procedure to run a configuration command that references an entry in the terminfo database.

  1. Add the following entry for a FAST-15 Packed code terminal to the terminfo database.


    fast-15 | fast-pack | korean terminal packed mode,
    devt=PACK,
    use=vt100-w,
  2. Use the following configuration command to reference the entry for the FAST-15 Packed code terminal.


    system% setterm -t fast-15
    

For setterm to work properly, the /usr/share/lib/setterm/ko/conf.file must contain an entry that corresponds to the device type. This entry gives setterm instructions for placing the appropriate conversion modules in the TTY stream.

    Add the following entry that corresponds to the device type to the /usr/share/lib/setterm/ko/conf.file.


    #
    KoreanPACK|PACKthrow \
    							popto zs|mcp|mti|ptem \
    							push kpack \
    							push ldterm \
    							push ttcompat \
    							run {stty defeucw} \
    							catch
    #
    KoreanJOHAP|JOHAP	throw \
    							popto zs|mcp|mti|ptem \
    							push kjohap \
    							push ldterm \
    							push ttcompat \
    							run {stty defeucw} \
    							catch
    #
    GenericEUC|EUCthrow \
    							popto zs|mcp|mti|ptem \
    							push ldterm \
    							push ttcompat \
    							run {stty defeucw} \
    							catch
    #
    ASCIIthrow \
    							popto zs|mcp|mti|ptem \
    							push ldterm \
    							push ttcompat \
    							catch
    #