tags 473617 - unreproducible tags 473617 + patch thanks Fake Name Here schrieb am Sat 12. Apr, 20:04 (-0400): > Problem persists with 9.02. No difference with rxvt-unicode-lite either. > I noticed w3m produces the same 'hangy' result. Maybe this is a problem > with libgpmg1 or libncurses?
That's the cause. libgpmg1 is broken one more time. I could reproduce the problem: % xterm -e sh -c 'TERM=rxvt jed -n' % TERM=rxvt-unicode gdb ./src/objs/jed GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-linux-gnu"... (gdb) run -n Starting program: /tmp/jed-upstream/src/objs/jed -n Program received signal SIGTERM, Terminated. 0x0fde4560 in connect () from /lib/libc.so.6 (gdb) where #0 0x0fde4560 in connect () from /lib/libc.so.6 #1 0x0fea7ee8 in Gpm_Open () from /usr/lib/libgpm.so.1 #2 0x1004ed1c in open_mouse () at /tmp/jed-upstream/src/gpmmouse.c:257 #3 0x1001bbb8 in init_tty () at /tmp/jed-upstream/src/unix.c:302 #4 0x10019338 in main_initialize (argc=2, argv=0xbfc66754) at /tmp/jed-upstream/src/main.c:379 #5 0x10019928 in main (argc=2, argv=0xbfc66754) at /tmp/jed-upstream/src/main.c:541 (gdb) cont Continuing. I found this in gpmmouse.c:open_mouse() /* Unbelievable. If we are running in an Xterm, gpm will turn on mouse * reporting. Nice huh? NOT!!! */ I've applied this patch and now, jed starts. --- src/gpmmouse.c (Revision 88) +++ src/gpmmouse.c (Arbeitskopie) @@ -236,7 +236,7 @@ */ term = getenv ("TERM"); if ((term != NULL) - && !strncmp (term, "xterm", 5)) + && (!strncmp (term, "xterm", 5) || !strncmp (term, "rxvt", 4) )) return -1; /* Another libgpm annoyance. gpm installs a signal handler for SIGTSTP. Bye, Jörg. -- Was ist das bloß für eine Welt, in der es mehr Mut braucht ehrlich zu weinen als Stärke vorzutäuschen?
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP