/****************************************************************************
- * Copyright (c) 2000-2006,2007 Free Software Foundation, Inc. *
+ * Copyright (c) 2000-2007,2008 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/*
* Author: Thomas E. Dickey - 2000
*
- * $Id: railroad.c,v 1.15 2007/02/03 18:51:23 tom Exp $
+ * $Id: railroad.c,v 1.17 2008/12/07 02:07:41 juergen Exp $
*
* A simple demo of the termcap interface.
*/
static bool interrupted = FALSE;
static int
-outc(int c)
+outc(TPUTS_ARG c)
{
if (interrupted) {
char tmp = c;
}
static void
-ShowCursor(int flag)
+MyShowCursor(int flag)
{
if (startC != 0 && finisC != 0) {
tputs(flag ? startC : finisC, 1, outc);
{
Underline(0);
StandOut(0);
- ShowCursor(1);
+ MyShowCursor(1);
}
static void
startC = tgetstr("ve", &ap);
finisC = tgetstr("vi", &ap);
- ShowCursor(0);
+ MyShowCursor(0);
CATCHALL(onsig);
while (*args) {
ShowSign(*args++);
}
- ShowCursor(1);
+ MyShowCursor(1);
}
}