| Revision: | 1.3 |
| Committed: | Fri Nov 5 17:51:17 2004 UTC (21 years, 2 months ago) by greg |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | HEAD |
| Changes since 1.2: | +1 -1 lines |
| State: | FILE REMOVED |
| Log Message: | Removed plotout and lib4014 it depends on |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | greg | 1.1 | #ifndef lint |
| 2 | greg | 1.3 | static const char RCSid[] = "$Id: linemod.c,v 1.2 2003/11/15 02:13:37 schorsch Exp $"; |
| 3 | greg | 1.1 | #endif |
| 4 | |||
| 5 | schorsch | 1.2 | #include "local4014.h" |
| 6 | #include "lib4014.h" | ||
| 7 | |||
| 8 | extern void | ||
| 9 | linemod( | ||
| 10 | char *s | ||
| 11 | ) | ||
| 12 | greg | 1.1 | { |
| 13 | char c; | ||
| 14 | putch(033); | ||
| 15 | switch(s[0]){ | ||
| 16 | case 'l': | ||
| 17 | c = 'd'; | ||
| 18 | break; | ||
| 19 | case 'd': | ||
| 20 | if(s[3] != 'd')c='a'; | ||
| 21 | else c='b'; | ||
| 22 | break; | ||
| 23 | case 's': | ||
| 24 | if(s[5] != '\0')c='c'; | ||
| 25 | else c='`'; | ||
| 26 | } | ||
| 27 | putch(c); | ||
| 28 | } |