Hi,

Excellent, thanks!

It almost works now, however something fishy is going on when it tries
to launch screen from vim. I've done the following setting:
  :let g:chimp#ScreenCommand="/usr/bin/screen"
which means that chimp.vim executes:
  call system('/usr/bin/screen -x 8844.chimp -X eval "select 0"
"readbuf" "paste ."')
but nothing happens. I've tried to run it manually from vim as well to
no avail. However, if I run the command in bash it just works so the
error seems to be in vim. I've tried to do the following in vim as
well, and it works so I know that vim can execute screen:
  :call system("/usr/bin/screen -list > screenlist")

Sorry for getting a bit OT but I'd really like to get this thing
working. If anyone has any idea I would very much appreciate it!

Cheers,
 Jonas

On Oct 8, 11:07 pm, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Am 08.10.2008 um 23:16 schrieb Jonas Bengtsson:
>
> > Trying to get Chimp running under cygwin. It seems like it depends on
> > the following packages: vim, screen, util-linux (for getopt).
>
> I use it at work with a Windows vim and Cygwin screen. The idea is to
> start clojure with the chimp wrapper. This sets up the screen and starts
> the clojure REPL:
>      chimp.sh -- rlwrap java -cp clojure.jar clojure.lang.Repl
>
> Or whatever you use to start your clojure. It should give a screen with
> a running REPL. At the bottom you get the so-called "Chimp ID". This is
> used to contact the screen from Vim, which runs outside the screen.
>
> For a cygwin vim, it should actually work as is. For a Windows vim you
> maybe have to adjust the path to the temporary directory. I must
> confess, that I don't know my settings at work by heart. I will check
> tomorrow and provide my settings as an example.
>
> Hope this helps for the moment.
>
> Sincerely
> Meikel

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to