[comp.windows.x] xterm manuals [really cursor pr

tom@ICASE.EDU (Tom Crockett) (10/25/88)

>  The cursor problems have been fixed in R3.  For example, the following
>  command makes the xterm window use the gumby cursor:
>  
>	  xterm -xrm 'xterm*pointerShape:  gumby'

Which brings up the next question:  where do I find the list of cursor names,
and can I use the number of the character in the "cursor" font instead of the
text name (e.g., "xterm*pointerShape:	56")?

A related question:  How do I dump a particular character from a font to a
bitmap?

Tom Crockett
tom@icase.edu

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (10/25/88)

> where do I find the list of cursor names

lib/Xt/Converters.c or look in <X11/cursorfont.h> and strip off the XC_ prefix.


> How do I dump a particular character from a font to a bitmap?

showsnf -g fontfilename.snf >/tmp/out
edit /tmp/out
bmtoa /tmp/out >/tmp/out.bitmap

where bmtoa is a filter to convert arrays of characters into a bitmap file.
There are a whole slew of bitmap utilities in the pbm package that has been
floating around (which will be on the user-contributed section of R3; separate
bmtoa and atobm programs will also be located in the bitmap sources).