xref: /openbsd/usr.bin/banner/chset.c (revision 19569065)
1 /*	$OpenBSD: chset.c,v 1.6 2017/05/27 07:55:44 tedu Exp $	*/
2 /*	$NetBSD: chset.c,v 1.2 1995/04/09 06:00:26 cgd Exp $	*/
3 
4 /*
5  *	Changes for banner(1)
6  *      @(#)Copyright (c) 1995, Simon J. Gerraty.
7  *
8  *      This is free software.  It comes with NO WARRANTY.
9  *      Permission to use, modify and distribute this source code
10  *      is granted subject to the following conditions.
11  *      1/ that the above copyright notice and this notice
12  *      are preserved in all copies and that due credit be given
13  *      to the author.
14  *      2/ that any changes to this code are clearly commented
15  *      as such so that the author does not get blamed for bugs
16  *      other than his own.
17  *
18  *      Please send copies of changes and bug-fixes to:
19  *      sjg@zen.void.oz.au
20  */
21 
22 /*
23  * Copyright (c) 1983, 1993
24  *	The Regents of the University of California.  All rights reserved.
25  *
26  * Redistribution and use in source and binary forms, with or without
27  * modification, are permitted provided that the following conditions
28  * are met:
29  * 1. Redistributions of source code must retain the above copyright
30  *    notice, this list of conditions and the following disclaimer.
31  * 2. Redistributions in binary form must reproduce the above copyright
32  *    notice, this list of conditions and the following disclaimer in the
33  *    documentation and/or other materials provided with the distribution.
34  * 3. Neither the name of the University nor the names of its contributors
35  *    may be used to endorse or promote products derived from this software
36  *    without specific prior written permission.
37  *
38  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
39  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
42  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
45  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
46  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48  * SUCH DAMAGE.
49  */
50 
51 #include "banner.h"
52 
53 /*
54  * <sjg> the following were all re-generated by a perl script,
55  * to fill in the gaps needed by the banner(1) char set.
56  */
57 #define c_______ 0
58 #define c______1 1
59 #define c_____1_ 2
60 #define c_____11 3
61 #define c____1__ 4
62 #define c____1_1 5
63 #define c____11_ 6
64 #define c____111 7
65 #define c___1___ 8
66 #define c___1__1 9
67 #define c___1_1_ 10
68 #define c___1_11 11
69 #define c___11__ 12
70 #define c___11_1 13
71 #define c___111_ 14
72 #define c___1111 15
73 #define c__1____ 16
74 #define c__1___1 17
75 #define c__1__1_ 18
76 #define c__1__11 19
77 #define c__1_1__ 20
78 #define c__1_1_1 21
79 #define c__1_11_ 22
80 #define c__1_111 23
81 #define c__11___ 24
82 #define c__11__1 25
83 #define c__11_1_ 26
84 #define c__11_11 27
85 #define c__111__ 28
86 #define c__111_1 29
87 #define c__1111_ 30
88 #define c__11111 31
89 #define c_1_____ 32
90 #define c_1____1 33
91 #define c_1___1_ 34
92 #define c_1___11 35
93 #define c_1__1__ 36
94 #define c_1__1_1 37
95 #define c_1__11_ 38
96 #define c_1__111 39
97 #define c_1_1___ 40
98 #define c_1_1__1 41
99 #define c_1_1_1_ 42
100 #define c_1_1_11 43
101 #define c_1_11__ 44
102 #define c_1_11_1 45
103 #define c_1_111_ 46
104 #define c_1_1111 47
105 #define c_11____ 48
106 #define c_11___1 49
107 #define c_11__1_ 50
108 #define c_11__11 51
109 #define c_11_1__ 52
110 #define c_11_1_1 53
111 #define c_11_11_ 54
112 #define c_11_111 55
113 #define c_111___ 56
114 #define c_111__1 57
115 #define c_111_1_ 58
116 #define c_111_11 59
117 #define c_1111__ 60
118 #define c_1111_1 61
119 #define c_11111_ 62
120 #define c_111111 63
121 #define c1______ 64
122 #define c1_____1 65
123 #define c1____1_ 66
124 #define c1____11 67
125 #define c1___1__ 68
126 #define c1___1_1 69
127 #define c1___11_ 70
128 #define c1___111 71
129 #define c1__1___ 72
130 #define c1__1__1 73
131 #define c1__1_1_ 74
132 #define c1__1_11 75
133 #define c1__11__ 76
134 #define c1__11_1 77
135 #define c1__111_ 78
136 #define c1__1111 79
137 #define c1_1____ 80
138 #define c1_1___1 81
139 #define c1_1__1_ 82
140 #define c1_1__11 83
141 #define c1_1_1__ 84
142 #define c1_1_1_1 85
143 #define c1_1_11_ 86
144 #define c1_1_111 87
145 #define c1_11___ 88
146 #define c1_11__1 89
147 #define c1_11_1_ 90
148 #define c1_11_11 91
149 #define c1_111__ 92
150 #define c1_111_1 93
151 #define c1_1111_ 94
152 #define c1_11111 95
153 #define c11_____ 96
154 #define c11____1 97
155 #define c11___1_ 98
156 #define c11___11 99
157 #define c11__1__ 100
158 #define c11__1_1 101
159 #define c11__11_ 102
160 #define c11__111 103
161 #define c11_1___ 104
162 #define c11_1__1 105
163 #define c11_1_1_ 106
164 #define c11_1_11 107
165 #define c11_11__ 108
166 #define c11_11_1 109
167 #define c11_111_ 110
168 #define c11_1111 111
169 #define c111____ 112
170 #define c111___1 113
171 #define c111__1_ 114
172 #define c111__11 115
173 #define c111_1__ 116
174 #define c111_1_1 117
175 #define c111_11_ 118
176 #define c111_111 119
177 #define c1111___ 120
178 #define c1111__1 121
179 #define c1111_1_ 122
180 #define c1111_11 123
181 #define c11111__ 124
182 #define c11111_1 125
183 #define c111111_ 126
184 #define c1111111 127
185 
186 
187 char scnkey[][HEIGHT] =	/* this is relatively easy to modify */
188 			/* just look: */
189 {
190 
191 	/* <sjg> this is the real banner char set */
192 	{
193 		c_______,
194 		c_______,
195 		c_______,
196 		c_______,
197 		c_______,
198 		c_______,
199 		c_______,
200 		c_______
201 	},			/*   */
202 
203 	{
204 		c__111__,
205 		c__111__,
206 		c__111__,
207 		c___1___,
208 		c_______,
209 		c__111__,
210 		c__111__,
211 		c_______
212 	},			/* ! */
213 	{
214 		c111_111,
215 		c111_111,
216 		c_1___1_,
217 		c_______,
218 		c_______,
219 		c_______,
220 		c_______,
221 		c_______
222 	},			/* " */
223 	{
224 		c__1_1__,
225 		c__1_1__,
226 		c1111111,
227 		c__1_1__,
228 		c1111111,
229 		c__1_1__,
230 		c__1_1__,
231 		c_______
232 	},			/* # */
233 	{
234 		c_11111_,
235 		c1__1__1,
236 		c1__1___,
237 		c_11111_,
238 		c___1__1,
239 		c1__1__1,
240 		c_11111_,
241 		c_______
242 	},			/* $ */
243 	{
244 		c111___1,
245 		c1_1__1_,
246 		c111_1__,
247 		c___1___,
248 		c__1_111,
249 		c_1__1_1,
250 		c1___111,
251 		c_______
252 	},			/* % */
253 	{
254 		c__11___,
255 		c_1__1__,
256 		c__11___,
257 		c_111___,
258 		c1___1_1,
259 		c1____1_,
260 		c_111__1,
261 		c_______
262 	},			/* & */
263 	{
264 		c__111__,
265 		c__111__,
266 		c___1___,
267 		c__1____,
268 		c_______,
269 		c_______,
270 		c_______,
271 		c_______
272 	},			/* ' */
273 	{
274 		c___11__,
275 		c__1____,
276 		c_1_____,
277 		c_1_____,
278 		c_1_____,
279 		c__1____,
280 		c___11__,
281 		c_______
282 	},			/* ( */
283 	{
284 		c__11___,
285 		c____1__,
286 		c_____1_,
287 		c_____1_,
288 		c_____1_,
289 		c____1__,
290 		c__11___,
291 		c_______
292 	},			/* ) */
293 	{
294 		c_______,
295 		c_1___1_,
296 		c__1_1__,
297 		c1111111,
298 		c__1_1__,
299 		c_1___1_,
300 		c_______,
301 		c_______
302 	},			/* * */
303 	{
304 		c_______,
305 		c___1___,
306 		c___1___,
307 		c_11111_,
308 		c___1___,
309 		c___1___,
310 		c_______,
311 		c_______
312 	},			/* + */
313 	{
314 		c_______,
315 		c_______,
316 		c_______,
317 		c__111__,
318 		c__111__,
319 		c___1___,
320 		c__1____,
321 		c_______
322 	},			/* , */
323 	{
324 		c_______,
325 		c_______,
326 		c_______,
327 		c_11111_,
328 		c_______,
329 		c_______,
330 		c_______,
331 		c_______
332 	},			/* - */
333 	{
334 		c_______,
335 		c_______,
336 		c_______,
337 		c_______,
338 		c__111__,
339 		c__111__,
340 		c__111__,
341 		c_______
342 	},			/* . */
343 	{
344 		c______1,
345 		c_____1_,
346 		c____1__,
347 		c___1___,
348 		c__1____,
349 		c_1_____,
350 		c1______,
351 		c_______
352 	},			/* / */
353 	{
354 		c__111__,
355 		c_1___1_,
356 		c1_____1,
357 		c1_____1,
358 		c1_____1,
359 		c_1___1_,
360 		c__111__,
361 		c_______
362 	},			/* 0 */
363 	{
364 		c___1___,
365 		c__11___,
366 		c_1_1___,
367 		c___1___,
368 		c___1___,
369 		c___1___,
370 		c_11111_,
371 		c_______
372 	},			/* 1 */
373 	{
374 		c_11111_,
375 		c1_____1,
376 		c______1,
377 		c_11111_,
378 		c1______,
379 		c1______,
380 		c1111111,
381 		c_______
382 	},			/* 2 */
383 	{
384 		c_11111_,
385 		c1_____1,
386 		c______1,
387 		c_11111_,
388 		c______1,
389 		c1_____1,
390 		c_11111_,
391 		c_______
392 	},			/* 3 */
393 	{
394 		c1______,
395 		c1____1_,
396 		c1____1_,
397 		c1____1_,
398 		c1111111,
399 		c_____1_,
400 		c_____1_,
401 		c_______
402 	},			/* 4 */
403 	{
404 		c1111111,
405 		c1______,
406 		c1______,
407 		c111111_,
408 		c______1,
409 		c1_____1,
410 		c_11111_,
411 		c_______
412 	},			/* 5 */
413 	{
414 		c_11111_,
415 		c1_____1,
416 		c1______,
417 		c111111_,
418 		c1_____1,
419 		c1_____1,
420 		c_11111_,
421 		c_______
422 	},			/* 6 */
423 	{
424 		c1111111,
425 		c1____1_,
426 		c____1__,
427 		c___1___,
428 		c__1____,
429 		c__1____,
430 		c__1____,
431 		c_______
432 	},			/* 7 */
433 	{
434 		c_11111_,
435 		c1_____1,
436 		c1_____1,
437 		c_11111_,
438 		c1_____1,
439 		c1_____1,
440 		c_11111_,
441 		c_______
442 	},			/* 8 */
443 	{
444 		c_11111_,
445 		c1_____1,
446 		c1_____1,
447 		c_111111,
448 		c______1,
449 		c1_____1,
450 		c_11111_,
451 		c_______
452 	},			/* 9 */
453 	{
454 		c___1___,
455 		c__111__,
456 		c___1___,
457 		c_______,
458 		c___1___,
459 		c__111__,
460 		c___1___,
461 		c_______
462 	},			/* : */
463 	{
464 		c__111__,
465 		c__111__,
466 		c_______,
467 		c__111__,
468 		c__111__,
469 		c___1___,
470 		c__1____,
471 		c_______
472 	},			/* ; */
473 	{
474 		c____1__,
475 		c___1___,
476 		c__1____,
477 		c_1_____,
478 		c__1____,
479 		c___1___,
480 		c____1__,
481 		c_______
482 	},			/* < */
483 	{
484 		c_______,
485 		c_______,
486 		c_11111_,
487 		c_______,
488 		c_11111_,
489 		c_______,
490 		c_______,
491 		c_______
492 	},			/* = */
493 	{
494 		c__1____,
495 		c___1___,
496 		c____1__,
497 		c_____1_,
498 		c____1__,
499 		c___1___,
500 		c__1____,
501 		c_______
502 	},			/* > */
503 	{
504 		c_11111_,
505 		c1_____1,
506 		c______1,
507 		c___111_,
508 		c___1___,
509 		c_______,
510 		c___1___,
511 		c_______
512 	},			/* ? */
513 	{
514 		c_11111_,
515 		c1_____1,
516 		c1_111_1,
517 		c1_111_1,
518 		c1_1111_,
519 		c1______,
520 		c_11111_,
521 		c_______
522 	},			/* @ */
523 	{
524 		c___1___,
525 		c__1_1__,
526 		c_1___1_,
527 		c1_____1,
528 		c1111111,
529 		c1_____1,
530 		c1_____1,
531 		c_______
532 	},			/* A */
533 	{
534 		c111111_,
535 		c1_____1,
536 		c1_____1,
537 		c111111_,
538 		c1_____1,
539 		c1_____1,
540 		c111111_,
541 		c_______
542 	},			/* B */
543 	{
544 		c_11111_,
545 		c1_____1,
546 		c1______,
547 		c1______,
548 		c1______,
549 		c1_____1,
550 		c_11111_,
551 		c_______
552 	},			/* C */
553 	{
554 		c111111_,
555 		c1_____1,
556 		c1_____1,
557 		c1_____1,
558 		c1_____1,
559 		c1_____1,
560 		c111111_,
561 		c_______
562 	},			/* D */
563 	{
564 		c1111111,
565 		c1______,
566 		c1______,
567 		c11111__,
568 		c1______,
569 		c1______,
570 		c1111111,
571 		c_______
572 	},			/* E */
573 	{
574 		c1111111,
575 		c1______,
576 		c1______,
577 		c11111__,
578 		c1______,
579 		c1______,
580 		c1______,
581 		c_______
582 	},			/* F */
583 	{
584 		c_11111_,
585 		c1_____1,
586 		c1______,
587 		c1__1111,
588 		c1_____1,
589 		c1_____1,
590 		c_11111_,
591 		c_______
592 	},			/* G */
593 	{
594 		c1_____1,
595 		c1_____1,
596 		c1_____1,
597 		c1111111,
598 		c1_____1,
599 		c1_____1,
600 		c1_____1,
601 		c_______
602 	},			/* H */
603 	{
604 		c__111__,
605 		c___1___,
606 		c___1___,
607 		c___1___,
608 		c___1___,
609 		c___1___,
610 		c__111__,
611 		c_______
612 	},			/* I */
613 	{
614 		c______1,
615 		c______1,
616 		c______1,
617 		c______1,
618 		c1_____1,
619 		c1_____1,
620 		c_11111_,
621 		c_______
622 	},			/* J */
623 	{
624 		c1____1_,
625 		c1___1__,
626 		c1__1___,
627 		c111____,
628 		c1__1___,
629 		c1___1__,
630 		c1____1_,
631 		c_______
632 	},			/* K */
633 	{
634 		c1______,
635 		c1______,
636 		c1______,
637 		c1______,
638 		c1______,
639 		c1______,
640 		c1111111,
641 		c_______
642 	},			/* L */
643 	{
644 		c1_____1,
645 		c11___11,
646 		c1_1_1_1,
647 		c1__1__1,
648 		c1_____1,
649 		c1_____1,
650 		c1_____1,
651 		c_______
652 	},			/* M */
653 	{
654 		c1_____1,
655 		c11____1,
656 		c1_1___1,
657 		c1__1__1,
658 		c1___1_1,
659 		c1____11,
660 		c1_____1,
661 		c_______
662 	},			/* N */
663 	{
664 		c1111111,
665 		c1_____1,
666 		c1_____1,
667 		c1_____1,
668 		c1_____1,
669 		c1_____1,
670 		c1111111,
671 		c_______
672 	},			/* O */
673 	{
674 		c111111_,
675 		c1_____1,
676 		c1_____1,
677 		c111111_,
678 		c1______,
679 		c1______,
680 		c1______,
681 		c_______
682 	},			/* P */
683 	{
684 		c_11111_,
685 		c1_____1,
686 		c1_____1,
687 		c1_____1,
688 		c1___1_1,
689 		c1____1_,
690 		c_1111_1,
691 		c_______
692 	},			/* Q */
693 	{
694 		c111111_,
695 		c1_____1,
696 		c1_____1,
697 		c111111_,
698 		c1___1__,
699 		c1____1_,
700 		c1_____1,
701 		c_______
702 	},			/* R */
703 	{
704 		c_11111_,
705 		c1_____1,
706 		c1______,
707 		c_11111_,
708 		c______1,
709 		c1_____1,
710 		c_11111_,
711 		c_______
712 	},			/* S */
713 	{
714 		c1111111,
715 		c___1___,
716 		c___1___,
717 		c___1___,
718 		c___1___,
719 		c___1___,
720 		c___1___,
721 		c_______
722 	},			/* T */
723 	{
724 		c1_____1,
725 		c1_____1,
726 		c1_____1,
727 		c1_____1,
728 		c1_____1,
729 		c1_____1,
730 		c_11111_,
731 		c_______
732 	},			/* U */
733 	{
734 		c1_____1,
735 		c1_____1,
736 		c1_____1,
737 		c1_____1,
738 		c_1___1_,
739 		c__1_1__,
740 		c___1___,
741 		c_______
742 	},			/* V */
743 	{
744 		c1_____1,
745 		c1__1__1,
746 		c1__1__1,
747 		c1__1__1,
748 		c1__1__1,
749 		c1__1__1,
750 		c_11_11_,
751 		c_______
752 	},			/* W */
753 	{
754 		c1_____1,
755 		c_1___1_,
756 		c__1_1__,
757 		c___1___,
758 		c__1_1__,
759 		c_1___1_,
760 		c1_____1,
761 		c_______
762 	},			/* X */
763 	{
764 		c1_____1,
765 		c_1___1_,
766 		c__1_1__,
767 		c___1___,
768 		c___1___,
769 		c___1___,
770 		c___1___,
771 		c_______
772 	},			/* Y */
773 	{
774 		c1111111,
775 		c_____1_,
776 		c____1__,
777 		c___1___,
778 		c__1____,
779 		c_1_____,
780 		c1111111,
781 		c_______
782 	},			/* Z */
783 	{
784 		c_11111_,
785 		c_1_____,
786 		c_1_____,
787 		c_1_____,
788 		c_1_____,
789 		c_1_____,
790 		c_11111_,
791 		c_______
792 	},			/* [ */
793 	{
794 		c1______,
795 		c_1_____,
796 		c__1____,
797 		c___1___,
798 		c____1__,
799 		c_____1_,
800 		c______1,
801 		c_______
802 	},			/* \ */
803 	{
804 		c_11111_,
805 		c_____1_,
806 		c_____1_,
807 		c_____1_,
808 		c_____1_,
809 		c_____1_,
810 		c_11111_,
811 		c_______
812 	},			/* ] */
813 	{
814 		c___1___,
815 		c__1_1__,
816 		c_1___1_,
817 		c_______,
818 		c_______,
819 		c_______,
820 		c_______,
821 		c_______
822 	},			/* ^ */
823 	{
824 		c_______,
825 		c_______,
826 		c_______,
827 		c_______,
828 		c_______,
829 		c_______,
830 		c1111111,
831 		c_______
832 	},			/* _ */
833 	{
834 		c__111__,
835 		c__111__,
836 		c___1___,
837 		c____1__,
838 		c_______,
839 		c_______,
840 		c_______,
841 		c_______
842 	},			/* ` */
843 	{
844 		c_______,
845 		c___11__,
846 		c__1__1_,
847 		c_1____1,
848 		c_111111,
849 		c_1____1,
850 		c_1____1,
851 		c_______
852 	},			/* a */
853 	{
854 		c_______,
855 		c_11111_,
856 		c_1____1,
857 		c_11111_,
858 		c_1____1,
859 		c_1____1,
860 		c_11111_,
861 		c_______
862 	},			/* b */
863 	{
864 		c_______,
865 		c__1111_,
866 		c_1____1,
867 		c_1_____,
868 		c_1_____,
869 		c_1____1,
870 		c__1111_,
871 		c_______
872 	},			/* c */
873 	{
874 		c_______,
875 		c_11111_,
876 		c_1____1,
877 		c_1____1,
878 		c_1____1,
879 		c_1____1,
880 		c_11111_,
881 		c_______
882 	},			/* d */
883 	{
884 		c_______,
885 		c_111111,
886 		c_1_____,
887 		c_11111_,
888 		c_1_____,
889 		c_1_____,
890 		c_111111,
891 		c_______
892 	},			/* e */
893 	{
894 		c_______,
895 		c_111111,
896 		c_1_____,
897 		c_11111_,
898 		c_1_____,
899 		c_1_____,
900 		c_1_____,
901 		c_______
902 	},			/* f */
903 	{
904 		c_______,
905 		c__1111_,
906 		c_1____1,
907 		c_1_____,
908 		c_1__111,
909 		c_1____1,
910 		c__1111_,
911 		c_______
912 	},			/* g */
913 	{
914 		c_______,
915 		c_1____1,
916 		c_1____1,
917 		c_111111,
918 		c_1____1,
919 		c_1____1,
920 		c_1____1,
921 		c_______
922 	},			/* h */
923 	{
924 		c_______,
925 		c____1__,
926 		c____1__,
927 		c____1__,
928 		c____1__,
929 		c____1__,
930 		c____1__,
931 		c_______
932 	},			/* i */
933 	{
934 		c_______,
935 		c______1,
936 		c______1,
937 		c______1,
938 		c______1,
939 		c_1____1,
940 		c__1111_,
941 		c_______
942 	},			/* j */
943 	{
944 		c_______,
945 		c_1____1,
946 		c_1___1_,
947 		c_1111__,
948 		c_1__1__,
949 		c_1___1_,
950 		c_1____1,
951 		c_______
952 	},			/* k */
953 	{
954 		c_______,
955 		c_1_____,
956 		c_1_____,
957 		c_1_____,
958 		c_1_____,
959 		c_1_____,
960 		c_111111,
961 		c_______
962 	},			/* l */
963 	{
964 		c_______,
965 		c_1____1,
966 		c_11__11,
967 		c_1_11_1,
968 		c_1____1,
969 		c_1____1,
970 		c_1____1,
971 		c_______
972 	},			/* m */
973 	{
974 		c_______,
975 		c_1____1,
976 		c_11___1,
977 		c_1_1__1,
978 		c_1__1_1,
979 		c_1___11,
980 		c_1____1,
981 		c_______
982 	},			/* n */
983 	{
984 		c_______,
985 		c__1111_,
986 		c_1____1,
987 		c_1____1,
988 		c_1____1,
989 		c_1____1,
990 		c__1111_,
991 		c_______
992 	},			/* o */
993 	{
994 		c_______,
995 		c_11111_,
996 		c_1____1,
997 		c_1____1,
998 		c_11111_,
999 		c_1_____,
1000 		c_1_____,
1001 		c_______
1002 	},			/* p */
1003 	{
1004 		c_______,
1005 		c__1111_,
1006 		c_1____1,
1007 		c_1____1,
1008 		c_1__1_1,
1009 		c_1___1_,
1010 		c__111_1,
1011 		c_______
1012 	},			/* q */
1013 	{
1014 		c_______,
1015 		c_11111_,
1016 		c_1____1,
1017 		c_1____1,
1018 		c_11111_,
1019 		c_1___1_,
1020 		c_1____1,
1021 		c_______
1022 	},			/* r */
1023 	{
1024 		c_______,
1025 		c__1111_,
1026 		c_1_____,
1027 		c__1111_,
1028 		c______1,
1029 		c_1____1,
1030 		c__1111_,
1031 		c_______
1032 	},			/* s */
1033 	{
1034 		c_______,
1035 		c__11111,
1036 		c____1__,
1037 		c____1__,
1038 		c____1__,
1039 		c____1__,
1040 		c____1__,
1041 		c_______
1042 	},			/* t */
1043 	{
1044 		c_______,
1045 		c_1____1,
1046 		c_1____1,
1047 		c_1____1,
1048 		c_1____1,
1049 		c_1____1,
1050 		c__1111_,
1051 		c_______
1052 	},			/* u */
1053 	{
1054 		c_______,
1055 		c_1____1,
1056 		c_1____1,
1057 		c_1____1,
1058 		c_1____1,
1059 		c__1__1_,
1060 		c___11__,
1061 		c_______
1062 	},			/* v */
1063 	{
1064 		c_______,
1065 		c_1____1,
1066 		c_1____1,
1067 		c_1____1,
1068 		c_1_11_1,
1069 		c_11__11,
1070 		c_1____1,
1071 		c_______
1072 	},			/* w */
1073 	{
1074 		c_______,
1075 		c_1____1,
1076 		c__1__1_,
1077 		c___11__,
1078 		c___11__,
1079 		c__1__1_,
1080 		c_1____1,
1081 		c_______
1082 	},			/* x */
1083 	{
1084 		c_______,
1085 		c__1___1,
1086 		c___1_1_,
1087 		c____1__,
1088 		c____1__,
1089 		c____1__,
1090 		c____1__,
1091 		c_______
1092 	},			/* y */
1093 	{
1094 		c_______,
1095 		c_111111,
1096 		c_____1_,
1097 		c____1__,
1098 		c___1___,
1099 		c__1____,
1100 		c_111111,
1101 		c_______
1102 	},			/* z */
1103 	{
1104 		c__111__,
1105 		c_1_____,
1106 		c_1_____,
1107 		c11_____,
1108 		c_1_____,
1109 		c_1_____,
1110 		c__111__,
1111 		c_______
1112 	},			/* { */
1113 	{
1114 		c___1___,
1115 		c___1___,
1116 		c___1___,
1117 		c_______,
1118 		c___1___,
1119 		c___1___,
1120 		c___1___,
1121 		c_______
1122 	},			/* | */
1123 	{
1124 		c__111__,
1125 		c_____1_,
1126 		c_____1_,
1127 		c_____11,
1128 		c_____1_,
1129 		c_____1_,
1130 		c__111__,
1131 		c_______
1132 	},			/* } */
1133 	{
1134 		c_11____,
1135 		c1__1__1,
1136 		c____11_,
1137 		c_______,
1138 		c_______,
1139 		c_______,
1140 		c_______,
1141 		c_______
1142 	},			/* ~ */
1143 
1144 	{
1145 		c_1__1__,
1146 		c1__1__1,
1147 		c__1__1_,
1148 		c_1__1__,
1149 		c1__1__1,
1150 		c__1__1_,
1151 		c_1__1__,
1152 		c1__1__1
1153 	}			/* rub-out */
1154 };
1155 
1156