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