* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)linemod.c 5.1 (Berkeley) %G%";
* Note that the bit patterns could be compacted using the
* repeat field conventions. They aren't for clarity.
* Examples of almost identical packed patterns are in the
* If linemod is changed really often, a ~15% savings
if ( *(++line
) == 'o' ) {
else if ( *(line
) == 'h' ) {
else if ( *(line
) == 'd' ) {
if ( *(++line
) == 'o' && *(++line
) == 't' ) {
if ( *(++line
) == 't' ) {
else if ( *(line
) == 'd' ) {
* printf( "W(P0110010)" );
else if ( *(line
) == 'l' ) {