Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Perl on Windows 10

by kcott (Archbishop)
on Jun 24, 2019 at 07:19 UTC ( [id://11101790]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl on Windows 10
in thread Perl on Windows 10

G'day Discipulus,

Yes, I think I'm pretty much sold on Strawberry Perl.

For the command line interpreter I'm looking for an xterm (or equivalent) running bash with all the usual cd, ls, grep, ln, etc. commands. I use utilities like tar, vim, make, ssh, git, and so on. I'd want to run my own Perl programs and Bash scripts; and, from time to time, code I've written in other languages. All of those are just non-exhaustive examples. Overall, I'd say nothing particularly out of the ordinary.

Thanks for the links on "FileSystem Redirection" which I've followed. I also had a brief look at your "bibliotheca" — only followed a few of those links.

— Ken

Replies are listed 'Best First'.
Re^3: Perl on Windows 10
by soonix (Canon) on Jun 24, 2019 at 12:41 UTC
    If you install git (standard download from git-scm.com), you get "git-bash" (an MSYS based GNU bash), and a perl is included (which could be seen as a "system perl"). Calling the portableshell.bat of a portable Strawberry from git-bash seems to work in principle (perl -v gives the Strawberry's version instead of git-bash's), but seems to mess with keyboard settings (arrow-up and down move the cursor/send control characters instead of browsing through the CLI history). I assume one could convert the BAT file into a shell script, which would mitigate this.

      I seem to recall using git-bash (or something with a very similar name) on a company MSWin machine a year or two ago.

      As I use 'set -o vi', I don't have a problem with arrow keys. I do, however, remember some minor annoyance such as this — not sure what it was though.

      I'll keep this in mind as another possible option. Thanks.

      — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found