if (CSET_DOUBLE(SCRN_BUF_CSETS(screen, row + screen->topline)[0])) { scol = (scol + 0) / 2; ecol = (ecol + 1) / 2;
if (CSET_DOUBLE(SCRN_BUF_CSETS(screen, row + screen->topline)[0])) { scol = (scol + 0) / 2; ecol = (ecol + 1) / 2; } #endif *eol = !ScrnTstWrapped(screen, row); for (i = scol; i < ecol; i++) { c = E2A(XTERM_CELL(row, i)); #if OPT_WIDE_CHARS if (screen->utf8_mode) lp = convertToUTF8(lp, c); else #endif { if (c == 0) { c = E2A(' '); } else if (c < E2A(' ')) { if (c == XPOUND) c = 0x23;	 else c += 0x5f;	 } else if (c == 0x7f) { c = 0x5f; } *lp++ = A2E(c);
SaveText(    TScreen *screen,    int row,    int scol,    int ecol,    register char *lp,		/* pointer to where to put the text */    int *eol){	register int i = 0;	register Char *ch = SCRN_BUF_CHARS(screen, row + screen->topline);	register int c;	i = Length(screen, row, scol, ecol);	ecol = scol + i;#if OPT_DEC_CHRSET	if (CSET_DOUBLE(SCRN_BUF_CSETS(screen, row + screen->topline)[0])) {		scol = (scol + 0) / 2;		ecol = (ecol + 1) / 2;	}#endif	*eol = !ScrnTstWrapped(screen, row);	for (i = scol; i < ecol; i++) {	        c = ch[i];		if (c == 0)			c = ' ';		else if(c < ' ') {			if(c == '\036')				c = '#'; /* char on screen is pound sterling */			else				c += 0x5f; /* char is from DEC drawing set */		} else if(c == 0x7f)			c = 0x5f;		*lp++ = c;	}	return(lp);}