#include <curses.h>

int main()
{
 int c,x=1;

 while(x)
  {
   initscr();   /*curses initialisieren*/
   keypad(stdscr,TRUE);
   while((c=getch()) == KEY_DOWN || c==KEY_UP || c==KEY_LEFT || c==KEY_RIGHT);
   x=0;
  }
 endwin();
 return 0;
}