|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Jython 2.5.0 Release Candidate 2 outMinutes 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. -Frank ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outFrank 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 ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outAndrea 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. ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outI 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@...> wrote:
-- Jim Baker jbaker@... ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outWhile 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outJim 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 :) > I could not check, and now I do not have Win available. In that case I would change the message that appears when one types "quit", which on Windows still mentions Crtl-Z. ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 out[Jim]
> 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 :) :-) Being a Windows and *nix user, I like to have consistent behaviour between cpython and jython on each platform. So it's kind of annoying to have cpython on Windows use the windows-standard Ctrl-Z and jython on Windows use the Unix-standard Ctrl-D. But a quick look at the registry file distributed with rc2 shows the following lines # To activate the legacy Jython console: # python.console=org.python.util.InteractiveConsole Uncommenting the second line does indeed restore Windows standard behaviour, Ctrl-Z quits the interpreter, as it should. The up and down keys always worked for command history on Jython, before jline, so I'm happy to keep using the "legacy" console. Alan. ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outIn article <4A0B1C23.2050909@...>,
Weiqi Gao <weiqigao@...> wrote: > 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. That happens because Jython thinks you're not running it interactively (isatty). CPython should do the same thing, essentially. Unfortunately this check is quite a bit less reliable on Windows than it is on Unix... if you can think of a better solution, file a bug. -- Nicholas Riley <njriley@...> ------------------------------------------------------------------------------ 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 |
|
|
Re: Jython 2.5.0 Release Candidate 2 outOn May 13, 2009, at 2:11 PM, Alan Kennedy wrote: > [Jim] >> 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 :) > > :-) > > Being a Windows and *nix user, I like to have consistent behaviour > between cpython and jython on each platform. > > So it's kind of annoying to have cpython on Windows use the > windows-standard Ctrl-Z and jython on Windows use the Unix-standard > Ctrl-D. I should be able to make JLineConsole emulate CTRL-Z ENTER to quit. It'll be nicer to have JLineConsole as default on Windows as you gain more handy hot keys over the standard arrow keys. -- Philip Jenvey ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outOn May 14, 2009, at 10:23 AM, Nicholas Riley wrote: > In article <4A0B1C23.2050909@...>, > Weiqi Gao <weiqigao@...> wrote: > >> 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. > > That happens because Jython thinks you're not running it > interactively (isatty). CPython should do the same thing, > essentially. > Unfortunately this check is quite a bit less reliable on Windows > than it > is on Unix... if you can think of a better solution, file a bug. > Nick, any idea why isatty fails here? Incorporating Weiqi's changes is no problem, but having to workaround isatty failing with JYTHON_OPTS="- i" sucks. Even isatty's pure java fallback should be returning true for the console streams. What's frustrating about these cygwin problems are none of us developers who've tried it have had any problems with it, even without Weqi's changes. -- Philip Jenvey ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outOn May 14, 2009, at 5:00 PM, Philip Jenvey wrote: > > On May 14, 2009, at 10:23 AM, Nicholas Riley wrote: > >> In article <4A0B1C23.2050909@...>, >> Weiqi Gao <weiqigao@...> wrote: >> >>> 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. >> >> That happens because Jython thinks you're not running it >> interactively (isatty). CPython should do the same thing, >> essentially. >> Unfortunately this check is quite a bit less reliable on Windows >> than it >> is on Unix... if you can think of a better solution, file a bug. >> > > Nick, any idea why isatty fails here? Incorporating Weiqi's changes is > no problem, but having to workaround isatty failing with > JYTHON_OPTS="- > i" sucks. Actually if the std streams were not isatty(), I don't think JLine should have even loaded. Weiqi, what's the output of this on your cygwin environment?: import sys for f in sys.stdin, sys.stdout, sys.stderr: print f.isatty() -- Philip Jenvey ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outPhilip Jenvey wrote:
> > On May 14, 2009, at 5:00 PM, Philip Jenvey wrote: > >> >> On May 14, 2009, at 10:23 AM, Nicholas Riley wrote: >> >>> In article <4A0B1C23.2050909@...>, >>> Weiqi Gao <weiqigao@...> wrote: >>> >>>> 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. >>> >>> That happens because Jython thinks you're not running it >>> interactively (isatty). CPython should do the same thing, >>> essentially. >>> Unfortunately this check is quite a bit less reliable on Windows >>> than it >>> is on Unix... if you can think of a better solution, file a bug. >>> >> >> Nick, any idea why isatty fails here? Incorporating Weiqi's changes is >> no problem, but having to workaround isatty failing with JYTHON_OPTS="- >> i" sucks. > > > Actually if the std streams were not isatty(), I don't think JLine > should have even loaded. > > Weiqi, what's the output of this on your cygwin environment?: > > import sys > for f in sys.stdin, sys.stdout, sys.stderr: > print f.isatty() False False False -- Weiqi Gao weiqigao@... http://www.weiqigao.com/blog/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outOn May 14, 2009, at 6:08 PM, Weiqi Gao wrote: >> >> Actually if the std streams were not isatty(), I don't think JLine >> should have even loaded. >> >> Weiqi, what's the output of this on your cygwin environment?: >> >> import sys >> for f in sys.stdin, sys.stdout, sys.stderr: >> print f.isatty() > > False > False > False Ok, could you also tell me about your environment (what version of Windows, 32 or 64 bit, Java version, anything else that's odd that I should know about =p ) and also show me the output of the following: >>> from java.lang import System >>> type(System.in).mro() Thanks -- Philip Jenvey ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outPhilip Jenvey wrote:
> > On May 14, 2009, at 6:08 PM, Weiqi Gao wrote: >>> >>> Actually if the std streams were not isatty(), I don't think JLine >>> should have even loaded. >>> >>> Weiqi, what's the output of this on your cygwin environment?: >>> >>> import sys >>> for f in sys.stdin, sys.stdout, sys.stderr: >>> print f.isatty() >> >> False >> False >> False > > > Ok, could you also tell me about your environment (what version of > Windows, 32 or 64 bit, Java version, anything else that's odd that I > should know about =p ) and also show me the output of the following: > > >>> from java.lang import System > >>> type(System.in).mro() My environment is a 32-bit Windows XP Home Premium SP3 laptop, with the latest Cygwin installed. I'm using Sun JDK 1.6.0_13. I installed jython 2.5rc2 in C:\opt\jython2.5rc2. Here's what I get when I ran the scripts from a CMD prompt (without Cygwin involved): ===================================================================== C:\opt\jython2.5rc2>jython 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. >>> import sys >>> for f in sys.stdin, sys.stdout, sys.stderr: ... print f.isatty() ... True True True >>> from java.lang import System >>> type(System.in).mro() [<type 'java.io.BufferedInputStream'>, <type 'java.io.FilterInputStream'>, <type 'java.io.InputStream'>, <type 'java.io.Closeable'>, <type 'java.lang.Object'>, <type 'object'>] >>> ===================================================================== Here's what I get when I ran the same scripts from a Cygwin xterm terminal: ===================================================================== $ jython.bat import sys for f in sys.stdin, sys.stdout, sys.stderr: print f.isatty() False False False from java.lang import System type(System.in).mro() [<type 'java.io.BufferedInputStream'>, <type 'java.io.FilterInputStream'>, <type 'java.io.InputStream'>, <type 'java.io.Closeable'>, <type 'java.lang.Object'>, <type 'object'>] ===================================================================== -- Weiqi Gao weiqigao@... http://www.weiqigao.com/blog/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outIn article <025F6281-1F0E-4969-B53E-AB127449E892@...>,
Philip Jenvey <pjenvey@...> wrote: > Nick, any idea why isatty fails here? Incorporating Weiqi's changes is > no problem, but having to workaround isatty failing with JYTHON_OPTS="- > i" sucks. It fails because Weiqi's using a Cygwin *xterm*, rather than Cygwin inside cmd.exe. You can see the differences here: <http://web.sabi.net/temp/isatty.png> Note that CPython fails worse than Jython when run in a Cygwin xterm (or rxvt in my case); jython -i without Weiqi's changes also doesn't work correctly, but python -i does. -- Nicholas Riley <njriley@...> ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 out
For what it's worth, I'm not running xterm (I don't even have
XWindows installed), and I'm seeing most of the same symptoms.
Here's the script I use to launch a cygwin shell, cygwin.bat: @echo off C: chdir C:\cygwin\bin bash --login -iAnd I get similar results as Weiqi: False False False [<type 'java.io.BufferedInputStream'>, <type 'java.io.FilterInputStream'>, <type 'java.io.InputStream'>, <type 'java.io.Closeable'>, <type 'java.lang.Object'>, <type 'object'>]Don't know if that helps at all. -moss Nicholas Riley wrote: In article 025F6281-1F0E-4969-B53E-AB127449E892@..., Philip Jenvey pjenvey@... wrote: -- terma | software labs Moss Prescott 303.417.1718 x207 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
|
|
|
Re: Jython 2.5.0 Release Candidate 2 outHi Frank,
Is there a maven snapshot repo hosting the jython artifact? I'd like to test out the maven-jython-plugin with the latest RC, but it's hard to do without being able to point at a repo. -- Thanks, Kevin On Mon, May 11, 2009 at 5:34 PM, Frank Wierzbicki <fwierzbicki@...> 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. > > -Frank > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outThe JLine doc for jline.UnixTerminal says "All known unix systems (including Linux and Macintosh OS X) support the stty), so this implementation should work for an reasonable POSIX system." However, the system I'm using (HP (Tandem) NonStop) is UNIX-like, but presumably not enough like: the new default doesn't echo anything as a line is being typed, then echoes the line after Enter is typed.
Fortunately activating the legacy console as described below does the right thing. I have no great interest in chasing up command line niceness. I'd rather ask, will the legacy console remain available, or is there a plan to remove it at some stage? If there is such a plan, can the legacy console please be left in for those of us on non-Windows, non-UNIX systems? Thanks. Incidentally, being a Windows, UNIX, and other user, I disagree with the "consistent behaviour across platforms" premise implied by having Ctrl-D exit a session on Windows: "consistent behaviour ... on each platform" is much better. On Windows, it should work like Windows. On UNIX, it should work like UNIX. On my platform, where by default neither Ctrl-D nor Ctrl-Z are used to quit a session, it should work like my platform. Why should a Windows user have to learn a different EOF character because it happens to be standard on some other platform? Ctrl-Z works everywhere else on Windows, why should Jython be different? I appreciate the (UNIX-centric) humour in " This might be considered to be an improvement :)" on Windows, but when attempting to "fix" this kind of thing, it's too easy to forget that in some places, it isn't broken. How do you know that Ctrl-D on my platform doesn't mean "halt the system immediately"? I'm not making this up: on a different widely used platform, the right control character in the right place intentionally does exactly that. PJDM -- Peter Mayne Hewlett-Packard Canberra, ACT, Australia -----Original Message----- From: Alan Kennedy [mailto:jython-dev@...] Sent: Thursday, 14 May 2009 7:11 AM To: Jim Baker Cc: jython-users@...; Andrea Subject: Re: [Jython-users] Jython 2.5.0 Release Candidate 2 out [Jim] > 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 :) :-) Being a Windows and *nix user, I like to have consistent behaviour between cpython and jython on each platform. So it's kind of annoying to have cpython on Windows use the windows-standard Ctrl-Z and jython on Windows use the Unix-standard Ctrl-D. But a quick look at the registry file distributed with rc2 shows the following lines # To activate the legacy Jython console: # python.console=org.python.util.InteractiveConsole Uncommenting the second line does indeed restore Windows standard behaviour, Ctrl-Z quits the interpreter, as it should. The up and down keys always worked for command history on Jython, before jline, so I'm happy to keep using the "legacy" console. Alan. ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: Jython 2.5.0 Release Candidate 2 outOn May 21, 2009, at 12:13 AM, Mayne, Peter wrote: > The JLine doc for jline.UnixTerminal says "All known unix systems > (including Linux and Macintosh OS X) support the stty), so this > implementation should work for an reasonable POSIX system." However, > the system I'm using (HP (Tandem) NonStop) is UNIX-like, but > presumably not enough like: the new default doesn't echo anything as > a line is being typed, then echoes the line after Enter is typed. What does stty -a and stty -g return on this platform? > I'd rather ask, will the legacy console remain available, or is > there a plan to remove it at some stage? If there is such a plan, > can the legacy console please be left in for those of us on non- > Windows, non-UNIX systems? The old console definitely isn't going anywhere > Why should a Windows user have to learn a different EOF character > because it happens to be standard on some other platform? Ctrl-Z > works everywhere else on Windows, why should Jython be different? Ctrl-Z <Return> will work on Windows in rc2 -- Philip Jenvey ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |