Re: Prompt not really working during cpan installations
[email protected] (Dan Dascalescu)
| Newsgroups | perl.win32.vanilla |
|---|---|
| Message-ID | <[email protected]> |
Hi Curtis, > I deliberately install Term::ReadKey 2.30.01 [ > http://search.cpan.org/~stsi/TermReadKey-2.30.01/ ] in Strawberry - > could you check and see if that's the version you have? C:\Documents and Settings\dandv>perl -M"Term::ReadKey 99" Term::ReadKey version 99 required--this is only version 2.30.01. > If that's the > case, reinstall 2.30 [ http://search.cpan.org/~jstowe/TermReadKey-2.30/ > ] and see if that works for you. C:\Documents and Settings\dandv>cpan J/JS/JSTOWE/TermReadKey-2.30.tar.gz CPAN: CPAN::SQLite loaded ok (v0.198) Database was generated on Fri, 11 Dec 2009 22:20:07 GMT CPAN: YAML loaded ok (v0.70) Running make for J/JS/JSTOWE/TermReadKey-2.30.tar.gz [...] The installation went fine and tests passed, but the problem persists: cpan> q Unknown shell command 'q'. Type ? for help. In the meantime I copied over the Inline::Java files from my previous Strawberry installation (5.10.0.6). If I switch to the old Strawberry installation (by renaming directories), 'q' still does not exit from the cpan shell, but I can get past the Inline::Java prompt. In both installs, switching among Term::Readkey 2.30 and 2.30.01 does not change the behavior. Since the environment doesn't change when I switch between the two Strawberries, and since you can't reproduce the problem, it looks like the cause resides within some other Perl modules that I've installed. I've uploaded the list of modules in the old Strawberry at http://pastie.org/739785.txt and the list of modules in the current one (5.10.1) at http://pastie.org/739786.txt -- Dan > On Thu, 10 Dec 2009 14:37 -0800, "Dan Dascalescu" > <[email protected]> wrote: >> I'm using Strawberry Perl 5.10.1 (installed from the .msi) on Windows >> XP SP3, with TERM=dumb. >> >> I'm having a bunch of problems with prompts in the cpan shell, or >> while running cpan: >> >> 1. at the cpan> prompt, 'q' then Enter doesn't exit. I have to Ctrl+C. >> >> 2. at the cmd.exe prompt, when I run `cpan Inline`, I can't get past >> the "Do you want to install Inline::C" prompt (none of 'y', Enter, or >> 'n' work). >> >> 3. at the cpan prompt, `o conf init test_report` doesn't take the >> default value when I press Enter. >> >> Any ideas what's wrong? > -- > Curtis Jewell http://strawberryperl.com/ > [email protected] http://csjewell.dreamwidth.org/ > > Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ > >