1*19971Sdist /* 2*19971Sdist * Copyright (c) 1980 Regents of the University of California. 3*19971Sdist * All rights reserved. The Berkeley software License Agreement 4*19971Sdist * specifies the terms and conditions for redistribution. 5*19971Sdist */ 6*19971Sdist 715435Sralph #ifndef lint 8*19971Sdist static char sccsid[] = "@(#)label.c 5.1 (Berkeley) 05/07/85"; 9*19971Sdist #endif not lint 1015435Sralph 1115435Sralph #include "dumb.h" 1215435Sralph 1315435Sralph label(string) 1415435Sralph char *string; 1515435Sralph { 1615435Sralph while(*string != '\0' && currentx < COLS){ 1715435Sralph screenmat[currentx][currenty] = *string++; 1815435Sralph currentx++; 1915435Sralph } 2015435Sralph if(currentx == COLS) 2115435Sralph currentx = currentx-1; 2215435Sralph 2315435Sralph } 24