Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!inria!mirsa!colas From: colas@mirsa.inria.fr (Colas NAHABOO) Newsgroups: comp.windows.x Subject: Xterm maps in 2s instead of 7s (Was Re: twm speed up) Message-ID: <185@mirsa.inria.fr> Date: 13 Jun 89 15:28:28 GMT References: <1238@tnoibbc.UUCP> Organization: Koala Project -- BULL/INRIA Lines: 35 From article <1238@tnoibbc.UUCP>, by remco@tnoibbc.UUCP (Remco Bruyne): > In article <1258@isieng.UUCP> pling@.UUCP (Paul Ling) writes: >>Using twm as a window manager, I always had to wait for several seconds for >>a new xterm. I don't see the same problem with uwm. > We have the same problem with twm and also with awm. We had a quick look > at it and it appeared that xterm tries to interact with the window manager > but gets no reply. After a number of seconds the request is timed out. > > We did not want to spend any time in solving this problem, but maybe > the problem is solved in the next X release. The solution to fix xterm is to add the in .Xdefaults the line: xterm.waitforwm: false And Voila! an Xterm in 2.5 sec on any reparenting WM (e.g gwm :-)). The bug in the xterm code are the lines 2075-2077 in file charproc.c in the sources of the X11R3 xterm: (void) XtMakeResizeRequest((Widget) term, (Dimension)width, (Dimension)height, &term->core.width, &term->core.height); which SHOULD be deleted (or placed elsewhere). The bug is that xterm is waiting 5 seconds for the WM to resize its window, while it didn't map it!!! Colas NAHABOO BULL Research FRANCE -- Koala Project (GWM X11 Window Manager) Internet: colas@mirsa.inria.fr Surface Mail: Colas NAHABOO, INRIA - Sophia Antipolis, 2004, route des Lucioles, 06565 Valbonne Cedex -- FRANCE Voice phone: (33) 93.65.77.71, Fax: (33) 93 65 77 66, Telex: 97 00 50 F