<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P.Python {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
LI.Python {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
DIV.Python {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
P.python0 {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
LI.python0 {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
DIV.python0 {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt 0.2in; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle19 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle20 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Everything I've been seeing points to API being exposed to 
change properties of the console window, not the ability to host an interactive 
console.&nbsp; Google provides a bunch of links.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Did some more thought:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Streams -- StandardInput, StandardOutput, StandardError, .. 
(Trace, Debug, ...)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Events -- StandardInputEvent, StandardOutputEvent, 
StandardErrorEvent, .. (Trace, Debug, ...)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Methods -- GetNextEventId(), AsynchronousExecute(id, 
script)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Properties -- InterpreterState</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff size=2>Regular input would go in via stdin.&nbsp; The interpreter 
would then fire a StandardInputEvent with this information, including an 
identifier that could be correllated to output and error 
events.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=393454217-19082004></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>&gt;<SPAN class=393454217-19082004>&gt;&gt; if 
1=1:&nbsp;&nbsp;&nbsp; [stdout, stdin]</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN 
class=393454217-19082004></SPAN></FONT></FONT></FONT><SPAN 
class=393454217-19082004></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>
<DIV><FONT size=+0><FONT color=#0000ff><FONT size=2><SPAN 
class=393454217-19082004></SPAN></FONT></FONT></FONT><SPAN 
class=393454217-19082004></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>.<SPAN class=393454217-19082004>..&nbsp;&nbsp;&nbsp;&nbsp; print 
"foo"&nbsp;&nbsp;&nbsp; [stdout, stdin]
<DIV><FONT size=+0><FONT color=#0000ff><FONT size=2><SPAN 
class=393454217-19082004></SPAN></FONT></FONT></FONT><SPAN 
class=393454217-19082004></SPAN><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>.<SPAN class=393454217-19082004>..&nbsp;&nbsp;&nbsp;&nbsp; print 
"bar"&nbsp;&nbsp;&nbsp; [stdout, stdin] .. maybe some events for continued 
input</SPAN></FONT></FONT></FONT></DIV></SPAN></FONT></FONT></FONT></DIV></FONT></FONT></FONT><FONT><FONT 
color=#0000ff><FONT size=2><SPAN 
class=393454217-19082004></SPAN></FONT></FONT></FONT><SPAN 
class=393454217-19082004><FONT face=Arial color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[StandardInputEvent #1]</FONT></SPAN></DIV>
<DIV><SPAN class=393454217-19082004></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>f<SPAN 
class=393454217-19082004>oo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[stdout, StandardOutputEvent #1]</SPAN><BR><SPAN 
class=393454217-19082004>bar</SPAN><SPAN 
class=393454217-19082004>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[stdout, StandardOutputEvent #1]</SPAN><BR><SPAN 
class=393454217-19082004>&gt;&gt;&gt; [stdout]</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>&nbsp;</DIV></FONT>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT size=2><FONT 
face=Tahoma><B>From:</B> Thane [mailto:thane@magna-capital.com] <BR><B>Sent:</B> 
19 Aug 2004 07:47<BR><SPAN class=393454217-19082004><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT size=2><FONT 
color=navy><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Python 
by allowing these to be redirected (sys.stdin = myfile), but it&#8217;s clearly not 
enough.&nbsp; I&#8217;ve heard rumors of a new MS Console object in the Whidbey 
release&#8230; I just hope they do it right.<o:p></o:p></SPAN></FONT></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=#0000ff size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT>&nbsp;</P></DIV></BODY></HTML>