/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef lint
static char
#endif /* not lint */
#include "curses.ext"
/* forward declaration */
/*
* This routine adds the character to the current position
*/
int
{
int x, y;
int newx;
#ifdef FULLDEBUG
#endif
switch (c) {
case '\t':
return (ERR);
return (OK);
default:
#ifdef FULLDEBUG
#endif
c |= _STANDOUT;
x = 0;
--y;
}
else
return (ERR);
}
#ifdef FULLDEBUG
#endif
break;
case '\n':
if (!NONL)
x = 0;
goto newline;
case '\r':
x = 0;
break;
case '\b':
if (--x < 0)
x = 0;
break;
}
return (OK);
}
/*
* set_ch:
* Set the first and last change flags for this window.
*/
static void
{
#ifdef FULLDEBUG
#endif
#ifdef FULLDEBUG
#endif
}
}