News for hackers. Stuff that matters.
Re:A GNU-Readline-like library for .NET by maxaf on Friday February 10, 2017 @01:12PM (#13617508)
Awesome! So we can stop copy-pasting this: http://tirania.org/blog/archive/2008/Aug-26.html
Re:A GNU-Readline-like library for .NET by j_s on Friday February 10, 2017 @02:16PM (#13618029)
Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @01:51PM (#13617841)
Lol, yes you can maxaf. Part of the reason I built this library in the first place
Re:A GNU-Readline-like library for .NET by xoluxo123 on Friday February 10, 2017 @05:15PM (#13619385)
There is also a nuget package
Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @11:30AM (#13616587)
Library author here. I would love if people took it for a spin and gave me feedback. Also contributions are welcome, I'm currently trying to figure out ways of testing deeper into the library.
Re:A GNU-Readline-like library for .NET by Spivak on Friday February 10, 2017 @11:43AM (#13616716)
Do you plan to support the equivalent of ~/.inputrc to configure editing options (specifically vi editing mode)?

https://www.gnu.org/software/bash/manual/html_node/Readline-...

Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @11:48AM (#13616761)
That's a good one. Although, considering I built the library to allow developers build their own bash like experiences I think it might be better to leave it up to them to define their own editing config files
Re:A GNU-Readline-like library for .NET by jonathan_s on Friday February 10, 2017 @12:12PM (#13616971)
Hi, I'm the author of prompt_toolkit. A library that does something similar for Python. Don't hesitate to copy anything you need. It took me a few iterations to get the API as I wanted.

One thing I underestimated was the importance of having all readline key bindings available. People are really sensitive when certain functionality that they are used to is missing. (And you've no idea how much functionality there is in readline until you have to implement it.)

Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @12:20PM (#13617039)
Thanks jonathan, I'll be sure to take a look. Having feature parity with GNU Readline is something I'm hoping to have in the future, it's a lot of work but it's open source so Im sure I'm not alone :)
Re:A GNU-Readline-like library for .NET by youdontknowtho on Friday February 10, 2017 @10:52AM (#13616172)
That's really cool. I was just looking at the ReadLine that the PowerShell team released the other day.
Re:A GNU-Readline-like library for .NET by Anthony-G on Friday February 10, 2017 @03:00PM (#13618383)
Only this week, I decided to get serious about learning PowerShell. I had tried it before but didn’t really get hooked. This time, I persevered and was also lucky enough to stumble across PSReadLine and some of the other goodies listed at http://psget.net/directory/ So far, it’s the Readline emulation that has made the biggest impression. With it, PowerShell has become so much more pleasurable to use and it’s no longer annoying to switch between it and Bash on Cygwin.
Re:A GNU-Readline-like library for .NET by nailer on Friday February 10, 2017 @12:35PM (#13617174)
I use psreadline / conemu every day (it's been out quite a while). If you have GNU ctrl-R, up, escape underscore etc in your fingertips, you want it.

Windows users:

    Install-Package PSReadLine
Then add

    Import-Module PSReadLine
To whatever $profile is.

tonerdo: I don't really know .net very well, how would .net readline compare to psreadline?

Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @01:54PM (#13617864)
So PSReadline looks really good and it seems popular too. I haven't used it yet but I would imagine that because it's a Powershell module it can't be easily used in other .NET languages like C#, F# or even VB
Re:A GNU-Readline-like library for .NET by dmarlow on Friday February 10, 2017 @11:01AM (#13616263)
Do you have a link? I can't seem to locate it. Thanks!
Re:A GNU-Readline-like library for .NET by tonerdo on Friday February 10, 2017 @11:09AM (#13616341)
This might be the PS library he's talking about: https://github.com/lzybkr/PSReadLine