📄 lpdchar.c
字号:
#ifndef lintstatic char *sccsid = "@(#)lpdchar.c 4.1 ULTRIX 7/2/90";#endif/************************************************************************ * * * Copyright (c) 1988 by * * Digital Equipment Corporation, Maynard, MA * * All rights reserved. * * * * This software is furnished under a license and may be used and * * copied only in accordance with the terms of such license and * * with the inclusion of the above copyright notice. This * * software or any other copies thereof may not be provided or * * otherwise made available to any other person. No title to and * * ownership of the software is hereby transferred. * * * * This software is derived from software received from the * * University of California, Berkeley, and from Bell * * Laboratories. Use, duplication, or disclosure is subject to * * restrictions under license agreements with University of * * California and with AT&T. * * * * The information in this software is subject to change without * * notice and should not be construed as a commitment by Digital * * Equipment Corporation. * * * * Digital assumes no responsibility for the use or reliability * * of its software on equipment which is not supplied by Digital. * * * ************************************************************************//* * lpdchar.c -- Character set for line printer daemon *//* SCCS history beginning * *************************************************************** * -- Revision History -- * *************************************************************** * * 1.1 01/11/83 -- sccs * date and time created 83/11/01 20:57:46 by sccs * * *************************************************************** * * 1.2 19/07/88 -- thoms * Added copyright notice and modification history * * SCCS history end */#include "lp.local.h"#define c_______ 0#define c______1 01#define c_____1_ 02#define c____1__ 04#define c____11_ 06#define c___1___ 010#define c___1__1 011#define c___1_1_ 012#define c___11__ 014#define c__1____ 020#define c__1__1_ 022#define c__1_1__ 024#define c__11___ 030#define c__111__ 034#define c__111_1 035#define c__1111_ 036#define c__11111 037#define c_1_____ 040#define c_1____1 041#define c_1___1_ 042#define c_1__1__ 044#define c_1_1___ 050#define c_1_1__1 051#define c_1_1_1_ 052#define c_11____ 060#define c_11_11_ 066#define c_111___ 070#define c_111__1 071#define c_111_1_ 072#define c_1111__ 074#define c_1111_1 075#define c_11111_ 076#define c_111111 077#define c1______ 0100#define c1_____1 0101#define c1____1_ 0102#define c1____11 0103#define c1___1__ 0104#define c1___1_1 0105#define c1___11_ 0106#define c1__1___ 0110#define c1__1__1 0111#define c1__11_1 0115#define c1__1111 0117#define c1_1____ 0120#define c1_1___1 0121#define c1_1_1_1 0125#define c1_1_11_ 0126#define c1_111__ 0134#define c1_1111_ 0136#define c11____1 0141#define c11___1_ 0142#define c11___11 0143#define c11_1___ 0150#define c11_1__1 0151#define c111_11_ 0166#define c1111___ 0170#define c11111__ 0174#define c111111_ 0176#define c1111111 0177char scnkey[][HEIGHT] = /* this is relatively easy to modify */ /* just look: */{ { c_______, c_______, c_______, c_______, c_______, c_______, c_______, c_______, c_______ }, /* */ { c__11___, c__11___, c__11___, c__11___, c__11___, c_______, c_______, c__11___, c__11___ }, /* ! */ { c_1__1__, c_1__1__, c_______, c_______, c_______, c_______, c_______, c_______, c_______ }, /* " */ { c_______, c__1_1__, c__1_1__, c1111111, c__1_1__, c1111111, c__1_1__, c__1_1__, c_______ }, /* # */ { c___1___, c_11111_, c1__1__1, c1__1___, c_11111_, c___1__1, c1__1__1, c_11111_, c___1___ }, /* $ */ { c_1_____, c1_1___1, c_1___1_, c____1__, c___1___, c__1____, c_1___1_, c1___1_1, c_____1_ }, /* % */ { c_11____, c1__1___, c1___1__, c_1_1___, c__1____, c_1_1__1, c1___11_, c1___11_, c_111__1 }, /* & */ { c___11__, c___11__, c___1___, c__1____, c_______, c_______, c_______, c_______, c_______ }, /* ' */ { c____1__, c___1___, c__1____, c__1____, c__1____, c__1____, c__1____, c___1___, c____1__ }, /* ( */ { c__1____, c___1___, c____1__, c____1__, c____1__, c____1__, c____1__, c___1___, c__1____ }, /* ) */ { c_______, c___1___, c1__1__1, c_1_1_1_, c__111__, c_1_1_1_, c1__1__1, c___1___, c_______ }, /* * */ { c_______, c___1___, c___1___, c___1___, c1111111, c___1___, c___1___, c___1___, c_______ }, /* + */ { c_______, c_______, c_______, c_______, c__11___, c__11___, c__1____, c_1_____, c_______ }, /* , */ { c_______, c_______, c_______, c_______, c1111111, c_______, c_______, c_______, c_______ }, /* - */ { c_______, c_______, c_______, c_______, c_______, c_______, c_______, c__11___, c__11___ }, /* . */ { c_______, c______1, c_____1_, c____1__, c___1___, c__1____, c_1_____, c1______, c_______ }, /* / */ { c_11111_, c1_____1, c1____11, c1___1_1, c1__1__1, c1_1___1, c11____1, c1_____1, c_11111_ }, /* 0 */ { c___1___, c__11___, c_1_1___, c___1___, c___1___, c___1___, c___1___, c___1___, c_11111_ }, /* 1 */ { c_11111_, c1_____1, c______1, c_____1_, c__111__, c_1_____, c1______, c1______, c1111111 }, /* 2 */ { c_11111_, c1_____1, c______1, c______1, c__1111_, c______1, c______1, c1_____1, c_11111_ }, /* 3 */ { c_____1_, c____11_, c___1_1_, c__1__1_, c_1___1_, c1____1_, c1111111, c_____1_, c_____1_ }, /* 4 */ { c1111111, c1______, c1______, c11111__, c_____1_, c______1, c______1, c1____1_, c_1111__ }, /* 5 */ { c__1111_, c_1_____, c1______, c1______, c1_1111_, c11____1, c1_____1, c1_____1, c_11111_ }, /* 6 */ { c1111111, c1_____1, c_____1_, c____1__, c___1___, c__1____, c__1____, c__1____, c__1____ }, /* 7 */ { c_11111_, c1_____1, c1_____1, c1_____1, c_11111_, c1_____1, c1_____1, c1_____1, c_11111_ }, /* 8 */ { c_11111_, c1_____1, c1_____1, c1_____1, c_111111, c______1, c______1, c1_____1, c_1111__ }, /* 9 */ { c_______, c_______, c_______, c__11___, c__11___, c_______, c_______, c__11___, c__11___ }, /* : */ { c__11___, c__11___, c_______, c_______, c__11___, c__11___, c__1____, c_1_____, c_______ }, /* ; */ { c____1__, c___1___, c__1____, c_1_____, c1______, c_1_____, c__1____, c___1___, c____1__ }, /* < */ { c_______, c_______, c_______, c1111111, c_______, c1111111, c_______, c_______, c_______ }, /* = */ { c__1____, c___1___, c____1__, c_____1_, c______1, c_____1_, c____1__, c___1___, c__1____ }, /* > */ { c__1111_, c_1____1, c_1____1, c______1, c____11_, c___1___, c___1___, c_______, c___1___ }, /* ? */ { c__1111_, c_1____1, c1__11_1, c1_1_1_1, c1_1_1_1, c1_1111_, c1______, c_1____1, c__1111_ }, /* @ */ { c__111__, c_1___1_, c1_____1, c1_____1, c1111111, c1_____1, c1_____1, c1_____1, c1_____1 }, /* A */ { c111111_, c_1____1, c_1____1, c_1____1, c_11111_, c_1____1, c_1____1, c_1____1, c111111_ }, /* B */ { c__1111_, c_1____1, c1______, c1______, c1______, c1______, c1______, c_1____1, c__1111_ }, /* C */ { c11111__, c_1___1_, c_1____1, c_1____1, c_1____1, c_1____1, c_1____1, c_1___1_, c11111__ }, /* D */ { c1111111, c1______, c1______, c1______, c111111_, c1______, c1______, c1______, c1111111 }, /* E */ { c1111111, c1______, c1______, c1______, c111111_, c1______, c1______, c1______, c1______ }, /* F */ { c__1111_, c_1____1, c1______, c1______, c1______, c1__1111, c1_____1, c_1____1, c__1111_ }, /* G */ { c1_____1, c1_____1, c1_____1, c1_____1, c1111111, c1_____1, c1_____1, c1_____1, c1_____1 }, /* H */ { c_11111_, c___1___, c___1___, c___1___, c___1___, c___1___, c___1___, c___1___, c_11111_ }, /* I */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -