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

From: Chad Schwartz (cwslist@main.cornernet.com)
Date: Fri Jan 05 2001 - 13:23:59 EST


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/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:23 EST