To explicitly configure the STREAMS module for the ko.UTF-8 locale:
system% setterm -x u8 |
To explicitly initialize the STREAMS module for an EUC terminal to use the ko.UTF-8 locale:
system% setterm -x ku8euc |
To explicitly initialize the Johap STREAMS module, which supports a Combination code of KS C 5601-1992 terminal, to use the ko.UTF-8 locale:
system% setterm -x ku8johap system% stty defeucw cs8 -istrip |
For setterm to work properly in this application, /usr/share/lib/setterm/ko.UTF-8/conf.file must contain an entry that corresponds to the device type. This entry gives setterm instructions for placing appropriate conversion modules in the TTY stream; for example
# Korean specific entries: # # Completion/Wansung/EUC code terminal support (KS C 5601-1992) KoreanU8EUC|KU8EUCthrow \ popto zs|mcp|mti|ptem \ push ku8euc \ push eucu8 \ push ldterm \ push ttcompat \ push u8euc \ run {stty defeucw} \ catch # # Combination code terminal support (KS C 5601-1992 Annex 3) KoreanU8JOHAP|KU8JOHAPthrow \ popto zs|mcp|mti|ptem \ push ku8johap \ push eucu8 \ push ldterm \ push ttcompat \ push u8euc \ run {stty defeucw} \ catch # |
For more information, refer to the setterm(1) man page.