Code Monkey home page Code Monkey logo

Comments (5)

willghatch avatar willghatch commented on May 30, 2024

The opposite, rather. It is in the newest version in git. I think it will be in the release that is happening soon. But you can also do raco pkg update --clone readline-lib to get the latest version.

I added the pre-readline-input-port to be able to use Racket's readline FFI module for the rash repl. Otherwise every pipeline that normally doesn't read stdin (eg. ls) would eat some of the input due to the impedance mismatch between racket ports and OS file descriptors. I had been using rlwrap to get some line editing before, but this gives full readline editing inside the repl, including completion.

from racket-rash.

willghatch avatar willghatch commented on May 30, 2024

Oh, be sure to do raco pkg update --clone readline-lib in some directory where you want the new git repository of readline to live.

from racket-rash.

Ninlives avatar Ninlives commented on May 30, 2024

Oh, I see, thank you :P

from racket-rash.

willghatch avatar willghatch commented on May 30, 2024

When I pushed the breaking commit (IE the one requiring the new functionality), the readline package was already updated. I didn't at the time think about the fact that (I think) the core libraries are pinned for releases, but other packages aren't (or at least they're not without some intervention). I'm hoping this issue is resolved in the upcoming release, but for future such breaking things I'll try to keep them in a separate branch if they require not-yet-released features.

That said, this feature (and another I'm trying to get into readline right now) really improve interactive rash usage a lot (to the point where with these two features I'm now using rash as my main shell). But I'm really not trying to make it harder to try rash...

from racket-rash.

willghatch avatar willghatch commented on May 30, 2024

Now that the new functionality is in the released version (version 6.12), I am adding the changes back. So the current version of this package will no longer work on 6.11 or earlier without updating the readline-lib package to a newer version.

from racket-rash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.