Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: What's wrong with @ARGV - or with me?

by BrowserUk (Pope)
on Jun 12, 2013 at 13:16 UTC ( #1038464=note: print w/ replies, xml ) Need Help??


in reply to Re^4: What's wrong with @ARGV - or with me?
in thread What's wrong with @ARGV - or with me?

This thread is reminding me why I use Cygwin/X

And for counterpoint; I won't touch cygwin with a bargepole. It is the worst of all worlds as far as I'm concerned.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^5: What's wrong with @ARGV - or with me?
Re^6: What's wrong with @ARGV - or with me?
by johngg (Abbot) on Jun 12, 2013 at 14:02 UTC

    As a counter-counterpoint, I am a Unix sysadmin constrained to use a MS Windows PC for my job and Cygwin is an absolute godsend. I wouldn't be a quarter as effective in my job without it as it gives me access to most of my familiar tools. In a purely Windows world Cygwin might make less sense I guess.

    Cheers,

    JohnGG

      I can understand your point of view. If you mostly work in a *nix environment, but occasionally have to use a Windows machine, having the *nix shell of your preference available would undoubtedly improve your productivity for those brief interactions. Though if I were in that position, I'd probably just install a VM instance of my preferred *nix dist on the Windows machines.

      From a Windows user POV, the problem I have will Cygwin is that it is neither one thing nor the other. The worst of both worlds. By emulating (badly) those native *nix features that windows does not provide for natively; and effectively disabling much of the feature set that Windows does provide natively; you end up with a sluggish and clumsy environment that is "okay" (perhaps) for the occasional visit, but not somewhere you want to spend any great amount of time.

      For example, to safely run multiple concurrent Perls, *nix requires something like PerlBrew; whereas I easily run multiple perl installs using Windows native facilities -- which Cygwin effectively disables.

      I actively prefer Windows not for its GUI aspects -- although they are still (IMO) superior to any of the various *nix windowing environments -- but because I much prefer cmd.exe to (z|k|z|ba)sh, which Cygwin imposes upon me.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        but because I much prefer cmd.exe to (z|k|z|ba)sh

        I'd be interested in knowing your reasons for this. I do most of my work at a linux shell prompt, and I've never really found cmd.exe to be useful for anything other than starting console programs.

        I'm not trying to start some windows vs linux flamewar here. I've only had to write a couple of batch files in the last few years, so maybe cmd.exe has more functionality now.

        This is one of the uglies from my last script:

        for /F "tokens=*" %%i in ('findvmip') do set vmip=%%i%

        For with the bash equivalent would be a simple

        vmip=`findvmip`

        A quick google also still doesn't turn up any way to create functions in cmd. And command line editing functionality in cmd appears to lack a lot of the (to me) convenient bash stuff as well

        So what's the thing that makes cmd preferable for you?

        If you mostly work in a *nix environment, but occasionally have to use a Windows machine

        I'm always using a Windows machine because that's what my company insists I use to do my work. The standard build is pure MS Windows, suitable for all the management twonks who decide these things and who think Powerpoint and that well known database system Excel are all anyone needs :-/

        just install a VM instance of my preferred *nix dist

        If the laptop provided wasn't one of Noah's hand-me-downs that struggles to even boot I probably would, although my preference would be for a native Linux laptop with a Windows VM just for the corporate stuff like email and timesheets. Unfortunately, they won't let us do that so we have to add our own choice of tools, things like PuTTY and Cygwin, on top of the standard build to make our jobs easier.

        By emulating (badly)

        I don't know. Perhaps it does some things badly but it does the things I need very well. It gives me an X-Window Server so that I can run an xterm and use my favourite editor (nedit) to develop Perl scripts or display server GUI tools on my screen. SSH keys work seamlessly between Cygwin and Linux and I can use scp, sftp or rsync to deploy the scripts and move files between my laptop and servers. It gives me utilities like ccrypt, cpio and tar and plenty more. In short, it does what I need.

        I much prefer cmd.exe to (z|k|z|ba)sh

        I much prefer the more mouse-centric copy'n'paste of xterms and find that of cmd.exe extremely clunky when forced to use it on terminal servers that don't have Cygwin installed, which is all of them, a battle yet to be won :-)

        Until they allow me to use a Linux laptop for my work I'll continue to use what is for me the next best thing, Cygwin.

        Cheers,

        JohnGG

Re^6: What's wrong with @ARGV - or with me?
by blue_cowdawg (Prior) on Jun 12, 2013 at 15:25 UTC

    Didn't mean to start a religious war here...


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      No-one expects the Spanish Inquisition! :-)
      If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

      You didn't. Point and counterpoint (and counter-counterpoint :), is reasoned discussion.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-08-27 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (244 votes), past polls