#include static char __tgo_[5] = "\033YYX"; /* << deadly raw perversion!! */ #define gotoyx(y,x) (__tgo_[2]=(y)+' ',__tgo_[3]=(x)+' ',Cconws(__tgo_)) #define mvaddstr(y,x,s) (gotoyx((y),(x)), Cconws(s)) #define mvaddch(y,x,c) (gotoyx((y),(x)), Cconout(c)) #define erase() Cconws("\033E") #define initscr() Cconws("\033E\033f") #define refresh() #define beep()