> So, does anybody knwo how applications  
> like Python know the difference (ie. whether they are running in an  
> interactive terminal or Oz' Open.pipe) and is there a way to fool  
> them into believing otherwise


I've never done it myself, but I know that python uses a pseudo-terminal
or "pty" to convince subprocesses that they're attached to a keyboard
+screen rather than a pipe:

  http://www.python.org/doc/2.4/lib/module-pty.html

It might be possible to do the same thing in Oz, but it would be highly
operating-system dependent.

Wikipedia page:

  http://en.wikipedia.org/wiki/Pseudo_terminal



  Cheers,

    Ryan

-- 
Ryan Kelly
http://www.rfk.id.au  |  This message is digitally signed. Please visit
[EMAIL PROTECTED]        |  http://www.rfk.id.au/ramblings/gpg/ for details

Attachment: signature.asc
Description: This is a digitally signed message part

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to