=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/tmux/tty.c 2009/06/01 22:58:49 1.1 --- src/usr.bin/tmux/tty.c 2009/06/02 23:39:32 1.2 *************** *** 1,4 **** ! /* $OpenBSD: tty.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty.c,v 1.2 2009/06/02 23:39:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 134,140 **** --- 134,142 ---- struct termios tio; int what; + #if 0 tty_detect_utf8(tty); + #endif if (tcgetattr(tty->fd, &tty->tio) != 0) fatal("tcgetattr failed"); *************** *** 204,209 **** --- 206,212 ---- tty_raw(tty, "\033[?1000l"); } + #if 0 void tty_detect_utf8(struct tty *tty) { *************** *** 278,283 **** --- 281,287 ---- if (tcsetattr(tty->fd, TCSANOW, &old_tio) != 0) fatal("tcsetattr failed"); } + #endif void tty_fill_acs(struct tty *tty)