From: Lucas T. <luc...@gm...> - 2007-09-27 16:57:27
|
Hello everybody! I've been using CPython for a while and now I'm coming to Jython, cause of it's Java integration. First of all, I want to congratulate for this really good and nice project! I also wrote a post about it: http://weblogs.java.net/blog/lucastorri/archive/2007/09/jython_scriptin.html Second, I've installed Jython with the installation jar available at the website and I don't know if this is just with me, but there are some hot keys that are not available at the Jython interpreter and they are in CPython: - Ctrl+R : for reverse search in already entered lines - Ctrl+L : to clear screen - Ctrl+Y : to paste the line removed by Ctrl+U - up : previous entered line - down : next entered line This hot keys are very useful when experimenting code. They are different in Jython or they don't exist? Thanks in advance -- ;) Lucas B. Torri [00:12:62:F8:E1:0C] |
From: Moore, G. <Gre...@ad...> - 2007-09-27 17:15:24
|
=20 Hi Lucas,=20 Welcome to the Jython. I find it's a lot of fun. In any case, I'm using Jython on XP with Java 1.4.2, 1.5 and now and then 1.6 and the up and down arrow keys seem to work well.. I didn't know about the other ones so I've never used them. =20 What platform and JVM are you on? =20 Regards, Greg. =20 ________________________________ From: jyt...@li... [mailto:jyt...@li...] On Behalf Of Lucas Torri Sent: Thursday, September 27, 2007 9:57 AM To: jyt...@li... Subject: [Jython-users] hotkeys in the intepreter =20 Hello everybody! I've been using CPython for a while and now I'm coming to Jython, cause of it's Java integration. First of all, I want to congratulate for this really good and nice project! I also wrote a post about it: http://weblogs.java.net/blog/lucastorri/archive/2007/09/jython_scriptin. html Second, I've installed Jython with the installation jar available at the website and I don't know if this is just with me, but there are some hot keys that are not available at the Jython interpreter and they are in CPython:=20 *=09Ctrl+R : for reverse search in already entered lines *=09Ctrl+L : to clear screen *=09Ctrl+Y : to paste the line removed by Ctrl+U *=09up : previous entered line *=09down : next entered line This hot keys are very useful when experimenting code. They are different in Jython or they don't exist? Thanks in advance --=20 ;) Lucas B. Torri [00:12:62:F8:E1:0C]=20 This message and any attachments are intended only for the use of the add= ressee and may contain information that is privileged and confidential. I= f the reader of the message is not the intended recipient or an authorize= d representative of the intended recipient, you are hereby notified that = any dissemination of this communication is strictly prohibited. If you ha= ve received this communication in error, please notify us immediately by = e-mail and delete the message and any attachments from your system. |
From: Raghuram D. <dra...@gm...> - 2007-09-27 17:32:22
|
On 9/27/07, Lucas Torri <luc...@gm...> wrote: > > Hello everybody! > > I've been using CPython for a while and now I'm coming to Jython, cause of > it's Java integration. > > First of all, I want to congratulate for this really good and nice > project! I also wrote a post about it: > http://weblogs.java.net/blog/lucastorri/archive/2007/09/jython_scriptin.html > > Second, I've installed Jython with the installation jar available at the > website and I don't know if this is just with me, but there are some hot > keys that are not available at the Jython interpreter and they are in > CPython: > > - Ctrl+R : for reverse search in already entered lines > - Ctrl+L : to clear screen > - Ctrl+Y : to paste the line removed by Ctrl+U > - up : previous entered line > - down : next entered line > > > This hot keys are very useful when experimenting code. They are different > in Jython or they don't exist? > You need to set up readline on unix. Please check http://wiki.python.org/jython/ReadlineSetup for details. |
From: Lucas T. <luc...@gm...> - 2007-09-27 18:10:04
|
Great! It worked with the ReadlineSetup. Thanks for the fast reply. On 9/27/07, Raghuram Devarakonda <dra...@gm...> wrote: > > > > On 9/27/07, Lucas Torri <luc...@gm...> wrote: > > > > Hello everybody! > > > > I've been using CPython for a while and now I'm coming to Jython, cause > > of it's Java integration. > > > > First of all, I want to congratulate for this really good and nice > > project! I also wrote a post about it: http://weblogs.java.net/blog/lucastorri/archive/2007/09/jython_scriptin.html > > > > > > Second, I've installed Jython with the installation jar available at the > > website and I don't know if this is just with me, but there are some hot > > keys that are not available at the Jython interpreter and they are in > > CPython: > > > > - Ctrl+R : for reverse search in already entered lines > > - Ctrl+L : to clear screen > > - Ctrl+Y : to paste the line removed by Ctrl+U > > - up : previous entered line > > - down : next entered line > > > > > > This hot keys are very useful when experimenting code. They are > > different in Jython or they don't exist? > > > > You need to set up readline on unix. Please check > http://wiki.python.org/jython/ReadlineSetup for details. > -- ;) Lucas B. Torri [00:12:62:F8:E1:0C] |