From nobody@FreeBSD.ORG  Sun Oct 22 23:07:32 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 43C9837B479; Sun, 22 Oct 2000 23:07:32 -0700 (PDT)
Message-Id: <20001023060732.43C9837B479@hub.freebsd.org>
Date: Sun, 22 Oct 2000 23:07:32 -0700 (PDT)
From: Stanley.Hopcroft@IPAustralia.Gov.AU
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: ReadLine/ReadKey perl modules (part of CPAN-1.5[78]) do not provide command history under 4.1-RELEASE
X-Send-Pr-Version: www-1.0

>Number:         22235
>Category:       misc
>Synopsis:       ReadLine/ReadKey perl modules (part of CPAN-1.5[78]) do not provide command history under 4.1-RELEASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 22 23:10:01 PDT 2000
>Closed-Date:    Mon Nov 6 12:00:58 PST 2000
>Last-Modified:  Mon Nov 06 12:02:49 PST 2000
>Originator:     Stanley Hopcroft
>Release:        4.1-RELEASE
>Organization:
IP Australia
>Environment:
FreeBSD stan.aipo.gov.au 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Sep  1 13:27:48 EST 2000     root@stan.aipo.gov.au:/usr/src/sys/compile/STAN2  i386

>Description:
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.
 
>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


>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.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joe 
State-Changed-When: Mon Nov 6 12:00:58 PST 2000 
State-Changed-Why:  
Closed at the request of the submitter: false alarm. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22235 
>Unformatted:
