[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Human interaction in %PRE text mode with snack Dialog boxes



Meyers, John J wrote:
Hi All,
        The %pre mode seems to conduct I/O with tty3. With primary anaconda user interaction displays on tty1. I need to interact with the user on tty1 during %pre; Using python and snack. Due to using various weird hardware in our environment a graphical install dos not work.
 The Code below is just an example of what I've tried.


Never tried python in the %pre myself, but couldn't a chvt work for you?
ex:
%pre
chvt 3  # changes to TTY3
echo ""
echo "Enter IP address" # or whatever you need to do
read IP
chvt 1 # change back to TTY1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]