'mt_set' command changes character code under MuTerminal. If you use it within shell script, you can use any character code without fail.
'mt_set' has following options.
-a Get all information from MuTerminal. -c Get character code from MuTerminal. -h Show help. -s code Set code to MuTerminal -v Check terminal whether MuTerminal.
Sample shell script:
#!/bin/sh # } |
"libmuterm.a" is a library that communicate to MuTerminal process, and set/get MuTerminal's current character code from your applications. 'mt_set' command uses this library too.
libmuterm.a has following functions.
int check_muterm (void) | Check terminal whether MuTerminal. If terminal is MuTerminal, this function return zero, else return -1. |
int get_coding (void) | Get character code from MuTerminal. |
int set_coding (int32 coding) | Set coding to MuTerminal. |
If you want this library, including "muterm.h" file, and add "-lmuterm" option to linker.