Skip Menu |
 

This queue is for tickets about the CLI-Framework CPAN distribution.

Report information
The Basics
Id: 56882
Status: resolved
Priority: 0/
Queue: CLI-Framework

People
Owner: Nobody in particular
Requestors: ghewson [...] wormhole.me.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.03
  • 0.03_01
  • 0.04
  • 0.04_01
  • 0.04_02
Fixed in: (no value)



Subject: Command lines are added to history file twice
Download (untitled) / with headers
text/plain 309b
Using Term::ReadLine::Gnu, each command entered interactively is added to the history file twice. I can fix the problem by commenting out the line: $term->addhistory( $command_request ); in read_cmd() in Application.pm. I think the module should check the autohistory feature of the Term::ReadLine object.
Download (untitled) / with headers
text/plain 555b
You're right, thanks. I've found a fix that will avoid adding commands to the history if the local readline lib supports autohistory. I'm planning to release the fix in 0.05. On Sat Apr 24 05:57:40 2010, ghewson wrote: Show quoted text
> Using Term::ReadLine::Gnu, each command entered interactively is added > to the history file twice. > > I can fix the problem by commenting out the line: > > $term->addhistory( $command_request ); > > in read_cmd() in Application.pm. > > I think the module should check the autohistory feature of the > Term::ReadLine object.
fixed in 0.05


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.