Bug 22235

Summary: ReadLine/ReadKey perl modules (part of CPAN-1.5[78]) do not provide command history under 4.1-RELEASE
Product: Base System Reporter: Stanley.Hopcroft <Stanley.Hopcroft>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description Stanley.Hopcroft 2000-10-23 07:10:01 UTC
The Perl Bundle (Bundle::CPAN) provides editing of the Perl debugger history
with Perl modules ReadLine and Readkey.

These modules have not changed in recent releases of Bundle::CPAN and work Ok
under FreeBSD 4.0-R and 3.x-R.

They do not work under 4.1-RELEASE.

While the shell command history (tcsh/csh) works fine,
both the cpan shell and the perl debugger (perl -de 1)
provide no command line history or editing.

The normal behaviour is when the "UPArrow" key is pressed to
redisplay the last command or nothing.

On a 4.1-R system, pressing "UpArrow" results in

. no Escape sequence echo 
. a bleep
. no last command displayed at the current debugger prompt.

Fix: 

Downgrade to 4.0-RELEASE.

ie reinstall 4.0-RELEASE + data + applications.

This is a cost I am willing to bear but others may not.
How-To-Repeat: 1 Install Bundle::CPAN (ie CPAN-1.57 or 1-58)
2 start the (cpan shell or the) debuffer (perl -de 1)
3 enter a perl statement eg (print "Hello World\n")
4 press "UpArrow" key
5 you should see the last statement opposite the debugger prompt;
pressing the "LeftArrow" key should move the curser left in
the statement string
Comment 1 joe freebsd_committer freebsd_triage 2000-11-06 20:00:58 UTC
State Changed
From-To: open->closed

Closed at the request of the submitter: false alarm.