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 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 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 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
http://tirania.org/blog/archive/2016/Jan-14.html
https://www.gnu.org/software/bash/manual/html_node/Readline-...
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.)
Windows users:
Then add To whatever $profile is.tonerdo: I don't really know .net very well, how would .net readline compare to psreadline?