For terminals that support only Latin-1 (ISO 8859-1), Latin-2 (ISO 8859-2), or KOI8-R, you should have the following STREAMS configuration:
head <-> ttcompat <-> u8euc <-> ldterm <-> eucu8 <-> u8lat1 <-> TTY |
This configuration is only for terminals that support Latin-1. For Latin-2 terminals, replace the STREAMS module u8lat1 with u8lat2. For KOI8-R terminals, replace the module with u8koi8.
To set up the STREAMS configuration shown above, use strchg(1), as follows:
system% cat > tmp/mystreams ttcompat u8euc ldterm eucu8 u8lat1 ptem ^D system% strchg -f /tmp/mystreams |
Be sure that you are either root or the owner of the device when you use strchg(1). To see the current configuration, usestrchg(1) , as follows:
system% strconf ttcompat u8euc ldterm eucu8 u8lat1 ptem pts system% |
To revert to the original configuration, set the STREAMS configuration as follows:
system% cat > /tmp/orgstreams ttcompat ldterm ptem ^D system% strchg -f /tmp/orgstreams |