Re: REPL and arrows problem

2020-01-22 Thread ToddAndMargo via perl6-users

I am not using Fedora's repo for Rakudo.  I am using

https://github.com/nxadm/rakudo-pkg/releases

Zef is inside the release.  Maybe they forgot Readline




On 2020-01-22 13:15, David Santiago wrote:
So you should open the issue on that project/repo not on the official 
raku project. You are using something from Project B yet complaining in 
project A.



I personally don't think that's a bug since Readline is not a core 
feature and not distributed by the Raku team. (There are other modules 
that do the same like for example, Linenoise)



Regards,
David




Hi David,

Probably so!

I opened on their site too.

REPL dependency check for Readline
https://github.com/nxadm/rakudo-pkg/issues/60

-T

--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~


Re: REPL and arrows problem

2020-01-22 Thread ToddAndMargo via perl6-users

On 2020-01-22 12:36, Norman Gaywood wrote:
On Thu, 23 Jan 2020 at 06:21, ToddAndMargo via perl6-users 
mailto:perl6-users@perl.org>> wrote:


RFE: REPL dependency check for Readline #153
https://github.com/Raku/problem-solving/issues/153

By the way, when you do this, it pops up immediately
on the chat line!  They think of everything.

:-)

-T



Hi Todd,
I don't think this is a Rakudo problem. It's a Fedora 31 problem.
ALready, when you start raku without Readline installed, it gives the 
message:


 > $ raku
 > You may want to `zef install Readline` or `zef install Linenoise` or 
use rlwrap for a line editor

 >
 > To exit type 'exit' or '^D'

Which is pretty much what you are requesting in the two RFEs you posted.

The problem I think in this case is that Readline is not working in 
Fedora 31 even with the following packages installed:


 > rakudo-0.2019.11-3.fc31.x86_64
 > rakudo-Readline-0.1.5-2.fc31.x86_64



Hi Norman,

Fedora 31 is my all time favorite operating system!
I Love Fedora!  Couple that with my Samsung NVMe
drive and ... Joy!

Hmm .

I am not using Fedora's repo for Rakudo.  I am using

https://github.com/nxadm/rakudo-pkg/releases

Zef is inside the release.  Maybe they forgot Readline

I like the way the package things better.  Maybe
it was an oversight on their part.

And I also just became aware I am one revision out
of date.

-T


Re: REPL and arrows problem

2020-01-22 Thread Norman Gaywood
Hi Todd,
I don't think this is a Rakudo problem. It's a Fedora 31 problem.
ALready, when you start raku without Readline installed, it gives the
message:

> $ raku
> You may want to `zef install Readline` or `zef install Linenoise` or use
rlwrap for a line editor
>
> To exit type 'exit' or '^D'

Which is pretty much what you are requesting in the two RFEs you posted.

The problem I think in this case is that Readline is not working in Fedora
31 even with the following packages installed:

> rakudo-0.2019.11-3.fc31.x86_64
> rakudo-Readline-0.1.5-2.fc31.x86_64

On Thu, 23 Jan 2020 at 06:21, ToddAndMargo via perl6-users <
perl6-users@perl.org> wrote:

> RFE: REPL dependency check for Readline #153
> https://github.com/Raku/problem-solving/issues/153
>
> By the way, when you do this, it pops up immediately
> on the chat line!  They think of everything.
>
> :-)
>
> -T
>


-- 
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngayw...@une.edu.au  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: REPL and arrows problem

2020-01-22 Thread ToddAndMargo via perl6-users

On 2020-01-22 11:20, ToddAndMargo via perl6-users wrote:

RFE: REPL dependency check for Readline #153
https://github.com/Raku/problem-solving/issues/153

By the way, when you do this, it pops up immediately
on the chat line!  They think of everything.

:-)

-T



moved to

https://github.com/rakudo/rakudo/issues/3440


Re: REPL and arrows problem

2020-01-22 Thread ToddAndMargo via perl6-users

RFE: REPL dependency check for Readline #153
https://github.com/Raku/problem-solving/issues/153

By the way, when you do this, it pops up immediately
on the chat line!  They think of everything.

:-)

-T


Re: REPL and arrows problem

2020-01-22 Thread Todd Chester via perl6-users




On 2020-01-21 21:44, Norman Gaywood wrote:
On Wed, 22 Jan 2020 at 13:30, Todd Chester via perl6-users 
mailto:perl6-users@perl.org>> wrote:


On 2020-01-21 16:38, Todd Chester via perl6-users wrote:
 > Fedora31

