* scr_printf() outputs to the terminal
*/
int scr_printf(char *fmt, ...)
-{
- va_list ap;
- register int retval;
-
- va_start(ap, fmt);
- retval = vprintf(fmt, ap);
- va_end(ap);
- return retval;
-}
-
-
-/*
- * err_printf() outputs to error status window (or stderr if not in curses)
- */
-int err_printf(char *fmt, ...)
-{
- va_list ap;
- register int retval;
-
- va_start(ap, fmt);
- retval = vfprintf(stderr, fmt, ap);
- va_end(ap);
- return retval;
-}
-
-
-/*
- * sln_printf() outputs to error status window (or stderr if not in curses)
- */
-int sln_printf(char *fmt, ...)
{
va_list ap;
register int retval;
/*
- * sln_printf_if() outputs to status window, no output if not in curses
+ * Read one character from the terminal
*/
-int sln_printf_if(char *fmt, ...)
-{
- register int retval = 1;
- return retval;
-}
-
-
int scr_getc(int delay)
{
unsigned char buf;
}
/*
- * scr_putc() outputs a single character
+ * Output one character to the terminal
*/
int scr_putc(int c)
{
}
-int sln_putc(int c)
-{
- return putc(c, stdout);
-}
-
-
-int sln_putc_if(int c)
-{
- return 1;
-}
-
-
/*
* scr_color() sets the window color for mainwindow
*/
}
-void err_flush(void)
-{
- fflush(stderr);
-}
-
-
-void sln_flush(void)
-{
- fflush(stdout);
-}
-
static volatile int caught_sigwinch = 0;
/*