Subversion Repositories planix.SVN

Rev

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

Rev 107 Rev 113
Line 72... Line 72...
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
		strcpy(ltcbuf, "xx|dumb:");
78
	}
78
	}
79
	setsize();
79
	setsize();
80
	aoftspace = tspace;
80
	aoftspace = tspace;
81
	zap();
81
	zap();
82
	/*
82
	/*
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
	strcpy(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;