making rlwrap Clojure friendly

2009-11-23 Thread Sergey Didenko
Hi,

has anybody tried to make rlwrap lexer more Clojure friendly? Just
adding - to the word characters would be a big gain (to enjoy
auto-completion.)

I spent some time looking through rlwrap sources but has not find a
good place to do the changes.

Regards, Sergey.

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: making rlwrap Clojure friendly

2009-11-23 Thread Sergey Didenko
Probably it can be done with Rlwrap filters, I have not tried it yet.

On Sat, Nov 21, 2009 at 2:30 PM, Sergey Didenko
sergey.dide...@gmail.com wrote:
 Hi,

 has anybody tried to make rlwrap lexer more Clojure friendly? Just
 adding - to the word characters would be a big gain (to enjoy
 auto-completion.)

 I spent some time looking through rlwrap sources but has not find a
 good place to do the changes.

 Regards, Sergey.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: making rlwrap Clojure friendly

2009-11-23 Thread Chouser
On Sat, Nov 21, 2009 at 7:30 AM, Sergey Didenko
sergey.dide...@gmail.com wrote:
 Hi,

 has anybody tried to make rlwrap lexer more Clojure friendly? Just
 adding - to the word characters would be a big gain (to enjoy
 auto-completion.)

 I spent some time looking through rlwrap sources but has not find a
 good place to do the changes.

The shell script I use to start my Clojure REPLs includes this:

rlwrap --remember --complete-filenames \
   --history-filename ~/.clojure/history \
   --break-chars \\\'(){}[],^%$#@;:| \
   java and its startup args here

I'm sure it's imperfect, but works well enough for me.

--Chouser

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: making rlwrap Clojure friendly

2009-11-23 Thread Sergey Didenko
So simple :) Thanks!

On Mon, Nov 23, 2009 at 4:47 PM, Chouser chou...@gmail.com wrote:
 The shell script I use to start my Clojure REPLs includes this:

 rlwrap --remember --complete-filenames \
   --history-filename ~/.clojure/history \
   --break-chars \\\'(){}[],^%$#@;:| \
   java and its startup args here


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en