why getch() cann't work in rpm package's %post section?
a program using getch() function (included in curses.h) runs OK when it executes in system prompt.
when I put it in rpm package's %post section, it can start running until getch() statement. press any key to test getch(), getch() has no response!
Can anybody tell me how to resolve this problem?
thanks very much.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
This is *NOT* a kernel question. Take this kind of stuff elsewhere.
The reason? RPM is NOT meant to take any input, on installation of a package. if you're trying to do that, you're doing it the wrong way.
Chad
Quoted 9 lines · kouqian
a program using
getch()function (included incurses.h) runs OK when it executes in system prompt.
when I put it in rpm package's %post section, it can start running untilgetch()statement. press any key to testgetch(),getch()has no response!Can anybody tell me how to resolve this problem?
thanks very much.
Quoted 7 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/