peterson@SW.MCC.COM (James Peterson) (11/29/88)
I have just posted to comp.sources.x a program that allows you to examine the communication between an X11 server and its clients. I called the program xscope, but since there was another archive under that name it was posted as "monitor X11 Server/Client communications", 4 parts. The Makefile was apparently derived by Mike Wexler from the Imakefile, so you may need to re-imake it. Also the first part has instructions about how to uudecode, uncompress the print11.c.Z.uue file that comes in part 2 to produce print11.c; I will split print11.c into smaller parts for any further postings. Part of the README file is: XSCOPE -- a program to monitor X11/Client conversations XSCOPE is a program to monitor the connections between the X11 window server and a client program. xscope runs as a separate process. By adjusting the host and/or display number that a X11 client attaches to, the client is attached to xscope instead of X11. xscope attaches to X11 as if it were the client. All bytes from the client are sent to xscope which passes them on to X11; All bytes from X11 are sent to xscope which sends them on to the client. xscope is transparent to the client and X11. In addition to passing characters back and forth, xscope will print information about this traffic on stdout, giving performance and debugging information for an X11 client and server. -------------- -------------- -------------- | | | | | | | | ------------> | | ----------> | | | client | | xscope | | server | | | | | | | | | <----------- | | <---------- | | | | | | | | -------------- -------------- -------------- | | v trace output to stdout LIMITATIONS: xscope has been written and used on a Sun3. Additional code may be needed for byteswapping on different architectures.