Skip to contentSkip to conversation

why getch() cann't work in rpm package's %post section?

DISCUSSION kouqian 2 participants 2 messages Jan 5, 2001

lore
Share & tools
lore

kouqian

author
#0 lore raw

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.

[email protected]

-
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/

#1 lore raw

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 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.

Quoted 7 lines

[email protected]

-
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/