GithubHelp home page GithubHelp logo

Comments (5)

rdp avatar rdp commented on July 17, 2024

I would note that redirecting stdout works well.

from rb-readline.

luislavena avatar luislavena commented on July 17, 2024

Thank you Roger.

I've been trying to get that implemented, without success. I'll try once again RC1 for Ruby Installer is out.

from rb-readline.

rdp avatar rdp commented on July 17, 2024

Yeah I got kind of hack on it

http://github.com/rdp/rb-readline/commit/1c3c676a6c5c81350d2eb06b6d0c41105d1a902a

Though it spews out a warning "stty device is not something" when I use it [it does allow me to read from files, allowing me to run unit tests against readline, which is what I wanted :) ]

from rb-readline.

luislavena avatar luislavena commented on July 17, 2024

Hello,

In your proposed patch I don't see any particular functionality that is going to make this work with redirection.

Please provide a concrete patch based on latest codebase (specially in a topic branch) and send a pull request.

Closing this out.

from rb-readline.

rdp avatar rdp commented on July 17, 2024

It's this global that sets it or not.
$rb_readline_use_file_io_on_windows
But the patch was incomplete so you can probably ignore it. One worry is that not having this patch probably means that rb-readline has no unit tests, but I suppose worry about that one as it comes.

from rb-readline.

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.