diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-24 17:31:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-24 17:31:03 +0000 |
commit | 0fdd47660a1b3b1014292e0b28a4ae20a642776d (patch) | |
tree | 95244a19d045b8e2de84997f10a0c60ca4a73618 /tty.c | |
parent | 6208128fa29a2a746cdf28c0188798f38658a40a (diff) | |
download | rtmux-0fdd47660a1b3b1014292e0b28a4ae20a642776d.tar.gz rtmux-0fdd47660a1b3b1014292e0b28a4ae20a642776d.tar.bz2 rtmux-0fdd47660a1b3b1014292e0b28a4ae20a642776d.zip |
UTF-8 detection is broken on sparc64; disable until I get time to test it further.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.99 2009-05-19 16:08:35 nicm Exp $ */ +/* $Id: tty.c,v 1.100 2009-06-24 17:31:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -136,7 +136,9 @@ tty_start_tty(struct tty *tty) int what; #endif +#if 0 tty_detect_utf8(tty); +#endif if (tcgetattr(tty->fd, &tty->tio) != 0) fatal("tcgetattr failed"); @@ -208,6 +210,7 @@ tty_stop_tty(struct tty *tty) tty_raw(tty, "\033[?1000l"); } +#if 0 void tty_detect_utf8(struct tty *tty) { @@ -288,6 +291,7 @@ tty_detect_utf8(struct tty *tty) if (tcsetattr(tty->fd, TCSANOW, &old_tio) != 0) fatal("tcsetattr failed"); } +#endif void tty_fill_acs(struct tty *tty) |