<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=721094717-01042008>Hi 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=721094717-01042008>        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. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=721094717-01042008> The Code below 
is just an example of what I've tried.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=721094717-01042008></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=721094717-01042008>
<DIV><FONT face=Arial size=2><SPAN class=468143019-28032008>%pre --interpreter 
/usr/bin/python<BR>TTY = <SPAN class=721094717-01042008>1</SPAN><BR>import 
os<BR>import sys<BR>import snack<BR>import time<BR>import fcntl<BR>import 
termios<BR>os.system("chvt %d" % TTY)<BR>fd = os.open("/dev/tty%d" % TTY, 
os.O_RDWR)<BR>os.dup2(fd, 0)<BR>os.dup2(fd, 1)<BR>os.dup2(fd, 2)<BR>sys.stdin = 
os.fdopen(0, "r")<BR>sys.stdout = os.fdopen(1, "w")<BR>sys.stderr = os.fdopen(2, 
"w")<BR>screen = snack.SnackScreen()</SPAN></FONT></DIV>
<DIV><SPAN class=468143019-28032008><FONT face=Arial 
size=2>snack.ButtonChoiceWindow(screen, "WARNING", <BR>    
"WARNING! <SPAN class=721094717-01042008>A</SPAN><SPAN 
class=721094717-01042008>m I CRAZY</SPAN>!",<BR>    
buttons=["reboot", "continue"]):<BR>    
os.system("reboot")<BR>    while 1: 
time.sleep(10)<BR>screen.finish()<BR>os.system("chvt %d" % <SPAN 
class=721094717-01042008>3</SPAN>)<BR>%end<BR></FONT></DIV></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=721094717-01042008>ANY 
suggestions??</SPAN></FONT></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-us><FONT face=Arial color=#008000 size=2>J. James 
Meyers</FONT><FONT face="Times New Roman"><BR></FONT><FONT face=Arial><FONT 
color=#008000><FONT size=2><SPAN class=721094717-01042008>Boeing 
</SPAN></FONT></FONT></FONT></SPAN><SPAN lang=en-us><FONT face=Arial><FONT 
color=#008000><FONT size=2>Network/System Analyst</FONT></FONT></FONT><FONT 
face="Times New Roman"> </FONT><FONT face="Times New Roman" color=#008000>& 
Linux PDM</FONT><BR></SPAN><SPAN lang=en-us><FONT face=Arial color=#008000 
size=2>Cell: (206) 491-0315</FONT><FONT face=Arial size=2></FONT> </SPAN></P>
<DIV> </DIV></BODY></HTML>