Re: Any better client then telnet for connecting to a socket repl server?

2018-03-14 Thread Didier
Okay, for anyone else coming here and looking, you must absolutely try out 
Unravel https://github.com/Unrepl/unravel

Its a command line tool that you install through npm (implemented in 
ClojureScript cool!), and then you can just do:

unravel  

>From your terminal, and it will connect to any standard Clojure 1.8+ socket 
repl and give you a Repl with full emacs like readline, multi-line support, 
auto-complete, and eldoc style instant documentation. No need to add any 
extra dependencies to your Clojure project or setup anything more then just 
activate the socket repl.

Frankly its amazing, and I think everyone who needs to connect to a socket 
repl should give it a go.

P.S.: Also shout out to Spiral https://github.com/Unrepl/spiral, which is 
an emacs package for connecting to a Clojure 1.8+ socket REPL which gives 
you almost as many features as Cider does with nRepl.

On Friday, 2 March 2018 17:49:45 UTC-8, Didier wrote:
>
> I want to connect to a Clojure socket repl server, but telnet is a really 
> terrible repl experience. Anyway I can have a better client to connect to 
> it that would have some better support for history, backspace, maybe even 
> some auto-complete, highlight, etc. Whatever I can get over telnet?
>
> Thanks
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any better client then telnet for connecting to a socket repl server?

2018-03-10 Thread Stuart Sierra
I sometimes use inf-clojure mode 
 in Emacs, which can connect 
directly to a socket REPL. I have a helper Elisp function 
inf-clojure-to-socket 

.

You might also try readline with Netcat (nc) as an alternative to Telnet.

–S

On Friday, March 2, 2018 at 8:49:45 PM UTC-5, Didier wrote:
>
> I want to connect to a Clojure socket repl server, but telnet is a really 
> terrible repl experience. Anyway I can have a better client to connect to 
> it that would have some better support for history, backspace, maybe even 
> some auto-complete, highlight, etc. Whatever I can get over telnet?
>
> Thanks
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Any better client then telnet for connecting to a socket repl server?

2018-03-04 Thread Kimmo Koskinen
Hi!

There are quite impressive socket repl clients such as 
https://github.com/Unrepl/unravel and https://github.com/Unrepl/spiral (for 
Emacs) both of which use the unrepl protocol https://github.com/unrepl/unrepl.

- Kimmo

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Sean Corfield
You can use rlwrap with telnet but it’s a bit of a pain to deal with getting 
back out of the session. I’ve found the following works:

rlwrap -q ^Q telnet 127.0.0.1 

This sets up control-q as a quote character so when you’re ready to exit the 
session you can do ^Q ^] q 

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Didier 

Sent: Friday, March 2, 2018 5:49:45 PM
To: Clojure
Subject: Any better client then telnet for connecting to a socket repl server?

I want to connect to a Clojure socket repl server, but telnet is a really 
terrible repl experience. Anyway I can have a better client to connect to it 
that would have some better support for history, backspace, maybe even some 
auto-complete, highlight, etc. Whatever I can get over telnet?

Thanks

--
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
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Timothy Baldridge
Sadly NREPL isn't a REPL it's a RPC protocol transport for remote
controlling a Clojure instance.

You might look into rebel: although I'm not sure how well that plays with
remote terminals.  https://github.com/bhauman/rebel-readline.

Also look into doing some of this with readline. Perhaps you can pipe
something together via netcat, GPL readline, and socket servers?

Also Emacs provide a lot of this support via inferior lisp. So, like any
lisp you can tell emacs that your inferior lisp command is a telnet command
and it all "just works".

Timothy

On Sat, Mar 3, 2018 at 11:17 AM, Chris Shellenbarger 
wrote:

> Can you use NREPL?  https://github.com/clojure/tools.nrepl
>
> This seems to be what most tools that provide a REPL are built on top of
> (Cursive, CIDER, etc).
>
>
> On Friday, March 2, 2018 at 7:49:45 PM UTC-6, Didier wrote:
>>
>> I want to connect to a Clojure socket repl server, but telnet is a really
>> terrible repl experience. Anyway I can have a better client to connect to
>> it that would have some better support for history, backspace, maybe even
>> some auto-complete, highlight, etc. Whatever I can get over telnet?
>>
>> Thanks
>>
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Chris Shellenbarger
Can you use NREPL?  https://github.com/clojure/tools.nrepl  

This seems to be what most tools that provide a REPL are built on top of 
(Cursive, CIDER, etc).

On Friday, March 2, 2018 at 7:49:45 PM UTC-6, Didier wrote:
>
> I want to connect to a Clojure socket repl server, but telnet is a really 
> terrible repl experience. Anyway I can have a better client to connect to 
> it that would have some better support for history, backspace, maybe even 
> some auto-complete, highlight, etc. Whatever I can get over telnet?
>
> Thanks
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.