Neither Linenoise or Readline has solid multi-byte character support, as I understand it. Getting unicode support would require switching to libedit (or something else) I think.
Sent from my iPhone Daniel Lathrop (@lathropd) Mobile: (206) 718-0349 PGP key: https://keybase.io/lathropd (raw) > On Aug 20, 2020, at 11:28 PM, William Michels <w...@caa.columbia.edu> wrote: > > Hi Daniel, and welcome! > > I'm building Rakudo from source on Apple (MacOS), which gives me a > later version than I might get with Rakudo-Star. Patrick Spek is the > person to ask about Rakudo-Star, and I've copied him on this email. I > can't speak to who decides what happens with Jeff Goff's significant > Perl6/Raku coding efforts. I'm assuming someone will contact you--here > or on Github. > > Anyway I've been using Rob Hoelz's excellent Linenoise module instead > of Readline to work the Rakudo REPL. I'm actually very happy with > Linenoise, but it would be nice to have a choice (Readline didn't work > out for me). I'm sure others can chime in here: which is better? Which > is more powerful? Maybe the patch you've come up with could be > (metaphorically) applied to the successful Raku-Linenoise module as > well. > > Areas of improvement I'd like to see in terms of the REPL are the following: > > 1. Maybe a way to copy/paste multiple lines in at the REPL command > prompt? Or send to the REPL via tmux (maybe in conjunction with Brian > Duggan's Tmeta module)? > 2. Unicode...Is there a way to improve 'character width' and/or cursor > position (the cursor is often far to the right of displayed Unicode > characters)? > 3. Also Unicode...occasionally I only "partially" delete a Unicode > character while in the REPL, which results in a "Malformed termination > of UTF-8 string" error. Please save me from my screw-ups, > > Best, Bill. > > W. Michels, Ph.D. > > > > > >> On Thu, Aug 20, 2020 at 8:22 PM <d...@foo.ist> wrote: >> >> Hi fellow Rakuists, >> >> I’m a total Raku n00b, and I’m looking for guidance. The late Jeff >> Goff‘S Readline package doesn’t work on Macs anymore, which makes Rakudo >> Star kind of broken in Apple-land — at least it is when installed via >> Homebrew. >> >> I have a patch written, but don’t know whether to ask PAUSE to transfer >> the package maintainership to me, fork it (as Term::Readline or >> somesuch)... or something else. >> >> It’s not a hugely complex package, and I can see myself maintaining it. >> (I’m currently on the core team of a moderately popular Node.js package, >> so I know the drill.) >> >> I read about Jeff, and he seems like an amazing person. So I want to be >> very respectful. >> >> Please let me know what you think is best. >> >> Thanks, >> Daniel Lathrop >> https://daniel.buzz >> >> p.s. it already feels great to be in the Raku community. Everyone is so >> darn nice. >