Subversion Repositories planix.SVN

Rev

Rev 115 | Rev 118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 116
Line 67... Line 67...
67
 
67
 
68
	if (type[0] == 0)
68
	if (type[0] == 0)
69
		type = "xx";
69
		type = "xx";
70
	unknown = 0;
70
	unknown = 0;
71
	putpad(TE);
71
	putpad(TE);
72
#ifdef	NCURSES
72
//#ifdef	NCURSES
73
	snprintf(ltcbuf, TCBUFSIZE, "%s:", type);
73
	snprintf(ltcbuf, TCBUFSIZE, "%s:", type);
74
#endif
74
//#endif
75
	if (tgetent(ltcbuf, type) != 1) {
75
	if (tgetent(ltcbuf, type) != 1) {
76
		unknown++;
76
		unknown++;
77
		CP(ltcbuf, "xx|dumb:");
77
		CP(ltcbuf, "xx|dumb:");
78
	}
78
	}
79
	setsize();
79
	setsize();
Line 138... Line 138...
138
	costDP = cost(tgoto(DOWN_PARM, 10, 10));
138
	costDP = cost(tgoto(DOWN_PARM, 10, 10));
139
	costLP = cost(tgoto(LEFT_PARM, 10, 10));
139
	costLP = cost(tgoto(LEFT_PARM, 10, 10));
140
	costRP = cost(tgoto(RIGHT_PARM, 10, 10));
140
	costRP = cost(tgoto(RIGHT_PARM, 10, 10));
141
	PC = xPC ? xPC[0] : 0;
141
	PC = xPC ? xPC[0] : 0;
142
	aoftspace = tspace;
142
	aoftspace = tspace;
143
	CP(ttytype, longname(ltcbuf, type));
143
	CP(ex_ttytype, longname(ltcbuf, type));
144
	/* proper strings to change tty type */
144
	/* proper strings to change tty type */
145
	termreset();
145
	termreset();
146
	gettmode();
146
	gettmode();
147
	value(REDRAW) = AL && DL;
147
	value(REDRAW) = AL && DL;
148
	value(OPTIMIZE) = !CA && !GT;
148
	value(OPTIMIZE) = !CA && !GT;