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