1 #ifndef lint 2 static char sccsid[] = "@(#)label.c 4.1 (Berkeley) 11/10/83"; 3 #endif 4 5 #include "dumb.h" 6 7 label(string) 8 char *string; 9 { 10 while(*string != '\0' && currentx < COLS){ 11 screenmat[currentx][currenty] = *string++; 12 currentx++; 13 } 14 if(currentx == COLS) 15 currentx = currentx-1; 16 17 } 18