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