Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 23:07:32 -0700 (PDT)
From:      Stanley.Hopcroft@IPAustralia.Gov.AU
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/22235: ReadLine/ReadKey perl modules (part of CPAN-1.5[78]) do not provide command history under 4.1-RELEASE
Message-ID:  <20001023060732.43C9837B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 22 23:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001023060732.43C9837B479>