Annotation of 43BSDTahoe/usr.lib/libplot/t4014/linemod.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)linemod.c  4.1 (Berkeley) 6/27/83";
                      3: #endif
                      4: 
                      5: linemod(s)
                      6: char *s;
                      7: {
                      8:        char c;
                      9:        putch(033);
                     10:        switch(s[0]){
                     11:        case 'l':       
                     12:                c = 'd';
                     13:                break;
                     14:        case 'd':       
                     15:                if(s[3] != 'd')c='a';
                     16:                else c='b';
                     17:                break;
                     18:        case 's':
                     19:                if(s[5] != '\0')c='c';
                     20:                else c='`';
                     21:        }
                     22:        putch(c);
                     23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.