chset.c revision 1.1
1/* $NetBSD: chset.c,v 1.2 1995/04/09 06:00:26 cgd Exp $ */ 2 3/* 4 * Changes for banner(1) 5 * @(#)Copyright (c) 1995, Simon J. Gerraty. 6 * 7 * This is free software. It comes with NO WARRANTY. 8 * Permission to use, modify and distribute this source code 9 * is granted subject to the following conditions. 10 * 1/ that the above copyright notice and this notice 11 * are preserved in all copies and that due credit be given 12 * to the author. 13 * 2/ that any changes to this code are clearly commented 14 * as such so that the author does not get blamed for bugs 15 * other than his own. 16 * 17 * Please send copies of changes and bug-fixes to: 18 * sjg@zen.void.oz.au 19 */ 20 21/* 22 * Copyright (c) 1983, 1993 23 * The Regents of the University of California. All rights reserved. 24 * 25 * Redistribution and use in source and binary forms, with or without 26 * modification, are permitted provided that the following conditions 27 * are met: 28 * 1. Redistributions of source code must retain the above copyright 29 * notice, this list of conditions and the following disclaimer. 30 * 2. Redistributions in binary form must reproduce the above copyright 31 * notice, this list of conditions and the following disclaimer in the 32 * documentation and/or other materials provided with the distribution. 33 * 3. All advertising materials mentioning features or use of this software 34 * must display the following acknowledgement: 35 * This product includes software developed by the University of 36 * California, Berkeley and its contributors. 37 * 4. Neither the name of the University nor the names of its contributors 38 * may be used to endorse or promote products derived from this software 39 * without specific prior written permission. 40 * 41 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 42 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 43 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 45 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 46 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 47 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 50 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 51 * SUCH DAMAGE. 52 */ 53 54#ifndef lint 55#if 0 56static char sccsid[] = "@(#)lpdchar.c 8.1 (Berkeley) 6/6/93"; 57#else 58static char rcsid[] = "$NetBSD: chset.c,v 1.2 1995/04/09 06:00:26 cgd Exp $"; 59#endif 60#endif /* not lint */ 61 62#include "banner.h" 63 64/* 65 * <sjg> the following were all re-generated by a perl script, 66 * to fill in the gaps needed by the banner(1) char set. 67 */ 68#define c_______ 0 69#define c______1 1 70#define c_____1_ 2 71#define c_____11 3 72#define c____1__ 4 73#define c____1_1 5 74#define c____11_ 6 75#define c____111 7 76#define c___1___ 8 77#define c___1__1 9 78#define c___1_1_ 10 79#define c___1_11 11 80#define c___11__ 12 81#define c___11_1 13 82#define c___111_ 14 83#define c___1111 15 84#define c__1____ 16 85#define c__1___1 17 86#define c__1__1_ 18 87#define c__1__11 19 88#define c__1_1__ 20 89#define c__1_1_1 21 90#define c__1_11_ 22 91#define c__1_111 23 92#define c__11___ 24 93#define c__11__1 25 94#define c__11_1_ 26 95#define c__11_11 27 96#define c__111__ 28 97#define c__111_1 29 98#define c__1111_ 30 99#define c__11111 31 100#define c_1_____ 32 101#define c_1____1 33 102#define c_1___1_ 34 103#define c_1___11 35 104#define c_1__1__ 36 105#define c_1__1_1 37 106#define c_1__11_ 38 107#define c_1__111 39 108#define c_1_1___ 40 109#define c_1_1__1 41 110#define c_1_1_1_ 42 111#define c_1_1_11 43 112#define c_1_11__ 44 113#define c_1_11_1 45 114#define c_1_111_ 46 115#define c_1_1111 47 116#define c_11____ 48 117#define c_11___1 49 118#define c_11__1_ 50 119#define c_11__11 51 120#define c_11_1__ 52 121#define c_11_1_1 53 122#define c_11_11_ 54 123#define c_11_111 55 124#define c_111___ 56 125#define c_111__1 57 126#define c_111_1_ 58 127#define c_111_11 59 128#define c_1111__ 60 129#define c_1111_1 61 130#define c_11111_ 62 131#define c_111111 63 132#define c1______ 64 133#define c1_____1 65 134#define c1____1_ 66 135#define c1____11 67 136#define c1___1__ 68 137#define c1___1_1 69 138#define c1___11_ 70 139#define c1___111 71 140#define c1__1___ 72 141#define c1__1__1 73 142#define c1__1_1_ 74 143#define c1__1_11 75 144#define c1__11__ 76 145#define c1__11_1 77 146#define c1__111_ 78 147#define c1__1111 79 148#define c1_1____ 80 149#define c1_1___1 81 150#define c1_1__1_ 82 151#define c1_1__11 83 152#define c1_1_1__ 84 153#define c1_1_1_1 85 154#define c1_1_11_ 86 155#define c1_1_111 87 156#define c1_11___ 88 157#define c1_11__1 89 158#define c1_11_1_ 90 159#define c1_11_11 91 160#define c1_111__ 92 161#define c1_111_1 93 162#define c1_1111_ 94 163#define c1_11111 95 164#define c11_____ 96 165#define c11____1 97 166#define c11___1_ 98 167#define c11___11 99 168#define c11__1__ 100 169#define c11__1_1 101 170#define c11__11_ 102 171#define c11__111 103 172#define c11_1___ 104 173#define c11_1__1 105 174#define c11_1_1_ 106 175#define c11_1_11 107 176#define c11_11__ 108 177#define c11_11_1 109 178#define c11_111_ 110 179#define c11_1111 111 180#define c111____ 112 181#define c111___1 113 182#define c111__1_ 114 183#define c111__11 115 184#define c111_1__ 116 185#define c111_1_1 117 186#define c111_11_ 118 187#define c111_111 119 188#define c1111___ 120 189#define c1111__1 121 190#define c1111_1_ 122 191#define c1111_11 123 192#define c11111__ 124 193#define c11111_1 125 194#define c111111_ 126 195#define c1111111 127 196 197 198char scnkey[][HEIGHT] = /* this is relatively easy to modify */ 199 /* just look: */ 200{ 201#ifdef LPD_CHSET /* <sjg> */ 202 { c_______, 203 c_______, 204 c_______, 205 c_______, 206 c_______, 207 c_______, 208 c_______, 209 c_______, 210 c_______ }, /* */ 211 212 { c__11___, 213 c__11___, 214 c__11___, 215 c__11___, 216 c__11___, 217 c_______, 218 c_______, 219 c__11___, 220 c__11___ }, /* ! */ 221 222 { c_1__1__, 223 c_1__1__, 224 c_______, 225 c_______, 226 c_______, 227 c_______, 228 c_______, 229 c_______, 230 c_______ }, /* " */ 231 232 { c_______, 233 c__1_1__, 234 c__1_1__, 235 c1111111, 236 c__1_1__, 237 c1111111, 238 c__1_1__, 239 c__1_1__, 240 c_______ }, /* # */ 241 242 { c___1___, 243 c_11111_, 244 c1__1__1, 245 c1__1___, 246 c_11111_, 247 c___1__1, 248 c1__1__1, 249 c_11111_, 250 c___1___ }, /* $ */ 251 252 { c_1_____, 253 c1_1___1, 254 c_1___1_, 255 c____1__, 256 c___1___, 257 c__1____, 258 c_1___1_, 259 c1___1_1, 260 c_____1_ }, /* % */ 261 262 { c_11____, 263 c1__1___, 264 c1___1__, 265 c_1_1___, 266 c__1____, 267 c_1_1__1, 268 c1___11_, 269 c1___11_, 270 c_111__1 }, /* & */ 271 272 { c___11__, 273 c___11__, 274 c___1___, 275 c__1____, 276 c_______, 277 c_______, 278 c_______, 279 c_______, 280 c_______ }, /* ' */ 281 282 { c____1__, 283 c___1___, 284 c__1____, 285 c__1____, 286 c__1____, 287 c__1____, 288 c__1____, 289 c___1___, 290 c____1__ }, /* ( */ 291 292 { c__1____, 293 c___1___, 294 c____1__, 295 c____1__, 296 c____1__, 297 c____1__, 298 c____1__, 299 c___1___, 300 c__1____ }, /* ) */ 301 302 { c_______, 303 c___1___, 304 c1__1__1, 305 c_1_1_1_, 306 c__111__, 307 c_1_1_1_, 308 c1__1__1, 309 c___1___, 310 c_______ }, /* * */ 311 312 { c_______, 313 c___1___, 314 c___1___, 315 c___1___, 316 c1111111, 317 c___1___, 318 c___1___, 319 c___1___, 320 c_______ }, /* + */ 321 322 { c_______, 323 c_______, 324 c_______, 325 c_______, 326 c__11___, 327 c__11___, 328 c__1____, 329 c_1_____, 330 c_______ }, /* , */ 331 332 { c_______, 333 c_______, 334 c_______, 335 c_______, 336 c1111111, 337 c_______, 338 c_______, 339 c_______, 340 c_______ }, /* - */ 341 342 { c_______, 343 c_______, 344 c_______, 345 c_______, 346 c_______, 347 c_______, 348 c_______, 349 c__11___, 350 c__11___ }, /* . */ 351 352 { c_______, 353 c______1, 354 c_____1_, 355 c____1__, 356 c___1___, 357 c__1____, 358 c_1_____, 359 c1______, 360 c_______ }, /* / */ 361 362 { c_11111_, 363 c1_____1, 364 c1____11, 365 c1___1_1, 366 c1__1__1, 367 c1_1___1, 368 c11____1, 369 c1_____1, 370 c_11111_ }, /* 0 */ 371 372 { c___1___, 373 c__11___, 374 c_1_1___, 375 c___1___, 376 c___1___, 377 c___1___, 378 c___1___, 379 c___1___, 380 c_11111_ }, /* 1 */ 381 382 { c_11111_, 383 c1_____1, 384 c______1, 385 c_____1_, 386 c__111__, 387 c_1_____, 388 c1______, 389 c1______, 390 c1111111 }, /* 2 */ 391 392 { c_11111_, 393 c1_____1, 394 c______1, 395 c______1, 396 c__1111_, 397 c______1, 398 c______1, 399 c1_____1, 400 c_11111_ }, /* 3 */ 401 402 { c_____1_, 403 c____11_, 404 c___1_1_, 405 c__1__1_, 406 c_1___1_, 407 c1____1_, 408 c1111111, 409 c_____1_, 410 c_____1_ }, /* 4 */ 411 412 { c1111111, 413 c1______, 414 c1______, 415 c11111__, 416 c_____1_, 417 c______1, 418 c______1, 419 c1____1_, 420 c_1111__ }, /* 5 */ 421 422 { c__1111_, 423 c_1_____, 424 c1______, 425 c1______, 426 c1_1111_, 427 c11____1, 428 c1_____1, 429 c1_____1, 430 c_11111_ }, /* 6 */ 431 432 { c1111111, 433 c1_____1, 434 c_____1_, 435 c____1__, 436 c___1___, 437 c__1____, 438 c__1____, 439 c__1____, 440 c__1____ }, /* 7 */ 441 442 { c_11111_, 443 c1_____1, 444 c1_____1, 445 c1_____1, 446 c_11111_, 447 c1_____1, 448 c1_____1, 449 c1_____1, 450 c_11111_ }, /* 8 */ 451 452 { c_11111_, 453 c1_____1, 454 c1_____1, 455 c1_____1, 456 c_111111, 457 c______1, 458 c______1, 459 c1_____1, 460 c_1111__ }, /* 9 */ 461 462 { c_______, 463 c_______, 464 c_______, 465 c__11___, 466 c__11___, 467 c_______, 468 c_______, 469 c__11___, 470 c__11___ }, /* : */ 471 472 473 { c__11___, 474 c__11___, 475 c_______, 476 c_______, 477 c__11___, 478 c__11___, 479 c__1____, 480 c_1_____, 481 c_______ }, /* ; */ 482 483 { c____1__, 484 c___1___, 485 c__1____, 486 c_1_____, 487 c1______, 488 c_1_____, 489 c__1____, 490 c___1___, 491 c____1__ }, /* < */ 492 493 { c_______, 494 c_______, 495 c_______, 496 c1111111, 497 c_______, 498 c1111111, 499 c_______, 500 c_______, 501 c_______ }, /* = */ 502 503 { c__1____, 504 c___1___, 505 c____1__, 506 c_____1_, 507 c______1, 508 c_____1_, 509 c____1__, 510 c___1___, 511 c__1____ }, /* > */ 512 513 { c__1111_, 514 c_1____1, 515 c_1____1, 516 c______1, 517 c____11_, 518 c___1___, 519 c___1___, 520 c_______, 521 c___1___ }, /* ? */ 522 523 { c__1111_, 524 c_1____1, 525 c1__11_1, 526 c1_1_1_1, 527 c1_1_1_1, 528 c1_1111_, 529 c1______, 530 c_1____1, 531 c__1111_ }, /* @ */ 532 533 { c__111__, 534 c_1___1_, 535 c1_____1, 536 c1_____1, 537 c1111111, 538 c1_____1, 539 c1_____1, 540 c1_____1, 541 c1_____1 }, /* A */ 542 543 { c111111_, 544 c_1____1, 545 c_1____1, 546 c_1____1, 547 c_11111_, 548 c_1____1, 549 c_1____1, 550 c_1____1, 551 c111111_ }, /* B */ 552 553 { c__1111_, 554 c_1____1, 555 c1______, 556 c1______, 557 c1______, 558 c1______, 559 c1______, 560 c_1____1, 561 c__1111_ }, /* C */ 562 563 { c11111__, 564 c_1___1_, 565 c_1____1, 566 c_1____1, 567 c_1____1, 568 c_1____1, 569 c_1____1, 570 c_1___1_, 571 c11111__ }, /* D */ 572 573 { c1111111, 574 c1______, 575 c1______, 576 c1______, 577 c111111_, 578 c1______, 579 c1______, 580 c1______, 581 c1111111 }, /* E */ 582 583 { c1111111, 584 c1______, 585 c1______, 586 c1______, 587 c111111_, 588 c1______, 589 c1______, 590 c1______, 591 c1______ }, /* F */ 592 593 { c__1111_, 594 c_1____1, 595 c1______, 596 c1______, 597 c1______, 598 c1__1111, 599 c1_____1, 600 c_1____1, 601 c__1111_ }, /* G */ 602 603 { c1_____1, 604 c1_____1, 605 c1_____1, 606 c1_____1, 607 c1111111, 608 c1_____1, 609 c1_____1, 610 c1_____1, 611 c1_____1 }, /* H */ 612 613 { c_11111_, 614 c___1___, 615 c___1___, 616 c___1___, 617 c___1___, 618 c___1___, 619 c___1___, 620 c___1___, 621 c_11111_ }, /* I */ 622 623 { c__11111, 624 c____1__, 625 c____1__, 626 c____1__, 627 c____1__, 628 c____1__, 629 c____1__, 630 c1___1__, 631 c_111___ }, /* J */ 632 633 { c1_____1, 634 c1____1_, 635 c1___1__, 636 c1__1___, 637 c1_1____, 638 c11_1___, 639 c1___1__, 640 c1____1_, 641 c1_____1 }, /* K */ 642 643 { c1______, 644 c1______, 645 c1______, 646 c1______, 647 c1______, 648 c1______, 649 c1______, 650 c1______, 651 c1111111 }, /* L */ 652 653 { c1_____1, 654 c11___11, 655 c1_1_1_1, 656 c1__1__1, 657 c1_____1, 658 c1_____1, 659 c1_____1, 660 c1_____1, 661 c1_____1 }, /* M */ 662 663 { c1_____1, 664 c11____1, 665 c1_1___1, 666 c1__1__1, 667 c1___1_1, 668 c1____11, 669 c1_____1, 670 c1_____1, 671 c1_____1 }, /* N */ 672 673 { c__111__, 674 c_1___1_, 675 c1_____1, 676 c1_____1, 677 c1_____1, 678 c1_____1, 679 c1_____1, 680 c_1___1_, 681 c__111__ }, /* O */ 682 683 { c111111_, 684 c1_____1, 685 c1_____1, 686 c1_____1, 687 c111111_, 688 c1______, 689 c1______, 690 c1______, 691 c1______ }, /* P */ 692 693 { c__111__, 694 c_1___1_, 695 c1_____1, 696 c1_____1, 697 c1_____1, 698 c1__1__1, 699 c1___1_1, 700 c_1___1_, 701 c__111_1 }, /* Q */ 702 703 { c111111_, 704 c1_____1, 705 c1_____1, 706 c1_____1, 707 c111111_, 708 c1__1___, 709 c1___1__, 710 c1____1_, 711 c1_____1 }, /* R */ 712 713 { c_11111_, 714 c1_____1, 715 c1______, 716 c1______, 717 c_11111_, 718 c______1, 719 c______1, 720 c1_____1, 721 c_11111_ }, /* S */ 722 723 { c1111111, 724 c___1___, 725 c___1___, 726 c___1___, 727 c___1___, 728 c___1___, 729 c___1___, 730 c___1___, 731 c___1___ }, /* T */ 732 733 { c1_____1, 734 c1_____1, 735 c1_____1, 736 c1_____1, 737 c1_____1, 738 c1_____1, 739 c1_____1, 740 c1_____1, 741 c_11111_ }, /* U */ 742 743 { c1_____1, 744 c1_____1, 745 c1_____1, 746 c_1___1_, 747 c_1___1_, 748 c__1_1__, 749 c__1_1__, 750 c___1___, 751 c___1___ }, /* V */ 752 753 { c1_____1, 754 c1_____1, 755 c1_____1, 756 c1_____1, 757 c1__1__1, 758 c1__1__1, 759 c1_1_1_1, 760 c11___11, 761 c1_____1 }, /* W */ 762 763 { c1_____1, 764 c1_____1, 765 c_1___1_, 766 c__1_1__, 767 c___1___, 768 c__1_1__, 769 c_1___1_, 770 c1_____1, 771 c1_____1 }, /* X */ 772 773 { c1_____1, 774 c1_____1, 775 c_1___1_, 776 c__1_1__, 777 c___1___, 778 c___1___, 779 c___1___, 780 c___1___, 781 c___1___ }, /* Y */ 782 783 { c1111111, 784 c______1, 785 c_____1_, 786 c____1__, 787 c___1___, 788 c__1____, 789 c_1_____, 790 c1______, 791 c1111111 }, /* Z */ 792 793 { c_1111__, 794 c_1_____, 795 c_1_____, 796 c_1_____, 797 c_1_____, 798 c_1_____, 799 c_1_____, 800 c_1_____, 801 c_1111__ }, /* [ */ 802 803 { c_______, 804 c1______, 805 c_1_____, 806 c__1____, 807 c___1___, 808 c____1__, 809 c_____1_, 810 c______1, 811 c_______ }, /* \ */ 812 813 { c__1111_, 814 c_____1_, 815 c_____1_, 816 c_____1_, 817 c_____1_, 818 c_____1_, 819 c_____1_, 820 c_____1_, 821 c__1111_ }, /* ] */ 822 823 { c___1___, 824 c__1_1__, 825 c_1___1_, 826 c1_____1, 827 c_______, 828 c_______, 829 c_______, 830 c_______ }, /* ^ */ 831 832 { c_______, 833 c_______, 834 c_______, 835 c_______, 836 c_______, 837 c_______, 838 c_______, 839 c1111111, 840 c_______ }, /* _ */ 841 842 { c__11___, 843 c__11___, 844 c___1___, 845 c____1__, 846 c_______, 847 c_______, 848 c_______, 849 c_______, 850 c_______ }, /* ` */ 851 852 { c_______, 853 c_______, 854 c_______, 855 c_1111__, 856 c_____1_, 857 c_11111_, 858 c1_____1, 859 c1____11, 860 c_1111_1 }, /* a */ 861 862 { c1______, 863 c1______, 864 c1______, 865 c1_111__, 866 c11___1_, 867 c1_____1, 868 c1_____1, 869 c11___1_, 870 c1_111__ }, /* b */ 871 872 { c_______, 873 c_______, 874 c_______, 875 c_1111__, 876 c1____1_, 877 c1______, 878 c1______, 879 c1____1_, 880 c_1111__ }, /* c */ 881 882 { c_____1_, 883 c_____1_, 884 c_____1_, 885 c_111_1_, 886 c1___11_, 887 c1____1_, 888 c1____1_, 889 c1___11_, 890 c_111_1_ }, /* d */ 891 892 { c_______, 893 c_______, 894 c_______, 895 c_1111__, 896 c1____1_, 897 c111111_, 898 c1______, 899 c1____1_, 900 c_1111__ }, /* e */ 901 902 { c___11__, 903 c__1__1_, 904 c__1____, 905 c__1____, 906 c11111__, 907 c__1____, 908 c__1____, 909 c__1____, 910 c__1____ }, /* f */ 911 912 { c_111_1_, 913 c1___11_, 914 c1____1_, 915 c1____1_, 916 c1___11_, 917 c_111_1_, 918 c_____1_, 919 c1____1_, 920 c_1111__ }, /* g */ 921 922 { c1______, 923 c1______, 924 c1______, 925 c1_111__, 926 c11___1_, 927 c1____1_, 928 c1____1_, 929 c1____1_, 930 c1____1_ }, /* h */ 931 932 { c_______, 933 c___1___, 934 c_______, 935 c__11___, 936 c___1___, 937 c___1___, 938 c___1___, 939 c___1___, 940 c__111__ }, /* i */ 941 942 { c____11_, 943 c_____1_, 944 c_____1_, 945 c_____1_, 946 c_____1_, 947 c_____1_, 948 c_____1_, 949 c_1___1_, 950 c__111__ }, /* j */ 951 952 { c1______, 953 c1______, 954 c1______, 955 c1___1__, 956 c1__1___, 957 c1_1____, 958 c11_1___, 959 c1___1__, 960 c1____1_ }, /* k */ 961 962 { c__11___, 963 c___1___, 964 c___1___, 965 c___1___, 966 c___1___, 967 c___1___, 968 c___1___, 969 c___1___, 970 c__111__ }, /* l */ 971 972 { c_______, 973 c_______, 974 c_______, 975 c1_1_11_, 976 c11_1__1, 977 c1__1__1, 978 c1__1__1, 979 c1__1__1, 980 c1__1__1 }, /* m */ 981 982 { c_______, 983 c_______, 984 c_______, 985 c1_111__, 986 c11___1_, 987 c1____1_, 988 c1____1_, 989 c1____1_, 990 c1____1_ }, /* n */ 991 992 { c_______, 993 c_______, 994 c_______, 995 c_1111__, 996 c1____1_, 997 c1____1_, 998 c1____1_, 999 c1____1_, 1000 c_1111__ }, /* o */ 1001 1002 { c1_111__, 1003 c11___1_, 1004 c1____1_, 1005 c1____1_, 1006 c11___1_, 1007 c1_111__, 1008 c1______, 1009 c1______, 1010 c1______ }, /* p */ 1011 1012 { c_111_1_, 1013 c1___11_, 1014 c1____1_, 1015 c1____1_, 1016 c1___11_, 1017 c_111_1_, 1018 c_____1_, 1019 c_____1_, 1020 c_____1_ }, /* q */ 1021 1022 { c_______, 1023 c_______, 1024 c_______, 1025 c1_111__, 1026 c11___1_, 1027 c1______, 1028 c1______, 1029 c1______, 1030 c1______ }, /* r */ 1031 1032 { c_______, 1033 c_______, 1034 c_______, 1035 c_1111__, 1036 c1____1_, 1037 c_11____, 1038 c___11__, 1039 c1____1_, 1040 c_1111__ }, /* s */ 1041 1042 { c_______, 1043 c__1____, 1044 c__1____, 1045 c11111__, 1046 c__1____, 1047 c__1____, 1048 c__1____, 1049 c__1__1_, 1050 c___11__ }, /* t */ 1051 1052 { c_______, 1053 c_______, 1054 c_______, 1055 c1____1_, 1056 c1____1_, 1057 c1____1_, 1058 c1____1_, 1059 c1___11_, 1060 c_111_1_ }, /* u */ 1061 1062 { c_______, 1063 c_______, 1064 c_______, 1065 c1_____1, 1066 c1_____1, 1067 c1_____1, 1068 c_1___1_, 1069 c__1_1__, 1070 c___1___ }, /* v */ 1071 1072 { c_______, 1073 c_______, 1074 c_______, 1075 c1_____1, 1076 c1__1__1, 1077 c1__1__1, 1078 c1__1__1, 1079 c1__1__1, 1080 c_11_11_ }, /* w */ 1081 1082 { c_______, 1083 c_______, 1084 c_______, 1085 c1____1_, 1086 c_1__1__, 1087 c__11___, 1088 c__11___, 1089 c_1__1__, 1090 c1____1_ }, /* x */ 1091 1092 { c1____1_, 1093 c1____1_, 1094 c1____1_, 1095 c1____1_, 1096 c1___11_, 1097 c_111_1_, 1098 c_____1_, 1099 c1____1_, 1100 c_1111__ }, /* y */ 1101 1102 { c_______, 1103 c_______, 1104 c_______, 1105 c111111_, 1106 c____1__, 1107 c___1___, 1108 c__1____, 1109 c_1_____, 1110 c111111_ }, /* z */ 1111 1112 { c___11__, 1113 c__1____, 1114 c__1____, 1115 c__1____, 1116 c_1_____, 1117 c__1____, 1118 c__1____, 1119 c__1____, 1120 c___11__ }, /* } */ 1121 1122 { c___1___, 1123 c___1___, 1124 c___1___, 1125 c___1___, 1126 c___1___, 1127 c___1___, 1128 c___1___, 1129 c___1___, 1130 c___1___ }, /* | */ 1131 1132 { c__11___, 1133 c____1__, 1134 c____1__, 1135 c____1__, 1136 c_____1_, 1137 c____1__, 1138 c____1__, 1139 c____1__, 1140 c__11___ }, /* } */ 1141 1142 { c_11____, 1143 c1__1__1, 1144 c____11_, 1145 c_______, 1146 c_______, 1147 c_______, 1148 c_______, 1149 c_______, 1150 c_______ }, /* ~ */ 1151 1152 { c_1__1__, 1153 c1__1__1, 1154 c__1__1_, 1155 c_1__1__, 1156 c1__1__1, 1157 c__1__1_, 1158 c_1__1__, 1159 c1__1__1, 1160 c__1__1_ } /* rub-out */ 1161 1162#else /* LPD_CHSET */ 1163 1164 /* <sjg> this is the real banner char set */ 1165 { 1166 c_______, 1167 c_______, 1168 c_______, 1169 c_______, 1170 c_______, 1171 c_______, 1172 c_______, 1173 c_______ 1174 }, /* */ 1175 1176 { 1177 c__111__, 1178 c__111__, 1179 c__111__, 1180 c___1___, 1181 c_______, 1182 c__111__, 1183 c__111__, 1184 c_______ 1185 }, /* ! */ 1186 { 1187 c111_111, 1188 c111_111, 1189 c_1___1_, 1190 c_______, 1191 c_______, 1192 c_______, 1193 c_______, 1194 c_______ 1195 }, /* " */ 1196 { 1197 c__1_1__, 1198 c__1_1__, 1199 c1111111, 1200 c__1_1__, 1201 c1111111, 1202 c__1_1__, 1203 c__1_1__, 1204 c_______ 1205 }, /* # */ 1206 { 1207 c_11111_, 1208 c1__1__1, 1209 c1__1___, 1210 c_11111_, 1211 c___1__1, 1212 c1__1__1, 1213 c_11111_, 1214 c_______ 1215 }, /* $ */ 1216 { 1217 c111___1, 1218 c1_1__1_, 1219 c111_1__, 1220 c___1___, 1221 c__1_111, 1222 c_1__1_1, 1223 c1___111, 1224 c_______ 1225 }, /* % */ 1226 { 1227 c__11___, 1228 c_1__1__, 1229 c__11___, 1230 c_111___, 1231 c1___1_1, 1232 c1____1_, 1233 c_111__1, 1234 c_______ 1235 }, /* & */ 1236 { 1237 c__111__, 1238 c__111__, 1239 c___1___, 1240 c__1____, 1241 c_______, 1242 c_______, 1243 c_______, 1244 c_______ 1245 }, /* ' */ 1246 { 1247 c___11__, 1248 c__1____, 1249 c_1_____, 1250 c_1_____, 1251 c_1_____, 1252 c__1____, 1253 c___11__, 1254 c_______ 1255 }, /* ( */ 1256 { 1257 c__11___, 1258 c____1__, 1259 c_____1_, 1260 c_____1_, 1261 c_____1_, 1262 c____1__, 1263 c__11___, 1264 c_______ 1265 }, /* ) */ 1266 { 1267 c_______, 1268 c_1___1_, 1269 c__1_1__, 1270 c1111111, 1271 c__1_1__, 1272 c_1___1_, 1273 c_______, 1274 c_______ 1275 }, /* * */ 1276 { 1277 c_______, 1278 c___1___, 1279 c___1___, 1280 c_11111_, 1281 c___1___, 1282 c___1___, 1283 c_______, 1284 c_______ 1285 }, /* + */ 1286 { 1287 c_______, 1288 c_______, 1289 c_______, 1290 c__111__, 1291 c__111__, 1292 c___1___, 1293 c__1____, 1294 c_______ 1295 }, /* , */ 1296 { 1297 c_______, 1298 c_______, 1299 c_______, 1300 c_11111_, 1301 c_______, 1302 c_______, 1303 c_______, 1304 c_______ 1305 }, /* - */ 1306 { 1307 c_______, 1308 c_______, 1309 c_______, 1310 c_______, 1311 c__111__, 1312 c__111__, 1313 c__111__, 1314 c_______ 1315 }, /* . */ 1316 { 1317 c______1, 1318 c_____1_, 1319 c____1__, 1320 c___1___, 1321 c__1____, 1322 c_1_____, 1323 c1______, 1324 c_______ 1325 }, /* / */ 1326 { 1327 c__111__, 1328 c_1___1_, 1329 c1_____1, 1330 c1_____1, 1331 c1_____1, 1332 c_1___1_, 1333 c__111__, 1334 c_______ 1335 }, /* 0 */ 1336 { 1337 c___1___, 1338 c__11___, 1339 c_1_1___, 1340 c___1___, 1341 c___1___, 1342 c___1___, 1343 c_11111_, 1344 c_______ 1345 }, /* 1 */ 1346 { 1347 c_11111_, 1348 c1_____1, 1349 c______1, 1350 c_11111_, 1351 c1______, 1352 c1______, 1353 c1111111, 1354 c_______ 1355 }, /* 2 */ 1356 { 1357 c_11111_, 1358 c1_____1, 1359 c______1, 1360 c_11111_, 1361 c______1, 1362 c1_____1, 1363 c_11111_, 1364 c_______ 1365 }, /* 3 */ 1366 { 1367 c1______, 1368 c1____1_, 1369 c1____1_, 1370 c1____1_, 1371 c1111111, 1372 c_____1_, 1373 c_____1_, 1374 c_______ 1375 }, /* 4 */ 1376 { 1377 c1111111, 1378 c1______, 1379 c1______, 1380 c111111_, 1381 c______1, 1382 c1_____1, 1383 c_11111_, 1384 c_______ 1385 }, /* 5 */ 1386 { 1387 c_11111_, 1388 c1_____1, 1389 c1______, 1390 c111111_, 1391 c1_____1, 1392 c1_____1, 1393 c_11111_, 1394 c_______ 1395 }, /* 6 */ 1396 { 1397 c1111111, 1398 c1____1_, 1399 c____1__, 1400 c___1___, 1401 c__1____, 1402 c__1____, 1403 c__1____, 1404 c_______ 1405 }, /* 7 */ 1406 { 1407 c_11111_, 1408 c1_____1, 1409 c1_____1, 1410 c_11111_, 1411 c1_____1, 1412 c1_____1, 1413 c_11111_, 1414 c_______ 1415 }, /* 8 */ 1416 { 1417 c_11111_, 1418 c1_____1, 1419 c1_____1, 1420 c_111111, 1421 c______1, 1422 c1_____1, 1423 c_11111_, 1424 c_______ 1425 }, /* 9 */ 1426 { 1427 c___1___, 1428 c__111__, 1429 c___1___, 1430 c_______, 1431 c___1___, 1432 c__111__, 1433 c___1___, 1434 c_______ 1435 }, /* : */ 1436 { 1437 c__111__, 1438 c__111__, 1439 c_______, 1440 c__111__, 1441 c__111__, 1442 c___1___, 1443 c__1____, 1444 c_______ 1445 }, /* ; */ 1446 { 1447 c____1__, 1448 c___1___, 1449 c__1____, 1450 c_1_____, 1451 c__1____, 1452 c___1___, 1453 c____1__, 1454 c_______ 1455 }, /* < */ 1456 { 1457 c_______, 1458 c_______, 1459 c_11111_, 1460 c_______, 1461 c_11111_, 1462 c_______, 1463 c_______, 1464 c_______ 1465 }, /* = */ 1466 { 1467 c__1____, 1468 c___1___, 1469 c____1__, 1470 c_____1_, 1471 c____1__, 1472 c___1___, 1473 c__1____, 1474 c_______ 1475 }, /* > */ 1476 { 1477 c_11111_, 1478 c1_____1, 1479 c______1, 1480 c___111_, 1481 c___1___, 1482 c_______, 1483 c___1___, 1484 c_______ 1485 }, /* ? */ 1486 { 1487 c_11111_, 1488 c1_____1, 1489 c1_111_1, 1490 c1_111_1, 1491 c1_1111_, 1492 c1______, 1493 c_11111_, 1494 c_______ 1495 }, /* @ */ 1496 { 1497 c___1___, 1498 c__1_1__, 1499 c_1___1_, 1500 c1_____1, 1501 c1111111, 1502 c1_____1, 1503 c1_____1, 1504 c_______ 1505 }, /* A */ 1506 { 1507 c111111_, 1508 c1_____1, 1509 c1_____1, 1510 c111111_, 1511 c1_____1, 1512 c1_____1, 1513 c111111_, 1514 c_______ 1515 }, /* B */ 1516 { 1517 c_11111_, 1518 c1_____1, 1519 c1______, 1520 c1______, 1521 c1______, 1522 c1_____1, 1523 c_11111_, 1524 c_______ 1525 }, /* C */ 1526 { 1527 c111111_, 1528 c1_____1, 1529 c1_____1, 1530 c1_____1, 1531 c1_____1, 1532 c1_____1, 1533 c111111_, 1534 c_______ 1535 }, /* D */ 1536 { 1537 c1111111, 1538 c1______, 1539 c1______, 1540 c11111__, 1541 c1______, 1542 c1______, 1543 c1111111, 1544 c_______ 1545 }, /* E */ 1546 { 1547 c1111111, 1548 c1______, 1549 c1______, 1550 c11111__, 1551 c1______, 1552 c1______, 1553 c1______, 1554 c_______ 1555 }, /* F */ 1556 { 1557 c_11111_, 1558 c1_____1, 1559 c1______, 1560 c1__1111, 1561 c1_____1, 1562 c1_____1, 1563 c_11111_, 1564 c_______ 1565 }, /* G */ 1566 { 1567 c1_____1, 1568 c1_____1, 1569 c1_____1, 1570 c1111111, 1571 c1_____1, 1572 c1_____1, 1573 c1_____1, 1574 c_______ 1575 }, /* H */ 1576 { 1577 c__111__, 1578 c___1___, 1579 c___1___, 1580 c___1___, 1581 c___1___, 1582 c___1___, 1583 c__111__, 1584 c_______ 1585 }, /* I */ 1586 { 1587 c______1, 1588 c______1, 1589 c______1, 1590 c______1, 1591 c1_____1, 1592 c1_____1, 1593 c_11111_, 1594 c_______ 1595 }, /* J */ 1596 { 1597 c1____1_, 1598 c1___1__, 1599 c1__1___, 1600 c111____, 1601 c1__1___, 1602 c1___1__, 1603 c1____1_, 1604 c_______ 1605 }, /* K */ 1606 { 1607 c1______, 1608 c1______, 1609 c1______, 1610 c1______, 1611 c1______, 1612 c1______, 1613 c1111111, 1614 c_______ 1615 }, /* L */ 1616 { 1617 c1_____1, 1618 c11___11, 1619 c1_1_1_1, 1620 c1__1__1, 1621 c1_____1, 1622 c1_____1, 1623 c1_____1, 1624 c_______ 1625 }, /* M */ 1626 { 1627 c1_____1, 1628 c11____1, 1629 c1_1___1, 1630 c1__1__1, 1631 c1___1_1, 1632 c1____11, 1633 c1_____1, 1634 c_______ 1635 }, /* N */ 1636 { 1637 c1111111, 1638 c1_____1, 1639 c1_____1, 1640 c1_____1, 1641 c1_____1, 1642 c1_____1, 1643 c1111111, 1644 c_______ 1645 }, /* O */ 1646 { 1647 c111111_, 1648 c1_____1, 1649 c1_____1, 1650 c111111_, 1651 c1______, 1652 c1______, 1653 c1______, 1654 c_______ 1655 }, /* P */ 1656 { 1657 c_11111_, 1658 c1_____1, 1659 c1_____1, 1660 c1_____1, 1661 c1___1_1, 1662 c1____1_, 1663 c_1111_1, 1664 c_______ 1665 }, /* Q */ 1666 { 1667 c111111_, 1668 c1_____1, 1669 c1_____1, 1670 c111111_, 1671 c1___1__, 1672 c1____1_, 1673 c1_____1, 1674 c_______ 1675 }, /* R */ 1676 { 1677 c_11111_, 1678 c1_____1, 1679 c1______, 1680 c_11111_, 1681 c______1, 1682 c1_____1, 1683 c_11111_, 1684 c_______ 1685 }, /* S */ 1686 { 1687 c1111111, 1688 c___1___, 1689 c___1___, 1690 c___1___, 1691 c___1___, 1692 c___1___, 1693 c___1___, 1694 c_______ 1695 }, /* T */ 1696 { 1697 c1_____1, 1698 c1_____1, 1699 c1_____1, 1700 c1_____1, 1701 c1_____1, 1702 c1_____1, 1703 c_11111_, 1704 c_______ 1705 }, /* U */ 1706 { 1707 c1_____1, 1708 c1_____1, 1709 c1_____1, 1710 c1_____1, 1711 c_1___1_, 1712 c__1_1__, 1713 c___1___, 1714 c_______ 1715 }, /* V */ 1716 { 1717 c1_____1, 1718 c1__1__1, 1719 c1__1__1, 1720 c1__1__1, 1721 c1__1__1, 1722 c1__1__1, 1723 c_11_11_, 1724 c_______ 1725 }, /* W */ 1726 { 1727 c1_____1, 1728 c_1___1_, 1729 c__1_1__, 1730 c___1___, 1731 c__1_1__, 1732 c_1___1_, 1733 c1_____1, 1734 c_______ 1735 }, /* X */ 1736 { 1737 c1_____1, 1738 c_1___1_, 1739 c__1_1__, 1740 c___1___, 1741 c___1___, 1742 c___1___, 1743 c___1___, 1744 c_______ 1745 }, /* Y */ 1746 { 1747 c1111111, 1748 c_____1_, 1749 c____1__, 1750 c___1___, 1751 c__1____, 1752 c_1_____, 1753 c1111111, 1754 c_______ 1755 }, /* Z */ 1756 { 1757 c_11111_, 1758 c_1_____, 1759 c_1_____, 1760 c_1_____, 1761 c_1_____, 1762 c_1_____, 1763 c_11111_, 1764 c_______ 1765 }, /* [ */ 1766 { 1767 c1______, 1768 c_1_____, 1769 c__1____, 1770 c___1___, 1771 c____1__, 1772 c_____1_, 1773 c______1, 1774 c_______ 1775 }, /* \ */ 1776 { 1777 c_11111_, 1778 c_____1_, 1779 c_____1_, 1780 c_____1_, 1781 c_____1_, 1782 c_____1_, 1783 c_11111_, 1784 c_______ 1785 }, /* ] */ 1786 { 1787 c___1___, 1788 c__1_1__, 1789 c_1___1_, 1790 c_______, 1791 c_______, 1792 c_______, 1793 c_______, 1794 c_______ 1795 }, /* ^ */ 1796 { 1797 c_______, 1798 c_______, 1799 c_______, 1800 c_______, 1801 c_______, 1802 c_______, 1803 c1111111, 1804 c_______ 1805 }, /* _ */ 1806 { 1807 c__111__, 1808 c__111__, 1809 c___1___, 1810 c____1__, 1811 c_______, 1812 c_______, 1813 c_______, 1814 c_______ 1815 }, /* ` */ 1816 { 1817 c_______, 1818 c___11__, 1819 c__1__1_, 1820 c_1____1, 1821 c_111111, 1822 c_1____1, 1823 c_1____1, 1824 c_______ 1825 }, /* a */ 1826 { 1827 c_______, 1828 c_11111_, 1829 c_1____1, 1830 c_11111_, 1831 c_1____1, 1832 c_1____1, 1833 c_11111_, 1834 c_______ 1835 }, /* b */ 1836 { 1837 c_______, 1838 c__1111_, 1839 c_1____1, 1840 c_1_____, 1841 c_1_____, 1842 c_1____1, 1843 c__1111_, 1844 c_______ 1845 }, /* c */ 1846 { 1847 c_______, 1848 c_11111_, 1849 c_1____1, 1850 c_1____1, 1851 c_1____1, 1852 c_1____1, 1853 c_11111_, 1854 c_______ 1855 }, /* d */ 1856 { 1857 c_______, 1858 c_111111, 1859 c_1_____, 1860 c_11111_, 1861 c_1_____, 1862 c_1_____, 1863 c_111111, 1864 c_______ 1865 }, /* e */ 1866 { 1867 c_______, 1868 c_111111, 1869 c_1_____, 1870 c_11111_, 1871 c_1_____, 1872 c_1_____, 1873 c_1_____, 1874 c_______ 1875 }, /* f */ 1876 { 1877 c_______, 1878 c__1111_, 1879 c_1____1, 1880 c_1_____, 1881 c_1__111, 1882 c_1____1, 1883 c__1111_, 1884 c_______ 1885 }, /* g */ 1886 { 1887 c_______, 1888 c_1____1, 1889 c_1____1, 1890 c_111111, 1891 c_1____1, 1892 c_1____1, 1893 c_1____1, 1894 c_______ 1895 }, /* h */ 1896 { 1897 c_______, 1898 c____1__, 1899 c____1__, 1900 c____1__, 1901 c____1__, 1902 c____1__, 1903 c____1__, 1904 c_______ 1905 }, /* i */ 1906 { 1907 c_______, 1908 c______1, 1909 c______1, 1910 c______1, 1911 c______1, 1912 c_1____1, 1913 c__1111_, 1914 c_______ 1915 }, /* j */ 1916 { 1917 c_______, 1918 c_1____1, 1919 c_1___1_, 1920 c_1111__, 1921 c_1__1__, 1922 c_1___1_, 1923 c_1____1, 1924 c_______ 1925 }, /* k */ 1926 { 1927 c_______, 1928 c_1_____, 1929 c_1_____, 1930 c_1_____, 1931 c_1_____, 1932 c_1_____, 1933 c_111111, 1934 c_______ 1935 }, /* l */ 1936 { 1937 c_______, 1938 c_1____1, 1939 c_11__11, 1940 c_1_11_1, 1941 c_1____1, 1942 c_1____1, 1943 c_1____1, 1944 c_______ 1945 }, /* m */ 1946 { 1947 c_______, 1948 c_1____1, 1949 c_11___1, 1950 c_1_1__1, 1951 c_1__1_1, 1952 c_1___11, 1953 c_1____1, 1954 c_______ 1955 }, /* n */ 1956 { 1957 c_______, 1958 c__1111_, 1959 c_1____1, 1960 c_1____1, 1961 c_1____1, 1962 c_1____1, 1963 c__1111_, 1964 c_______ 1965 }, /* o */ 1966 { 1967 c_______, 1968 c_11111_, 1969 c_1____1, 1970 c_1____1, 1971 c_11111_, 1972 c_1_____, 1973 c_1_____, 1974 c_______ 1975 }, /* p */ 1976 { 1977 c_______, 1978 c__1111_, 1979 c_1____1, 1980 c_1____1, 1981 c_1__1_1, 1982 c_1___1_, 1983 c__111_1, 1984 c_______ 1985 }, /* q */ 1986 { 1987 c_______, 1988 c_11111_, 1989 c_1____1, 1990 c_1____1, 1991 c_11111_, 1992 c_1___1_, 1993 c_1____1, 1994 c_______ 1995 }, /* r */ 1996 { 1997 c_______, 1998 c__1111_, 1999 c_1_____, 2000 c__1111_, 2001 c______1, 2002 c_1____1, 2003 c__1111_, 2004 c_______ 2005 }, /* s */ 2006 { 2007 c_______, 2008 c__11111, 2009 c____1__, 2010 c____1__, 2011 c____1__, 2012 c____1__, 2013 c____1__, 2014 c_______ 2015 }, /* t */ 2016 { 2017 c_______, 2018 c_1____1, 2019 c_1____1, 2020 c_1____1, 2021 c_1____1, 2022 c_1____1, 2023 c__1111_, 2024 c_______ 2025 }, /* u */ 2026 { 2027 c_______, 2028 c_1____1, 2029 c_1____1, 2030 c_1____1, 2031 c_1____1, 2032 c__1__1_, 2033 c___11__, 2034 c_______ 2035 }, /* v */ 2036 { 2037 c_______, 2038 c_1____1, 2039 c_1____1, 2040 c_1____1, 2041 c_1_11_1, 2042 c_11__11, 2043 c_1____1, 2044 c_______ 2045 }, /* w */ 2046 { 2047 c_______, 2048 c_1____1, 2049 c__1__1_, 2050 c___11__, 2051 c___11__, 2052 c__1__1_, 2053 c_1____1, 2054 c_______ 2055 }, /* x */ 2056 { 2057 c_______, 2058 c__1___1, 2059 c___1_1_, 2060 c____1__, 2061 c____1__, 2062 c____1__, 2063 c____1__, 2064 c_______ 2065 }, /* y */ 2066 { 2067 c_______, 2068 c_111111, 2069 c_____1_, 2070 c____1__, 2071 c___1___, 2072 c__1____, 2073 c_111111, 2074 c_______ 2075 }, /* z */ 2076 { 2077 c__111__, 2078 c_1_____, 2079 c_1_____, 2080 c11_____, 2081 c_1_____, 2082 c_1_____, 2083 c__111__, 2084 c_______ 2085 }, /* { */ 2086 { 2087 c___1___, 2088 c___1___, 2089 c___1___, 2090 c_______, 2091 c___1___, 2092 c___1___, 2093 c___1___, 2094 c_______ 2095 }, /* | */ 2096 { 2097 c__111__, 2098 c_____1_, 2099 c_____1_, 2100 c_____11, 2101 c_____1_, 2102 c_____1_, 2103 c__111__, 2104 c_______ 2105 }, /* } */ 2106 { 2107 c_11____, 2108 c1__1__1, 2109 c____11_, 2110 c_______, 2111 c_______, 2112 c_______, 2113 c_______, 2114 c_______ 2115 }, /* ~ */ 2116 2117 { 2118 c_1__1__, 2119 c1__1__1, 2120 c__1__1_, 2121 c_1__1__, 2122 c1__1__1, 2123 c__1__1_, 2124 c_1__1__, 2125 c1__1__1 2126 } /* rub-out */ 2127#endif /* LPD_CHSET */ 2128}; 2129 2130