Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rlwrap: warning: rlwrap appears to do nothing for clojure #335

Open
jleonard-r7 opened this issue Oct 12, 2022 · 9 comments
Open

rlwrap: warning: rlwrap appears to do nothing for clojure #335

jleonard-r7 opened this issue Oct 12, 2022 · 9 comments

Comments

@jleonard-r7
Copy link

Followed the nodejs tutorial in the documentation and this is printed in the repl:

rlwrap: warning: rlwrap appears to do nothing for clojure, which asks for
single keypresses all the time. Don't you need --always-readline
and possibly --no-children? (cf. the rlwrap manpage)

warnings can be silenced by the --no-warnings (-n) option

The problem also occurs for new projects generated with the clj-new utility.

@lesormonde
Copy link

+1 for this problem using cli-new

@johanatan
Copy link

Still have this problem. Any way to at least suppress the warning?

@network-shark
Copy link

me2

@lesormonde
Copy link

me 2

@lesormonde
Copy link

lesormonde commented Dec 27, 2024

Still have this problem using clj-new. Is there any resolution in sight?

@bhauman
Copy link
Owner

bhauman commented Jan 20, 2025

So this seems like an error from rlwrap. rlwrap is used by the clj command but it isn't used by the clojure command.

@lesormonde can you give me some more details about what caused this.

https://github.com/clojure/brew-install/blob/1.12.0/src/main/resources/clojure/install/clj

@bhauman
Copy link
Owner

bhauman commented Jan 20, 2025

I'd really like to know the platform and the version of rlwrap. As I'm not seeing this. I'd also like to know if using clojure and not clj makes this problem go away.

@lesormonde
Copy link

lesormonde commented Jan 22, 2025 via email

@bhauman
Copy link
Owner

bhauman commented Jan 22, 2025

OK you can't use clj -M:fig:build as the clj command adds rlwrap which is something you can't use when you are running figwheel which includes it's own line reader.

You have to use clojure -M:fig:build.

If you aren't using rebel-readline-cljs then you are going to want to use clj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants