+/* $NetBSD: move.c,v 1.5 1997/05/23 23:40:19 jtc Exp $ */
+
/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1980, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*/
#ifndef lint
-static char sccsid[] = "@(#)move.c 5.4 (Berkeley) 6/1/90";
+#if 0
+static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: move.c,v 1.5 1997/05/23 23:40:19 jtc Exp $";
+#endif
#endif /* not lint */
-# include "robots.h"
-# include <ctype.h>
+#include <sys/ttydefaults.h>
+#include <ctype.h>
+#include "robots.h"
# define ESC '\033'
case 'W':
Waiting = TRUE;
leaveok(stdscr, TRUE);
- flushok(stdscr, FALSE);
goto ret;
case 't':
case 'T':
refresh();
flush_in();
goto ret;
- case CTRL(L):
+ case CTRL('L'):
wrefresh(curscr);
break;
case EOF:
break;
default:
- putchar(CTRL(G));
+ putchar(CTRL('G'));
reset_count();
fflush(stdout);
break;
refresh();
}
else {
- putchar(CTRL(G));
+ putchar(CTRL('G'));
reset_count();
}
return FALSE;