Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

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


in reply to (WIN) copy and pasting from Perl-prints inside cmd.exe

I could not reproduce it on Strawberry perl:
'Win32 strawberry-perl 5.30.1.1 #1 Fri Nov 22 02:24:29 2019 x64'

Pastes correctly for me, with no extra spaces.
It preserves the 2 spaces in front of the "DB" prompt.

                "From there to here, from here to there, funny things are everywhere." -- Dr. Seuss

  • Comment on Re: (WIN) copy and pasting from Perl-prints inside cmd.exe

Replies are listed 'Best First'.
Re^2: (WIN) copy and pasting from Perl-prints inside cmd.exe
by LanX (Saint) on Mar 07, 2020 at 16:24 UTC
    Thanks, I will try to reproduce it on a colleague's box on Monday.

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

      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.

        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.
        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://11113939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found