for (i = 0; i < n; i++, str) {
ch = *str++;
#ifndef IBMPC_SYSTEM
if (alt_char_set_flag)
if (alt_char_set_flag) {
ch = Alt_Char_Set[ch & 0x7F];
w = 1;
} else
#endif
w = wcwidth(ch);
}
if (Current_Fgbg & SLTT_ALTC_MASK)
{
char c;
while (len--)
c = *str++;
tt_write(&c, 1);
return;
memset (&mbstate, 0, sizeof (mbstate));