in reply to Key bindings in the Debugger

> I see that the previously entered line is deleted instead.

Could you please elaborate what you see.

You can copy paste from the console before and after.

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

Replies are listed 'Best First'.
Re^2: Key bindings in the Debugger
by hexcoder (Curate) on May 23, 2025 at 16:17 UTC
    Yes, thanks.
    I started perl v5.38.0 from the commandline (cmd.exe or ps.exe) with perl -wde 1:
    >perl -wde 1 Can't figure out your console, using stdin: No such file or directory Loading DB routines from perl5db.pl version 1.77 Editor support available. Enter h or 'h h' for help, or 'perldoc perldebug' for more help. COLUMNS and LINES are set (120,30) main::(-e:1): 1 DB<1>

    when i then enter some expression containing '§' at the prompt everything is echoed except the '§', which clears all my input.

      DB<1>x "abcdef and then entering '§' gives

      DB<1>

      Hi

      Thanks.

      And sorry, I can only speculate about a "console" issue on win mistranslating "§"

      Since I don't have any Strawberry Perl running at the moment, I can't test.

      I remember using another (real) terminal than cmd.exe once, which was installed as an app.

      But I don't remember the name... ¹

      You may want to test running perl -de0 inside another console/terminal to narrow the origin of the problem.

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

      ¹) That's it Windows_Terminal

        I crosschecked with perl 5.38.2 under bash in MingW64 shell (from git) and there the behavior is as expected, but alas this is not suitable for debugging my application.