Skip Menu |
 

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 69370
Status: open
Priority: 0/
Queue: Devel-REPL

People
Owner: Nobody in particular
Requestors: daiei27 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Difficult to use output
Date: Fri, 8 Jul 2011 15:14:57 -0400
To: <bug-devel-repl [...] rt.cpan.org>
From: Chris N <daiei27 [...] hotmail.com>
Download (untitled) / with headers
text/plain 1.2k
### Environment ### Version: Devel-REPL-1.003012 (all optional modules installed) # perl -v This is perl, v5.10.1 (*) built for i686-linux-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. # uname -a Linux my.server.name 2.6.18-194.17.1.el5PAE #1 SMP Mon Sep 20 07:34:07 EDT 2010 i686 i686 i386 GNU/Linux ################### Looks like a nice module, but the output is not as pretty for me as in the documentation. This is using re.pl in a Bash shell in a gnome-terminal: $ print 'hey' 1$ hey The next command starts after the output, making it so awkward it is unusable. It would be better like this: $ print 'hey' hey 1 $ Another suggestion. I really don't like the prompt. It appears underlined so it ends up looking like the built-in $_ Perl var. I would much prefer something that looks more prompt-ish than Perl-ish, like a '>' or '#'. No fancy underline needed.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #69370] Difficult to use output
Date: Fri, 8 Jul 2011 14:21:53 -0500
To: Chris N via RT <bug-Devel-REPL [...] rt.cpan.org>
From: Jesse Luehrs <doy [...] tozt.net>
On Fri, Jul 08, 2011 at 03:15:18PM -0400, Chris N via RT wrote: Show quoted text
> Looks like a nice module, but the output is not as pretty for me as in > the documentation. This is using re.pl in a Bash shell in a > gnome-terminal: > $ print 'hey' > 1$ hey > > The next command starts after the output, making it so awkward it is > unusable. It would be better like this: > $ print 'hey' > hey > 1 > $
This is most likely because you have a broken readline module installed (it'd really be nice if the default one didn't suck so much). Try installing Term::ReadLine::Gnu, and see if that works better. Show quoted text
> Another suggestion. I really don't like the prompt. It appears > underlined so it ends up looking like the built-in $_ Perl var. I > would much prefer something that looks more prompt-ish than Perl-ish, > like a '>' or '#'. No fancy underline needed.
This is all customizable through plugins. See http://beta.metacpan.org/module/Devel::REPL#Run-Control-Files for instance - the FancyPrompt plugin (http://beta.metacpan.org/module/Devel::REPL::Plugin::FancyPrompt) will give you a much more useful prompt. -doy
Subject: Re: [rt.cpan.org #69370] Difficult to use output
Date: Fri, 8 Jul 2011 17:17:31 -0400
To: bug-Devel-REPL [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
Download (untitled) / with headers
text/plain 952b
Show quoted text
> Looks like a nice module, but the output is not as pretty for me as in > the documentation.  This is using re.pl in a Bash shell in a gnome-terminal: > $ print 'hey' > 1$ hey
I've not seen this behavior. Maybe your TERM environment variable is not set correctly? Show quoted text
> The next command starts after the output, making it so > awkward it is unusable.  It would be better like this: > $ print 'hey' > hey > 1 > $
Yes, this is what I see. Show quoted text
> Another suggestion.  I really don't like the prompt.  It appears underlined so > it ends up looking like the built-in $_ Perl var.  I would much prefer something > that looks more prompt-ish than Perl-ish, like a '>' or '#'.  No fancy > underline needed.
If you use the Term::ReadLine::Gnu you'll get the behavior you describe. Also, with Term::ReadLine::Perl, just turn off ornaments by setting the environment variable: $ PERL_RL='Perl ornaments=0' re.pl $ Hope this helps. --Chris


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.