      A XSCOPE(1)                USER COMMANDS                  XSCOPE(1)        NAME&      xscope - X Window Protocol Viewer   SYNOPSIS      xscope [ option ] ...   DESCRIPTION M      _X_s_c_o_p_e sits in-between an X11 client and an X11  server  and A      prints  the contents of each request, reply, error, or event A      that is communicated between them.  This information can  be A      useful  in  debugging  and performance tuning of X11 servers       and clients.   M      To operate, _x_s_c_o_p_e must know the host, port, and display  to A      use to connect to the X11 server.  In addition, it must know A      the port on which it should listen  for  X11  clients.   Two       cases are common:  B      (1) The X11 server is on the same host as _x_s_c_o_p_e.M           In this case, the  input  port  for  _x_s_c_o_p_e  should  be A           selected  as  an X11 server on a different display, and M           the client DISPLAY argument adjusted to select _x_s_c_o_p_e . A           For example, if the X11 server is on port 6000, display M           1, then _x_s_c_o_p_e can use port 6002  as  its  input  port. A           The  client  can use display 1 for direct access to X11 8           or display 2 for access to _x_s_c_o_p_e.  G      (2) The X11 server is on a different host than _x_s_c_o_p_e. A           In this case the same input and  output  ports  can  be A           used,  and the host component of the DISPLAY is used to +           select _x_s_c_o_p_e or X11.   	 ARGUMENTS       -i<input-port> M                Specify the port that  _x_s_c_o_p_e  will  use  to  take A                requests  from  clients (defaults to 1).  For X11, 9                this port is automatically biased by 6000.         -o<output-port>M                Determines the port that _x_s_c_o_p_e will use  to  con- A                nect to X11 (defaults to 0). For X11, this port is ,                automatically biased by 6000.  M      -h<host>  Determines the host that  _x_s_c_o_p_e will use to  find                 its X11 server.        -d<display>A                Defines the display number.  The display number is A                added  to  the  input  and output port to give the B                actual ports which are used by  _x_s_c_o_p_e.          A X Version 11        Last change: 8 Sept 1988                    1             A XSCOPE(1)                USER COMMANDS                  XSCOPE(1)       A      -q        Quiet  output  mode.   Gives  only  the  names  of A                requests,  replies,  errors,  and events, but does %                not indicate contents.         -v<print-level>M                Determines the level of printing which _x_s_c_o_p_e will A                provide.   The print-level can be 0 (same as quiet A                mode), 1, 2, 3, 4.  The larger numbers  give  more A                and  more output.  For example, a successful setup A                returns a string which is the name of  the  vendor A                of the X11 server.  At level 1, the explicit field A                giving the length  of  the  string  is  suppressed A                since  it  can  be  inferred  from the string.  At A                level  2  and  above  the  length  is   explicitly                 printed.    EXAMPLES"      xscope -v4 -hcleo -d0 -o0 -i1  A      This command would  have  xscope  communicate  with  an  X11 A      server  on host ``cleo'', display 0;  xscope itself would be A      available on the current host as display  1  (display  of  0 )      plus the 1 of -i1). Verbose level 4.         xscope -q -d1 -o1 -o3  A      The X11 server for the current host, display 2  (1  for  -d1 A      plus  1  for -o1) would be used by xscope which would run as A      display 4 (1 for -d1 plus 3 for -o3).  Quite  mode  (verbose       level 0).   SEE ALSO<      X(1), X11 Protocol document (doc/Protocol/X11.protocol)   AUTHOR      James L. Peterson (MCC)        Copyright 1988, MCC   BUGS)      Code has only been tested on Sun3's.                             A X Version 11        Last change: 8 Sept 1988                    2       