diff options
author | Dai Sato <satodai@w3m.jp> | 2007-06-07 10:54:10 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-06-07 10:54:10 +0000 |
commit | 12193be8b818c71974515ce57676e177716d9e85 (patch) | |
tree | 9b2db34a74f2fc3235f5bd4981f5ca79daccd89a | |
parent | make number prefixes working, when vi_prec_num=0. (diff) | |
download | w3m-12193be8b818c71974515ce57676e177716d9e85.tar.gz w3m-12193be8b818c71974515ce57676e177716d9e85.zip |
add handling xterm-incompatible terminals without gpm. [w3m-dev 04278]
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | terms.c | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04278] Re: segfault on CentOS4.5/libgc6.8 + * term.c: add handling xterm-incompatible terminals without gpm. + 2007-06-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 04271] vi_prec_num @@ -8922,4 +8927,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.999 2007/06/04 13:21:10 inu Exp $ +$Id: ChangeLog,v 1.1000 2007/06/07 10:54:10 inu Exp $ @@ -1,4 +1,4 @@ -/* $Id: terms.c,v 1.57 2007/05/30 04:44:00 inu Exp $ */ +/* $Id: terms.c,v 1.58 2007/06/07 10:54:10 inu Exp $ */ /* * An original curses library for EUC-kanji by Akinori ITO, December 1989 * revised by Akinori ITO, January 1995 @@ -1897,7 +1897,7 @@ wgetch(void *p) int do_getch() { - if (is_xterm) + if (is_xterm || !gpm_handler) return getch(); else return Gpm_Getch(); @@ -2037,6 +2037,7 @@ mouse_init() conn.maxMod = 0; conn.minMod = 0; + gpm_handler = NULL; r = Gpm_Open(&conn, 0); if (r == -2) { /* |