>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: lkpstr.m,v 1.10 92/06/11 17:37:34 rws Exp $
>># 
>>#
>>TITLE XLookupString CH10
>>ASSERTION A XLookupString-1
A call to XLookupString returns in the keysym_return
argument the KeySym and in the buffer_return the string of
maximum length bytes_buffer specified by the keycode and
state of the event_struct argument, using the standard shift
modifier computations as defined in the X protocol
specification, and returns the length of the returned
string.
>>STRATEGY
Obtain the keycode corresponding to the keysym XK_b using XKeysymToKeycode.
Obtain the string and keysym bound to that keycode using XLookupString.
Verify that the returned string is correct.
Obtain the string and keysym bound to that keycode using XLookupString with state = ShiftMask.
Verify that the returned string is correct.
>>ASSERTION A XLookupString-2
When the KeySym corresponding to the event_struct argument
has been rebound, then the bound string is returned,
truncated to bytes_buffer, in the buffer_return argument.
>>STRATEGY
Rebind the keysym XK_c to the string XtestRebound using XRebindKeysym.
Obtain the keycode bound to the XK_c keysym using XKeysymToKeycode.
Obtain the first three characters of the string to which the keycode is bound using XLookupString.
Verify that the returned string is correct.
>>ASSERTION B XLookupString-3
When the status_in_out argument is not NULL, then a call to
XLookupString records in it the state of compose processing.
>>STRATEGY
Report UNTESTED
