148505Sbostic /*- 2*61354Sbostic * Copyright (c) 1980, 1993 3*61354Sbostic * The Regents of the University of California. All rights reserved. 448505Sbostic * 548505Sbostic * %sccs.include.proprietary.c% 619971Sdist */ 719971Sdist 815435Sralph #ifndef lint 9*61354Sbostic static char sccsid[] = "@(#)label.c 8.1 (Berkeley) 06/04/93"; 1048505Sbostic #endif /* not lint */ 1115435Sralph 1215435Sralph #include "dumb.h" 1315435Sralph label(string)1415435Sralphlabel(string) 1515435Sralph char *string; 1615435Sralph { 1715435Sralph while(*string != '\0' && currentx < COLS){ 1815435Sralph screenmat[currentx][currenty] = *string++; 1915435Sralph currentx++; 2015435Sralph } 2115435Sralph if(currentx == COLS) 2215435Sralph currentx = currentx-1; 2315435Sralph 2415435Sralph } 25