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

Chad Schwartz (cwslist@main.cornernet.com)
Fri, 5 Jan 2001 12:23:59 -0600 (CST)


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

On Wed, 6 Dec 2000, kouqian wrote:

> 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.
>
>
> kouqian@etang.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/