3 * \brief Header: general purpose Linux console screen save/restore server
5 * This code does _not_ need to be setuid root. However, it needs
6 * read/write access to /dev/vcsa* (which is priviledged
7 * operation). You should create user vcsa, make cons.saver setuid
8 * user vcsa, and make all vcsa's owned by user vcsa.
9 * Seeing other peoples consoles is bad thing, but believe me, full
13 #ifndef MC_CONS_SAVER_H
14 #define MC_CONS_SAVER_H
24 #ifndef LINUX_CONS_SAVER_C
25 /* Used only in mc, not in cons.saver */
27 extern signed char console_flag
;
29 void show_console_contents (int starty
, unsigned char begin_line
, unsigned char end_line
);
30 void handle_console (unsigned char action
);
32 extern int cons_saver_pid
;
33 #endif /* !LINUX_CONS_SAVER_C */