osdir.com
mailing list archive

Subject: Re: about readline in jython - msg#00041

List: lang.jython.user

Date: Prev Next Index Thread: Prev Next Index
On 2/13/06, fo <feofao@xxxxxxxxx> wrote:
> i hava compild jython whith readline.jar yet, but it seems jython has not
> get it up. what should i do? thanks.

Here's some discussion from the list archives that may help:

http://thread.gmane.org/gmane.comp.lang.jython.user/4009

Suppose i should document that on a wiki page. Or maybe Console.py in
Demo/swing could substitute in a pinch since it at least gives access
to the command history?

- kz


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

about readline in jython

i hava compild jython whith readline.jar yet, but it seems jython has not get it up. what should i do? thanks.

Next Message by Date: click to view message preview

problems with import re and grinder

hello everybody. i'm new with jython/python and try to run loadtest with grinder on a windows maschine. when i add import re to my script, i get the error msg: AssertionError: SRE module mismatch File "C:\jython\install\Lib\sre_compile.py", line 17, in ? File "C:\jython\install\Lib\sre.py", line 97, in ? File "C:\jython\install\Lib\re.py", line 7, in ? File "myTestFile.py", line 6, in ? i found a post saying this has been fixed, but??? i tried jython21 and 20 as well. it works fine from the command line though! import sys, os, string... works fine as well. has anybody a solution for me and/or experience with grinder?? cheers, raphi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642

Previous Message by Thread: click to view message preview

about readline in jython

i hava compild jython whith readline.jar yet, but it seems jython has not get it up. what should i do? thanks.

Next Message by Thread: click to view message preview

Re: about readline in jython

Khalid Zuberi <kzuberi <at> gmail.com> writes: > > On 2/13/06, fo <feofao <at> gmail.com> wrote: > > i hava compild jython whith readline.jar yet, but it seems jython has not > > get it up. what should i do? thanks. > > Here's some discussion from the list archives that may help: > > http://thread.gmane.org/gmane.comp.lang.jython.user/4009 > > Suppose i should document that on a wiki page. Or maybe Console.py in > Demo/swing could substitute in a pinch since it at least gives access > to the command history? > You might also want to add a note about rlwrap to the Wiki. Here is a bit of explanation from the rlwrap README: rlwrap is a 'readline wrapper', a small utility that uses the GNU readline library to allow the editing of keyboard input for any command. I couldn't find anything like it when I needed it, so I wrote this one back in 1999. By now, there are a number of good readline wrappers around, like rlfe, distributed as part of the GNU readline library, and cle (http://kaolin.unice.fr/Cle/). rlwrap should be especially useful when you need user-defined completion (by way of completion word lists) and persistent history. Moreover, it should be portable across a fairly wide range of Unix systems (it works under cygwin as well) In brief, rlwrap provides command line history, command line editing, and a bit of word completion. For those of us unable or unwilling to build Jython from source, it provides a useful solution to this problem. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by