📄 tabln01.c
字号:
/************************************************************************ * * * Copyright (c) 1984 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. * * * ************************************************************************/#define INCH 300/* * LN01 laser printer * nroff driving table * by John Williams */struct { int bset; int breset; int Hor; int Vert; int Newline; int Char; int Em; int Halfline; int Adj; char *twinit; char *twrest; char *twnl; char *hlr; char *hlf; char *flr; char *bdon; char *bdoff; char *ploton; char *plotoff; char *up; char *down; char *right; char *left; char *codetab[256-32]; int zzz; } t = {/*bset*/ 0,/*breset*/ 0,/*Hor 1/300 inch*/ INCH/1,/*Vert1/300 inch*/ INCH/1,/*Newline 6 lines/inch*/ INCH/50,/*Charwidth 1/10inch*/ INCH/30,/*Em*/ INCH/30,/*Halfline*/ INCH/30,/*Adj*/ INCH/1,/*twinit*/ "",/*twrest*/ "",/*twnl*/ "\n",/*hlr*/ "\033L",/*hlf*/ "\033K",/*flr*/ "",/*bdon*/ "",/*bdoff*/ "",/*ploton*/ "",/*plotoff*/ "",/*up*/ "",/*down*/ "\033[50e",/*right*/ "\033[30a",/*left*/ "\b",/*codetab*/"\001 ", /*space*/"\001!", /*!*/"\001\"", /*"*/"\001#", /*#*/"\001$", /*$*/"\001%", /*%*/"\001&", /*&*/"\001'", /*' close*/"\001(", /*(*/"\001)", /*)*/"\001*", /***/"\001+", /*+*/"\001,", /*,*/"\001-", /*-*/"\001.", /*.*/"\001/", /*/*/"\2010", /*0*/"\2011", /*1*/"\2012", /*2*/"\2013", /*3*/"\2014", /*4*/"\2015", /*5*/"\2016", /*6*/"\2017", /*7*/"\2018", /*8*/"\2019", /*9*/"\001:", /*:*/"\001;", /*;*/"\001<", /*<*/"\001=", /*=*/"\001>", /*>*/"\001?", /*?*/"\001@", /*@*/"\201A", /*A*/"\201B", /*B*/"\201C", /*C*/"\201D", /*D*/"\201E", /*E*/"\201F", /*F*/"\201G", /*G*/"\201H", /*H*/"\201I", /*I*/"\201J", /*J*/"\201K", /*K*/"\201L", /*L*/"\201M", /*M*/"\201N", /*N*/"\201O", /*O*/"\201P", /*P*/"\201Q", /*Q*/"\201R", /*R*/"\201S", /*S*/"\201T", /*T*/"\201U", /*U*/"\201V", /*V*/"\201W", /*W*/"\201X", /*X*/"\201Y", /*Y*/"\201Z", /*Z*/"\001[", /*[*/"\001\\", /*\*/"\001]", /*]*/"\001^", /*^*/"\001_", /*_*/"\001`", /*` open*/"\201a", /*a*/"\201b", /*b*/"\201c", /*c*/"\201d", /*d*/"\201e", /*e*/"\201f", /*f*/"\201g", /*g*/"\201h", /*h*/"\201i", /*i*/"\201j", /*j*/"\201k", /*k*/"\201l", /*l*/"\201m", /*m*/"\201n", /*n*/"\201o", /*o*/"\201p", /*p*/"\201q", /*q*/"\201r", /*r*/"\201s", /*s*/"\201t", /*t*/"\201u", /*u*/"\201v", /*v*/"\201w", /*w*/"\201x", /*x*/"\201y", /*y*/"\201z", /*z*/"\001{", /*{*/"\001|", /*|*/"\001}", /*}*/"\001~", /*~*/"\000", /*nar sp*/"\001-", /*hyphen*/"\001o\b+", /*bullet*/"\002[]", /*square*/"\001-", /*3/4 em*/"\001_", /*rule*/"\0031/4", /*1/4*/"\0031/2", /*1/2*/"\0033/4", /*3/4*/"\001-", /*minus*/"\202fi", /*fi*/"\202fl", /*fl*/"\202ff", /*ff*/"\203ffi", /*ffi*/"\203ffl", /*ffl*/"\000\0", /*degree*/"\001|\b-", /*dagger*/"\001s\bS", /*section*/"\001'", /*foot mark*/"\001'", /*acute accent*/"\001`", /*grave accent*/"\001_", /*underrule*/"\001/", /*slash (longer)*/"\000", /*half narrow space*/"\001 ", /*unpaddable space*/"\201o\b(", /*alpha*/"\2018\b|", /*beta*/"\201>\b/", /*gamma*/"\201d\b`", /*delta*/"\201C\b-", /*epsilon*/"\000\0", /*zeta*/"\201n", /*eta*/"\201o\b-", /*theta*/"\201i", /*iota*/"\201k", /*kappa*/"\201,\b\\", /*lambda*/"\201u", /*mu*/"\201v", /*nu*/"\000\0", /*xi*/"\201o", /*omicron*/"\202i\b~i\b~", /*pi*/"\201p", /*rho*/"\201o\b~", /*sigma*/"\201i\b~", /*tau*/"\201u", /*upsilon*/"\201o\b|", /*phi*/"\201x", /*chi*/"\201u\b|", /*psi*/"\201w", /*omega*/"\201I\b~", /*Gamma*/"\202/\b_\\\b_", /*Delta*/"\201O\b-", /*Theta*/"\202/\\", /*Lambda*/"\201=\b_", /*Xi*/"\202TT", /*Pi*/"\201>\b_\b~", /*Sigma*/"\000", /**/"\201Y", /*Upsilon*/"\201O\b|", /*Phi*/"\201U\b|", /*Psi*/"\201O\b_", /*Omega*/"\001v\b/", /*square root*/"\000\0", /*terminal sigma*/"\001~", /*root en*/"\001>\b_", /*>=*/"\001<\b_", /*<=*/"\001=\b_", /*identically equal*/"\001-", /*equation minus*/"\001~\b_", /*approx =*/"\001~", /*approximates*/"\001=\b/", /*not equal*/"\002->", /*right arrow*/"\002<-", /*left arrow*/"\001|\b^", /*up arrow*/"\001|\bv", /*down arrow*/"\001=", /*equation equal*/"\001x", /*multiply*/"\001:\b-", /*divide*/"\001+\b_", /*plus-minus*/"\002(\b~)\b~", /*cup (union)*/"\002(\b_)\b_", /*cap (intersection)*/"\002(=", /*subset of*/"\002=)", /*superset of*/"\002(=\b_", /*improper subset*/"\002=\b_)", /*improper superset*/"\002oo", /*infinity*/"\001o\b`", /*partial derivative*/"\002\\\b~/\b~", /*gradient*/"\000\0", /*not*/"\000\0", /*integral sign*/"\002oc", /*proportional to*/"\001O\b/", /*empty set*/"\001<\b-", /*member of*/"\001+", /*equation plus*/"\003(R)", /*registered*/"\003(C)", /*copyright*/"\001|", /*box rule */"\001c\b/", /*cent sign*/"\001|\b=", /*dbl dagger*/"\002=>", /*right hand*/"\002<=", /*left hand*/"\001*", /*math * */"\000\0", /*bell system sign*/"\001|", /*or (was star)*/"\001O", /*circle*/"\001|", /*left top of big brace*/"\001|", /*left bot of big brace*/"\001|", /*right top of big brace*/"\001|", /*right bot of big brace*/"\001|", /*left center of big brace*/"\001|", /*right center of big brace*/"\001|", /*bold vertical*/"\001|", /*left floor (lb of big bracket)*/"\001|", /*right floor (rb of big bracket)*/"\001|", /*left ceiling (lt of big bracket)*/"\001|" /*right ceiling (rt of big bracket)*/};/* * Put SCCS stuff at the end to avoid a problem with nroff !!! */#ifndef lintstatic char *sccsid = "@(#)tabln01.c 4.1 ULTRIX 7/17/90";#endif lint
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -