Hi,
cons.saver, as you apparently know this, is the helper binary responsible
for restoring the contents of the Linux console when you quit mc or press
Ctrl+O. A helper is required since the Linux console does not have an
"alternate screen" that graphical terminal emulators have.
In order to be
Hi,
I am looking at the
main (int argc, char **argv)
function in
src/consaver/cons.saver.c
There are calls like
st.st_uid != uid
fstat (console_fd, ) >= 0 && st.st_uid == uid
fstat (console_fd, ) < 0 || st.st_uid != uid
The last one is especially strange taking into account that it