Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #165298
| From | Kynn Jones <kynnjo@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to install Perl with readline support? |
| Date | 2016-03-12 19:50 +0100 |
| Message-ID | <rbWLU-1YR-3@gated-at.bofh.it> (permalink) |
| References | <rbV3s-BF-11@gated-at.bofh.it> <rbVG9-19K-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 3/12/16, David Christensen <dpchrist@holgerdanske.com> wrote:
> If I install:
>
> libterm-readline-perl-perl
>
>
> And run the example again:
>
> $ perl readline.pl
>
> Enter your arithmetic expression: 1+1
> 2
>
> Enter your arithmetic expression: 1+1
> 2
>
> Enter your arithmetic expression:
>
>
> History works, but there are extra blank lines between prompts and my
> terminal can get stuck in bold mode depending on how I exit (?).
Thanks.
What happens when you run
% perl -de 0
Loading DB routines from perl5db.pl version 1.44
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(-e:1): 0
DB<1> p 1
1
DB<2>
...and then type UP-ARROW?
(When I do this, I get `^[[A`, and I also have installed
libterm-readline-perl-perl.)
kj
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to install Perl with readline support? Kynn Jones <kynnjo@gmail.com> - 2016-03-12 18:00 +0100
Re: How to install Perl with readline support? "John L. Cunningham" <djohngo@gmail.com> - 2016-03-12 18:10 +0100
Re: How to install Perl with readline support? David Christensen <dpchrist@holgerdanske.com> - 2016-03-12 18:50 +0100
Re: How to install Perl with readline support? David Christensen <dpchrist@holgerdanske.com> - 2016-03-12 18:40 +0100
Re: How to install Perl with readline support? Kynn Jones <kynnjo@gmail.com> - 2016-03-12 19:50 +0100
Re: How to install Perl with readline support? David Christensen <dpchrist@holgerdanske.com> - 2016-03-12 20:00 +0100
csiph-web