Thanks!

> I am not 100% convinced that it's really Strawberry's job.

Neither am I that's why I ask/meditate. (Too many dragons in exaggerated DWIM)

But Strawberry wouldn't need to patch perl5db.pl, the debugger has config files and so does Perl itself.

AFAIK did Strawberry and ActivePerl always "localize" the installation to Win.

Anyhow I think it would be best placed in Term::ReadLine and/or the included backends, the debugger is not the only app relying on ReadLine.

The simplest approach would be for ReadLine to check if Win32:: is loaded and to warn if control character area is mis-used. The same way setting "Term=dumb" is recommended.

FWIW I see that ReadLine is capable to return IN / OUT filehandles and I remember it's possible to provide the codepage in the encoding.

So probably (?) it could be possible that ReadLine adjust itself automatically to the current CP.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery


In reply to Re^11: Key bindings in the Debugger by LanX
in thread Key bindings in the Debugger by hexcoder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.