Remove unused KANJI and terminal code options.