|
|
1.1 root 1: #include "tr.h"
2: #include <stdio.h>
3: text(s)
4: char *s;
5: {
6: register char type = 'L';
7: if(*s == '\\'){
8: type = *(++s);
9: s++;
10: }
11: printf("\\h'-0.m'\\v'.2m'"); /*shift down & left */
12: switch (type) {
13: case 'L':
14: default:
15: printf("%s", s);
16: break;
17: case 'C':
18: printf("\\h\\(ts-\\w\\(ts%s\\(tsu/2u\\(ts%s\\h\\(ts-\\w\\(ts%s\\(tsu/2u\\(ts", s, s, s);
19: break;
20: case 'R':
21: printf("\\h\\(ts-\\w\\(ts%s\\(tsu\\(ts%s", s, s);
22: break;
23: }
24: move(e1->copyx, e1->copyy);
25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.