# xstrokerc - alphabet configuration for xstroke # # xstroke is available from ftp://ftp.handhelds.org/pub/projects/xstroke # # Blank lines are ignored. # Lines beginning with a '#' character are ignored as comments. # All other lines should be a stroke definition of the form: # # keysym = stroke_sequence # # where keysym is any X keysym, (see ), without the # XK_ prefix. # # stroke_sequence is a series of characters including the digits # '1'-'9', '?', '[' and ']'. The digits describee the stroke as a path # along a 3x3 grid with each cell numbered from 1 to 9 as shown here: # # 1 2 3 # 4 5 6 # 7 8 9 # # A digit followed by a '?' means that digit is optional # A series of digits enclosed within '[' and ']' will match any one of # the included digits. # Tagging a digit sequence with a final '*' or '**' marks it as a # canonical form for this character, (ie. this shape should be included # in generated documentation) # # See xstroke/doc/configuration for more details. # # -Carl Worth # stylized capital A (xscribble) a=7?[45]2[56]9** a=7?41?23?69 a=7?41?[24]?5[68]?9** a=7?[48]?5[26]?369?** # lowercase a a=32486369* a=321?47?89?6369 a=321?47?89?69 a=321?47?89?6369? a=321?4756369 # capital xscribble A A=7?[45]23?[56]9[68]?5[24]?[12] A=7?41?23?6963? A=7?41?23?63 A=7?41[24]?5[68]?9?[68]?5[24]1* A=7?41[24]?5[68]?9?[68]?5[24]?1?2? A=7?41[24]?5[68]?9?621?2? A=7?41269[68]?5[24]?1?2? A=7?41269621?2? A=7?[48]?5[26]?36963?* A=7?[48]?5[26]?363 # capital lowercase A :) A=321?47?89?6963? A=3248636963* A=321?47?89?63[56][89]63?6? A=321?47?89?63[56]36? A=321?475636963?6? A=321?47563636? # capital B with optional bar (xscribble) # Some extra effort here for the B stroke. # There are a couple of reasons we have so many definitions # here. One is we allow sloppy stroking where the first hump # is squeezed up into 12321 as well as where the second hump # is squeezed down into 98789 and some in between those extremes. # --- no initial bar --- # squeezed up top b= 1?2321?23?69?87? b= 1?23?2123?69?87? # no squeezing b= 1?2[36]6?54?5[69]9?87?* b= 1?2[36]?6?545[69]9?87? # squeezed on bottom b= 1?23?69?87?8987? b= 1?23?69?8789?87 # mixed squeezing b= 1?2325?4?5[69]9?87? # --- up-only bar --- # squeezed up top b= 7?41?2321?23?69?87? b= 7?41?23?2123?69?87? # no squeezing b= 7?41?2[36]?6?54?5[69]9?87?* b= 7?41?2[36]6?54?5[69]?9?87? # squeezed on bottom b= 7?41?23?69?87?8987? b= 7?41?23?69?8789?87 # mixed squeezing b= 7?41?2325?4?5[69]9?87? # --- down-up bar --- # squeezed up top b=1?47?41?2321?23?69?87? b=1?47?41?23?2123?69?87? # no squeezing b=147412[36]545[69]87?* b=1?47?41?[25][36]?6?54?5[69]9?87? b=1?47?41?[25][36]6?54?5[69]?9?87? # squeezed on bottom b=1?47?41?23?69?87?8987? b=1?47?41?23?69?8789?87 # mixed squeezing b=1?47?41?2325?4?5[69]9?87? # lowercase b b=14745[69]87* b=[21]1?474?5[69]9?8[74]4? b=[21]1?474?869?8[74]4? # capital versions, (haven't included strokes with initial bar here...) # squeezed up top B= 1?2321?23?69?8789? B= 1?2321?23?69?89 B= 1?23?2123?69?8789? B= 1?23?2123?6989 # no squeezing B= 1?2[36]6?54?5[69]9?8789?* B= 1?2[36]?6?545[69]9?8789? B= 1?2[36]6?54?5[69]9?89 B= 1?2[36]?6?545[69]9?89 # squeezed on bottom B= 1?23?69?87?898789? B= 1?23?69?87?8989 B= 1?23?69?8789?8789? # mixed squeezing B= 1?2325?4?5[69]9?8789? B= 1?2325?4?5[69]989 # Capital version of lowercase b B=14745[69]8789* B=[21]1?474?5[69]989 B=[21]1?474?5[69]9?8[74]4?[58]9? B=[21]1?474?869?8[74]4?[58]9? # This is crunched up at the bottom, not much more than an 'L' B=147?8987?89 # the letter c (xscribble) c=3?2489* c=3?21?4789? C=3?248987* C=3?21?47?8987? C=3?21?47?89874? C=3?21?47?87 # capital D with optional bar (xscribble) d= 12687* d= 7412687* d=147412687* d= 1?23?69?87 d= 7?41?23?69?87?4? d=[12]?47?41?23?69?87?4? # lowercase d starting at bar d=36965[47]89* d=369[68]?5[47]7?89? # capital D strokes D= 1268789* D= 1?23?69?8789? D= 1?23?69?89 D= 741268789* D= 7?41?23?[56]5?9?8789? D= 7?41?23?69?89 D=14741268789* D=1?47?41?23?69?8789? D=1?47?41?23?69?89 # Capital version of lowercase d d=36965[47]8987* d=3696?5[47]7?8987? d=3696?5[47]7?87 # stylized capital E like backwards 3, (xscribble) # These are just the mirror-image of the B strokes # squeezed up top e=3?2123?21?47?89? e=321?2321?47?89? e=3?212321?47?89? # no squeezing e=3?2[14]4?56?5[47]7?89?* e=3?2[14]?4?565[47]7?89? # squeezed on bottom e=3?21?47?89?8789? e=3?21?47?8987?89 # mixed squeezing e=3?2125?6?5[47]7?89? e=3236?5[47]7?89? # lowercase e e=4562489* e=[47]?8?56?3?21?47?89? # capital versions # squeezed up top E=3?2123?21?47?8987? E=3?2123?21?47?87 E=3?21?2321?47?8987? E=3?21?2321?47?87 # no squeezing E=3?2[14]4?56?5[47]7?8987?* E=3?2[14]?4?565[47]7?8987? E=3?2[14]4?56?5[47]7?87 E=3?2[14]?4?565[47]7?87 E=3?2[14]4?56?5[47]?7?8987? E=3?2[14]4?56?5[47]?787 # squeezed on bottom E=3?2[14]4?56?87?8987? E=3?21?47?89?878987? E=3?21?47?89?8787 E=3?21?47?8987?8987? # mixed squeezing E=3?2125?6?5[47]7?8987? E=3?2125?6?5[47]7?87 # capital lowercase E ;) E=456248987* E=[47]?56?3?21?47?8987?8? E=[47]?56?3?21?47?87 #squeezed on top E=1?2321?47?8987? E=123?21?47?8987? E=1?2321?47?87 E=123?21?47?87 # stylized capital with optional initial curl, (xscribble) f=321?47** f=6?321?47 F=3214741* F=321?45?[78][78]?4[12]?[12]? # capital G, (if final stroke goes in-and-out it's capital), (xscribble) g=3248654* g=32[14]5636987* G=324865456* G=32[14]563698789* g=3?21?47?89?6?5[478]? g=3?21?47?89?657? g=3?21?47?89?68 g=3?21?47?8984 G=3?21?47?89?6?5[47]7?[58][69]6? G=3?21?47?89?6?56 G=3?21?47?89847?[58][69]6? # lowercase g shape with tail to left g=3?2[14]?4?5[36][32][56][56]?9?87 G=3?2[14]?4?5[36][32][56][56]?9?8789 G=32123?69?8789 # typical lowercase h (xscribble) h=1474569* h=[12]1?474?56?9 h=[12]1?478[56]6?9 H=147456963* H=[12]1?47456963 H=[12][12]?474?56?963 # capital I as vertical downward stroke (xscribble) i=258** I=25852* # stylized capital J as backwards L (xscribble) j=369?87** J=369?8789* j=369?874? J=369?8789? J=369?89 # stylized k (~xscribble) k=321?[24]?5[68]?9** k=321489? K=321?[24]?5[68]?9[68]?5[24]?1?* K=321?[24]?5[68]?9841 K=321489841 # capital L (xscribble) l=147?89** L=147?8987?* # lowercase m with optional initial down-stroke (xscribble) m= 7?4[12]2?585[23]3??69?* m= 7?4[12]2?58?5[23]3?69? m= 7?41256369? m=1?47?4[12]2?585[23]3??69?* m=1?47?4[12]2?585[23]3??69 m=1?47?4[12]2?58?5[23]3?69 m=1?47?4[12]2?58?5[23]3?69? m=1?47?4[12]?2?585[23]3?69? m=1?47?41256369? M= 7?4[12]2?585[23]3?6963?* M= 7?4[12]2?585[23]3?63 M= 7?4[12]2?58?5[23]3?6963? M= 7?4[12]2?58?5[23]3?63 M= 7?4[12]2?5863?6963? M= 7?4[12]2?58?636963? M= 7?4[12]2?58?6363 M=1?47?4[12]2?585[23]3?6963?* M=1?47?4[12]2?585[23]3?63 M=1?47?4[12]2?58?5[23]3?6963? M=1?47?4[12]2?58?5[23]3?63 M=1?47?4[12]2?5863?6963? M=1?47?4[12]2?58?636963? M=1?47?4[12]2?58?6363 # capital N starting at lower-left (xscribble) n=7415963** n=7?4[12]2?5[89]9??63 n=7?4[12]2??5[89]9?63 n=7?41[24]5[68]?9?63 n=7?41?[24]5[68]?963 # A sloppy n n=7489?63? # lowercase n n=1474269* n=1?4741?23?69? # capital N N=741596369* N=7?4[12]2?5[89]8??6369? N=7?4[12]2?5[89]8?69 N=7?4[12]2?5[89]8?6369? N=7?4[12]2?5[89]8?69 N=7?41[24]?589?6369? N=7?41[24]?58969 N=7?41?[24]?5896369? N=7?41?[24]?58969 # Capital version of lowercase n N=147426963* N=1?4741?23?6963? N=1?4741?23?63 # capital O as counter-clocwise circle starting at top (xscribble) o=24862* o=3?21?47?89?63?21? o=3?21?47?89?63 O=24862123* O=3?21?47?89?63?214?[25]3? O=3?21?47?89?63?23 # like a capital D stroke but in reverse p=78621* p=7?89?63?21?4? # capital/lowercase P with up-stroke or down-up stroke vertical bar (xscribble) p= 741?2[36]6?54?* p=1?4741?2[36]6?54?* p=2?1?4741?2[36]6?54?[12]? # the capital form of the reverse D stroke for P P=7862123* P=7?89?63?2123? P=7?89?63?23 # the capital form of the lowercase-shaped P P= 741?2[36]6?5456?* P= 741?2[36]6?56 P=1?4741?2[36]6?5456?* P=2?1?4741?2[36]6?5456? P=2?1?4741?2[36]6?56 # counter-clockwise circle starting at bottom q=862489* Q=86248987* # counter-clockwise circle starting at bottom q=7?89?63?21?47?89? Q=7?89?63?21?47?896?[58]7? Q=7?89?63?21?47?85[78]? ## Haven't gotten this one to work reliably yet... # lowercase q with tail to the right # q=2[14]52589* # Q=2[14]5258987* # q=3?2[14][45]5?2589 # Q=3?2[14][45]5?258987 # lowercase r r=1474123* R=147412321* r=[12]?[45]741?23 R=[12]?[45]741?232[14]?[14]? R=[12]?[45]741?214? # your basic S shape (xscribble) s=321456987* s=3?2[14]4?5[69]?9?87? s=3?2[14]?4?5[69]9?87? S=32145698789* S=3?2[14]4?5[69]?9?8789? S=3?2[14]?4?5[69]9?8789? S=3?2[14]4?5[69]?989 S=3?2[14]?4?5[69]9?89 # stylized T as right->down (xscribble) t=12369** t=123?6[89]8? T=1236963* T=123?6[89][89]?[56]3? T=123?63 # lowercase u (xscribble) u=14863* u=1?47?89?63?2? U=1486369* U=1?47?89?6369? U=1?47?8969 # v as a u with a tail to the right (xscribble) v=1478523* v=1?4[78]8?52?3 V=147852321* V=1?4[78]8?52?321? # lowercase w w=1?47?852?5[89]9?63?* w=1?4[78]8?52?589?63? W=1?47?852?5[89]9?6369?* W=1?47?852?5[89]9?69 W=1?47?8525[89]?9?6369? W=1?47?8525[89]?9?69 W=1?4[78]8?52?589?6369? W=1?4[78]8?52?589?69 # stylized x as rightward spike x=123[26]?5[48]?7** X=123[26]?5[48]?7?[48]?5[26]?3?* X=123687[48]?5[26]?3? X=123[26]?5[48]?7863? X=123687863? # lowercase y, (no loop!) y=1456369* y=14?5[26]?36[89][89]?[89]? Y=145636963* Y=14?5[26]?36[89]?[89]?9?63? # basic z shape z=1?23[26]?5[48]?7?89** z=1?23?[26]?5[48]?789 z=123[26]?5[48]?7?89? z=123?[26]?5[48]?789? Z=1?23?[26]?5[48]?7?8987?* Z=1?23?[26]?5[48]?787 # I'm putting these before the numbers so the docs. will format nicely. space =456** BackSpace =654** # And now for numbers in letter-mode, (most are backwards due to letter clashes) # backwards o-stroke 0=26842* 0=1?23?69?87?41?23? # Backwards 1 1=852** # Backwards 2 2=987456321* 2=9?87?[48]?5[26]?3?21 2=987?[48]?5[26]?3?21? # Backwards b-stroke # squeezed up top 3=7?89?63?21?2321? 3=7?89?63?2123?21 # no squeezing 3=78965456321* 3=7?8[96]6?54?5[63]3?21? # squeezed on bottom 3=7?8987?89?63?21? 3=7?89?8789?63?21? # mixed squeezing 3=7?8985?4?5[63]3?21? # Backwards y-stroke 4=9636541* 4=8?9?5?65?36?54?1?2? 4=8?9?63?69?87?41?2? # Backwards s-stroke 5=789654123* 5=7?89[86]?5[42]?1?23 5=7?89?[86]?5[42]?123 5=789[86]?5[42]?1?23? 5=789?[86]?5[42]?123? # A 6, do it just like it says here 6=2589654* 6=[23][56][89]9?5[47][47]? 6=[23][56][89]9?6[58][47]?[47]? # or here... 6=1478[69]54* 6=147?89[68]?8?5[47]?[47]?5? 6=147?896?87?47? # backwards t-stroke 7=963?21** # a figure-eight, (xscribble) 8=32145698753* 8=3?2[14]4?5[69]9?87[48]?5[26]?[23]2? 8=3?2[14]4?5[69]?9?87[48]?5[26]?[23]2? 8=3?2[14]?4?5[69]9?87[48]?5[26]?[23]2? # basic 9-shape (xscribble) 9=321456369* 9=3?2[14]4?5[36][32][56][56]?[89]?[89]? # And punctuation in letter mode space =456 BackSpace =654 Return =3[26]?5[48]?7?** Escape =369?[68]?5[24]?1** Escape =369?841? Tab =741?23** period =65456* comma =32123?[26]?5[48]?7* colon =3212369* colon =32123?6[89][89]? exclam =9878963* exclam =6?98789?62?3 exclam =963[26]?5[48]?7** exclam =258?5258?5? exclam =25852?58* minus =45654* equal =123?21?47?89?* equal =1?2321?47?89? question =1?23?21?47* question =1?23215[78]7? underscore =7?89?87?41* underscore =4565456* underscore =456?5456?5? underscore =456?545654? underscore =45656 plus =2587456* plus =1458?[74]4?56 plus =1?258?[74]4?56 plus =2?3[56]9?87?456? bar =74147?89* bracketleft =987?41** bracketright =789?63** braceleft =987?4147?* braceright =789?6369?* less =987[48]?5[26]?3** greater =789[68]?5[24]?1** parenleft =9[68]?5[24]?1?23** parenleft =9?841?2[36]6? parenright =7[48]?5[26]?3?21** quoteright =7[48]?5[26]?3[26]?5[48]?7?* quoteleft =1[24]?5[68]?9?[68]?5[24]?1?* quoteleft =1[24]?5[68]?9?841? quotedbl =147[48]?5[26]?369** semicolon =3[26]?5[48]?7?[48]?5[26]?3* slash =7[48]?5[26]?3** backslash =1[24]?5[68]?9** percent =3[26]?5[48]?741?** asciicircum =9[68]?5[24]?1?47** asciicircum =9621?47 numbersign =9?63?[26]?5[48]?741?** asciitilde =369?[68]?5[24]?147** asciitilde =369?84147 asterisk =1[24]?5[68]?963[26]?5[48]?7?** ampersand =9[68]?5[24]?1?47?89?* ampersand =9841?47?89? ampersand =9621?47?89? at =586248* at =2?589?63?21?47?89?[89]? dollar =32[14]5[69]8741* dollar =3?2[14]4?5[69]9?874[12][12]? dollar =3?2[14]?4?5[69]9?874[12][12]? dollar =3?21489874[12][12]? Up =8525* Down =2585* Right =4565* Left =6545* Caps_Lock =85258