[comp.windows.x] X protocol encoding questions

jacobi.pa@XEROX.COM (10/18/88)

X protocol encoding questions / bug report

1)
  PolyText8 says:
	p	unused, p=pad(n)  (p is always 0 or 1)
  but couldn't p be 2 or 3 ?

2)
  TEXTITEM16 says:
	1	n		number of CHAR2Bs in string (cannot be 255)
	1	INT8		delta
	n	STRING16	string
  shouldn't it say ?
	2n	STRING16	string

Christian Jacobi
Xerox PARC
Jacobi.pa@Xerox.com

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/27/88)

    Date: Mon, 17 Oct 88 12:50:01 PDT
    From: jacobi.pa@xerox.com

    1)
      PolyText8 says:
	    p	unused, p=pad(n)  (p is always 0 or 1)
      but couldn't p be 2 or 3 ?

No, it must be 0 or 1.  The client has to insert a zero
item to ensure this.  Xlib takes care of this.

    2)
      TEXTITEM16 says:
	    1	n		number of CHAR2Bs in string (cannot be 255)
	    1	INT8		delta
	    n	STRING16	string
      shouldn't it say ?
	    2n	STRING16	string

Yes.