On Thu, Jun 10, 2010 at 11:03 PM, Philip Jenvey <pjenvey@...> wrote:
> On Jun 10, 2010, at 1:02 PM, Geoff Bache wrote:
>> Hi all,
>> I'm running Ubuntu Lucid and after discovering that the Jython that
>> came via the package manager was only 2.2, removed it again and
>> installed Jython 2.5.1 via the custom installer.
>> The interactive prompt is however somewhat strange. It doesn't
>> announce itself at all or display any prompt characters. I assumed for
>> a while that it had hung on startup but it was in fact running - it
>> looks like this:
>> sofa-pc : ./jython
>> import os
>> print "Hello"
>> print os.getenv("JAVA_HOME")
>> Does anyone know why it ended up like this? The 2.2 I got from the
>> package manager gave me a "normal" interactive prompt like the
>> ordinary Python prompt.
> Does ./jython -i (force interactive mode) help?
Yes, it does, that works as normal, just discovered this myself...
I guess it thinks stdin is not a terminal or something (?)
Thanks for the tip,