Subversion Repositories planix.SVN

Compare Revisions

Ignore whitespace Rev 37 → Rev 38

/ports/trunk/unix/libterm/tgoto.c
31,9 → 31,12
* SUCH DAMAGE.
*/
 
#include <string.h>
 
/*
#ifndef lint
static char sccsid[] = "@(#)tgoto.c 5.4 (Berkeley) 6/1/90";
#endif /* not lint */
#endifi*/ /* not lint */
 
#define CTRL(c) ((c) & 037)
 
42,6 → 45,7
char *UP;
char *BC;
 
 
/*
* Routine to perform cursor addressing.
* CM is a string containing printf type escapes to allow
87,7 → 91,7
return ("OOPS");
}
added[0] = 0;
while (c = *cp++) {
while ( (c = *cp++) ) {
if (c != '%') {
*dp++ = c;
continue;
138,7 → 142,7
/* fall into... */
 
case '.':
casedot:
/*casedot:*/
/*
* This code is worth scratching your head at for a
* while. The idea is that various weird things can