While we are talking about the repl, I noticed that when running jython
under Cygwin, the prompts are not showing up. It seems that both
sys.ps1 and sys.ps2 are empty strings.
=========================
[weiqi@gao ~]$ jython.bat
import sys
sys.ps1
''
sys.ps2
''
exit()
=========================
I also observed what Andrea and Jim saw (Ctrl-Z not working.)
--
Weiqi Gao
weiqigao@...
http://www.weiqigao.com/blog/Jim Baker wrote:
> I observe the same behavior on Windows:
>
> $ jython25
> Jython 2.5rc2 (Release_2_5rc2:6341, May 11 2009, 17:07:28)
> [Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_13
> Type "help", "copyright", "credits" or "license" for more information.
> >>> →
> File "<stdin>", line 1
> →
> ^
> SyntaxError: no viable alternative at character '→'
> >>>
>
> Instead of using control-Z, the console now defaults to using the Unix
> standard of control-D for quitting a session. This might be considered
> to be an improvement :)
>
> On Wed, May 13, 2009 at 12:26 PM, Andrea <
mariofutire@...
> <mailto:
mariofutire@...>> wrote:
>
> Andrea wrote:
> > Frank Wierzbicki wrote:
> >> Minutes after RC1 we had to do an RC2 due to a bug in our build
> >> process + JLine. RC2 is here:
> >>
http://downloads.sourceforge.net/jython/jython_installer-2.5rc2.jar> >>
> >> And Moss Prescott pointed out that the URL was wrong for install
> >> instructions. The correct url for installation is:
> >>
http://www.jython.org/Project/installation.html.
> >
> > Hi,
> >
> > I've tried rc2 on Windows XP and Ctrl-Z does not quit but shows
> an arrow
> >
> > Picked up _JAVA_OPTIONS: -Duser.home=H:\Apps\Profile\Java
> > Jython 2.5rc2 (Release_2_5rc2:6341, May 11 2009, 17:07:28)
> > [Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_13
> > Type "help", "copyright", "credits" or "license" for more
> information.
> >>>> ?
> > File "<stdin>", line 1
> > ?
> > ^
> > SyntaxError: no viable alternative at character ' ? '
> >>>> quit()
> >
> > Andrea
> >
>
> Unfortunately the exact character displayed has been replaced by "?"
> But it is a little arrow towards the right.
>
> --
> Jim Baker
>
jbaker@... <mailto:
jbaker@...>
--
Weiqi Gao
weiqigao@...
http://www.weiqigao.com/blog/------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled.
http://p.sf.net/sfu/kodak-com_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users