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