|
|
1.1 ! root 1: /* ! 2: * Escape from curses to execute an external command ! 3: * ! 4: * Copyright (c) 1990-93 by Udo Munk ! 5: */ ! 6: ! 7: #ifdef AIX ! 8: #define NLS ! 9: #endif ! 10: ! 11: #include <curses.h> ! 12: ! 13: shell_escape() ! 14: { ! 15: extern unsigned alarm(); ! 16: ! 17: alarm(0); ! 18: endwin(); ! 19: clrscr(); ! 20: cursoron(); ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.