/[qemacs]/qemacs/shell.c
ViewVC logotype

Diff of /qemacs/shell.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by chqrlie, Mon May 9 02:17:47 2005 UTC revision 1.9 by chqrlie, Mon May 9 03:24:22 2005 UTC
# Line 302  static void tty_emulate(ShellState *s, i Line 302  static void tty_emulate(ShellState *s, i
302              }              }
303              break;              break;
304          case 14:          case 14:
305              eb_set_charset(s->b, &charset_8859_1);              //eb_set_charset(s->b, &charset_8859_1);
306              s->shifted = 1;              s->shifted = 1;
307              break;              break;
308          case 15:          case 15:
309              eb_set_charset(s->b, &charset_cp1125);              //eb_set_charset(s->b, &charset_cp1125);
310              s->shifted = 0;              s->shifted = 0;
311              break;              break;
312          case 27:          case 27:
# Line 315  static void tty_emulate(ShellState *s, i Line 315  static void tty_emulate(ShellState *s, i
315          default:          default:
316              if (c >= 32 || c == 9) {              if (c >= 32 || c == 9) {
317                  int c1, cur_len, len;                  int c1, cur_len, len;
318                    /* CG: horrible kludge for alternate charset support */
319                    if (s->shifted && c >= 96 && c < 128)
320                        c += 32;
321                  /* write char (should factorize with do_char() code */                  /* write char (should factorize with do_char() code */
322                  len = unicode_to_charset(buf1, c, s->b->charset);                  len = unicode_to_charset(buf1, c, s->b->charset);
323                  c1 = eb_nextc(s->b, s->cur_offset, &offset);                  c1 = eb_nextc(s->b, s->cur_offset, &offset);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26