http://www.perlmonks.org?node_id=11113946


in reply to Re^3: (WIN) copy and pasting from Perl-prints inside cmd.exe
in thread (WIN) copy and pasting from Perl-prints inside cmd.exe

To make it even more complicated Windows has a full flegded Terminal app now - with tabs and everything, which behaves differently to the old cmd.exe window. For instance, the terminal supports wide unicode code points, the regular shell doesn't.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^5: (WIN) copy and pasting from Perl-prints inside cmd.exe (Terminal App workaround)
by LanX (Saint) on Mar 07, 2020 at 19:48 UTC
    Hi

    I installed the (still beta) "Terminal app" from Microsoft store.*

    Running the debugger in either PS or CMD.exe mode didn't show the problems described in the OP.

    Also running a console emacs -nw didn't seem to be any problem. :)

    Tho finding out how to cut and paste wasn't easy (left mouse select and right click for copy was the only way)°

    Anyway thanks! :)

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

    °) in the CMD.exe tab that was. The PowerShell tab allows CUA copy and paste and selecting with pressed SHIFT and CTRL-A

    (update: ... and additionally keybindings seem to be adjustable in the JSON configs.)

    *) Windows Terminal (Preview) Version: 0.9.433.0