I have Fedora 31 and Readline does not seem to be working for me in the 
raku REPL as well.

But see below!


$ rpm -qa \*raku\*
xfce4-terminal-0.8.9.1-1.fc31.x86_64


Hmm, I don't think that is output from that command. Mine:
  $ rpm -qa \*raku\*
rakudo-XML-0.0.3-0.6.20190728git417f637.fc31.x86_64
rakudo-MIME-Base64-1.2.1-6.fc31.x86_64
rakudo-zef-0.8.2-1.fc31.x86_64
rakudo-0.2019.11-3.fc31.x86_64
rakudo-Readline-0.1.5-2.fc31.x86_64
rakudo-URI-0.2.2-1.fc31.x86_64

$ raku -v
This is Rakudo version 2019.07.1 built on MoarVM version 2019.07.1
implementing Perl 6.d.


Looks like you might have your own rakudo installed not from the default 
system packages. Mine:

$ which raku
/usr/bin/raku
$ raku -v
This is Rakudo version 2019.11 built on MoarVM version 2019.11
implementing Perl 6.d.

In any case, I also have the problem with raku REPL not using Readline 
despite rakudo-Readline-0.1.5-2 being installed.

$ raku
You may want to `zef install Readline` or `zef install Linenoise` or use 
rlwrap for a line editor


To exit type 'exit' or '^D'
 > my $history^[[A^[[A

This seems like a Fedora 31 packaging problem to me.

However, after this:
$ zef install Readline

The arrow keys once again work for me.

--
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngayw...@une.edu.au  
http://turing.une.edu.au/~ngaywood

Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Hi Norman,

Readline was it.  Joy!  Thank you!

-T


Re: REPL and arrows problem

2020-01-21 Thread Norman Gaywood
On Wed, 22 Jan 2020 at 13:30, Todd Chester via perl6-users <
perl6-users@perl.org> wrote:

> On 2020-01-21 16:38, Todd Chester via perl6-users wrote:
> > Fedora31
>

I have Fedora 31 and Readline does not seem to be working for me in the
raku REPL as well.
But see below!


> $ rpm -qa \*raku\*
> xfce4-terminal-0.8.9.1-1.fc31.x86_64
>

Hmm, I don't think that is output from that command. Mine:
 $ rpm -qa \*raku\*
rakudo-XML-0.0.3-0.6.20190728git417f637.fc31.x86_64
rakudo-MIME-Base64-1.2.1-6.fc31.x86_64
rakudo-zef-0.8.2-1.fc31.x86_64
rakudo-0.2019.11-3.fc31.x86_64
rakudo-Readline-0.1.5-2.fc31.x86_64
rakudo-URI-0.2.2-1.fc31.x86_64


> $ raku -v
> This is Rakudo version 2019.07.1 built on MoarVM version 2019.07.1
> implementing Perl 6.d.
>

Looks like you might have your own rakudo installed not from the default
system packages. Mine:
$ which raku
/usr/bin/raku
$ raku -v
This is Rakudo version 2019.11 built on MoarVM version 2019.11
implementing Perl 6.d.

In any case, I also have the problem with raku REPL not using Readline
despite rakudo-Readline-0.1.5-2 being installed.
$ raku
You may want to `zef install Readline` or `zef install Linenoise` or use
rlwrap for a line editor

To exit type 'exit' or '^D'
> my $history^[[A^[[A

This seems like a Fedora 31 packaging problem to me.

However, after this:
$ zef install Readline

The arrow keys once again work for me.

-- 
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngayw...@une.edu.au  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: REPL and arrows problem

2020-01-21 Thread Todd Chester via perl6-users




On 2020-01-21 16:38, Todd Chester via perl6-users wrote:

Fedora31
Xfce 4.14
xfce4-terminal-0.8.9.1-1.fc31.x86_64


$ rpm -qa \*raku\*
xfce4-terminal-0.8.9.1-1.fc31.x86_64

$ raku -v
This is Rakudo version 2019.07.1 built on MoarVM version 2019.07.1
implementing Perl 6.d.


REPL and arrows problem

2020-01-21 Thread Todd Chester via perl6-users

Hi All,

Fedora31
Xfce 4.14
xfce4-terminal-0.8.9.1-1.fc31.x86_64

I have the same setup on both computers.  On
my shop computer, in REPL, the arrow keys
do not read correctly:

> a todd special booboo^[[D^[[D^[[D^[[D^[[D

How do I get my arrow back in REPL on mu
shop computer?

Many thanks,
-T