Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: [ERROR] 'Terminal>' does not contain an author part

by bingos (Vicar)
on Aug 15, 2011 at 11:32 UTC ( #920293=note: print w/replies, xml ) Need Help??


in reply to Re^2: [ERROR] 'Terminal>' does not contain an author part
in thread [ERROR] 'Terminal>' does not contain an author part

The only commonality between cpanp in interactive mode and the debugger is that both use Term::ReadLine

You can disable Term::ReadLine in the debugger with:

set PERLDB_OPTS="ReadLine 0" perl -de 42

Assuming that works then Term::ReadLine is at fault.

Replies are listed 'Best First'.
Re^4: [ERROR] 'Terminal>' does not contain an author part
by Anonymous Monk on Aug 15, 2011 at 12:24 UTC
    Nope, didn't work, no change observed
    $ set PERLDB_OPTS=ReadLine=0 $ perl -de 42

      Okay. But I still think that Term::ReadLine is to blame in some way.

      I can't reproduce the original CPANPLUS problem with any of the MSWin32 Perls I have. Sorry.

        WOW!

        So I install Term::ReadLine::Perl

        cpan/debugger still doing the same thing, but I get the added message

        stty: standard input: unable to perform all requested operations

        so I do a which -a stty

        $ which -a stty C:/PROGRA~1/gnuwin32/bin/stty.EXE C:/MinGW/msys/1.0/bin/stty.EXE

        So for good measure I do

        mv C:\MinGW\msys\1.0\bin\stty.EXE C:\MinGW\msys\1.0\bin\stty.EXE.NO mv C:\PROGRA~1\gnuwin32\bin\tty.EXE C:\PROGRA~1\gnuwin32\bin\tty.EXE.N +O mv C:\MinGW\msys\1.0\bin\tty.EXE C:\MinGW\msys\1.0\bin\tty.EXE.NO

        cpanp/-de42 still don't work, so I do a cpanp z Term::ReadLine::Perl to uninstall Term::ReadLine::Perl.

        After removing Term::ReadLine::Perl, while still under cpanp z i try perl -de42 and it starts working!

        HUUUH?!

        So I play around some more, and cpanp/-de42 ONLY start working if I do cpanp z Something first

        Any shell spawned from a shell spawned by cpanp z cpanp/-de42 will work

        I have ruled out any %ENV differences

        WTFWOW!

        cpanp or perl -de42 will work only in cmd.exe spawned from cpanp z CGI

        I then restored stty.EXE/tty.EXE to see if it made a difference, and cpanp z still only worked after cpanp/-de42 , but calling doskey then cpanp breaks it again

        If s/tty isn't present, cpanp/-de42 will work after cpanp z and calling doskey then cpanp won't break it again

        All I can say is WTFWOW!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://920293]
help
Chatterbox?
[ambrus]: erix: that one actually sucks. these days people should get rid of the old notion that TeX is the only thing you can use for decent mathematics writing, because MS Office and LibreOffice have reached the
[ambrus]: level where people can more easily write as good mathematical papers in them as the people who write bad LaTeX papers usually write.
[ambrus]: Yes, for like the first twenty of its years, TeX was basically the only system that allowed you to write decent maths papers, and C++ and PHP were programming languages that sucked, etc. But times change and people have to accept that.
Discipulus bad people + good tool < normal people + decent tool
[Discipulus]: php does not suck anymore?
[ambrus]: Discipulus: I'm not sure, but it certainly doesn't suck as much as it's used to. it's like C++, it sucks because people still recursively learn from twenty year old PHP examples,
[ambrus]: and they try to use the obsolete features that PHP has to support only for compatibility with old scripts. C++ and PHP both have the problem that people can't forget the past, because when they google "PHP" plus the problme they want to solve, they find b
[ambrus]: ad code examples.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-09-26 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?