break; case 12:			         compatibility(VT220); ldisc = (state? &ldisc_simple : &ldisc_term);
static void toggle_mode (int mode, int query, int state) {    if (query) switch (mode) {      case 1:			       /* application cursor keys */	app_cursor_keys = state;	break;      case 3:			       /* 80/132 columns */	deselect();	request_resize (state ? 132 : 80, rows);	break;      case 5:			       /* reverse video */	rvideo = state;	seen_disp_event = TRUE;	break;      case 6:			       /* DEC origin mode */	dec_om = state;	break;      case 7:			       /* auto wrap */	wrap = state;	break;      case 47:			       /* alternate screen */	deselect();	swap_screen (state);	disptop = scrtop;	break;    } else switch (mode) {      case 4:			       /* set insert mode */	insert = state;	break;    }}