plan 9 kernel history: overview | file list | diff list

1992/0208/pc/vga.c (diff list | history)

1991/1228/sys/src/9/pc/vga.c:11,181992/0208/sys/src/9/pc/vga.c:11,18 (short | long | prev | next)
1991/0730    
 
#define	MINX	8 
 
extern	GFont	defont0; 
GFont		*defont; 
1992/0208    
extern	GSubfont	defont0; 
GSubfont		*defont; 
1991/0730    
 
struct{ 
	Point	pos; 
1991/1228/sys/src/9/pc/vga.c:231,2421992/0208/sys/src/9/pc/vga.c:231,242
1991/1228    
		}else if(r == '\b'){ 
			if(out.pos.x >= out.bwid+MINX){ 
				out.pos.x -= out.bwid; 
				gstring(&gscreen, out.pos, defont, " ", flipD[S]); 
1992/0208    
				gsubfstring(&gscreen, out.pos, defont, " ", flipD[S]); 
1991/1228    
			} 
		}else{ 
			if(out.pos.x >= gscreen.r.max.x-out.bwid) 
				screenputnl(); 
			out.pos = gstring(&gscreen, out.pos, defont, buf, flipD[S]); 
1992/0208    
			out.pos = gsubfstring(&gscreen, out.pos, defont, buf, flipD[S]); 
1991/1228    
		} 
	} 
	unlock(&printq); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)