Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by stevieb (Canon)
on Mar 07, 2020 at 16:41 UTC ( [id://11113942]=note: print w/replies, xml ) Need Help??


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

What versions of Windows are being used here? You didn't mention, neither did NetWallah.

In my berrybrew work, I found that there are differences in the functionality of cmd.exe regarding copy/paste on different versions of Windows.

I may be able to do some testing here if I know what versions of Windows.

Replies are listed 'Best First'.
Re^4: (WIN) copy and pasting from Perl-prints inside cmd.exe
by holli (Abbot) on Mar 07, 2020 at 18:59 UTC
    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.
      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

Re^4: (WIN) copy and pasting from Perl-prints inside cmd.exe
by LanX (Saint) on Mar 07, 2020 at 16:55 UTC
    Thanks! :)

    > What versions of Windows are being used here?

    Edition: Windows 10 Enterprise Version: 1903 OS-Build: 18362.657

    > functionality of cmd.exe regarding copy/paste on different versions of Windows.

    Yes they constantly add new "features" and settings.

    Could also be my employer fiddling with the registry (it's a work environment)

    I'm pretty sure I didn't see this happening in the past, but can't exclude the possibility that I changed something.

    My guess is some heuristic to detect line-breaks fails and 72 spaces are added.

    I'll also have a look into perl5db.pl later.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11113942]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found