velu.umcp-cs@UDel-Relay@sri-unix (12/10/82)
From: Velu Sinha <velu.umcp-cs@UDel-Relay> Date: 6 Dec 82 23:06:17 EST (Mon) Any one in net-land have a terminal file for the Spinwriter 1770 (for use with nroff...)? Thanx in advance, - Velu velu.umcp-cs@udel
skf (12/14/82)
An improved nroff term file for diablo/spinwriter printers:
What follows should be placed in a file "code.450" and included in
/usr/src/cmd/troff/term/tab450.c.instead of "code.300". Compile and mv the
object deck to /usr/lib/term/tab450 as per the /usr/src/cmd/troff/term makefile.
Alternatively, you might want to keep the original and rename this tabnec.
This was hurriedly made up for a diablo (later nec spinwriter) back
before we switched from nroff to troff. Some of the characters are fairly
gross, and depend on how well your device is adjusted. With a bit of patience
you can probably improve many:
/*
code.300
Modified by Steve Feiner (4/30/80) for Diablo wheel with \033Z = "'"
An explanation of the nroff plotmode code:
All codes cause plot mode to be entered for the duration of the character.
Increments are t.Hor, t.Vert. from tabxxx.c; n is in octal.
n meaning
- -------
200 NO OP
201-237 move RIGHT n-200 increments
242-277 move LEFT n-240 increments
301-337 move DOWN n-300 increments
341-377 move UP n-340 increments
The first byte of the char code is the actual width that the char will take
up on output or'ed with \200 if the char is to be underscored when in
italic font.
*/
"\001 ", /*space*/
"\001!", /*!*/
"\001\"", /*"*/
"\001#", /*#*/
"\001$", /*$*/
"\001%", /*%*/
"\001&", /*&*/
"\001'", /*' close*/
"\001(", /*(*/
"\001)", /*)*/
"\001*", /***/
"\001+", /*+*/
"\001,", /*,*/
"\001-", /*- hyphen*/
"\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_", /*_ dash*/
"\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\0", /*narrow sp*/
"\001-", /*hyphen*/
"\001\341oo\301", /*bullet*/
"\001\242[\203]\241", /*square*/
"\001-", /*3/4 em*/
"\001_", /*rule*/
"\001\016S\017", /*1/4*/
"\001\016F\017", /*1/2*/
"\001\016H\017", /*3/4*/
"\001-", /*minus*/
"\202fi", /*fi*/
"\202fl", /*fl*/
"\202ff", /*ff*/
"\203ffi", /*ffi*/
"\203ffl", /*ffl*/
"\001\016K\017", /*degree*/
"\001\016]\017", /*dagger*/
"\001\016C\017", /*section*/
"\001'", /*foot mark (used instead of "'" by neqn)*/
"\001'", /*acute accent*/
"\001`", /*grave accent*/
"\001_", /*underrule*/
"\001/", /*slash (longer)*/
"\000\0", /*half narrow space*/
"\001 ", /*unpaddable space*/
"\001\241c\202(\241", /*alpha*/
"\001\200B\242\302|\202\342", /*beta*/
"\001\200)\201/\241", /*gamma*/
"\001\200o\342<\302", /*delta*/
"\001<\b-", /*epsilon*/
"\001\200c\201\301,\241\343<\302", /*zeta*/
"\001\200n\202\302|\242\342", /*eta*/
"\001O\b-", /*theta*/
"\001i", /*iota*/
"\001k", /*kappa*/
"\001\200\\\304\241'\301\241'\345\202", /*lambda*/
"\001\200u\242,\202", /*mu*/
"\001\241(\203/\242", /*nu*/
"\001\200c\201\301,\241\343c\241\301`\201\301", /*xi*/
"\001o", /*omicron*/
"\001\341-\303\"\301\"\343", /*pi*/
"\001\200o\242\302|\342\202", /*rho*/
"\001\200o\301\202~\341\242", /*sigma*/
"\001\200t\301\202~\243~\201\341", /*tau*/
"\001v", /*upsilon*/
"\001o\b/", /*phi*/
"\001x", /*chi*/
"\001\200/-\302\202'\244'\202\342", /*psi*/
"\001\241u\203u\242", /*omega*/
"\001\242|\202\343-\303\202`\242", /*Gamma*/
"\001\242/\303-\204-\343\\\242", /*Delta*/
"\001O\b=", /*Theta*/
"\001\242/\204\\\242", /*Lambda*/
"\001\342_\301-\346_\307", /*Xi*/
"\001\242[]\204[]\242\343-\303", /*Pi*/
"\001\200>\302-\345-\303", /*Sigma*/
"\000\0", /**/
"\001Y", /*Upsilon*/
"\001o\b[\b]", /*Phi*/
"\001\200[]-\302\202'\244`\202\342", /*Psi*/
"\001\200O\302\241-\202-\241\342", /*Omega*/
"\001 ", /*square root*/
"\001s", /*terminal sigma*/
"\001\347_\307", /*root en*/
"\001\200>\302-\342", /*>=*/
"\001\200<\302-\342", /*<=*/
"\001\200=\342-\302", /*identically equal*/
"\001-", /*equation minus*/
"\001=\b~", /*approx =*/
"\001\302~\342", /*approximates*/
"\001=\b/", /*not equal*/
"\002\200-\203-\203-\201>\241", /*right arrow*/
"\002\200<\201-\203-\203-\241", /*left arrow*/
"\001|\b^", /*up arrow*/
"\001\200|\302v\342", /*down arrow*/
"\001=", /*equation equal*/
"\001x", /*multiply*/
"\001\200.-\343.\303", /*divide*/
"\001\200+\302-\342", /*plus-minus*/
"\001U", /*cup (union)*/
"\001 ", /*cap (intersection)*/
"\001C", /*subset of*/
"\001 ", /*superset of*/
"\001C\b_", /*improper subset*/
"\001 ", /* improper superset*/
"\002\201o\204o\201", /*infinity*/
"\001\200o\201\301`\241\341`\241\341`\201\301", /*partial derivative*/
"\001\242\\\343-\204-\303/\242", /*gradient*/
"\001\200-\202\341,\301\242", /*not*/
"\001\200|'\202`\243\306'\241`\202\346", /*integral sign*/
"\002\201o\204c\201", /*proportional to*/
"\001O\b/", /*empty set*/
"\001C\b-", /*member of*/
"\001+", /*equation plus*/
"\001\016B\017", /*registered*/
"\001\016N\017", /*copyright*/
"\001|", /*box rule */
"\001\016Z\017", /*cent sign*/
"\001\200||\302-\344-\302", /*dbl dagger*/
"\002\201-\204>\201", /*right hand*/
"\002\201<\204-\201", /*left hand*/
"\001\301*\341", /*math * */
"\001 ", /*bell system sign*/
"\001|", /*or (was star)*/
"\001O", /*circle*/
"\001|", /*left top (of big curly)*/
"\001|", /*left bottom*/
"\001|", /*right top*/
"\001|", /*right bot*/
"\001|", /*left center of big curly bracket*/
"\001|", /*right center of big curly bracket*/
"\001\200||", /*bold vertical*/
"\001\200||\202\305-\345\242", /*left floor (left bot of big sq bract)*/
"\001\200||\242\305-\345\202", /*right floor (rb of ")*/
"\001\200||\202\343-\303\242", /*left ceiling (lt of ")*/
"\001\200||\242\343-\303\202"};/*right ceiling (rt of ")*/