Slashdot Mirror


A Guided Tour of the Microsoft Command Shell

jpkunst writes "Ryan Paul at Ars Technica provides an in-depth, 13 page review of the new Microsoft Command Shell (Monad). (The beta release can be downloaded for free from Microsoft.) From the conclusion: 'Despite my initial skepticism, I am deeply impressed with MSH technology, and I am legitimately excited about the future of the Windows command line.'"

519 comments

  1. The true meaning of "msh" by Anonymous Coward · · Score: 2, Funny

    Everyone knows that "msh" really stands for "Microsoft Hell".

    1. Re:The true meaning of "msh" by canuck57 · · Score: 5, Funny

      Everyone knows that "msh" really stands for "Microsoft Hell".

      And once people realize it is crippled there will be a gsh (Gate Shell) and a bsh (Ballmer Shell) as equally handycaped as the msh. A legal suit will follow from Google for gsh but the bsh will last.

      Wouldn't it be easier just to get a copy of Linux and call it MS-Linux? I thought Microsoft thought all of UNIX/POSIX was crap and you didn't need a shell?

    2. Re:The true meaning of "msh" by xgadflyx · · Score: 0

      Sweet! Now when the GUI locks up I can just switch over the shell and type 'restart'

      --
      Civilization, the death of dreams.
    3. Re:The true meaning of "msh" by Anonymous Coward · · Score: 2, Funny
      And once people realize it is crippled there will be a gsh (Gate Shell) and a bsh (Ballmer Shell) as equally handycaped as the msh. A legal suit will follow from Google for gsh but the bsh will last.
      In Ballmer Shell, you can interrupt a running process using the fucking-kill command, as in:
      fucking-kill gsh
      Chair-throwing is completely optional.
    4. Re:The true meaning of "msh" by borawjm · · Score: 5, Funny

      so shouldn't the command prompt for msh be something like this?

      $>

      or maybe a few more...

      $$$>

      ah, what the heck...

      $$$$$$$$$$$$$$$$$$>

    5. Re:The true meaning of "msh" by kurosawdust · · Score: 5, Funny

      And once people realize it is crippled there will be a gsh (Gate Shell) and a bsh (Ballmer Shell) as equally handycaped as the msh. A legal suit will follow from Google for gsh but the bsh will last.

      bsh> developers
      developers

      bsh> developers
      developers

      bsh> developers
      YEAH!

    6. Re:The true meaning of "msh" by The_Quinn · · Score: 0, Flamebait
      1. MS implements something new.

      2. MS haters berate it.

      3. People are productive with it.

      4. An OSS clone appears.

      5. OSS advocates claim nothing new was created - the technology existed all along and MS "stole" the effort of others.

      6. Rinse & Repeat.

    7. Re:The true meaning of "msh" by Anonymous Coward · · Score: 0

      I think it is you who are mentally handIcaPPed.

      Learn to spell, fagmo.

    8. Re:The true meaning of "msh" by SilverspurG · · Score: 2, Insightful

      You've got that backwards. MIcrosoft hasn't implemented anything new. Everything that MS is doing is an idea that they've pirated from University students who didn't have the time or the resources to patent/copyright their ideas while they were writing their graduate theses. MS may have expanded it some or made the GUI a little more consistent but there's nothing new in the corporate world. The only reason why you don't see massive disputes between academia and MS is that the computing industry is relatively young and Universities weren't on the intellectual property bandwagon until fairly recently.

      --
      fast as fast can be. you'll never catch me.
    9. Re:The true meaning of "msh" by Tuxedo+Jack · · Score: 2, Funny

      You obviously don't remember XENIX, which MS developed, then sold to SCO. I happen to have a box of floppies containing that in front of me now.

      It's like Satan took a dump, then a sewer mucker found it, packaged it up in a nice shiny box, and sold it to the unsuspecting masses.

      --

      Striking fear in the authors of godawful fanfiction, I am here, appearing in darkness, Tuxedo Jack!
    10. Re:The true meaning of "msh" by Anonymous Coward · · Score: 1, Funny

      Snippet of Ballmer msh script:

      if( (errcode = programmer.exits()) == GOOGLE){

              fsck Erik.Schmidt; // XXX old-fashioned code, must rewrite
              kill Erik.Schmidt;
              kill Erik.Schmidt;
              fsck Erik.Schmidt;
              fsck; fsck; fsck;

              jump.on( Erik.Schmidt.dead().body() );
              bury ( Erik.Schmidt.dead().body() );

              through( Chair );

              order( new Chair() ); // XXX unreachable :(
      }

    11. Re:The true meaning of "msh" by fava · · Score: 3, Funny

      What about mash (Microsoft Again SHell) for when windows is broken and needs major emergency repair.

    12. Re:The true meaning of "msh" by ubrgeek · · Score: 1

      And BSH is specially designed for Developers, Developers, Developers!

      --
      Bark less. Wag more.
    13. Re:The true meaning of "msh" by Anonymous Coward · · Score: 0

      You actually made me laugh and that's not easy i tell you... :)

    14. Re:The true meaning of "msh" by sl4shd0rk · · Score: 1

      > gsh (Gate Shell)

      nah dude, that would be:
          Gonad (Gates Monad)
          Bonad (Ballmer's Monad)
          Nonad (.NET Monad)

      --
      Join the Slashcott! Feb 10 thru Feb 17!
    15. Re:The true meaning of "msh" by Anonymous Coward · · Score: 0

      1. MS implements something new.

      Do you not mean something old and borrowed, like TCP/IP, Word processing, spread sheets, web/HTML/XML, etc. Mind you, NETBIOS/NETBUI was supposed to save the world.

      4. An OSS clone appears.

      I remember when MS announced with W 95 or was it 98 that they would not check the file system after a clean shutdown -- UNIX had that 15 years earlier.

      Personally I don't load M$ clone software except for Samba and perhaps Evolution... a better Windows server than Windows. Even works with UNIX as a PDC or client. (A M$ sin).

      5. OSS advocates claim nothing new was created - the technology existed all along and MS "stole" the effort of others.

      So you brain washed trog, tell us what Microsoft really invented. Just tell us... we would all like to hear... Remember, IBM invented FUD. Windows came from Xerox/PARC... I even remember Microsoft thinking the network was a fad thus WINSOCK in W 3.10.

    16. Re:The true meaning of "msh" by Anonymous Coward · · Score: 0

      $$$$$$$$$$$$$$$$$$>

      That was funny, truly funny. Hopefully the M$ trolls didn't mod you down like the original post.

    17. Re:The true meaning of "msh" by McPierce · · Score: 1
      bsh (Ballmer Shell)

      Actually, that's "Blue Screen Hell"... :)

      --
      Darryl L. Pierce "What do you care what people think, Mr. Feynman?"
    18. Re:The true meaning of "msh" by TheoMurpse · · Score: 1

      Of course not -- every true /.er knows that it will be

      M$>

  2. Who wrote the introduction? by mi · · Score: 3, Insightful
    The "robust commercial applications and standard graphical utilities" are, indeed, in much need of reinvention. Oops.

    And what's with the "unleash" keyword? Do these people really think in terms, that glossy ads use to compare the advertised products with animals?

    --
    In Soviet Washington the swamp drains you.
    1. Re:Who wrote the introduction? by CyricZ · · Score: 2, Insightful

      Not only that, but consider the portion that says 'The Windows community is a universe of uniformity [...] and standard graphical utilities.'

      Indeed, we are seeing that that is not the case. Microsoft has gone out of their way to drastically alter their GUI, such that it looks nothing like the XP GUI, and thus nothing like the older GUI before that. Hardly a show of uniformity, if I do say so myself.

      --
      Cyric Zndovzny at your service.
    2. Re:Who wrote the introduction? by Jugalator · · Score: 5, Interesting

      Are you talking about the new Vista UI?

      In that case, that's a visual style that's changing only the aspects of the UI Windows XP changed. Windows border styles and new flashy button hover effects, etc. Think of it as a different theme/skin, not a way for them to change the UI design guidelines. "OK" will still always be followed by "Cancel", group boxes will still group UI elements with a relation, menus will still be part of the applications and not the dsektop, combo boxes will still be recommended only in "little space" situations, and so on. :-)

      Actually, Microsoft has released preliminary design guidelines for Vista, and I was surprised to see how much can be directly applied, and is even recommended to be applied like that, to Windows XP.

      Also, even in Windows Vista, just like in XP, can you still apply the Windows 2000 look & feel via a flip of a switch. That if anything should show that all they're really doing are mostly just applying new skins to sell their product, and not coming up with new guidelines that indeed would alienate their broad customer base. If I'm at some user that have applied some simple settings, I often lose myself in thinking I'm working on a Windows 2000 workstation when I'm in reality on XP.

      --
      Beware: In C++, your friends can see your privates!
    3. Re:Who wrote the introduction? by Anonymous Coward · · Score: 1, Insightful

      So, what stops you from running in "CLASSIC" desktop explorer.exe shell usermode then?

      * :)

      (Nothing, correct? Just change the look of it IF the new look bothers you... it's always been this way in Microsoft OS' anyhow, thru XP/Server 2003 (which it defaults to anyhow on this version of the OS)).

      APK

      P.S.=> This SHOULD also be "doable" in Windows 'VISTA' builds as well, but I can't comment on it having used it first-hand (Windows Server 2003 user here, in workstation default install mode)...

      As far as this new "MONAD" shell?

      It will probably appeal greatly to those who are used to WSH/CSH scripting (using a VB-like model) no doubt!

      Personally/myself??

      I have always found that the std. cmd.exe command-interpreter shell is pretty powerful in combination with .reg file merges, its native commandset, & if needed? Microsoft's Resource Kit commandline tools, if not 3rd party ones you can find here:

      www.jsiinc.com

      By searching the keyword "freeware" there...

      There's not alot you cannot accomplish with those toolsets alone imo...

      Lastly/Worst comes to worst?

      Writing up a console/charactermode/terminal app is NOT a problem with languages like Borland Delphi if needed...

      (However, then you need to be more than just a network tech/administrator usually, & have "more serious coding skills" & understanding of the OS + the language tool you use in order to do this - most techs don't have that, & few admin types do)...apk

    4. Re:Who wrote the introduction? by cnelzie · · Score: 5, Informative

      There's far more of a difference between Windows XP and Windows 2000, then just a graphical skin. The methods for accessing a handful of configuration settings windows has altered and in some cases, those configuration modules have changed significantly on their own.

          To say that there won't be changes beyond simple "Graphical skins" simply does not hold with the historical perspective of the sweeping changes with each major iteration of Windows.

          Windows 3.11 to Windows 95 to Windows 98 to WindowsMe, there were underlying configuration changes that made learning the "new" OS important.

          Windows NT 3.5 to Windows NT 4.0 to Windows 2000 to Windows XP also included significant configuration setting alterations that were far more drastic then the "Consumer Level" Windows Operating Systems.

      --
      If you ignore the other uses of a tool, does that make the tool less useful, or you less useful?
    5. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      Windows 98 to Windows ME? Come on, brother. You were doing good until then.

    6. Re:Who wrote the introduction? by CDPatten · · Score: 1

      Actually that is just wrong. Have you even seen Vista? Still has the start button, taskbar, minimizing windows on it, systray, etc. MS changed the color scheme, added some mouse over effects, transparencies, and some additional things (e.g. side bar or whatever its called). But there is NO mistaking it for Windows, and although some tabs have changed, and features updated, its still the basic interface.

    7. Re:Who wrote the introduction? by everphilski · · Score: 4, Insightful

      The colors may have changed but the patterns are the same. The start button is at the bottom left hand corner. The taskbar spans the entire bottom of the screen. The three buttons on the upper right of any window are minimize, toggle fullscreen/windowed, and exit, respectively, in that order.

      That is what uniformity is. Changing colors / visual schema is not uniformity. That's like saying a green car is not uniform to a blue car. You can still drive it with the knowlege you learned in drivers ed.

      -everphilski-

    8. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      "Not only that, but consider the portion that says 'The Windows community is a universe of uniformity [...] and standard graphical utilities.'" - by CyricZ (887944) on Monday October 24, @08:49AM

      At the Win32 API level?

      They are ABSOLUTELY correct in that statement man...

      * :)

      (The Win16 API even from Win 3.x, up to Win9x as well (this is a GOOD 95% consistent with the Win32 API for NT-based Os' as well from MS (e.g.-> NT/2000/XP/Server 2003))...

      Another point here, is that Bill Gates (and others @ MS) has/have always functioned as Linus Torvalds does for the Linux Penguins - These gents BOTH are a single stewardship of what goes into various builds & what does not of this OS family from MS (the entire Windows genre) as well as Linux... depending on what level of the OS you are looking @!

      E.G.=> Kernel/Ring 0 -> UserMode/Ring 3

      This is where UNIX dropped the ball in fact - API incompatibilities between various vendor models (e.g.-> BSD/Solaris/AIX/Xenix/SCO, etc./et all)...

      APK

      P.S.=> It's one of the things that kept me employed for YEARS in this field in fact as a coder, & what I really enjoyed about it, due to very tiny "learning curves" from Win16 -> Win32, as well as the "idiosyncracies" I had encountered over time from Win9x to WinNT based OS models from MS...

      (& when I hit those differences (rare)? These always had documented "work-arounds" everytime I hit one (many times, for example, with database grids behaviors with mousing or other issues))... apk

    9. Re:Who wrote the introduction? by SilentChris · · Score: 5, Interesting

      I've studied the new UI quite a bit, and you, sir, are clueless.

      Are they keeping things like "OK" and "Cancel? Yes. Are you able to change the look back to Windows 2000 (well, sort of). Yes. They do things like this so people don't need to totally retrain.

      Is the user interface anything like Windows XP, under the hood? No. God no.

      The entire thing has been rewritten from the ground up. Everything is a .NET object, everything inherits from another object. The entire thing is texture based, like OS X.

      What this means is they CAN make drastic changes down the road by simply changing a few objects. Everything will inherit down. Ever notice that buttons can be totally dissimilar from one app to the next, and all MS has been able to do is (for example) but a blue highlight around them? That's because the UI has been so cripped.

      The new UI is simple, beautiful and brilliant. Is it completely different than Windows XP? No. It's not intended to be. The goal, like .NET, is to have a framework to build off for the future. Like .NET, too, the new UI is well-written. I've been programming for it for half a year now and it blows Windows XP out of the water. It even tops OS X in a few areas.

    10. Re:Who wrote the introduction? by SilverspurG · · Score: 2, Insightful
      Everything is a .NET object, everything inherits from another object
      Between that line and the information that MSH will interface with other programs through ActiveX I can see a whole new world of exploits.
      What this means is they CAN make drastic changes down the road by simply changing a few objects
      And so can all the malware, spyware, crippleware, middleware, trojans, worms, viruses, and anyone with even a mild desire to make life difficult for people around them. I bet it'll be even easier to hide shadow processes on the system from the unwary user thus increasing Microsoft's ability to sell the world's desktop out to corporate marketing departments. Imagine banner ads, not in your browser, but legally (via click through EULAs) on your desktop. There's nothing you'll be able to do about it.

      Registry + ActiveX + a functional shell (finally) + .NET == cataclysmic user-base catastrophe waiting to happen

      Windows admins are screwed. Get out of IT now if you're still sane, get out even if you're long past sane. Life will become hell very soon.
      --
      fast as fast can be. you'll never catch me.
    11. Re:Who wrote the introduction? by docgnome · · Score: 1
      This is where UNIX dropped the ball in fact - API incompatibilities between various vendor models (e.g.-> BSD/Solaris/AIX/Xenix/SCO, etc./et all)...


      That's because the different UNIX versions... are different Operating Systems with different kernels. Different versions of Linux are the same kernel with stuff slapped on top of it. You point out that Torvalds and Gates both (though this is not strictly true of either of them) "These gents BOTH are a single stewardship of what goes into various builds" The difference again is that UNIX wasn't/isn't a unified project in the way that the Linux Kernel is. And I don't think that's a necessarily a bad thing.
    12. Re:Who wrote the introduction? by tomhudson · · Score: 1
      These gents BOTH are a single stewardship of what goes into various builds & what does not of this OS family from MS (the entire Windows genre) as well as Linux... depending on what level of the OS you are looking @!

      E.G.=> Kernel/Ring 0 -> UserMode/Ring 3
      No, that was part of the original Intel 386 spec. 2 bits for Privilege Levels, from 0 to 3.
      http://72.14.207.104/search?q=cache:Vl1SWPf3VREJ:w ww.intel.com/design/intarch/datashts/23163011.pdf+ intel+386+access+control+bits&hl=en&client=firefox -a s
      Scroll down to page 46.
    13. Re:Who wrote the introduction? by Paradox · · Score: 1
      I've studied the new UI quite a bit, and you, sir, are clueless.

      Are they keeping things like "OK" and "Cancel? Yes. Are you able to change the look back to Windows 2000 (well, sort of). Yes. They do things like this so people don't need to totally retrain.

      I don't think anyone was saying MS is going to alter things as fundamental as the dialog box. What they are altering is the control panels, directory layout (somewhat), the names of some settings, and the functions of other settings (not to mention adding a bunch of stuff). Anyone can retrain themselves to a new dialog box given a day or so. What's not as easy as getting used to yet-another entirely different control and configuration palette for your machine.
      Is the user interface anything like Windows XP, under the hood? No. God no.
      Since when does this matter to users? Does a clean architecture for your UI make your entire system more usable? Maybe slightly, but overall I think that's an issue for developers, and outside the scope of the grandparent post's complaint. I mean, hoo-fscking-ray. Microsoft has finally achieved a UI framework that doesn't bend its developers over a chair. Congratulations for Microsoft, they can now join Sun, Apple, Be, NeXT, and the GTK+ and KDE developer communities, along with the other companies who've made usable UI's.
      The entire thing has been rewritten from the ground up. Everything is a .NET object, everything inherits from another object. The entire thing is texture based, like OS X.

      What this means is they CAN make drastic changes down the road by simply changing a few objects. Everything will inherit down. Ever notice that buttons can be totally dissimilar from one app to the next, and all MS has been able to do is (for example) but a blue highlight around them? That's because the UI has been so cripped.

      This is probably not the case. Anyone with experience in object-oriented programming will tell you that the "change one, change many" promise of OO is, at best, of limited applicability. How many people will inherit from the classes in a way that would break if those classes were changed? Probably more than just a few. C# is a good language, but no language can prevent that kind of scenario.

      Besides, I'm still skeptical of any UI framework designed by Microsoft. My ass still is smarting from working with MFC. I'm not going to easily forget or forgive that.

      --
      Slashdot. It's Not For Common Sense
    14. Re:Who wrote the introduction? by Xrathie · · Score: 0

      Ya!!! You told him!!! So why dont we all just go back to pen and paper! Those stupid computers suck! Wait! Why dont we just have something that is really really crap compared to Windows, but is a little better than pen and paper... Linux!!!!

    15. Re:Who wrote the introduction? by SilverspurG · · Score: 2, Insightful

      I bet the majority of the world would thank us if we'd go back to pen and paper and quit pushing computers at them all the time. You make a good suggestion.

      --
      fast as fast can be. you'll never catch me.
    16. Re:Who wrote the introduction? by aichpvee · · Score: 1

      He said "historical perspective of the sweeping changes with each major iteration of Windows" not "historical perspective of the sweeping improvements with each major iteration of Windows".

      --
      The Farewell Tour II
    17. Re:Who wrote the introduction? by Shaklee39 · · Score: 1

      THAN just a graphical skin, not THEN.

    18. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      My lord, you couldn't even bother to read the frickin SUMMARY! My hats off to you, you are a true Slashdotter!

      They are talking about MONAD.

    19. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      Exactly and there weren't that many CHANGES between 98 and ME other than stuff that leaked memory..it was 98.5 and everyone knows it....also, just because configuration windows change or you have to go somewhere else in the control panel to change something doesn't mean there were sweeping changes. So, the evidence he used to support his argument is invalid in the first place.

    20. Re:Who wrote the introduction? by yhamade · · Score: 4, Informative
      Okay, I don't normally latch onto so such an advert piece of flamebait, but this one I couldn't pass on...
      And so can all the malware, spyware, crippleware, middleware, trojans, worms, viruses, and anyone with even a mild desire to make life difficult for people around them.
      Do you know what the definition of "malware" is? Any code can be malware. If you sent someone a shell script to shutdown their system and they think its a link to their favorite pr0n site, guess what? Its malware!
      Registry + ActiveX + a functional shell (finally) + .NET == cataclysmic user-base catastrophe waiting to happen
      Then by using your logic, so is giving someone the keys to a car.... The registry is a centralized database of configuration settings for the OS and applications. Its no different than having 5000 configuration files scattered through a system, other than of course that its in a centralized database. IMNSHO the *nixes can benefit from this concept. Yes, there are limitations, and there should be better security within it, but nothing is stopping someone from hacking Httpd.conf either.

      Active-X is a development platform. It can be exploited just like anything else, people create java based virii all the time, the problem is users are dumb enough to just hit "yes install this crap on my system".

      .NET is once again a programming API. It's nothing *NEW* its just a uniform model that Microsoft is developing to. Yes, it makes things easier for developers. Yes, this means that instead of the script kiddies having to decipher the Win32API docs, they can use the more developer friendly access methods. But as I said before, any "code" in any language on any platform can be "exploited".

      Here's a nice quote for you:
      'We fear things in proportion to our ignorance of them.' -- Titus Livius

      Now, yes, these things make it *EASIER* for people to take advantage of. However, they were always there, they're there on any platform, its just whether or not people take advantage of them in malice. The better question is "What's MS actually doing to MITIGATE these problems?" Well, I think they finally took a page from the *nix (linux/unix) world and implemented this "revolutionary" feature with Vista: User Account Protection What the hell is that you ask? Well, in simplest terms, its sudo. When UAP is enabled, any action you take that requires "administrator" access, will now prompt you for credentials to do so, even if you are an administrator. Yeap, you guessed it, even admins are no longer admins. What's that do to applications? Well, thats for the developers to fix! But it "fixes" one of the most blatant issues most people had with Windows security: that their grandmother had to be an administrator on her home PC to use her copy of Quicken, and because of that, she also had 5kajillian pieces of spyware installed.
    21. Re:Who wrote the introduction? by SilverspurG · · Score: 1
      Yes, any code can be malware. There are far more security advisories related to ActiveX and misuse of the registry than anything else on Linux. The registry has not "always been there". And, as soon as it was there, it became a perfect place to hide things from the users. That's a security issue that Linux does not have.
      "What's MS actually doing to MITIGATE these problems?"
      Answer: Nothing. Because the fundamental premise of their business model requires them to wrest control of the system from the end user and hide that control from anyone who looks for it.
      --
      fast as fast can be. you'll never catch me.
    22. Re:Who wrote the introduction? by Kymermosst · · Score: 2, Interesting

      The registry is a centralized database of configuration settings for the OS and applications. Its no different than having 5000 configuration files scattered through a system

      AKA "Single point of failure". At least with 5000 config files, if just a few of them get hosed, you can rebuild them easily. Your registry has something happen to it, you might be doing a complete restore or reinstall.

      --
      "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
    23. Re:Who wrote the introduction? by Naikrovek · · Score: 1
      And so can all the malware, spyware, crippleware, middleware, trojans, worms, viruses, and anyone with even a mild desire to make life difficult for people around them. I bet it'll be even easier to hide shadow processes on the system from the unwary user thus increasing Microsoft's ability to sell the world's desktop out to corporate marketing departments. Imagine banner ads, not in your browser, but legally (via click through EULAs) on your desktop. There's nothing you'll be able to do about it.

      Registry + ActiveX + a functional shell (finally) + .NET == cataclysmic user-base catastrophe waiting to happen

      Windows admins are screwed. Get out of IT now if you're still sane, get out even if you're long past sane. Life will become hell very soon.
      this is super duper inflammatory flamebait. you're not just trying to start a fire, you're already on fire.

      try this on for size: http://www.leeholmes.com/blog/DemonstrationOfMonad sSecurityFeatures.aspx
    24. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      You'll probably have to wait until MSH ships with every copy of Win but I can honestly tell you that, with the number of script kiddies out there, as soon as it ships you will see the four-hit combo of IE+ActiveX+MSH+Registry.

      People can demonstrate security all they want. A shell environment is a dangerous thing. A shell environment which can talk to ActiveX in the Windows platform is just asking for it. The two hit IE+ActiveX exploits which are known are bad enough without the ease of a shell scripting capability.

      I already dislike JS + Moz/FF and, to me, JVM inside of a web browser is absolutely frightening. I don't care how they think they've sandboxed it--someone will figure a way around it. Linux isn't perfect either but at least the vulns stay in a user-space program and are not magically integrated with the OS. There's the odd chance that someone could couple a Moz 'sploit with a kernel or a suid root 'sploit... but that's not nearly as common as IE+ActiveX or even admin access through IE alone.

      --
      fast as fast can be. you'll never catch me.
    25. Re:Who wrote the introduction? by snuf23 · · Score: 1

      I guess if implementing the sudo style User Account Protection mechanism is nothing, then Mac OS X must be doing nothing too. Consider that OS X uses the same mechanism when you need to do something requiring admin access.

      --
      Sometimes my arms bend back.
    26. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      You can't change a business model with sudo--nice touch of changing the topic to something completely unrelated. Apple does have a track record of balancing user's rights with profit. MS will outright sell the desktop and the user's rights to corporate marketing.

      --
      fast as fast can be. you'll never catch me.
    27. Re:Who wrote the introduction? by owlstead · · Score: 1

      Great article, but who is Yeap?

    28. Re:Who wrote the introduction? by zootm · · Score: 1

      And so can all the malware, spyware, crippleware, middleware, trojans, worms, viruses, and anyone with even a mild desire to make life difficult for people around them. I bet it'll be even easier to hide shadow processes on the system from the unwary user thus increasing Microsoft's ability to sell the world's desktop out to corporate marketing departments. Imagine banner ads, not in your browser, but legally (via click through EULAs) on your desktop. There's nothing you'll be able to do about it.

      You appear to have neither any knowledge of security (if they're using the shell, they can already execute arbitrary code — convenience methods don't make any difference whatsoever) or .NET (which has consistently been proven secure, and is very well-written), and didn't even read the article. This argument:

      Between that line and the information that MSH will interface with other programs through ActiveX I can see a whole new world of exploits.

      ...is just totally flawed. How, pray tell, does this open a new world of exploits exactly?

    29. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      Your reply makes perfect sense if I put my fingers in my ears and scream "Blahblahblah!" for the last 4 years of reading about ActiveX exploits through IE.

      Scripting them with a functional shell will only make it easier for the script kiddies.

      What part of reality do you live in?

      --
      fast as fast can be. you'll never catch me.
    30. Re:Who wrote the introduction? by zootm · · Score: 1

      Right. ActiveX exploits. Through IE.

      So they run the ActiveX exploit through IE. Then get the ability to execute arbitrary code. How does MSH help here? They could use VBScript just as easily, or send an executable payload. This is not a fault in MSH. Hell, the fact that it interacts with ActiveX means... wait for it... nothing! Since once you've gotten in through an ActiveX exploit, you could just run whatever you like! If it didn't interact with ActiveX, you could just execute it! Is any of this getting through to you whatsoever?

      This adds no real vulnerabilities, that I can see. If you can give any sort of concrete example I'd very much like to hear it.

    31. Re:Who wrote the introduction? by kettch · · Score: 1

      The registry is a centralized database of configuration settings for the OS and applications.

      Sort of offtopic, but I might point out that many of the individual teams working on Vista components are no longer storing certain data in the registry. This is to promote the least privilege method for development (about damn time). It is also in preparate for when WinFS actually gets in place and everything goes back into the database, but this time it will be organized.

      Well, thats for the developers to fix!

      Exactly! So many devs write all kinds of crap to HKLM instead of current user. This is going to take a while to get into a lot of thick skulls, but they need to stop doing that. In the meantime, I noticed that one of the program managers said that when applications try to write to places they shouldn't, then Windows will trap that operation and transparently redirect the operation to somewhere that is safer. If everything goes well, then the application will never know any different.

      --
      Opportunities multiply as they are seized. --Sun-Tzu
    32. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      I never said it was a fault of MSH. I said, given the Windows track record of security, MSH is fuel on the fire for script kiddies. You're 100% correct. This adds no new vulns. What it does is makes existing vulns that much easier for Window script kiddies to get to. Once they find a 'sploit, they no longer need to operate from the level of binary code. One quick hack and *POOF* Look! An interactive scripting shell!

      You could say that this is also a problem with Moz exploits but, to date, we still don't have hordes of script kiddies hitting up Moz the way they hit up IE through web pages making use of bad JS/JVM/AX. To date, Moz still doesn't have the number of vulns that IE does. To date, even if Moz did have the vulns that IE does, GNU/Linux distros still don't have the level of big-brother all-encompassing integrated security nightmare OS oversight that Windows has.

      If I were less in control I'd call you all sorts of insulting and intellectually degrading names and every single one of them would be applicable.

      --
      fast as fast can be. you'll never catch me.
    33. Re:Who wrote the introduction? by Vancorps · · Score: 3, Insightful
      Please come into the new millenium. If the registry gets corrupted due to a filesystem problem or a piece of malware you don't have to use it. You can either use a backup copy which Windows automatically generates for you or use a failsafe registry which will for all intents and purposes always get you back into Windows.

      This is the first time I've ever seen someone refer to a database as a single point of failure.

      Always good to see new things.
    34. Re:Who wrote the introduction? by zootm · · Score: 1

      To date, even if Moz did have the vulns that IE does, GNU/Linux distros still don't have the level of big-brother all-encompassing integrated security nightmare OS oversight that Windows has.

      I like and use Mozilla (and GNU/Linux). I just don't see why this is such a prime-looking opportunity to you to go on about the security model of a completely different set of systems. I mean, an attacker could probably just install a minimal Cygwin install (and this could be automated) if they really wanted a half-decent command shell. It adds no value to them, since most simple things are easily available through cmd.exe, and more complex things would require pre-written scripts (for which they could use VBScript, rather than binary code) anyway. I just don't see why MSH changes anything on this level.

      I hold out hope that Vista cures the security model of Windows. Not much hope, but some. I mean it's only really broken on the desktop (and in IE, but I try to ignore that because defending IE is just laughable). But isn't SELinux trying to implement the sort of "big-brother all-encompassing integrated security nightmare" that works very well in a networked system? Correct me if I'm wrong.

      If I were less in control I'd call you all sorts of insulting and intellectually degrading names and every single one of them would be applicable.

      You'd only end up making yourself look silly now, wouldn't you. Threatening to degrade someone's intellect by calling them names doesn't seem like a fantastic move to me. :)

    35. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      Its no different than having 5000 configuration files scattered through a system, other than of course that its in a centralized database. IMNSHO the *nixes can benefit from this concept. Yes, there are limitations, and there should be better security within it, but nothing is stopping someone from hacking Httpd.conf either.

      I assume you have never used Unix. We hate the registry because (a) it is binary and (b) it lacks comments.

      I can possibly edit a conf file that I know NOTHING about. Jesus on a rocket couldn't do that with the Windows registry.

      I can also ssh in to a box and easily edit conf files by hand.

      And BTW I primarily use Windows now and I like it. I'm just not dumb enough to think every new idea is automatically better.

    36. Re:Who wrote the introduction? by ScrewMaster · · Score: 1

      What do you mean, "you don't have to use it?" You have to use it to boot your system. If it's corrupted you're toast. If the backup is corrupted, you're toast. And getting back into Windows is pointless if you've managed to lose all the information your various applications, drivers, and operating system upgrades have put there. Personally, I ZIP the contents of the registry folder off to a network drive every so often (and especially after I install or remove an application) because Windows cannot be trusted to know when the registry is clean and when it is safe to make that automatic backup. Just getting to your desktop means nothing.

      The grandparent is absolutely correct. The fact that the registry is some kind of "database" is irrelevant. It is a single point of failure, and a bad one at that. Microsoft put pretty much every egg required to run Windows into one basket, and for years has encouraged application developers to do the same for their own products. Put it this way: a single record being corrupted in your phone list database means you lose a few phone numbers. A single trashed record in the registry can hose your entire system, destabilize it, or cause application failures. As a developer of high-reliability industrial data acquisition systems, I consider the registry to be dangerous by definition.

      We don't use the registry any more than we have to because a. it is fundamentally flaky and b. readily exposes potentially important data to other applications and c. storing data in the registry doesn't leave our customers any convenient way to back up their data. I've been burned too many times by this particular Microsoft abortion and if I can avoid it I do. I don't care what Microsoft says about using the registry being recommended practice ... it's a bad recommendation.

      A significant percentage of Windows failures (from BSODs on down) are due solely to registry access malfunctions or corruption. About half the time, trying to use that automatically-generated backup doesn't work because by the time the problem is perceptible Windows has already copied it to the backup.

      Like it or not, the registry is a major factor in overall operating system instability in every version of Microsoft Windows to date. If that is the new millenium, I'll take the old one.

      .INI files, anyone?

      --
      The higher the technology, the sharper that two-edged sword.
    37. Re:Who wrote the introduction? by ScrewMaster · · Score: 3, Insightful

      The registry isn't exactly new ... Windows 3.1 had one, I believe. But it was a stupid idea from the start. I understand that Vista is going to be putting more "protections" in place to reduce registry abuse, but nevertheless like Windows File Protection it's just a hack on top of a hack.

      The only legitimate (and I'm using the term loosely) function that the Registry performs is to make it virtually impossible to move a major application from one machine to another without running the actual installation program. In effect, it's an intrinsic anti-piracy technique. Sometimes I think that's the only reason that it's still there.

      --
      The higher the technology, the sharper that two-edged sword.
    38. Re:Who wrote the introduction? by Vancorps · · Score: 1
      You obviously have a complete lack of understanding in how the registry has changed since the 9x days.

      First and most importantly the registry is now several files.

      Second, If one portion of the registry is somehow corrupted keyword being somehow, then you get into windows and restore the single record that has been broken by either reinstalling the app that broke or by restoring an automatic backup which windows performs everytime you reboot. This is why applications that right to the registry want you to reboot after the install is done. Coincidentally this is also why you have to reboot when patching. It is not required only best practice to reboot after you install and app that is modifying system configuration.

      I think the registry has its place. Information should not be stored in the registry that is sensitive unless it is encrypted which is a standard option among .Net developers at least. We try to minimize the use of the registry as well but thats before its a web application I am now deploying. Single xml config file and I'm set.

      Now to your BSOD statement, I again think you are referring to 9x which as I stated in my previous post is not in this millenium. The issues you bring up have long been solved. I might add most BSOD are caused by terrible drivers these days and I might further add that only kernel mode drivers in XP have the ability to trigger a BSOD. If a user-mode driver screws up you just see the error reporting service in action. Thats a new feature to SP2, since your making statements about systems more than 6 years ago I won't make any assumptions as to whether you are familiar with these new features or not.

      Now lets tackle your last statement. What is unstable about XP and 2003 exactly? Only time I come across problems on either are when hardware is failing or when kernel-mode drivers like graphics cards are doing something that is incorrect but somehow still accepted. Obviously from my description the mechanism isn't perfect which is why there will be no kernel-mode graphics drivers in Vista.

      So yeah, I still fail to see how this is a single point of failure. Regardless of the fact that every user on the machine has their own user registry which is why spyware removal is so difficult.

      I'd also like to know when the last time someone had the registry on an 2k,XP,2k3 machine corrupt as people seem to suggest. I've had minor registry problems, nothing I couldn't fix either from the emergency recovery console or from booting to the desktop and running regedit.

    39. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      The only person who's looking silly is the person who's defending the security model of Windows. Most notably, the security model of Windows coupled with (finally) a semi-functional shell environment.

      Giving Windows to script kiddies is giving them the gun. Giving them MSH is giving them the bullets.

      --
      fast as fast can be. you'll never catch me.
    40. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      "That if anything should show that all they're really doing are mostly just applying new skins to sell their product,"

      You haven't actually looked at, or used, Vista have you... With the latest CTP build, there's -far- more differences between it and XP or 2K than a new skin.

    41. Re:Who wrote the introduction? by zootm · · Score: 1

      The only person who's looking silly is the person who's defending the security model of Windows.

      I guess when I mentioned its fallacies last time I must've stuttered. Apologies.

      Giving Windows to script kiddies is giving them the gun. Giving them MSH is giving them the bullets.

      Nah. I just don't buy that argument. The security is lax so we should remove useful utilities? No. Fix the security, don't cripple the platform. Nobody advocates replacing bash with something simpler when an SSH vulnerability is discovered. It's just not a sensible course of action. In this way, though, a finely-grained security model (like that of SELinux, or apparently Windows - I can't say I've used it in any depth, and obviously this doesn't apply to desktop installs where everyone runs as Administrator, seemingly for kicks) helps. There's no need for an overall administrator, each subsection is (can be, that is) controlled by another user. But I digress.

    42. Re:Who wrote the introduction? by SilverspurG · · Score: 1
      The security is lax so we should remove useful utilities?
      The security is so lax that, prior to playing catch up with the *nix community, you should fix the inherent security problems in the Windows design.

      It's as simple as that. MSH is a marketing catch up. It's a solution to the "they have a functionality we don't" problem. It's evidence of wasted resources. MS would've done better spending the money on fixing inherent brokenness and sticking with it's GUI.

      You can disagree all you want. You can plug SELinux all you want (Yes, SELinux is pretty much a kludge as well, and you can tell that to the NSA). You're wrong.
      --
      fast as fast can be. you'll never catch me.
    43. Re:Who wrote the introduction? by zootm · · Score: 1

      Not convinced. You've given no evidence for your opinions on security systems, and they contrast with the research and the the views of the experts.

      I'm bored of talking in circles though, we're either going to agree to disagree, or just plain disagree. :)

    44. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      Evidence? Jesus Christ on a pogo stick... since when do MS apologists resort to invoking evidence?

      The world must be ending...

      --
      fast as fast can be. you'll never catch me.
    45. Re:Who wrote the introduction? by Dan_Bercell · · Score: 1

      Has a current .NET Dev Id like to point out that .NET seems to promote using files (.config, .settings ..etc) instead of using the registry. Should be known that I didnt really program all that much before .NET, so maybe I am just missing the out...but I find using files simpler

    46. Re:Who wrote the introduction? by snuf23 · · Score: 1

      "Apple does have a track record of balancing user's rights with profit"

      What do you mean? User rights in the technical sense? Consumer rights in the business sense?
      Apple has historically imposed artificial limitations on systems it sells in order to arbitrarily stratify their product line and preserve profit. See for example the fact that it takes a firmware hack to allow an iMac G5 to extend the desktop to a second display. Never mind that the hardware is perfectly capable. Or the castrated Classic and Color Classic models (among many others).
      If MS would do as you say then they should be getting a kickback from the spyware vendors. I'm not aware of any evidence suggesting they are.
      I'm not an MS fanboy, the fact that many applications require admin access causes me plenty of hell on a weekly basis. I for one think that at least a real move to a sudo style authentication would be preferable to the current state of affairs.

      --
      Sometimes my arms bend back.
    47. Re:Who wrote the introduction? by jp10558 · · Score: 1

      I think the getting rid of the menu bar for some sort of tabbed interface is a major UI change - and not really one for the better AFAICT. At least the screenshots don't make a compelling benefit to the change, maybe using it for a while would change my mind, but I don't plan to for a while.

      Also, I still think major changes to the UI are sort of stupid for MS. If a company is going to have to retrain all it's users for applications and OS use, what benefit is there to paying for Vista vs getting SuSE for free or whatever distro of choice? I mean, Office 12 looks different enough to make the training cost equivelent to changing to Openoffice 2.

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
    48. Re:Who wrote the introduction? by SilverspurG · · Score: 1

      But Apple's never lied about it. There's no secret that Macs are computers for people who hate computers.

      --
      fast as fast can be. you'll never catch me.
    49. Re:Who wrote the introduction? by The+Warlock · · Score: 1

      It also makes it virtually impossible to move a major application from one folder, partition, or drive to another without uninstalling and reinstalling.

      Blech.

      --
      I've upped my standards, so up yours.
    50. Re:Who wrote the introduction? by leonbrooks · · Score: 1
      Do these people really think in terms, that glossy ads use to compare the advertised products with animals?
      Yes. Specifically, in this case, a dog.
      --
      Got time? Spend some of it coding or testing
    51. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      What was meant by the Rings of privelege (RPL's) was it depends on what portion of the OS you are looking at:

      E.G.-> Ring 0/RPL 0/Kernel levels of code like drivers, & the OS cores are what I meant...

      (IIRC, this is what Linus Torvalds oversees as far as Linux is concerned, with guys like Andrew Morton etc. iirc as one example of others that help him)

      Those levels of the OS' operation are overseen by various people such as those 2, & RPL 3/Ring 3/UserMode apps are overseen by others, such as the folks that produce the GNOME or KDE portions, & later the app developers that produces the apps that ride on those.

      (NOT THAT Bill Gates or Linus Torvalds designed the processor designs around them!)

      You misunderstood me.

      APK

    52. Re:Who wrote the introduction? by Decker-Mage · · Score: 1
      If you are operating any OS without a full system backup, your whole system is essentially a single point of failure. Furthermore, there are numerous files in the various *nixen that also act as SPOF as well and this is true of every OS that I've come across in production use. However, in Windows XP/2003 even if you don't create any backups at all, you will have at least one known good configuration which includes the registry to fall back to when something terrible happens. It was created as part of the installation process. I don't know of any 'normal' users that know how to create one but the capability is in the OS to do so when you wish and on my Windows boxes I wish every Saturday as part of my normal maintenance day for all my machines. I also make a manual backup of the registry (export to file on my file server) and tuck that in with all the other unique system configuration, database backup/log files, etc.

      Your point would have been valid for Win'2K or earlier and then only for those that didn't know how to export the registry, and import it again. However, most technically inclined people knew how to do that anyway as part of the process of defragmenting the registry, a rather notorious problem at one time.

      Besides, as a sysadmin, having to hunt down several hundred to thousands of config files ain't exactly fun as Linux still hasn't standardized on exactly where all those files are going to end up. Mostly yes, but there are too many oddballs out there. I know they are working on it and hopefully they'll get this resolved soon. In the meantime, a full system backup with relatively few incremental in-between is about the only way to go for now. Gee, sounds like Windows.

      They all suck if you are a sysadmin. Life sucks if you're the sysadmin!

      --
      "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
    53. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      The general problem with the registry from a unix perspective is not the single location but that it is binary.

      Plain text is simple to edit, with any of a variety of tools, can be done offline, or with half the system hanging in tatters, or remotely (no gui).

      Better still, you can keep a master copy and distribute them to guarentee identical configuration on umpteen machines.

      Additionally, unix does not make modifications to config files as part of its general operation. From the point of view of tracking changes, the registry is a total fscking nightmare.

    54. Re:Who wrote the introduction? by Decker-Mage · · Score: 1
      I hate to say this to anyone, but you obviously have no clue about the architecture of Vista, Monad, .NET 2.0, nor any other aspect of Windows as it relates to the next version. Period. Case in point, how the hell is an ActiveX malware supposed to invoke MSH? First off, you'd require the id10t (l)user having to tell the system several times to run that (usually unsigned) piece of crapware. Next, it would have to literally break out of the sandbox that IE will be living in on Vista. Then it has to circumvent or get the stupid (l)user to type in their administrator password so that it can break out of the LUA lock down. Quite a feat. Sure, some (l)user will probably do it and create another zombie which will last right up until the next time the OS automagically checks WindowsUpdate, unless you really get creative on creating this piece of crapware. Fortunately most of the stuff I've seen is about a creative as I am at painting (i.e. zero).

      In other words, there are going to be a lot of hurdles out there that you have to get over/around/under before you get the keys to the kingdom any more, even if the id10t (l)user runs as Administrator all the time.

      This isn't to say that all is sweetness and light, but right now I'll take any bone in the security arena I can get these days as locking down and 'fixing' Windows systems ain't fun any more. Neither are Linux systems but I'll save that for another rant.

      --
      "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
    55. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      "And I don't think that's a necessarily a bad thing." - by docgnome (868111) on Monday October 24, @11:25AM

      We'll have to agree to disagree then, because I do think it was/is a 'bad thing'...

      See, I do think it is what kept us ALL from using some form of UNIX on our desktops today, personally.

      This "jockeying for power &/or market share" that went on (or, whatever it was on the numerous UNIX vendors' parts in not keeping their OS cores & higher levels of their respective brands of this OS family consistent via a standards group/body) is what caused us not to be running UNIX today on all types of systems from mainframes & midranges down to personal computers, imo.

      (There was just TOO MUCH fragmentation & fracturing and not enough working together to create apps that run EVERYWHERE (on all UNIXES), & look/feel/act the same on ALL platforms running a UNIX of any kind... this is not possible, because of the fragmentation @ API levels in the OS from RPL 0/Ring 0/Kernel mode all the way up to RPL 3/Ring 3/User mode).

      "Different versions of Linux are the same kernel with stuff slapped on top of it." - by docgnome (868111) on Monday October 24, @11:25AM

      Yes, on LINUX (and KDE, because it runs on Linux and SOLARIS iirc as well) specifically? Here, I agree, but with some reservations... do you also consider LINUX a UNIX? This matters, I have to ask, because I get into it more later below, read on:

      LINUX folks like Linus Torvalds ("penguin #1" as I call him) made sure this worked out like that, hence why I refer to him as a 'single steward' in making sure that OS versions from diff. vendors didn't vary TOO wildly as they did with older/traditional UNIXES.

      (Mr. Torvalds IS that 'single steward', as Bill Gates & his teams @ MS are for this between diff. OS models/types (9x vs. NT types) albeit with helpers like Santa has & the KDE folks as well since their desktop environs works on more than just LINUX, but also UNIXES as well iirc!)

      They've done the RIGHT thing & Linus Torvalds, Andrew Morton (iirc as one of his helpers in governing against varying Linux distros fracturing compatibility w/ one another radically @ the OS core levels @ least) & guys like them (e.g. (again) KDE development teams) make SURE that happens...

      However?

      That did NOT happen in the world of UNIX (e.g.-> BSD vs. AT&T/BellLabs UNIX - traditional UNIXES pre-1990's types), period... & thus, why Windows even had a shot to do what it did: Which is run on 90% of the world's computers out there from servers to desktops.

      I've always considered LINUX to be a UNIX 'knock-off', but a BETTER one (based on the MINIX core that Linus Torvalds initially worked with), so if you also look @ it from that perspective, I can see WHY you stated what you did... but, it depends on whether you are like myself, & consider LINUX a superior UNIX, with the most future to it.

      APK

      P.S.=> I.E.-> What runs on 1 form of UNIX may or may not run on another form of UNIX, & this is NOT a good thing imo...

      "That's because the different UNIX versions... are different Operating Systems with different kernels." - by docgnome (868111) on Monday October 24, @11:25AM

      See, like I stated above - 99% of the time, anything you write for Win9x will run on WinNT-based OS types!

      This is because @ the API level (especially in usermode/explorer shell where users mainly interact with the apps & OS) ALL Windows are nearly the same in UserMode @ least... 99% the same, or near to it @ the API level for Win32 (not native API in NT vs. 9x core though).

      Yes, big diff.'s do exist between the 9x series & NT-based series in their underlying cores (NT = VMS based design with some Os/2 in there (filesystem mainly, NTFS is largely based off HPFS design) in the core of the OS @ kernel levels, & in UserMode/Ring 3/RPL 3, the API is what I stated it is - 99% consistent between 9x versions of Windows & NT-based ones)

      But, users generally do not operate there in RPL 0/Ring 0/kernel level-realmode operations during say, bootstrap, unless you use things like Winternals/SystemInternals tools, or say Recovery Console... apk

    56. Re:Who wrote the introduction? by zootm · · Score: 1

      Were you meaning to reply to me? You seem to be agreeing with me.

    57. Re:Who wrote the introduction? by Dick+Faze · · Score: 1
      The registry has not "always been there".

      No, not always. But its been there since Windows for Workgroups v3.11 (and, though I never worked on the registry in prior versions, I'm going to assume it wasn't part of the point release and went back to v3.0) this is 1992-ish. For any statistically significant statement regarding "Windows Security" its "always been there".

    58. Re:Who wrote the introduction? by SirPavlova · · Score: 1
      I'd also like to know when the last time someone had the registry on an 2k,XP,2k3 machine corrupt as people seem to suggest.

      Permissions are inherited by default in the registry's ACLs. Try setting HKCR to have no permissions whatsoever, i.e. deleting them. It's not a recoverable state, I don't believe. I couldn't do it anyway.

      Obviously this is not a situation you're likely to get into without user input, but still, it was impossible to even start the default shell. When Windows can't read it's associations, it can't do anything.

      --
      Yar.
    59. Re:Who wrote the introduction? by docgnome · · Score: 1
      First, you misunderstand me. I didn't say that not having a common API isn't a bad thing. I said that UNIX not being a unified project wasn't a bad thing. The reason I say this is having multiple projects allows people to work on whatever project rings true to them. IE OpenBSD users/developers tend to use it because its main goal is security. This is a good thing for them because they are security fanatics. Their work can then be ported to other operating systems (mostly the other BSDs). I think the same principle is true of Linux.

      As to not having a common API, first off... a common API for what? Graphics? UNIX isn't a graphical monster. That's what X is for. And now that nearly everyone runs some variant of X there is a common API (and if you don't like that, there is always GTK+ or QT or umpteen others).

      If the API is for interacting with the system... POSIX is all I can say. And that's been around more or less since 1985. (See http://en.wikipedia.org/wiki/POSIX)
      See, I do think it is what kept us ALL from using some form of UNIX on our desktops today, personally.
      Who do you mean by "ALL"? Because this "API incompatibilities between various vendor models" has obviously not stopped you (probably), me, and others from using UNIX or a UNIX work-a-like on their desktops.

      If "ALL" is Joe-Blow-Windows-User, who is proud that he can use MS Word, then I don't care if they use UNIX or a UNIX work-a-like. Ultimately, he would probably be happier with UNIX or some UNIX variant. If he still wants to use buggy software then, whatever. If he wants to use less buggy software then, Good Job!

      If "ALL" means SysAdmins, then I think they are foolish not to use UNIX or a UNIX work-a-like. But, if they want someone else to control their network, that's their choice I suppose.
    60. Re:Who wrote the introduction? by Vancorps · · Score: 1
      You can correct that from the emergency recovery console. I've seen that before. Of course last time I saw someone do that in XP or 2k we could just load last known good config and get right in and fix the ACL problem. Running regedit is kinda difficult from explorer but last I checked it would still execute from a command prompt.

      Windows safe mode w/ command prompt requires no registry settings, it is all based off defaults the ntloader provides. Of course its obscure territory. Not too many rightfully so like to edit the registry let alone mess with its permissions. I can admit I've done that in the past though and boy did I hate myself for it. Took me a while to figure out how to get everything running again.

      I suspect the registry will continue to be improved upon. In the days of 95 the hatred of the registry made sense. But really having all that stuff in one place, especially when looking for spyware makes life pretty easy. Pretty much just need one tool to clean a machine of spyware. Of course if the configs were scattered among hundreds of text files the issue would more or less be exactly the same. Only need one tool to do the job. Although I would think that would take a lot longer.

      Everytime someone complains about config files I more or less stop listening to them anyways. I'm an Oracle DBA, I would kill to have all my configs in /etc.

      These days the registry is used less and less and I can pretty agree with people that it is not an ideal storage mechanism. Except when you want to integrate with other Windows components. Then a hybrid approach works well. All the Windows integration entries in the registry and all the app configs in an xml file.
    61. Re:Who wrote the introduction? by SirPavlova · · Score: 1

      Thanks, I didn't realise the recovery console worked - I assumed it wouldn't be able to run the necessary exes, due to the association problem. Last known good config didn't. I gave up after a good while. Pressed Enter by mistake editing permissions, then couldn't add back SYSTEM's permissions even 30 seconds or whatever it was later.

      That's my only problem with the registry, really. Windows shouldn't be able to cut off it's own access to something so vital. It seems like an accident waiting to happen, & I can't see any reason you'd want to do it deliberately.

      --
      Yar.
    62. Re:Who wrote the introduction? by Moderatbastard · · Score: 0

      Plus the sod's binary, so not much chance of patching it by hand if it does get borked.

      --
      1/3 of jokes get modded OT. If you get the joke, mod 1 in 3 insightful/interesting/underrated to restore karma balance.
    63. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      "First, you misunderstand me. I didn't say that not having a common API isn't a bad thing." - by docgnome (868111) on Tuesday October 25, @11:51AM

      Sure it is a BAD THING!

      And, for the VERY reason you cite is a "good thing" (sarcasm, sorry but it's true) next, because you overlook the monetary aspects of such undertakings as you cite:

      "The reason I say this is having multiple projects allows people to work on whatever project rings true to them. IE OpenBSD users/developers tend to use it because its main goal is security." - by docgnome (868111) on Tuesday October 25, @11:51AM

      First of all, their goal, ALL OF THEM should be security.

      Secondly, budgeting for porting would be WHOLLY UNECESSARY, & yes, it costs TIME & time? Means money!

      Especially to the extent it is today & on the platform you cite, which heavily relies on C/C++ code tremendously since the OS' in question are written in said code as are many of its applications.

      Time to do it? Means MONEY!!! Big money... especially for industry specific mission critical apps.

      Even with tools like MKS provides for it between platforms, this means time and money... (even with toolkits like I mention which allow easier ports using C/C++ codebases for Unix-> NT)!

      Porting C/C++, even though it was intended to be simpler/easier than assembly level language ports, it still is more difficult with tools like C/C++ than it is for more modern RAD tools like Delphi (easiest port there is to Linux from Win32 I have ever seen or done 1st hand mind you) & even more modern RAD tools like RealBasic (which compiles code for MacOS X, Linux, & Win32 from a singlecodebase & like Delphi, it too = RAD).

      BOTTOM-LINE -> It costs TIME (more time than with other more modern RAD toolsets that I mentioned) & that time?? = BIG MONEY!!!

      "As to not having a common API, first off... a common API for what? Graphics? UNIX isn't a graphical monster." - by docgnome (868111) on Tuesday October 25, @11:51AM

      No, it's just where modern users interoperate with the OS faster & smarter, not commandline longer, more esoteric & switch ridden longer. Point-blank... it's working smarter, not harder.

      AND, on systems in Win32 based code in the OS, & applications API's which offer a common user interface set of features which every Win32 app has (be it control boxes to window frames & menus) which they are used to.

      "If "ALL" is Joe-Blow-Windows-User, who is proud that he can use MS Word, then I don't care if they use UNIX or a UNIX work-a-like" - by docgnome (868111) on Tuesday October 25, @11:51AM

      It's what users today, use, out in corporate america... like it or not on your end. After all, kids grow up on Windows, they use it in school/academia extensively, & know it. This means better overall efficiency & productivity from them & it also means training is less, as well as better productivity from said users (as well as doubtless happier users in general - this IS the end-user of today & office worker, like it or not from your perspectus).

      This one on YOUR end? It made me laugh though:

      " If he still wants to use buggy software then, whatever. If he wants to use less buggy software then, Good Job!" - by docgnome (868111) on Tuesday October 25, @11:51AM

      Oh, so UNIX is bugfree totally, right? Come on... get real man! Bugs are EVERYWHERE, & on EVERY platform... I know, seen & used TONS of them in my day as well as developed on them. 1/2 my career has been fixing the bugs of others on diff. OS platforms galore, see below!

      APK

      P.S.=> To all of the above, to back it up as the 'voice of experience' here from multiple types of platforms from everything from end user -> network engineer/tech/admin -> developer level hands on professionally (& before it for years academically with multiple degrees in this field & decades of experience):

      I know, I've been a developer (as well as network engineer/tec

    64. Re:Who wrote the introduction? by Kymermosst · · Score: 1

      If you are operating any OS without a full system backup, your whole system is essentially a single point of failure.

      True enough.

      Furthermore, there are numerous files in the various *nixen that also act as SPOF as well and this is true of every OS that I've come across in production use.

      Well, maybe inittab on some systems, but if you can get even to a single-user login as root, there's hope. Some damage to the Windows registry prevents the OS from being accessable at all, and you can't even boot to a command prompt. If restoring the backup doesn't work, it's over.

      However, in Windows XP/2003 even if you don't create any backups at all, you will have at least one known good configuration which includes the registry to fall back to when something terrible happens. It was created as part of the installation process. I don't know of any 'normal' users that know how to create one but the capability is in the OS to do so when you wish ...

      The last time I had to roll back the registry to the "known good", it completely hosed the system. Ended up doing a reinstall. The problem is that too many things rely on state that no longer exists because the registry is fundamentally dynamic.

      Most configuration files in /etc on *nix are only read by the application, not written. Any run-time settings are saved elswhere in most circumstances. Separating the "read-only" data from the "read-write" data (from the application perspective) just seems like a logical separation of purpose.

      It's not that I oppose the concept of a standard configuration mechanism, it's just that I think the way Microsoft implemented it wasn't so good, here's why:

      * Virtual data is retrieved through the same interface as defined data.
      * Read-only data is stored in the same database as read-write data, yet there is little permission enforcement or separation of function on a per-key basis.
      * It makes it too easy for a bad app (malicious or buggy) or bad user (malicious or stupid) to change things that it shouldn't be changing, due to lack of access enforcement.

      Simple things would fix the registry, including journaling of changes since the last backup (this seems obvious, maybe it's already being done?), and some form of access control mechanism, things like:

      1. Allow keys to be created that can only be accessed by the original application that created the key, unless the user intervenes somehow.
      2. Require user intervention when applications want to modify certain subtrees of the registry. Just imagine how much spyware could be prevented if a dialog box popped up and said "3l337-adblaster.exe would like to modify the auto run portion of the registry. This may change the way your computer starts and what programs are run when the computer is started. Allow? ".
      3. Allow signed applications more latitude.

      They all suck if you are a sysadmin. Life sucks if you're the sysadmin!

      Well, things were good in Solaris until Solaris 10 came along and made things different (especially the way services are started).

      Really I don't mind hunting down all the config files... I keep a list of where the most important ones are, for the sake of any sysadmin (especially the on-call) who needs to work on the box.

      --
      "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
    65. Re:Who wrote the introduction? by docgnome · · Score: 1

      All I have to say is that you need to read what I said, not what you think I said. Unix has bugs, as does all software. That's why I said Unix was "less buggy" than Windows. Which it is. Also you replied to things I said with nonsensical remarks. I said "I didn't say that not having a common API isn't a bad thing." Let me rephrase. I didn't say that having a common API is a bad thing. So... maybe you should read more carefully? I'm not disagreeing with you, save on the point that having many different Unix variants is bad.

    66. Re:Who wrote the introduction? by Vancorps · · Score: 1
      True that, I imagine the next revisions to the registry system will have more protections against such things.

      That is one base function, an OS should never be able to break itself. Obviously installation media and third party apps breaking will and should always happen.

    67. Re:Who wrote the introduction? by Anonymous Coward · · Score: 0

      "All I have to say is that you need to read what I said, not what you think I said. Unix has bugs, as does all software. That's why I said Unix was "less buggy" than Windows. Which it is." - by docgnome (868111) on Tuesday October 25, @06:37PM

      First of all, on a comparison of ANY/ALL Unix type OS, vs. Windows NT-based ones? Well, here is a great point:

      UNIX doesn't do 1/10th of what Windows can, & UNIX also does not run with as much hardware OR, as many softwares, period! Care to debate with me on that?

      (The CLOSEST one to Windows here? It's LINUX... but, it lacks vs. Windows in so many areas for versatility?? It's still not there, period... it just does not have as many apps, drivers, & hardwares geared to it as Windows has, there is no commercial motive/impetus for developers to pursue work around it as Windows has, period!)

      LASTLY?

      This next one from you, heh, it's SO untrue & typical "Pro-Unix/Anti-Microsoft" F.U.D. that you're spouting, it's really typical from folks here @ slashdot from my time here!

      So, with your statement of 'Windows being less secure than UNIX'?

      (Even BSD variants like OpenBSD/FreeBSD??)

      Well, again untrue, & here is why I state that, in a nutshell:

      The ONLY type of UNIX that might be something that can outdo it, is BSD's IP stack vs. DDoS/DoS attacks, right out of the box & to how it's setup (the Windows 2000/XP/Server 2003 ip stack).

      However, there are hacks for that in the Windows IP stack if you apply them that drop packets that come from the same source BUT do not reply in a timely fashion in an attempt to lockup a system via DDoS/DoS attacks by the OS & IPStack drivers raising their CPU priority in an attempt to compensate using its OWN NATURE AGAINST IT as well as that of the OS also (in OR out of sequence, which is what BSD's ip stack tests for (sequences)) anyways, & drops the connection holding to them via a timeperiod timeout you set!

      You can also negate DDoS/DoS attacks on Windows NT-based OS like 2000/XP/Server 2003 as well... but, I do admire what the folks @ BSD type UNIX have done, & how it is described here:

      http://www.securityfocus.com/columnists/361

      BUT, there are also hacks/measures that NT-based OS users can use to help Win32 OS of the NT-based family as well... I have been using them for years here no less, & they work!

      Both types of OS, & most all variants? Can be made VERY secure, or rather, as secure as can be against even DoS/DDoS attacks - IF you know what you're doing &/or where to look on how to do it!

      Your point? Negated!

      (Here? I set those very hacks via a registry .reg merge file each time I setup a new system in fact, with many other security oriented features - been doing it for YEARS now)

      Heck, on that note? Well, & just now only??

      Microsoft implements many of these very hacks I mention as well as service cutoffs etc. in the Windows Server 2003 "Security Configuration Wizard" you can run as well...

      BY THE WAY/Newsflash - I did read what you wrote, & having a single API is why Windows took over, economically mainly, getting developers is KEY... they made it easy to make a living, train workers quickly via a commonly used @ home OS which is also used in industry/offices as well - they just cannot lose, & it shows!

      Again - 90++ % of the world's computers running Win32 based OS (by now, NT-based ones no less) from desktops/laptops to servers cannot be TOO far wrong!

      "I'm not disagreeing with you, save on the point that having many different Unix variants is bad." - by docgnome (868111) on Tuesday October 25, @06:37PM

      Well, I do think it is "bad", & for whom? Pro-Unix people!

      (Again, imo, it is the ONLY reason MS took off like they did, along with their wise planning, but the UNIX folks? Their splitting into tons of diff. variants of UNIX (of which I consider LINUX & BSD

    68. Re:Who wrote the introduction? by snuf23 · · Score: 1

      Apple never comes out and says "we castrated this". Look at the iMac G5, they pitch the screen mirroring as a useful feature and ignore the fact that they are preventing the hardware from providing a more useful feature (driving 2 screens) that it is perfectly capable of.

      --
      Sometimes my arms bend back.
  3. Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 5, Funny

    We must have a working implimentation of this shell in Gnome immediately.

    I propose we call it Gonad.
    It will be the dogs bollocks.

    1. Re:Quick! Open Source Monkeys Fly by Omicron32 · · Score: 0, Offtopic

      Mod parent up!

      Made my morning...

    2. Re:Quick! Open Source Monkeys Fly by beforewisdom · · Score: 1

      I literally "laughed out loud"

      Thanks for the chuckle!

    3. Re:Quick! Open Source Monkeys Fly by FrankDrebin · · Score: 1

      I propose we call it Gonad.

      Not to burst your bubble, so to speak, but I recently, and painfully I might add, discovered this rule: eunuchs shall be without gonad.

      --
      Anybody want a peanut?
    4. Re:Quick! Open Source Monkeys Fly by Bobke · · Score: 5, Insightful
      While you are trying to be funny, you are correct,
      unix does need a shell like monad I'm afraid (hence ac)

      What monad will offer is something like

      >ls -l | head -n 10 | sort size | excel

      They are piping objects, we would need to do a lot of parsing to achief the same effect.

      Someone really needs to write a new shell for unix and abstract the unix system, by giving it knowledge of the common unix tools (parsing the output for the user), like ps, ls, sed, etc.

      Want to be famous ?
      Here is your idea.

    5. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      Unfortunately, I think unix will remain gonadless.

    6. Re:Quick! Open Source Monkeys Fly by SilverspurG · · Score: 1, Insightful

      They're not piping objects to Excel. If you read the article you'd have read the part where they noted that interfacing with programs like IE and Excel will have to be done via ActiveX. Won't that be fun?

      --
      fast as fast can be. you'll never catch me.
    7. Re:Quick! Open Source Monkeys Fly by shaka · · Score: 1

      I presume it's written in C#/.NET, so what's to say we can't run it under Mono?

      Who knows, we might be lucky and this is the first project Microsoft will release under it's GPL-like license? MS taking over the heart of the Linux geeks - their SHELL! ;)

      Or Gnome could just incorporate BeanShell instead...

      --
      :wq!
    8. Re:Quick! Open Source Monkeys Fly by LSD-OBS · · Score: 1

      I think you mean "eunuchs"

      --
      Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson
    9. Re:Quick! Open Source Monkeys Fly by Bobke · · Score: 1

      Think away the excel part and all that I said is still valid, so I don't see your point.

    10. Re:Quick! Open Source Monkeys Fly by SilverspurG · · Score: 1

      What you said was "Monad is better because it has an object oriented design". That's an opinion--one that I don't agree with because I don't really see the need for anything object oriented in the realm of shell tasks. My point was that you don't have any.

      --
      fast as fast can be. you'll never catch me.
    11. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      "I propose we call it Gonad."

      Will it work well with the gimp?

    12. Re:Quick! Open Source Monkeys Fly by Bobke · · Score: 1
      I never said "Monad is better because it has an object oriented design", I might have suggested that there are easier ways of doing piping than parsing text output.

      A different kind of direction might be to make sed, ls, etc have a way to output in XML, so the shell could be given a better way of understanding the output, this is a relatively easy thing to do.

      With your line of thinking we'd all still be using anything but assembler, if abstraction is not your thingie, then maybe you shouldn't be around computers.

    13. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 4, Insightful
      What monad will offer is something like

      >ls -l | head -n 10 | sort size | excel

      They are piping objects, we would need to do a lot of parsing to achief the same effect.
      Just do : ls -l | sort | head -10 | tr -s " " "\t" > dir.txt; gnumeric dir.txt & After all, if you're going to be manipulating it in a spreadsheet, you probably want to save it in a file somewhere anyway, right?
    14. Re:Quick! Open Source Monkeys Fly by Shaklee39 · · Score: 2, Informative

      That joke has been used every time a story on monad has been posted. There have been at least 3 stories. You are not funny or original.

    15. Re:Quick! Open Source Monkeys Fly by SilverspurG · · Score: 1

      I'm sorry. I don't follow your opinion. I have no problem reading, interpreting, and manipulating plain text as its output from any number of command line utilities.

      I've always disliked markup languages. To me they're a kludge for all but the simplest and most basic uses. Hyperlinking, for example, is a nice concept... text properties, however, should be in the rendering engine and not in the data language. Yes, I know I just told the entire WWW that it's overrated but, if you look at what happened to the stock market after the sudden hyperpopularity of the WWW, you would see that I'm correct (as usual). In the implementation which you speak of they'd be a crutch for people too brain damaged to post process text output.

      The shell doesn't need to understand the output. The user does.

      --
      fast as fast can be. you'll never catch me.
    16. Re:Quick! Open Source Monkeys Fly by ACNiel · · Score: 1

      You don't see his point? What is your point?

      What doesn't the unix shell do that you are proposing here?

      I am honestly confused by your original post. I can pipe all day long. I can pipe into any application that accepts command line input, or redirect into any application that takes a file on the command line.

      If you get rid of the excel part, what other features of your pipe line are missing?

      Not being argumentative, I just didn't understand what you were excited about in your original post (and you missed the AC button).

    17. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      You are sort of silly here aren't you. How is an engine on your desktop supposed to know how I want my page to look? The page text is exactly where directions to the layout should be. The rendering engine needs directions on how to display. I think you are off base with your attack on HTML.

      As for the shell not needing to know about the data, you are absolutely correct. That is an application level task. And to argue his muddled point, it would be extremely hard to make the shell understand the output from all applications. So we have an impossible task that the shell shouldn't be concerned with anyway.

      Now, if we make everything output XML, and read XML, well then he might have a point, if he understood that XML is nothing more than a variable record comma delimited file on steroids, and you still have to have an inate understanding of the data before you can do anything except parse it into records you can't do anything with. If you had limited your attack to just XML, I'd have whole heartedly jumped on board.

    18. Re:Quick! Open Source Monkeys Fly by SilverspurG · · Score: 1
      You're right. I'm taking my philosophy to an extreme. At the end of the day, however, the bottom line is user readability in the easiest and most readily available way. From my standpoint that's "cat". If I have to filter out a mass of markup tags with a standard monochrome 132x80 cat of a text file there is no more user readability.

      How is an engine supposed to know how your text is supposed to look? Well, if it's a word processing program destined for the printer that's between you, the word processor, and the printer. The discussion was about config files, though. I can't think of any time when I cared how the text looks in a config file as long as I can cat it and read it. Personally, I had no problem using the web as just another way to fetch plain text files.

      I'm not off base with my attack on HTML. HTML has morphed into something completely outside the scope of its legitimate use.
      if he understood that XML is nothing more than a variable record comma delimited file on steroids
      I'm glad someone else sees that.
      If you had limited your attack to just XML
      You may call me a purist wanker. After using word processors, with full font and type capabilities, long before HTML came into existence I really can't see the point of a markup language marketed towards general use. In my opinion, as it's marketed now, it promotes clutter and useless flair and has been expanded so that it's almost indecipherable unless you have a graphical browser. While lynx/links are readily available the majority of the web is completely unusable in plaintext format. At a fundamental level that bothers me since I'm one of the taxpayers who paid to create the darn thing.
      --
      fast as fast can be. you'll never catch me.
    19. Re:Quick! Open Source Monkeys Fly by Proc6 · · Score: 2, Insightful
      Just do : ls -l | sort | head -10 | tr -s " " "\t" > dir.txt; gnumeric dir.txt & After all, if you're going to be manipulating it in a spreadsheet, you probably want to save it in a file somewhere anyway, right?

      Kick in the *NIX fanboi defense reflex: Offer a half-baked parallel and insist that any deficiencies are things you didn't need or shouldn't be doing in the first place.

      --

      I'm Rick James with mod points biatch!

    20. Re:Quick! Open Source Monkeys Fly by MrResistor · · Score: 1

      MS has to pipe objects because of a fundamental flaw in their original design philosophy: that binary objects and text are treated differently. *nix treats it all the same, and therefore doesn't have the problem that piping objects compensates for.

      Adding complexity in order to solve a problem you don't have doesn't sound like good design to me.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    21. Re:Quick! Open Source Monkeys Fly by Sleepy · · Score: 1

      >>>ls -l | head -n 10 | sort size | excel

      >They are piping objects, we would need to do a lot of parsing to achief the same effect.

      In the context you provide, UNIX commands are "objects" in much the same respect.
      Actually you are talking about filters but anyways..

      You can do that in UNIX/Linux: you can invoke GUI programs via the command line, and NOT get a GUI window but instead get some output (which you can parse).

      Not all programs support this, but if people want it, it will happen.
      Microsoft can decide to put all this into the latest Office release, and if it is popular (in demand) I'm sure a solution will appear for OpenOffice*.

      * Technically, this already exists if you script it yourself... OO docs are XML that can be parsed via 'perl' or 'awk'. You can delete the tags then output the plain text, in the absence of a 'calc --dump' text only mode, or shell command 'copy file into X11 clipboard' (for quick pasting of new docs), etc.

    22. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      What monad will offer is something like

      >ls -l | head -n 10 | sort size | excel

      You know, you can already do this type of thing in bash on OSX; just a thought.

    23. Re:Quick! Open Source Monkeys Fly by owlstead · · Score: 1

      Yeah, true to form. This is like saying putting the output of a CLI implementation is the same as creating a GUI application. Starting that even in the slashdot crowd, only a few people will understand that sentence. An OS build out of runtime objects is something incredibly powerfull, and I am afraid that Linux will be miles behind if it takes the form I think it will.

    24. Re:Quick! Open Source Monkeys Fly by zootm · · Score: 1

      I think you just proved his point.

    25. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      Your example is wrong. If a filename had spaces, your script would surely fail. With Monad using objects, it would encapsulate the filename into a single string object and therefor be opened up correctly in excel.

    26. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      S o do n't pu t spac es in fil enames y ou fuc king git. It scre ws up the par sing.

    27. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      2 words: named pipes

      There you go, M$H !

    28. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 2, Funny
      Your example is wrong. If a filename had spaces, your script would surely fail. With Monad using objects, it would encapsulate the filename into a single string object and therefor be opened up correctly in excel.
      So do this (handles filenames with embedded spaces just fine now)
      ls -lQ | sort | head -0 > dir.txt; perl -e 'open(DIR, "<dir.txt"); while(<DIR>) { ($a,$b,$c,$d,$e,$f,$g,$h) = split(" ", $_, 8); print "$a,$b,$c,$d,$e,$f,$g,$h\n";}' > dir.csv; gnumeric dir.csv &
      Again, a 1-liner, and you can even discard the fields you don't want by not "print"ing them.

      And as a bonus, you already have the file in comma-separated format before opening the spreadsheet, so you're good to go for importing, exporting, etc.; if you were using the spreadsheet just to save the data in csv, you can even skip that step.

      So, ancient *NIX shell foo beats not-yet-ready-for-prime-time MSH shell foo, especially when you consider that the *NIX one will run with a LOT fewer resources.

    29. Re:Quick! Open Source Monkeys Fly by Bobke · · Score: 1
      Your example is wrong. If a filename had spaces, your script would surely fail. With Monad using objects, it would encapsulate the filename into a single string object and therefor be opened up correctly in excel.
      So do this (handles filenames with embedded spaces just fine now)
      ls -lQ | sort | head -0 > dir.txt; perl -e 'open(DIR, "<dir.txt"); while(<DIR>) { ($a,$b,$c,$d,$e,$f,$g,$h) = split(" ", $_, 8); print "$a,$b,$c,$d,$e,$f,$g,$h\n";}' > dir.csv; gnumeric dir.csv &

      Again, a 1-liner, and you can even discard the fields you don't want by not "print"ing them.
      This illustrates my point quite well, thank you.
    30. Re:Quick! Open Source Monkeys Fly by mikeburke · · Score: 1

      Yes, that's much better! Looks like somebody is in denial.

    31. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 1
      Yep, mkfifo name_you_want_to_name_your_FIFO_pipe

      Or, if you want something more flexible, make a pseudodevice to encapsulate the functionality you're looking for:

      "Linux Device Drivers", Rubini, Alessadro and Corbet, Jonathan(O'Reilly).

      It does a good job of explaining how to make a device driver by implementing a fake device.

    32. Re:Quick! Open Source Monkeys Fly by Anonymous Coward · · Score: 0

      Um, yeah. That's why it was a joke.

    33. Re:Quick! Open Source Monkeys Fly by fingerfucker · · Score: 1

      ls -l | sort | head -10 | tr -s " " "\t"

      You are kidding, right?

      You are essentially sorting the file list by the permissions (i.e. a file with permisisons "-rw-r--r--" will come before "-rwxr-xr-x" regardless of their name) and not by file size.

    34. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 1

      Thanks for pointing that out. So remove the "sort" - then the default sort is by filename, which is what a lot of people want. Also, to remove the total count, get rid of the first line. The way to do that is head -11| tail -10. Problem solved, though I have a more complete solution that handles embedded spaces in filenames, etc., posted elsewhere in this thread.

    35. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 1

      monochrome 132x80
      I want one of those! I'm not fussy - I'll settle for colour. But 132x80? Nice :-) That's gotta be, what, 1600x1200 if we go by 15 scan lines per character cell. So we're talking 21 - 24" monitor, 10560 character cells, as opposed to 80x25, or 2000 character cells. Lots of room for all sorts of box-drawing and ascii art.

      Now if it was in a real text mode instead of "drawing" the characters pixel by pixel, you could get awesome performance from 10-year-old hardware. (Is there a hardware textmode for 132x80)? or 160x100?

    36. Re:Quick! Open Source Monkeys Fly by fingerfucker · · Score: 1

      The ls command can already sort by file size (my personal favorite is ls -lart). That was not the point.

      The point was, you patched it up as if posting a solution to this one specific problem (top ten biggest files exported into excel) was proof that the unix command line doesn't suck.

      There are more complex tasks on the command line that are far more elegant with Monad's approach of piping objects instead of text.

      It remains a fact that all shell scripting that pipes things together is in essence text parsing and manipulation. This is the main flaw of paradigm. Unix commands don't even produce XML output, they produce human-readable text.

      So instead of getting shit done, one's task becomes how to change that human-readable text into a machine format that the next command will accept as standard input. Over and over and over... So the lengthy unreadable one-liners and Perl scripts are born (and often written poorly), and they get broken (give it enough time and a special case will arise), and fixed (time and time again)...

      Scripting in Unix is simply a mess of constantly patching things up.

      People need to open their eyes and look at Monad as a solution to a formerly broken way of doing things, instead of dismissing it just because it came from Microsoft.

    37. Re:Quick! Open Source Monkeys Fly by tomhudson · · Score: 1

      Ever parse xml? It's a pain in the butt.

      Passing around objects is even less efficient.

      Remember, you're never really passing around objects, just as you're never really passing around objects in c or java. Its just a way of thinking that lets you get a different (not necessarily better) handle on a problem.

      In this case, the framework that provides the abstraction is horrendously huge, and a resource hog.

      Right tool for the right job, and all that. It's not *just* that it comes from Microsoft, though that is also a concern. A big one. Their reputation precedes them.

  4. Oh, I am so excited! by Almond+Paste · · Score: 0, Funny

    Nevermind. Really, does anyone care about this? I mean a powerful command shell under windows is like a...hmm...like a....well it's like something!!!

    1. Re:Oh, I am so excited! by gnuLNX · · Score: 1

      Yeah it kicks ass. unfortunately I do have code for both windows and linux. I hate having to use the current windows shell. So yeah if they get this right I for one will be stocked about it.

      --
      what?
    2. Re:Oh, I am so excited! by Vorondil28 · · Score: 2, Interesting

      a...hmm...like a....

      ...massive security exploit waiting to happen.
      I'll stick with DOS batch scripts, thank you. ;)

      --
      This sig rocks the casbah.
    3. Re:Oh, I am so excited! by bozho · · Score: 2, Informative

      4nt/bash + cygwin tools + python/perl.

  5. impressive by Anonymous Coward · · Score: 4, Insightful

    Indeed, that MSH demo is impressive and all, but python is great too. System-wide integration? Big fucking deal:
    >>> import kudzu
    >>> kudzu.probe(kudzu.CLASS_HD, kudzu.BUS_IDE, kudzu.PROBE_ALL)
    [Desc: MAXTOR 6L040J2 Driver: ignore
    Device: hda , Desc: ST360021A
    Driver: ignore Device: hdc
    , Desc: Maxtor 6Y120P0 Driver: ignore
    Device: hde ]

    etc, and python is easily expandible to cover ALL the system. What makes MSH rock is that it's a python-like programming languaje PLUS a user-oriented (user=administrator) shell like bash. In linux we're used to program scripts with python, then pass the data through pipes to bash to do something with it. Crappy. When you have to do things like "command | cut -d ' ' -f 3 | cut -d ':' -f 1" to get some data, you know something is WRONG.

    The cool thing about MSH that its a SUBSTITUTE to bash/cmd.exe, not a "complement" like python is. Is not that bash or python are bad, but bash-like shells are 30-years-old unchanged technology. Fortunately, there're people writing user-oriented python-based shells, like http://ipython.scipy.org/

    1. Re:impressive by Anonymous Coward · · Score: 3, Insightful
      When you have to do things like "command | cut -d ' ' -f 3 | cut -d ':' -f 1" to get some data, you know something is WRONG.
      Yes. Either your command is wrong (it should do that formatting as its output) or you should have used [g]awk instead of cut.
    2. Re:impressive by NickFortune · · Score: 4, Insightful
      When you have to do things like "command | cut -d ' ' -f 3 | cut -d ':' -f 1" to get some data, you know something is WRONG.

      Agreed. In this case it's the coder, who should really have enough nous to print the data in the format in which he intends to use it. That's hardly rocket science, is it?

      Of course, if you didn't write the python script and don't have the time and/or skill to hack it, you might nd up using cut and the like to get the data in the format you need. The cool think about that is that it's possible. I don't know if the same can be said under MSH, but it seems unlikely - the focus of Monad seems to be .NET integration, not a stream based filtering command line environment.

      Then again, maybe you didn't even write the wrapper script and don't understand anything. If so you can always troll slashdot as an AC and get some astroturfing in.

      --
      Don't let THEM immanentize the Eschaton!
    3. Re:impressive by EvilNTUser · · Score: 1

      "Of course, if you didn't write the python script and don't have the time and/or skill to hack it, you might nd up using cut and the like to get the data in the format you need. The cool think about that is that it's possible. I don't know if the same can be said under MSH, but it seems unlikely"

      Did you even open the article? MSH is significantly more powerful than cut. Bash can only dream of the features it has.

      --
      My Sig: SEGV
    4. Re:impressive by NickFortune · · Score: 1

      Point me at the bit where you thought I said "MSH is less powerful than cut". Then we can talk.

      --
      Don't let THEM immanentize the Eschaton!
    5. Re:impressive by errordactyl · · Score: 1

      The iterative operators are impressive (select, etc). They remind one of ruby syntax while some of the other parts of the language remind one of perl.

      And I'm saying this from the perspective of a 100% linux user, this looks great. How much can it do? I can see some people within microsoft getting excited about it eventually replacing VB... I would support that motion. VB sucks.

      --
      $_.=["a".."z"," "]->[rand 27] while !/just another perl hacker$/;
    6. Re:impressive by EvilNTUser · · Score: 1

      I believe it was when you said "I don't know if the same can be said under MSH, but it seems unlikely".

      --
      My Sig: SEGV
    7. Re:impressive by Anonymous Coward · · Score: 0

      Point me at the bit where you thought I said "MSH is less powerful than cut". Then we can talk.

      Erm, he did: you said, and I quote, "The cool think about that is that it's possible. I don't know if the same can be said under MSH, but it seems unlikely - the focus of Monad seems to be .NET integration, not a stream based filtering command line environment."

      In other words, you think it's unlikely that MSH can do things that the combination of bash and cut can do.

      That's not exactly the same as "MSH is less powerful than cut", but it's near enough for our purposes. And the point of MSH, as the article goes to incredible lengths to explain, is that it IS a filtering command-line environment. Except that by default it uses objects, not streams (although the object a command outputs could be a stream, if that's convenient).

      Make sense? See why he misunderstood your comment now?

    8. Re:impressive by ookaze · · Score: 2, Insightful

      What makes MSH rock is that it's a python-like programming languaje PLUS a user-oriented (user=administrator) shell like bash

      Perhaps that's interersting from the POV of the programmer, but from the POV of the sys admin, it's a nightmare.
      Those that don't understand Unix are bound to reimplement it, badly.
      Bash goes out of its ways to provide tools and syntax allowing you to remove all customizations others could have put in the environment. Korn shell compatible shells are lightweight and portable and cross-platform and respect a small standard. Lacking any of this means a shell is NOT like bash (or any other shell). So your premise is wrong for MSH. MSH does not have MOST of these power features of shells, so I don't understand how you can compare it to them.

      In linux we're used to program scripts with python

      I'm not. Who is this 'we' ?

      then pass the data through pipes to bash to do something with it. Crappy.

      This says it all. It is one of the most powerful feature of Unix, and you call it 'crappy'.
      Again, 'those that don't understand Unix ...'
      FYI, I saved several production data in real time in big french firms thanks to this crappy feature ...

      When you have to do things like "command | cut -d ' ' -f 3 | cut -d ':' -f 1" to get some data, you know something is WRONG

      Which, obviously here, is the person who has wrote this garbage. I would never write this, but would rather write a sed command to do that.

      The cool thing about MSH that its a SUBSTITUTE to bash/cmd.exe, not a "complement" like python is

      It sure is cool. csh was cool too. Look at what happened to it. Cool and Useful/Powerful are not the same.

      Is not that bash or python are bad

      Fortunately you have enough common sense to agree with that.

      but bash-like shells are 30-years-old unchanged technology

      Proven technology, what is wrong with that ?? FYI, people have tried to add cool things to the concept (csh types, zsh, ...). Bash is actually an evolution of sh/ksh, contrary to what you say. It's just more powerful.
      A shell must have, among its features, stability and security. 30 years old is a good thing when you want these. Given that MSH is developed by MS, and given their track record on these 2 points (stability, security), excuse me if I don't hold my breath on MSH.

      Fortunately, there're people writing user-oriented python-based shells, like http://ipython.scipy.org/

      User-oriented python-based shells, OMG !!
      Given the problems I've got till this day with Python apps (memory leaks, unexplained and untracable crashes), given the tedious work of migrating core systems based on Python (look at Gentoo), excuse me, but I think I will stay with bash for a long time.

    9. Re:impressive by mini+me · · Score: 1

      They remind one of ruby syntax while some of the other parts of the language remind one of perl.

      That's exactly what I though. The environment even looks and acts a lot like irb. I'm not sure that is good thing however. As nice as ruby is, I would never want to use irb as my shell.

    10. Re:impressive by Anonymous Coward · · Score: 0
      Agreed. In this case it's the coder, who should really have enough nous to print the data in the format in which he intends to use it.

      ls doesn't print out data in the format $OTHER_PROGRAM requires. Therefore it is wrong.

    11. Re:impressive by NickFortune · · Score: 1
      Hmmm... tell me - do you believe that if Language A is better at Task X than Language B then it necessarily follows that A is better than B for all possible values of X? You certainly seem to. Personally I'd expect that there'd be trade-offs in the design of any language, but perhaps that's just me.

      Tell you what, perhaps you can tell me if Monad comes with a filter object that will take an object representing a body of text, extract a portion of that text by either column number or character position, and pass it on to another filter for further processing. Because sometimes that's a sueful thing to be able to do and frankly, I couldn't find that bit in TFA anywhere.

      You see, if MSH doesn't have something like that and you then find yourself in a situation where you can't modify the original script, and you need to reformat the output, then you're pretty much shit out of luck. In which case, gosh, it would turn out that there was something you do with bash and cut far easier than with MSH. Don't worry - I expect they'll fix it in Marketing.

      Of course, maybe I skipped over the section in TFA on column based text processing. Point it out to me and I'll cheerfully eat arbitrarily large portions of humble pie. Otherwise, I stand by what I wrote.

      --
      Don't let THEM immanentize the Eschaton!
    12. Re:impressive by SilverspurG · · Score: 4, Interesting
      I'm reading the article and, you know, I'm just not seeing anything in here but a horribly tortured object oriented syntax and a reexpression of MS' nightmarish implementation of the common "--help". I did, however, find this admonishment:
      One of the major frustrations of MSH is the lack of support for piped input in other Windows applications. I can't pipe my HTML content into a new instance of Internet Explorer and I can't pipe my CSV content directly into a new instance of Excel.
      Considering the decades of command line functionality which sh type shells have, apparently MSH is only dreaming of what BASH can do.

      Followed closely by:
      I sincerely hope that the final release of MSH features an entire collection of convert and export commands for a broader variety of formats. Sources inside Microsoft tell us that MSH users will probably use COM and ActiveX to interface with major Windows applications.
      It's a security nightmare waiting to happen. If people think BASH viruses are a potential problem then imagine the full horrors of ActiveX with access to a system shell. At least Mozilla exploits don't lead to "rm -rf /" or malware stuffed all over the system.
      --
      fast as fast can be. you'll never catch me.
    13. Re:impressive by Dare+nMc · · Score: 1

      > When you have to do things like "command | cut -d ' ' -f 3 | cut -d ':' -f 1" to get some data, you know something is WRONG

      >>Which, obviously here, is the person who has wrote this garbage. I would never write this, but would rather write a sed command to do that.

      I miss why this is garbage, especially for some multi-thread or multi-cpu systems, breaking this into 3 processes may give big advantages over a single sed process, if nothing else this is much more readable to me, than a sed equivilent.

    14. Re:impressive by NickFortune · · Score: 1
      In other words, you think it's unlikely that MSH can do things that the combination of bash and cut can do.

      I think it's unlikely that MSH can do the things that bash and cut can do as well, and with as little effort, as MSH can do them. That's a distinction I didn't think needed making - maybe I should have made it anyway.

      That's not exactly the same as "MSH is less powerful than cut", but it's near enough for our purposes.

      Yours perhaps :P

      And the point of MSH, as the article goes to incredible lengths to explain, is that it IS a filtering command-line environment.

      I wouldn't say incredible lengths, or that the filtering was the point of MSH - the point seems to be to supply a .NET enabled, MS branded Perl variant. Even so, if EvilNTUser had hauled me up on that issue, I might have conceeded the point.

      Then again, I might not. The streams in questions are object streams, and it's far from clear that Monad is going to ship with a set analagous pipe processing primitives as have evolved for use with *nix shells, we can reasonably expect some degree of overhead from the object format and there's a fair chance the text you want will be embedded in some gui display or interrupted with application specific markup and metadata.

      So if the output isn't formatted the way you want it, I really do think it's going to be harder to fix that with MSH than with bash and cut. Of course, YMMV.

      --
      Don't let THEM immanentize the Eschaton!
    15. Re:impressive by Anonymous Coward · · Score: 0

      "that's a sueful thing to be able to do"

      Yes anything useful you can accomplish with a computer is patented...

    16. Re:impressive by NickFortune · · Score: 1
      I feel you're being deliberately obtuse here.

      If the coder writes a program in the wrong format for his own purposes with no one else using it, then the coder is doing it wrong. This is the scenario suggesed by the original AC's post, where the author writes his code to output in the wrong format, and then has to fix it with cut - apparently proving that bash is broken by doing so.

      Of course Grampy AC may have meant the case where you can't change the source program, as is the case with ls. In that case, the cool thing about the pipefitting tools that come with bash is that you have a means to change that format without needing to hack ls.

      Mind you, have you seen the nuber of options for ls? I think the only format it doesn't support is telepathic output. And that only until the expansion cards become commercially available.

      --
      Don't let THEM immanentize the Eschaton!
    17. Re:impressive by NickFortune · · Score: 1

      The defence throws itself upon the mercy of the court, m'lud.

      --
      Don't let THEM immanentize the Eschaton!
    18. Re:impressive by EvilNTUser · · Score: 1

      You may have misunderstood my objection. I have no idea if Microsoft are offering something like cut. But that's missing the point, because your scenario should never occur under MSH.

      Sure, you *can* still pipe raw text from one app to another, but it's not correct behavior for programs written for MSH, which makes it unnecessary for programs to deal with such presentation. AFAIK, all a script needs to do is pass the fields to the shell, and the user can then manipulate them in an arbitrary manner.

      This both removes a lot of unnecessary code from applications and actually makes it harder to write programs that behave badly.

      --
      My Sig: SEGV
    19. Re:impressive by shaka · · Score: 1

      Tell you what, perhaps you can tell me if Monad comes with a filter object that will take an object representing a body of text, extract a portion of that text by either column number or character position, and pass it on to another filter for further processing. Because sometimes that's a sueful thing to be able to do and frankly, I couldn't find that bit in TFA anywhere.


      I haven't really studied Monad and the article that deeply, but my first impression is that you would accomplish that ("command | cut -d ' ' -f 3 | cut -d ':' -f 1") using something like this:

      `command | $_.split(" ")[2].split(":")[0] | another_filter_for_further_processing`
      --
      :wq!
    20. Re:impressive by NickFortune · · Score: 2, Interesting
      You may have misunderstood my objection. I have no idea if Microsoft are offering something like cut. But that's missing the point, because your scenario should never occur under MSH.

      There's a big difference between should never and will never however. You may have to cope with malformed data, text streams from the WWW, archaic media, inputs from legacy screen scraping applications. Sometimes the ability to slice text up by column is useful. We don't use cut much on Linux either as it happens.

      Sure, you *can* still pipe raw text from one app to another, but it's not correct behaviour for programs written for MSH You may have misunderstood my objection. I have no idea if Microsoft are offering something like cut. But that's missing the point, because your scenario should never occur under MSH.

      There's a big difference between should never and will never however. You may have to cope with malformed data, text streams from the WWW, archaic media, inputs from legacy screen scraping applications. Sometimes the ability to slice text up by column is useful. We don't use cut much on Linux either as it happens.

      Sure, you *can* still pipe raw text from one app to another, but it's not correct behavior for programs written for MSH

      Which probably the difference between Bash and Monad in a (pardon the term) Nutshell. Because bash is designed as a glue language with a toolkit aimed enabling compatibility with other data sources. From your description of Monad however, it seems determined to restrict the user to a Microsoft environment. Certainly that would fit with MS strategy to date.

      incidentally, I don't have a problem with the assertion that Monad is a more powerful scripting environment than bash - proper comparison is, IMHO, with perl. Bash is optimised for command line use first and foremost, whereas Monad seems to be written mainly for scripting. I know there's all the hype about it being a new command line shell, but I suspect a lot of that will turn out to be marketing hype. There's a command shell module for perl as well. I've never heard of anyone using it for day to day use though - Perl is optimised for scripting. From what I've seen, I think that'll turn out the case for Monad too.

      Incidentally, I don't have a problem with Monad being more powerful than bash; Perl or Python would be a better basis for comparison. Bash is optimised for command line use first and foremost, whereas Monad seems to be written mainly for scripting. I know there's all the hype about it being a new command line shell, but I suspect a lot of that will turn out to be marketing hype. There's a command shell module for Perl as well. I've never heard of anyone using it for day to day use though - Perl is optimised for scripting. From what I've seen, I think that'll turn out the case for Monad too.

      --
      Don't let THEM immanentize the Eschaton!
    21. Re:impressive by SilverspurG · · Score: 1

      I use cut heavily. My system installer, 15k of BASH, operates like a mini db client. The db format is comma separated. To retrieve entries from the db, I use grep | cut.

      --
      fast as fast can be. you'll never catch me.
    22. Re:impressive by rebelcan · · Score: 1

      Ergh.

      I'm wondering how many people that complain about the CLI in *nix have actually taken the time to sit down and learn it.

      When I first started out with Linux... I wasn't particularly fond of the command line. So I started experimenting. Read books ( like Linux Server Hacks from O'Reilly ) and started understanding what the command line was all about.

      If you're having a lot of trouble using tons of pipes to get something done.... someone else probably had that problem too. And guess what. They probably wrote a tool to do it for you.

      Also, I'm not so sure 'user-oriented' design is such a good thing. I don't know about you, but giving another tool to the average computer user to help themselves shoot themselves in the foot isn't exactly a good thing.

      --
      God is dead -- Nietzsche
      Nietzsche is dead -- God
      Zombie Nietzsche lives! -- Zombie Nietzsche
    23. Re:impressive by Anonymous Coward · · Score: 0

      For a python fan, you seemed to have missed the built-in split method. Me thinks you're trolling.

    24. Re:impressive by NickFortune · · Score: 1

      That looks plausible. It reinforces me in thinking that MSH is just Perl dressed up in a butterfly suit, but yeah, I reckon that'd work. t's not even significantly worse when it comes to typing it on the command line

      --
      Don't let THEM immanentize the Eschaton!
    25. Re:impressive by Anonymous Coward · · Score: 0

      "One of the major frustrations of MSH is the lack of support for piped input in other Windows applications. I can't pipe my HTML content into a new instance of Internet Explorer and I can't pipe my CSV content directly into a new instance of Excel."

      I read that too Ars Tech author doesn't know what he is talking about. You can easly write a function that does what he wants:

      function out-excel($filepath){$a=pwd; $filepath=$a.path + '\' + $filepath; $input | export-csv $filepath; &($filepath); }

      I did it in 2 minutes.

    26. Re:impressive by errordactyl · · Score: 1

      i found the idiosyncracies of the scripting languages don't translate too well into a shell but this was designed with a shell in mind hopefully it will be suited to the shell... and make an impression on us.

      --
      $_.=["a".."z"," "]->[rand 27] while !/just another perl hacker$/;
    27. Re:impressive by Anonymous Coward · · Score: 0

      Except that the pipe in question relies on being executed synchrounously, so all your advantages are mooted.

      It's garbage, because if you have control of "command" you should never have to do this.

      If you don't have control of "command" then we are using someone elses data tge way you want instead of the way it was intended. MSH won't help you here. This is why piping, text manipulation, and atomic functionaltiy are features.

      You ro microsoft will never be able to write 1 tool that can get meaningful information out of any arbitrary data. To write a lot of smaller tools that let you deal with commestable chunks of arbitrary data allow for a bash script not needing a python script, and not needing to rewrite something someone else has already written.

      This in turn allows you to focus your python energy on making cool little apps that only worry about what the cool little app is supposed to be worried about. You can dictate what your input is supposed to look like, and use the unix tools to make it look like that.

    28. Re:impressive by Kymermosst · · Score: 1

      Is not that bash or python are bad, but bash-like shells are 30-years-old unchanged technology.

      Now, where have I heard that before?. Bob, is that you?

      To steal the response from Nick Petreley: I'm using 30+ year old technology to post this respose. You might have heard of it, it's called "Ethernet".

      And you're right, bash hasn't changed one bit.

      --
      "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
    29. Re:impressive by EvilNTUser · · Score: 3, Insightful

      "I'm just not seeing anything in here but a horribly tortured object oriented syntax and a reexpression of MS' nightmarish implementation of the common "--help"."

      The object oriented stuff provides extra features. You can still alias all the old stuff to the usual commands, and it apparently does so by default.

      "Considering the decades of command line functionality which sh type shells have, apparently MSH is only dreaming of what BASH can do."

      Please explain again how you think it's the shell's fault that other applications don't support its features. Oh and btw, `echo 'html-stuff' | firefox` results in a blank browser window.

      --
      My Sig: SEGV
    30. Re:impressive by SilverspurG · · Score: 1

      If you want to talk about extra features then you must know that the supporting framework of Linux is already fully capable of anything that MSH can do. MSH does not have the supporting framework of text processing utilities. MSH and BASH both have the same whizz-bang functionality available and MSH is lacking in some basic functionality. Looks like MSH is 0-1-1 on the scorecard.

      As for piping an HTML file directly to firefox you're wrong on two points. MSH can't pipe directly to IE either. There's no difference in the direct approach. The correct way is to echo > $filename && firefox $filename. Don't blame BASH for your ignorance.

      --
      fast as fast can be. you'll never catch me.
    31. Re:impressive by EvilNTUser · · Score: 1

      "MSH and BASH both have the same whizz-bang functionality available and MSH is lacking in some basic functionality."

      RTFA.

      "As for piping an HTML file directly to firefox you're wrong on two points. MSH can't pipe directly to IE either. There's no difference in the direct approach. The correct way is to echo > $filename && firefox $filename. Don't blame BASH for your ignorance."

      You were the one who brought up the fact that MSH/IE can't do it, so of course I'm going to demonstrate the same method with bash/firefox. Your "correct" way even works with cmd.exe, btw, even though it's a bit more clunky there.

      --
      My Sig: SEGV
    32. Re:impressive by SilverspurG · · Score: 1

      I did RTFA. If you remember my first comment, all I see in TFA is a horribly tortured object oriented syntax. You're the one who brought up all this necessity for the object oriented equipment because, according to the current thread of arguments, most programmers just don't seem to be capable of post-processing of plaintext output from the standard set of command line tools. Oh the slavery of putting the brain to work.

      Of which, in Linux, there are multitudes and, in Windows, you have a few handfuls.

      --
      fast as fast can be. you'll never catch me.
    33. Re:impressive by EvilNTUser · · Score: 1

      "There's a big difference between should never and will never however. You may have to cope with malformed data, text streams from the WWW, archaic media, inputs from legacy screen scraping applications."

      The original argument was about shell scripts. If you encounter malformed data, there's no guarantee cut's going to cut it (ha ha) either. Instead, you're going to run to perl for help, which is fine. It's just that under MSH, you automatically have the entire .NET framework behind you.

      Besides, we're getting hung up over one little utility here. It's not exactly important if MSH 1.0 doesn't ship with the kitchen sink, as long as the interfaces it defines are powerful.

      "Incidentally, I don't have a problem with Monad being more powerful than bash; Perl or Python would be a better basis for comparison."

      Incidentally, I *do* have a problem with that. I would love to see the same features in standard unix shells, because I'm not going to switch to Windows just because of this, and I could seriously use MSH.

      --
      My Sig: SEGV
    34. Re:impressive by EvilNTUser · · Score: 1

      "You're the one who brought up all this necessity for the object oriented equipment because, according to the current thread of arguments, most programmers just don't seem to be capable of post-processing of plaintext output from the standard set of command line tools. Oh the slavery of putting the brain to work."

      Yeah, because *real* programmers would rather maintain unreadable parsers than just tell the environment to retrieve one labeled part of the output. Don't you think their brains would be more useful working on something else?

      --
      My Sig: SEGV
    35. Re:impressive by SilverspurG · · Score: 1
      because *real* programmers would rather maintain unreadable parsers than just tell the environment to retrieve one labeled part of the output
      If `grep | cut` is beyond your understanding then you're not a real programmer.

      Linux/BSD + BASH + grep/sed/textutils still has WIndows + MSH beat six ways to Sunday. If you're really dependent on a object oriented crutch you can have python, perl, or ruby, which is a two-minute install on any standard distro. If you really want it bad enough you can install Java. What does Windows offer, by default, to interface with all of these fine programming languages?

      And MSH still won't fix the fact that, at its core, ActiveX (which MSH purports to interface with) on Windows with a central registry is one of the biggest security FUBARs which the planet has ever seen. Give all those script kiddies a nice scripting environment. Script kiddies are accustomed to object oriented languages. I'm sure they'll pick up MSH quite quickly.
      --
      fast as fast can be. you'll never catch me.
    36. Re:impressive by Anonymous Coward · · Score: 0
      . . . most programmers just don't seem to be capable of post-processing of plaintext output from the standard set of command line tools. Oh the slavery of putting the brain to work. [emph. added]

      If you actually need to think about doing things as trivial as piping data between two programs, then the implementation is clearly wrong. There are many ways to accomplish something. Not all of them are the right way or even good ways. And using regexes at every turn to parse fields out of a text stream is clearly an inferior solution to simply specifying which field you want.

      It's utterly ludicrous to claim that "real programmers" should be wasting time on mundane shit like this.
    37. Re:impressive by Anonymous Coward · · Score: 0

      Considering the original post was to parse a list generated by ls -l, you're way offtopic.

    38. Re:impressive by NickFortune · · Score: 1
      The original argument was about shell scripts. If you encounter malformed data, there's no guarantee cut's going to cut it (ha ha) either.

      That very much depends on the cause. If the deformation is consistent and systemic, that is to say that all data from the source in question is deformed in the same manner, then cut may well be your easiest solution.

      Besides, we're getting hung up over one little utility here. It's not exactly important if MSH 1.0 doesn't ship with the kitchen sink, as long as the interfaces it defines are powerful.

      Oh agreed, agreed. The original poster chose a deliberately trivial case to try and elevate MSH at Bash's expense. But as someone else in this discussion pointed out, the power of pipes on *nix isn't the pipe so much as the wide array of small efficient pipefitting commands that have evolved over time. It remains to be seen if MSH can match that (which was what I was getting at originally) and until I have better info, I will continue to play the sceptic.

      Incidentally, I *do* have a problem with that. I would love to see the same features in standard unix shells, because I'm not going to switch to Windows just because of this, and I could seriously use MSH.

      Heh. I know the feeling. I've got a paying gig with a .NET shop. I'm considering using Monad because it looks less painful than the alternatives available for that benighted platform.

      That said, I may be able to help you out. Check out beanshell - it's a java based command line shell with autoboxing. It's got the full power of all your favourite Java class libraries backing it up and should be broadly equivalent to Monad on a Linux box. Or else take a look at Shell.pm for Perl. It turns Perl into an interactive shell with all the power that implies. Personally, I'd tend towards beanshell; it's pretty cool.

      What can't you do, anyway? I've yet to find a problem I couldn't solve using Bash, Perl and/or Gawk. And maybe a command line SQL interpreter.

      --
      Don't let THEM immanentize the Eschaton!
    39. Re:impressive by MrResistor · · Score: 1

      you would accomplish that ("command | cut -d ' ' -f 3 | cut -d ':' -f 1") using something like this:

      `command | $_.split(" ")[2].split(":")[0] | another_filter_for_further_processing`


      Gee, that's a LOT better!

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    40. Re:impressive by jonadab · · Score: 1

      > What makes MSH rock is that it's a python-like programming languaje
      > PLUS a user-oriented (user=administrator) shell like bash.

      Oh. And here all along I'd been lead to believe it was a Haskell-like programming language with a shell interface.

      But OOP-versus-PFP paradigm issues aside, your basic point, that the interesting thing about Monad is the combination of the scripting language with the shell interface, is essentially right on the money. As a programming language, it's not that innovative -- we've already got great programming languages, including great PFP languages like Haskell, and in terms of multiparadigmatic languages, Perl6 may very likely beat Monad to release at this point (though it's going to be close), and *as a programming language* would blow its doors off, in terms of practical and useful innovation. And for people who prefer to stick with an OOP approach, Python and others have considerable mindshare already, so it would be an uphill battle *if* Monad can even compete there, which from what I know of it it may not, as it leans, from what I am given to understand, more toward the functional side of things, paradigm-wise. But Monad does two things these others do not: first, it's built into a command-line interface, and second, it's *eventually* supposed to get bundled into the OS so that you can just count on its being there on every (Windows) system, which will be real nice. I think it's a significant shame that they scrapped the plans to include it in the Longhorn desktop (now called Vista), and I hope it does make it into the Longhorn server offering (whatever the marketing department ends up calling that).

      The only thing cooler than a great language built into a great command-line interface is a great command-line interface and a great language built together into a great editor, a la emacs/elisp/eshell, which absolutely rocks. With Monad replacing cmd, the text editor is IMO the next place Microsoft needs to look, in terms of core improvements to their basic toolset. Notepad is *LONG* overdue to be replaced with something rather a lot more powerful. Wouldn't it be great if the editor they replaced it with was fully scriptable with Monad and had a Monad shell built right into it? Talk about getting developers on board! This would be worth a hundred thousand conferences and symposiums with pep talks and CEOs chanting "Developers, Developers, Developers!"

      --
      Cut that out, or I will ship you to Norilsk in a box.
    41. Re:impressive by jonadab · · Score: 1

      > Either your command is wrong (it should do that formatting as its
      > output) or you should have used [g]awk instead of cut.

      If you have to go to that much trouble, just open the command's output as a pipe in a Perl script: open FILEHANDLE, "command |"; then just read from the filehandle and process the data in whatever way you like.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    42. Re:impressive by shaka · · Score: 1
      MSH is just Perl dressed up in a butterfly suit


      Heh, actually, rather Java by way of .NET. No cigar for you.
      --
      :wq!
    43. Re:impressive by NickFortune · · Score: 1
      Heh, actually, rather Java by way of .NET. No cigar for you.Heh, actually, rather Java by way of .NET. No cigar for you.

      You haven't been following developments with Perl 6 and Parrot, else you wouldn't say that. Yes, Monad uses .NET intermediate code, and yes .NET was stole^H^H^H^H^Hinspired by Java.

      On the other hand, Perl isn't that far off. It already runs in its own interediate code. With Perl 6 there is goign to be a full blown Java-esque virtual machine to go with it. There's one called Parrot that's being developed specially for Perl to becaue the JVM isnt happy (IIRC) with loosely typed languages. On the other hand Larry Wall has also said Perl 6 might end up using the JVM or even (shock horror!) .NET.

      Add to that the fact that Monad as a language seems to borrow a lot of Perl constructs, (like the $_ variable for instance), and I think the case is pretty compelling.

      But you can keep the cigar - I gave up smoking ages ago :D

      --
      Don't let THEM immanentize the Eschaton!
    44. Re:impressive by EvilNTUser · · Score: 1

      "That said, I may be able to help you out. Check out beanshell"

      Thanks, I'll do that - it looks very interesting. MSH has one nasty advantage, though, and it relates to what you said here:

      "But as someone else in this discussion pointed out, the power of pipes on *nix isn't the pipe so much as the wide array of small efficient pipefitting commands that have evolved over time."

      MSH is going to become the standard Windows shell, and all utilities from now on will be written to support its advanced features, while any unix program will still have to target the lowest common denominator. Sure, someone can write an advanced version of ls for beanshell, but no one else is going to use it, it's going to be incompatible with everything else, and it's impossible to recreate every utility just for one shell.

      "What can't you do, anyway? I've yet to find a problem I couldn't solve using Bash, Perl and/or Gawk. And maybe a command line SQL interpreter."

      It's not that I can't get something done now, but some of the features make me think everything could be so much more elegant. I'm not sure how to argue the point, but to me piping objects instead of text streams seems incredibly more powerful.

      --
      My Sig: SEGV
    45. Re:impressive by shaka · · Score: 1
      Gee, that's a LOT better!


      That's not the point. NickFortune challenged someone to show that it's possible to do. It's not only possible, but in a way which is pretty much as straightforward as using cut, awk or sed. Naturally it's possible to do using a regex as well, if you prefer that.

      The point is that MSH is very impressive as a way to use .NET and other nice things in a scripting environment, IMO.
      --
      :wq!
    46. Re:impressive by shaka · · Score: 1

      Actually I have been following the developments with Perl 6 and Parrot. And yes, Monad uses $_ which is quite perlish, and other Perl-inspired stuff as well.

      However, that particular example of code ( String.split().split() ) is not very perl-like, is it?

      This will be my last post on the subject as I feel that you, sir, are mainly interested in picking nits.

      --
      :wq!
    47. Re:impressive by Dare+nMc · · Score: 1

      as usual AC is a bit clueless see http://en.wikipedia.org/wiki/Pipeline_(software)/
      basically be definition a pipeline is implemented by multiple threads (with the exception for a msdos implimentation to mimick a pipeline with buffers, and a single thread). But whats the point of a pipeline, if you have to wait for everything to backup in a lake before starting the pipe flowing again.

      technically a pipeline is probably plesiochronous, but synchronous is close enough, not sure how AC thinks that parts of the pipeline being syncronous would lead to the idea of a single thread, it leads me to think the opposite.

      also still makes no sense why a few want to bash the pipeline syntax.

    48. Re:impressive by NickFortune · · Score: 1
      So, what you're really interested in is the object streaming rather than the .NET integration. And presumably you'd want an ls program that spit out a stream of File objects, each with attributes for name, path, modification time, permissions and so forth. Interesting...

      Presumably the file objects default to printing their name if they wind up in a void context. It's be a pain to have to write something like

      ls | grep { $_.modification_time < "01/01/2001" && $_.filename matches "*.old" }.filename.print;
      Mind you, I can see all those method names getting to be a pain real fast anyway. That's what makes me think of it as a scripting language more than a command line one: that sort of thing is fine in a script, but not much fun if you have to type it every time. Decent alias and history mechanisms would help there, but that's not an aspect of Monad that's received much attention.

      I wonder how you'd do "ls -l"

      I wonder how you'd do "ls -l | grep foo | sort -n | uniq"

      to me piping objects instead of text streams seems incredibly more powerful.

      Oh, I'm sure. There's an sample implementation of the Schwartzian transform in the Perl manual pages that illustrates the point nicely. On the other hand, a chainsaw is vastly more powerful than a pair of nail scissors. All the same I bet I know which you'd choose to trim your nails.

      "Powerful" isn't always the same thing as "suitable". Or even as "convenient".

      MSH is going to become the standard Windows shell, and all utilities from now on will be written to support its advanced features, while any unix program will still have to target the lowest common denominator.

      You could put it that way. Or you could just as easily say that, Monad is going to be remain dependant on the .NET framework and Microsoft core classes, while bash continues to enjoy a mature toolset and the flexibility of a text based stream architecure.

      Don't get me wrong - this could turn out to be best thing since sliced bread, and I'm certainly going to give it a whirl, at least while work requires an .NET environment. But I'm not going to get too excited based on little more than marketing hype.

      --
      Don't let THEM immanentize the Eschaton!
    49. Re:impressive by NickFortune · · Score: 1
      This will be my last post on the subject as I feel that you, sir, are mainly interested in picking nits.

      You reckon? You posted a fairly jocular comment. I tried to reply in the same tone, while taking the time to explain why the similarities with perl are in fact deeper than they might first appear, having not only the runtime environment aspect of MSH, but also the application area (scripting) and large chunks of syntax. If that, sir, is your idea of nitpicking then I'd be curious to know what just in your book constitutes constructive discourse.

      Second thoughts? Just forget it; life's too short. Have a nice day, and thanks for your input.

      --
      Don't let THEM immanentize the Eschaton!
  6. An open source clone? by CyricZ · · Score: 4, Interesting

    Has any project been started to provide an open source clone, similar to what the Mono Project has done with .NET?

    --
    Cyric Zndovzny at your service.
    1. Re:An open source clone? by elwinc · · Score: 1

      Well, it's not a clone, but Python provides some pretty fine functionality. I'm not at all sure that msh is an improvement on Python...

      --
      --- Often in error; never in doubt!
    2. Re:An open source clone? by Anonymous Coward · · Score: 0

      Why waste the time?

    3. Re:An open source clone? by zootm · · Score: 2, Informative

      They're similar, but not really the same. Python isn't geared towards being a command shell (although obviously after importing the right packages you can use it as one).

    4. Re:An open source clone? by LnxAddct · · Score: 4, Insightful

      There are already quite a few shells in unix that follow a similar paradigm. Python's default shell comes pretty close, but there are off shoots of it that provide functionality designed to be used as a command shell. MSH is pretty much an interactive ruby shell or python shell designed to run regular commands and treat files like objects (which is as simple as defining a class that can interpret the file information and give it methods like .get_extension) The real key here is that I belive everything is treated as an object. With minor modifications to the python shell and maybe an additional class or two you would have the exact same functionality. You see... there is a reason though that noone has done this. System administrators should not have to learn the concepts of object orientation just to do their job. They are not programmers. Its bad enough when programmers design GUIs because they cater to programmers and not typical users. Monad caters to programmers and not system administrators. Most unix sys admin I know do know how to script in something like perl or python, but most windows admin are point and click or they can type a few commands into a file and rename it to .bat to run it. The monad shell has some great ideas for a shell used by and for programmers, but honestly it isn't a sys admins job to understand programming or programming paradigms. Let admins use simple bash like commands, even if it may not be the cleanest way, conceptually it is often easier, and let programmers script their way out of any hole they want.
      Regards,
      Steve

    5. Re:An open source clone? by Anonymous Coward · · Score: 1, Insightful

      You need to meet more windows admins. Or get your head out of your ass, either or. You choose.

    6. Re:An open source clone? by dar · · Score: 1

      Neither is this thing. Read the conclusion: My biggest frustration with MSH is the low quality of the actual shell interface. ... MSH has very few line editing shortcuts, and extremely limited support for tab completion.

      --
      My other Slashdot ID is much lower.
    7. Re:An open source clone? by zootm · · Score: 1

      That's not at all what I meant — Python is designed as a full OO programming language. Its commands for manipulating files and data are buried in libraries, it's fully designed to create programs, not manipulate files directly (although obviously it's possible). Although things like MSH and Python are both erring into each other's territory to some degree, I don't believe they're really the same thing, they have fundamentally different aims and emphasises (or whatever the plural of "emphasis" is, if there even is one).

      The tab completion and general poor interface sounds disturbing though, particularly with the fairly long commands (the command names wouldn't be a problem at all with competent tab completion, obviously). It would be disappointing to see something which looks to have so much potential be let down on such a small (but important) feature.

    8. Re:An open source clone? by cr@ckwhore · · Score: 1

      Not to split hairs, but Mono is NOT a clone of .NET ... Mono is an actual native implementation of the CLI, an ECMA standard. .NET is Microsoft's implementation of that standard... Mono is the same thing for Linux, and it isn't the only one! There is also GNU Portable.net and possibly a few others.

      Would we want to clone MSH? Well.. since MSH isn't any sort of standard, a linux implementation would be a clone. I give it about a year or so before somebody implements a version for linux... not that it would be really beneficial, but somebody will do it "just because".

      --
      Skiers and Riders -- http://www.snowjournal.com
    9. Re:An open source clone? by Xrathie · · Score: 1

      Why dont you people stop ripping off Microsoft and innovate!

    10. Re:An open source clone? by dar · · Score: 1

      That's the real point, isn't it? You can script with a shell language, but that's not what they're best at. You can force a lot of the scripting languages to run as shells, but that's not what they're best at. In this case, I don't think they're doing either one very well. I think -gt is rather ugly as a comparison operator. It's one of the corners you get painted into with a shell language. And the article already spoke of how poor this thing was to use interactively.

      I really can't see how this thing buys me anything over my current cygwin + rxvt + bash + ruby.

      It wouldn't surprise me at all to find that msh is a reaction to cygwin. People have been developing for cygwin. And MS has a deathly fear of losing control of the environment.

      --
      My other Slashdot ID is much lower.
    11. Re:An open source clone? by Anonymous Coward · · Score: 0

      You, sir, are part of the reason bad system admins exist. Low expectations. It's not unrealistic to expect sys admins to understand basic object-oriented concepts, and once they do administration as a whole will become much more intuitive.

    12. Re:An open source clone? by zootm · · Score: 1

      Possible. I wouldn't dismiss it so easily though, it's all to be seen, and it does look like an interesting departure, if nothing else.

      Windows has been missing a powerful shell, and although Cygwin helps, it's not really geared to the "Windows view" of filesystems. Whether or not MS would've been wiser creating something which was more of a clone of bash or the likes is a matter of opinion, at least for now, but I feel it's always good to see people at least trying something new.

    13. Re:An open source clone? by AnodeCathode · · Score: 2, Funny

      So are you saying he'd meet some Windows Admins only if he kept his head in his ass? Very subtle slam on Windows Admins.

    14. Re:An open source clone? by CyricZ · · Score: 1

      Sure it's a clone. That's what a non-innovative reimplementation is. Yeah, the Mono people have thrown together Gtk#, for instance, but it'll most likely remain a "proprietary" Mono class library. So it's innovation, but not within the context of .NET as a whole. Thus Mono, and Portable.net, are nothing more than clones.

      --
      Cyric Zndovzny at your service.
    15. Re:An open source clone? by SloppyElvis · · Score: 1

      You couldn't be more right about the collective skills of Windows "admins". Many in my experience earned a piece of paper after completing some joke course at a two-week correspondance school. However, being a programmer who directly deals with these people has inspired me to write the point and click tools myself instead of trying to hold their hand through the simplest tasks. This scripting environment looks like a very nice fit for accomplishing that task. Heck, it's designed to be the foundation for the MMC panels - the familiar stomping ground of the "certifiable".

      In the past, I've always had to resort to some Frankenstein WSH + script + binaries that do all the crap WSH can't do and it's a damn mess, but still a time saver over telling numbskull after numbskull how to do their job.

      The sad fact is Microsoft wants to further the notion that any chump off the street can administer your network (which really seems at odds with their insistence on heaping mounds and mounds of arcane and disorganized crap onto everything they produce). Oftentimes, the HR interviewers at these places are impressed by candidates who lack any and all skill, and people like me are left to deal with them, and that is the likely case study in play here.

    16. Re:An open source clone? by dtfinch · · Score: 1

      If anyone does, its name will probably start with a "g" like a lot of other projects.

    17. Re:An open source clone? by bergeron76 · · Score: 1

      Well said. I'm a SysAdmin (and former coder), and while I could spend my time learning Ruby or whatever the latest thing is, I get paid to be a SysAdmin. Having tools in my toolbox is the biggest asset that I have; however, I don't _need_ to have a CAD-based water-jet, when a pair of tin-snips can do the simple jobs perfectly.

      I may have lost something in that analogy, but I do a lot of EDI work. I can take a datafile, and rearrange the fields (and output some records into different files) using a single commandline. I could also write a PHP script (yes, I'm fond of commandline php [#!/usr/bin/php]), in dozens of lines of code.

      It's cliche at this point, but K.I.S.S. and use the right tool for the job.

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
  7. Some Wise Man Said by R55 · · Score: 4, Insightful

    Those who do not understand Unix are condemned to reinvent it, poorly.

    -- Henry Spencer<br>
    Usenet signature, November 1987

    1. Re:Some Wise Man Said by Anonymous Coward · · Score: 0

      Those who do not understand Unix are condemned to reinvent it, poorly.

      The point is they've borrowed from Unix - but rather than pipe text that needs to be formatted and parsed between commands they're passing .NET objects which don't.

      It's like Unix, but better.

    2. Re:Some Wise Man Said by Anonymous Coward · · Score: 1, Interesting

      "Unix is a junk OS designed by a committee of PhDs"
      --Dave Cutler

    3. Re:Some Wise Man Said by Anonymous Coward · · Score: 0

      And then in 1989 he was proven right by a Mr Torvalds ...

    4. Re:Some Wise Man Said by HeroreV · · Score: 0, Flamebait

      And those who do not understand how to

      post on Slashdot are condemned to posts<br>
      with markup scattered about.<br>
      <br>
      <br>
      <br>
      <br>
      <br>

    5. Re:Some Wise Man Said by Naikrovek · · Score: 1

      Well Monad is an object-oriented shell. Unix doesn't have that. Yes, it is based on lessons everyone learns when they discover the power of the unix shell, but its quite a bit more than that.

      i honestly believe that Monad is something that someone else should implement for unix, if possible. It really is a good idea for a shell.

      this is all coming from someone that has been a unix server admin for almost 10 years and a linux desktop user for about 8. i love unix, but this monad thing is very nice as well.

    6. Re:Some Wise Man Said by hunterx11 · · Score: 1

      Only this isn't reinventing Unix--it's doing something new, which really hasn't been done since Plan 9.

      --
      English is easier said than done.
    7. Re:Some Wise Man Said by Chris_Jefferson · · Score: 1

      Yes, because everyone loves the complex hoops you have to jump through to handle directories and filename with spaces in, and how many scripts die horribly when they come across one. If nothing else, I like the idea of filenames, or a filename with parameters, being a single object which is passed around.

      --
      Combination - fun iPhone puzzling
    8. Re:Some Wise Man Said by jeanicinq · · Score: 1

      It's not new for Unix. Monad is commercially ready. If you read what a monad is, it sounds very similar to what an atomatrix is, and that was something programmed as an OO-shell for Unix more than 15 years ago.

    9. Re:Some Wise Man Said by cayenne8 · · Score: 1
      "Yes, because everyone loes the complex hoops you have to jump through to handle directories and filename with spaces in..."

      That's why you shouldn't have filenames/directories with spaces in them...nor mixed case really IMHO.

      It makes it much easier to process programmatically if you have the names with no spaces and all lower case...you can then more easily use regular expressions, etc. to test for and find things.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    10. Re:Some Wise Man Said by antientropic · · Score: 1

      It makes it much easier to process programmatically if you have the names with no spaces and all lower case...you can then more easily use regular expressions, etc. to test for and find things.

      So you are proposing that we don't use names with spaces etc., simply because your tools and languages make it awkward to support them properly? That's awful.

      Of course, it's not just spaces. It's also names starting with a dash, names containing certain "special" characters (like "*"), and so on. Of course, the set of "bad" names depends on the tools you are calling. (Funny aside: did you know that GNU tar magically and unpredictably barfs on file names with a ":" in them, because it happens to interpret them as hostnames?) And you never know in advance when a tool will barf on some filename or interpret it in some strange way - which causes all those lovely security problems.

      So the Unix way - tying programs together in some hacky, semantically ill-defined way - is in serious need of replacement. It may have been sufficient in 1979, but let's not pretend that no advances beyond the Unix model are possible.

    11. Re:Some Wise Man Said by SilentChris · · Score: 1

      "Those who do not read the article are solely trolls."
      -Silent Chris

    12. Re:Some Wise Man Said by flux · · Score: 1

      Maybe they aren't your files you are manipulating. Maybe some user of your system decided that it's a good idea to put newlines in filenames. Maybe your backup scripts crash and burn horribly because of this.

      And why shouldn't her? The system obviously permits doing it. If they pose a difficulty in handling, the difficulties should be overcome, the user should not be forced upon some invisible rules.

      Yeah, I know you can use for example zsh and gnu tools to overcome these kinds of trouble (with the support for 0-terminated strings), but it still comes down to that when manipulating information streams you still need to think about the low-level representation. It would be nice if handling binary data would be just as easy as handling anything else in the shell. But as the defacto interprocess communication protocol is line based, things can break horribly.

      What I would like to know about this MSH is that how is handles multiple processes/threads.. That is, if you create a dataset of 1000000 elements and then select | where it, will the elements be first retrieved to memory and then processed, or does it behave 'right'? And if it does behave efficiently, what does { $f = 4 } | { $f } output?

      I would like to see a shell with types (even if dynamic, although atleast partially static type system would be cool) on Unix too, but unfortunately it would, with the current set of tools, mean that lots of the code would be written simply for converting data back and forth between different defacto tools, such as sed, perl and awk. Or maybe some bright person could figure out how to make that border transparent..

    13. Re:Some Wise Man Said by Waffle+Iron · · Score: 1
      The point is they've borrowed from Unix - but rather than pipe text that needs to be formatted and parsed between commands they're passing .NET objects which don't.

      So now you need to be sure that the target program calls the appropriate methods on the supplied objects with correct parameters. In most real-world cases, that's going to be no easier than parsing the data.

      Generally, data is just data, but objects are data+behavior. Instead of just worrying about the behavior of the application, you'll be trying to mix the behavior of the target application with the behavior of the data objects and making sure that they're compatible. This is a whole new layer of complexity that will likely come with obscure interactions and unexpected pitfalls.

      Most every remote object technology in current use sounds great on paper, but they're almost invariably a PITA to use, not to mention slow and flaky. I'd be surprised if this doesn't end up in the same boat.

    14. Re:Some Wise Man Said by rebelcan · · Score: 1

      Personally, I think this is another problem that is more the end-users fault than the system admin/shell's fault.

      Give me one good ( really good example ) why you'd want "*" or ":" in a file name. I can't think of a single time I'd want to use those characters in a file name.

      Why you'd need anything other than a-z ( uppercase and lowercase ), 0-9, and possibly "_" to name a file is beyond me. Yes, spaces make the directory and files look nicer. But so does the underscore character. Why use "My Term Paper That Will Determine If I Pass Or Fail My Fourth Year.doc" when "FourthYearTermPaper.doc" ( or "Fourth_Year_Term_Paper.doc" ) works just as well?

      --
      God is dead -- Nietzsche
      Nietzsche is dead -- God
      Zombie Nietzsche lives! -- Zombie Nietzsche
    15. Re:Some Wise Man Said by Valacosa · · Score: 1

      I remember I was using a lab computer once and I needed to access a FTP server. I had nothing to use but good ol' Internet Explorer.

      It barfed on the "@" in my password, and displayed every character in my password after that in the URL bar!!

      I guess this is why 14475p34| uses "4" for "A", not "@".

      --
      "Live as if you'll die tomorrow." Ridiculous. You could die later today.
    16. Re:Some Wise Man Said by bnenning · · Score: 1

      Why you'd need anything other than a-z ( uppercase and lowercase ), 0-9, and possibly "_" to name a file is beyond me.

      "Revenue through 6/30 10:00 PM (Revised)". Just because you're used to working around artificial limitations doesn't mean we should be inflicting them on normal users who just want to get their work done.

      Why use "My Term Paper That Will Determine If I Pass Or Fail My Fourth Year.doc" when "FourthYearTermPaper.doc" ( or "Fourth_Year_Term_Paper.doc" ) works just as well?

      And why not "4YTP.DOC"? Software should adapt to serve humans, not vice versa.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    17. Re:Some Wise Man Said by rebelcan · · Score: 1

      I concede the point.
      Score:
        You=1
        Me=0

      But I still think there has to be a better way to name files.

      For example; instead of "Revenue through 6/30 10:00 PM (Revised)", what about "revenue/30/6/revised.doc"? Or am I just creating more confusion, beating a dead horse, etc?

      --
      God is dead -- Nietzsche
      Nietzsche is dead -- God
      Zombie Nietzsche lives! -- Zombie Nietzsche
  8. Google Shell by zaguar · · Score: 5, Funny
    The new google shell: Gonad

    It's nuts

    --
    "Sure there's porn and piracy on the Web but there's probably a downside too."
    1. Re:Google Shell by Anonymous Coward · · Score: 0
    2. Re:Google Shell by Anonymous Coward · · Score: 0

      I got a rimjob when i got mono and gonad to interoperate, but unsatisfied, i used python to extract tar from my perl camel's hump.

  9. Almost as good as . . . by Council · · Score: 2, Funny

    Perhaps the Windows shell has finally reached the levels of goodness of that old shell, whatchyacallit. DOS, I think it was.

    I forget what company it was that made that, but I'm sure if they were still around, they'd be doing amazing things. We can certainly agree that they'd without a doubt have a command line that would blow Microsoft's right out of the water.

    --
    xkcd.com - a webcomic of mathematics, love, and language.
    1. Re:Almost as good as . . . by Council · · Score: 1

      Oops, I dual-posted, because I screwed up the forms and thought my first post didn't stick. This one was the one I didn't want, feel free to mod it down.

      Crap.

      --
      xkcd.com - a webcomic of mathematics, love, and language.
    2. Re:Almost as good as . . . by red990033 · · Score: 1

      Perhaps the Windows shell has finally reached the levels of goodness of that old shell, whatchyacallit. DOS, I think it was.

      I forget what company it was that made that, but I'm sure if they were still around, they'd be doing amazing things. We can certainly agree that they'd without a doubt have a command line that would blow Microsoft's right out of the water.


      That company was called "Seattle Computer Products". Microsoft didn't create DOS, they just licensed it to IBM - before Gates had even "bought" it. They are now defunct, but not before sueing Microsoft for a million bucks back in '86. Just goes to show ya, MS had crummy business practices from the get-go.

      Here's the link.

      --
      Do what I say, cuz I said it.
      -Meatwad
    3. Re:Almost as good as . . . by Anonymous Coward · · Score: 0

      I wish the Windows shell would be like DOS/360 too.

  10. New website..... by SomeoneGotMyNick · · Score: 5, Funny

    Backslashdot

    Specializing in Unix bashing (somewhat of an ironic statement)

    1. Re:New website..... by fbjon · · Score: 1
      Notice how bashing on Windows and bash-ing on Linux are both positive things?

      There is balance in the universe after all...

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    2. Re:New website..... by Anonymous Coward · · Score: 0
    3. Re:New website..... by elzurawka · · Score: 0
      --
      -EL
  11. Jeez... by gowen · · Score: 5, Funny

    the text-based shell is the nexus of computational control and the point at which proper articulation of will can transform commands into consequences Which leads to two questions : who wrote this shit, and were they getting paid per syllable?

    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:Jeez... by nine-times · · Score: 1

      So... he's saying, "The shell is where you type things to make your computer do stuff"? Gee. Thanks.

    2. Re:Jeez... by revery · · Score: 3, Funny

      Which leads to two questions : who wrote this shit, and were they getting paid per syllable?

      It was the same person that wrote the dialogue for research breakthroughs in Alpha Centauri.

      the text-based shell is the nexus of computational control and the point at which proper articulation of will can transform commands into consequences
      - Col. Corazon Santiago Spartan Programmer's Manual

    3. Re:Jeez... by ikkonoishi · · Score: 4, Funny
      Ah come on those things were great.

      My favorite.


      We are all aware that the senses can be deceived, the eyes fooled.
      But how can we be sure our senses are not being deceived at any
      particular time, or even all the time? Might I just be a brain in
      a tank somewhere, tricked all my life into believing in the events
      of this world by some insane computer? And does my life gain or lose
      meaning based on my reaction to such solipsism?
      ^
      ^ -- Project PYRRHO, Specimen 46, Vat 7
      ^ Activity Recorded M.Y. 2302.22467
      ^ TERMINATION OF SPECIMEN ADVISED
    4. Re:Jeez... by Anonymous Coward · · Score: 0

      hahahahahahahaha. +5 funny.

      posting anonymously because this is pretty much offtopic.

    5. Re:Jeez... by dmccarty · · Score: 1
      Ars uses some free-lance writers. You probably won't get the same quality as a Caesar or Hannibal article, but most of them are quite good. And they still have to abide by the Ars writing guidelines. The editing staff at Ars is pretty good at make sure things stay up to par, although I'll admit that the example you listed is needlessly wordy.

      FWIW, this article was discussed for a week on the Ars writer's forum before it was posted, so some pretty good eyeballs got a chance to check it over before it was posted on /.

      --
      Have fun: Join D.N.A. (National Dyslexics Association)
    6. Re:Jeez... by Anonymous Coward · · Score: 0
      Um...

      Cogito ergo sum?

    7. Re:Jeez... by Anonymous Coward · · Score: 0

      Why do you suppouse to be a brain at all?

  12. legitimately excited by Threni · · Score: 1, Funny

    I don't think that word means what you think it means...

    1. Re:legitimately excited by ameline · · Score: 1

      Which one do you mean? "Legitimate", or "excited"?

      --
      Ian Ameline
    2. Re:legitimately excited by Threni · · Score: 1

      > Which one do you mean? "Legitimate", or "excited"?

      From where are you quoting the word "Legitimate"? Certainly not from my post.

    3. Re:legitimately excited by ameline · · Score: 1

      I was looking at the subject line... MS is rarely (if ever) exciting, and has arguably been on the wrong side of the law at times, so I was wondering which one you meant :-)

      --
      Ian Ameline
    4. Re:legitimately excited by Anonymous Coward · · Score: 0

      Inconceivable!

  13. Another Wise Man Said... by Dante+Shamest · · Score: 5, Interesting

    A witty saying proves nothing.
    - Voltaire

    1. Re:Another Wise Man Said... by MoogMan · · Score: 0

      Quotes are for fools
        -- Me

    2. Re:Another Wise Man Said... by thelexx · · Score: 1

      "Well it proves one thing Mr. Hooper. It proves that you wealthy college boys don't have the education enough to admit when you're wrong." - Quint

      --
      "Gold still represents the ultimate form of payment in the world." - Alan Greenspan, 1999
    3. Re:Another Wise Man Said... by AdamWeeden · · Score: 1

      Me fail English? That's unpossible! - Ralph Wiggum

      --
      I was quoted out of context in my autobiography...
    4. Re:Another Wise Man Said... by Anonymous Coward · · Score: 0

      "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

      --Mark Twain

    5. Re:Another Wise Man Said... by strider44 · · Score: 1

      A fine quotation is a diamond on the finger of a man of wit, and a pebble in the hand of a fool.
      - Joseph Roux, Meditations of a Parish Priest

    6. Re:Another Wise Man Said... by Suhas · · Score: 1

      A seemingly insightful quote by a dead guy reflects stupidity on the part of the dumbass who quotes it.

    7. Re:Another Wise Man Said... by BMazurek · · Score: 1
      What does that mean? Better say something or they'll think you're stupid.

      Takes one to know one.

      Swish!

      -- Homer Simpson and his brain

    8. Re:Another Wise Man Said... by Anonymous Coward · · Score: 0

      Voltaire was an idiot
      -AC

    9. Re:Another Wise Man Said... by JoeZeppy · · Score: 1
      Ooh! I've got one!

      Anything I don't understand must be easy.

      - PHB

    10. Re:Another Wise Man Said... by NanoGator · · Score: 1

      "A witty saying proves nothing. - Voltaire"

      "Lisa, go to your room."

      - Homer

      --
      "Derp de derp."
    11. Re:Another Wise Man Said... by fyrie · · Score: 1

      Go to bed with itchy butt; wake up with stinky finger -Confucius

    12. Re:Another Wise Man Said... by Anonymous Coward · · Score: 0

      Voltaire was a crepe-eatin' queer. - Anonymous Coward

    13. Re:Another Wise Man Said... by bergeron76 · · Score: 1

      The proof is in the pudding.

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
  14. Slightly Wrong... by Anonymous Coward · · Score: 2, Informative

    Taken from "system requirements"Requires the .NET Framework Version 2.0 Redistributable Package Beta 2 (x86) (see Related Downloads below).
    Note that the "Supporting Operating Systems" list above is slightly wrong: the release is supported on Windows XP SP2, not Windows XP Embedded SP2.


    Microsoft can't even get its own system requirements right... I someone expects a robust security infrastructure...

    1. Re:Slightly Wrong... by Anonymous Coward · · Score: 0

      Oh snap, someone mistyped the requirements. Project failed. It's over man.

    2. Re:Slightly Wrong... by jefferson_uk · · Score: 1

      ...which is a 300MB download!! WTF! That's bigger than some Linu distro's!

      --
      echo $sig;
    3. Re:Slightly Wrong... by Anonymous Coward · · Score: 0

      I someone expects a...

      Ah, the irony of the grammar nazi.

  15. On The Pipe by Murmer · · Score: 5, Interesting

    It's worth mentioning here that the real strength of the pipe is not "what you can pipe", but "what you can pipe things from, and to", and the fact that you can daisy-chain them together as far as you like. There are literally thousands, maybe tens of thousands of little tools and widgets that you can pipe information into and out of to achieve various effects. Regardless of what new things the MSH pipe can do, the unix world has a significantly larger toolbox.

    --
    Mike Hoye
    1. Re:On The Pipe by zootm · · Score: 1

      The fact that UNIX has a larger toolbox is not so relevant when you consider that this is still pre-release — if it's a competent shell, it'll have equivalents to most of the useful functions available to the *nix world before very long.

    2. Re:On The Pipe by /ASCII · · Score: 2, Interesting

      True. But on the other hand it is much harder to write simple general purpose filters for generic objects than for text data. There are quite a lot of general purpose tools in Unix, like grep, sed, tail, etc. that can operate on almost any form of data, whereas MSH tools need to operate on objects, which is quite a bit harder. The potential for ultimate coolness is there, but if the implementation is lacking, MSH will be useless.

      --
      Try out fish, the friendly interactive shell.
    3. Re:On The Pipe by zootm · · Score: 1

      I agree, to some degree, but if you look at how they've implemented object orientation on the command line, it's certainly consistent. On one hand it's easier to apply generic operations to strings, but then there's only so much one can achieve when treating everything as a string.

      As a consequence of what you mention, though, looking at the commands it seems as though there are slightly more "basic building block" commands than in the *nix world, with slightly more specific purposes. I'm not convinced it's a bad thing, though, although it could add a little complexity to simpler tasks (it looks as though they've been quite careful at this though).

    4. Re:On The Pipe by /ASCII · · Score: 1

      I don't know if the idea to treat the object as the fundamental concept instead of the bitstream is good or bad. The drawbacks of each design is known, but since no one has tried constructing a shell that uses objects as the fundamental concept before, it is still unknown how well this works.

      I must note, though, that not all shellscript filters treat the stream of bytes as strings. There are commandline image manipulation libraries based on piping image data through filters, for example.

      --
      Try out fish, the friendly interactive shell.
    5. Re:On The Pipe by Urusai · · Score: 1

      Woohoo...recompile them in Windows and now Windows has the larger toolbox (since you can't port its meager selection to Unix).

    6. Re:On The Pipe by zootm · · Score: 3, Informative

      Very true. I think this system could work well though, despite not having used it, but I guess I'll have to give it a go to really know. Kinda worried about the noted limitations of its tab-completion though — that's one feature that I'd, at the very least, find difficult to let go.

      As for more arbitrary pipes, there is some degree of good news in the discussion thread which goes along with the article, in particular this little gem:

      You can essentially make an alias in MSH that associates a short name with the full path of one of the Cygwin command line apps. It's nice being able to occasionally use awk, sed and grep from the MSH command line.

      msh> new-alias grep "C:\Cygwin\bin\grep.exe"
      msh> get-childitem | grep blah

      I'm not sure how far this aliasing can be taken, it's possible it only works on text rather than bitstreams, but it's encouraging that the *nix command line apps can be aliased and seem to "play nice" with the MSH system.

    7. Re:On The Pipe by Haeleth · · Score: 2, Insightful

      it is much harder to write simple general purpose filters for generic objects than for text data. There are quite a lot of general purpose tools in Unix, like grep, sed, tail, etc. that can operate on almost any form of data, whereas MSH tools need to operate on objects, which is quite a bit harder.

      If all objects have methods to serialise them to strings - and it doesn't seem unreasonable to assume that they will - then whenever you're fed an object you don't know about, you can access it as a string. At which point, bingo! you can use a general purpose filter for text data, just like in Unix.

      I may be wrong, but this does look to me like a technique that can degrade reasonably elegantly to the lowest-Unix-denominator for programs that don't make use of all the .NET stuff.

    8. Re:On The Pipe by SQLz · · Score: 1

      Yeah, and you'll be able to download each and everyone of those tools as shareware! You can have the privelege of paying $20 for grep! If you don't register, everytime you use wgrep, it pops up a window that says "Please Register WinGrep!". Thats awesome!

    9. Re:On The Pipe by zootm · · Score: 1

      From the Ars discussion of the article:

      msh> new-alias grep "C:\Cygwin\bin\grep.exe"
      msh> get-childitem | grep blah

      Bad example.

    10. Re:On The Pipe by davygrvy · · Score: 1

      Speaking about pipes.. Windows consoles are still not streams the way they are on unix. Oh the hell it takes to automate any console application on windows.

      --
      -=[ place .sig here ]=-
    11. Re:On The Pipe by Anonymous Coward · · Score: 0
      It's relatively easy to do this under older versions of MS's shell, too, though not on the fly. Without trying very hard for a simple solution, I figured out this technique under Windows XP a while ago:
      1. Make a bunch of batch files, like ls.bat, grep.bat, less.bat, etc., each of which contains a call to the full path of its Cygwin equivalent and passes its argument list
      2. Stick them all in a single directory
      3. Add that directory to your PATH
      Typing "dir" to list a directory? Blech! Now "ls" works natively.
    12. Re:On The Pipe by Azzmodan · · Score: 1

      You could also just add the cygwin folder directly to the path, then you don't need bat files for all the commands but can just call them directly.

  16. A shell is nice but... by CastrTroy · · Score: 4, Insightful

    A shell is nice but, can you change all the settings from the command line? The fact that most of your settings are stored in the registry, makes things a lot harder to do from the command line. Sure you could probably change a key or two if you needed to. But you'd probably have to know the exact location. Browsing the settings, to find the key you want, would be a lot harder. Can you install most programs from the command line, and manage all your installed software from the command line. I like the fact that in Linux, most base system stuff is designed so that it can be done by the command line, first and foremost, I like the fact that Linux stores all the settings in text files. This means that you can change the setting with any text editor of your choice. Also, there is a huge library of tools available at the command line. Not just stuff that was thought up by the people who made your command line (bash, csh, zsh), but also anybody else who made just about any other utility.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    1. Re:A shell is nice but... by DrugCheese · · Score: 1

      Yes totally agree. One of the reasons I love SuSE so much is the fact that I can run YaST from the command line. I can fully configure remote systems with an ssh connection. On my desktop at home, I can run the same utility in gui (Yast2) and have the same general layout. And yes the fact that posix systems treat everything as a file, I can change anything, any setting with vi. (along with other tools, make, gcc, to put settings into effect, but that goes aboove and beyond any control you have with windows ..)

      --
      *DrugCheese rants*
    2. Re:A shell is nice but... by alecks · · Score: 3, Informative

      Yes, you can. you can change registry settings from the command line. Yes, you have to know the exact location, but that's like saying 'you have to know how to use a computer to use a computer'.
      Yes you can install ALL programs from the command line... expecially the ones designed to use the standard windows installer (.MSI). It has some powerful commandline options, which are universal across all apps that use it. Search for msiexec.exe
      You can do everything and anything from the command line. WSH/WMI add a great deal more functionality as well, and you can still keep it at the command line.

    3. Re:A shell is nice but... by TummyX · · Score: 4, Informative

      If you had read the article you would have discovered that MSH includes a managed virtualfilesystem-like provider for the registry that allows you to navigate the registry and read/write settings.

    4. Re:A shell is nice but... by gcauthon · · Score: 1

      So you bash the windows command line because you can't change "all the settings" from the command line but then you point out that Linux programs can't do this either. So what's your point?

      The ability to process command line options is a function of the application writer, not the shell writer. I can easily write a program in Linux that requires a GUI to change settings. I can just as easily write a program in windows that allows you to change settings via command line options.

    5. Re:A shell is nice but... by timeOday · · Score: 4, Funny
      If you had read the article you would have discovered that MSH includes a managed virtualfilesystem-like provider for the registry that allows you to navigate the registry and read/write settings.
      HA!! It took over 10 years, but finally they're coming around. May I propose a name for that "managed virtualfilesystem-like provider":

      /etc

    6. Re:A shell is nice but... by sunyin · · Score: 1

      Yes, we can change anything from shell (in a computer world), just like what happens in UNIX.
      Same thing also applied to Registry. It could be mapped to an database interface then modify it with sql commands or mapped to a tree structure then browse it with commands like cd, ls etc.

    7. Re:A shell is nice but... by Anonymous Coward · · Score: 0

      In current versions of Windows (as far back as Win95 at least) you can dump the registry to a text file and examine that, or indeed directly pipe it to a find filter to find the value/key you are looking for. This is not much different from finding a specific setting in a linux configuration file.

      As someone else already mentioned the Windows Installer has a lot of command line functions, in fact there are several powerful features that are only available from the command line.

      Your doubts are not caused by a lack of features in the Windows shell, but by your lack of knowledge.

    8. Re:A shell is nice but... by Anonymous Coward · · Score: 0

      parent post officially own3d by all the above comments

    9. Re:A shell is nice but... by poot_rootbeer · · Score: 1

      Browsing the settings, to find the key you want, would be a lot harder.

      What's so difficult about:

      $Monad$ C:
      $Monad$ CD \REGISTRY

      (at this point, a window with an adorable animated puppy will pop up and ask you 'It looks like you're trying to browse the Registry. Do you want to launch Registry Editor? [YES][OK]'. Then you just go from there.)

    10. Re:A shell is nice but... by gnovos · · Score: 4, Funny

      HARD? What's so hard about:

      echo 0x0001429 | regfxr32 \g \l \b \"/virtual registry hive sftwre/000003/Local Users and Directories/software/Microsoft/user/holebert/alpha MIX4_2_07/0x8827832fa777e9182/settings/color\"

      --
      "Your superior intellect is no match for our puny weapons!"
    11. Re:A shell is nice but... by WebCowboy · · Score: 4, Interesting

      A shell is nice but, can you change all the settings from the command line? The fact that most of your settings are stored in the registry, makes things a lot harder to do from the command line.

      Very valid concern regarding the Windows platform. You can indeed do most of what you need to do in Windows through a command line if you are a guru, however without Monad Windows command-line capabilities are extremely weak. Regedit can be used at the command line, however it is quite cumbersome--especially if you must browse the registry. The whole concept of the registry puzzles me actually--here is this obsfucated, hidden, monolithic configuration file that holds all this important system information and if it were to be corrupted it could potentially make the machine unusable. In order to manage it, MS spent the time to greate this regedit program to decode the registry and present it as...a filesystem-like tree structure. Good Lord, what the hell for? When MS was addressing the problem of .ini files ten years ago what happened to the KISS principle? They did a good thing when they invented the "Program Files" folder and instructed developers to install their program folders there. Why didn't they just make another directory called "System Settings" and specify a standard .ini file format at that point?

      If that sounds almost like a UN*X /etc directory then you'd be right--it's worked for aeons so why complicate things by re-inventing the wheel? The concept was sound it just needed fine tuning. Then MS wouldn't have had to make a special utility to manage system settings at all if it didn't want to.

      Fortunately MS has seen the light and it appears that they are trying to quietly re-invent Windows in the image of UN*X. Of course, they won't admit their mistakes and copy UN*X/Linux design outright--they are re-architecting Windows using the same concepts but their own dialects (and in some cases they are making improvements to those concepts). This means that Microsoft can claim to be "innovating" instead of fixing bad design decisions. Some examples of the direction MS is going:

      * Monad--an "object oriented shell" that brings a modern image to a very old idea. MS is acknoledging that the command line really IS a good adia and not obsolete, and that it was a mistake to neglect its command line shell. The object oriented approach and consistent interface is a modern solution to a problem originally solved in part with pipes in UN*X. Python provides an object-oriented shell on that platform now--but MS just polished the idea a bit and made the whole shell solution more unified.

      * XML-based config files. You won't ever hear Microsoft admit it, but the system registry is a flawed concept and the implementation in Windows was so bad it was a significant source of relaibility and security problems. If you look hard enough in MSDN literature and in blogs, you will find that MS is quietly pushing developers to eliminate their dependency on the registry in favour of .config XML files stored in the same folder as the application's executable. MS is deprecating any tools they had to deal with the registry in favour of this method of managing system settings.

      * Microsoft has been slowly expanding developer options for creating GUI-less applications (services and console apps). Prior to VS.NET (right up to version 6) to do so required using C or employing awful, unsupported hacks (anyone who has tried writing a VB6 console app or service knows what I'm talking about--the required hooks into low-level Windows APIs make the result so ugly you are best advised to give up and use C anyways). Now MS has the CLR and .NET libraries that make it much easier to do GUIless application developent and allow you to do it in many different languages (although if you look at VB.NET it is more of a CLR dialect than a distinct language anymore--esentially C# without semicolons and a handful of BASIC

    12. Re:A shell is nice but... by nystire · · Score: 0

      MS can release versions of Windows that is more modular and can run WITHOUT A GUI

      Isn't this part of the blurb for Vista right now? That it will be able to run without a GUI?

      I haven't read the newest documentation, so I could be wrong...

    13. Re:A shell is nice but... by Anonymous Coward · · Score: 0
      Yes, you have to know the exact location, but that's like saying 'you have to know how to use a computer to use a computer'.


      Have you ever looked through the Windows registry? It's a damn mess, nobody can remember that. Not being able to browse through it makes it unuseable.


      You can do everything and anything from the command line.


      I very seriously doubt that very very much. And your previous statement added that last very.
    14. Re:A shell is nice but... by owlstead · · Score: 2, Insightful

      They already got that one. Not that there is much in it. But it's there :)

    15. Re:A shell is nice but... by Anonymous Coward · · Score: 0
      . Perhaps they could call it "Doors".

      The doors of perception...

      but would it be heaven or hell?

      Or, perhaps Blake had it right..."If the doors of perception were cleansed everything would appear to man as it is: Infinite" _W. Blake

    16. Re:A shell is nice but... by Anonymous Coward · · Score: 0

      Yes, you can choose which components you want to install with the operating system. You can completely strip out the GUI/everything else if you want, and leave a stripped down server just for serving files. Thats why MSH is taking so long, they need to expose all the configuration settings in the GUI to the CLI so the server is still configurable without it.

    17. Re:A shell is nice but... by xgamer04 · · Score: 1

      The whole concept of the registry puzzles me actually--here is this obsfucated, hidden, monolithic configuration file that holds all this important system information and if it were to be corrupted it could potentially make the machine unusable.

      So if I replace "registry" with "source code" and "machine" with "company", is there a difference (at least in the cast of Microsoft)?

      if Microsoft started selling an OS where running the Windows GUI was optional, how could they call it Windows? Another name would be in order. Perhaps they could call it "Doors". MS OSes are more like doors anyways--LOCKED doors that stand in your way of getting things done and need to be opened using product activation KEYS.

      I propose "Funhouse Vista++" where some doors work, some don't, and others work some of the time. When you look at things from a different perspective they might look different because of the goofy mirrors all over the place or maybe just because they're trying to mess with you.

      --
      When you look at the state of the world, how can you not become a radical, liberal anarchist?
    18. Re:A shell is nice but... by Keybounce · · Score: 1

      Actually, it's not "/etc".

      "/etc" is ALMOST the same as HKLM. /etc, on most unixen, is on a file system designed to store 512 or 1024 byte blocks of data at a time.

      Registry, on the other hand, is a file system designed to store small (1-4 byte) objects at a time, or strings if it has to.

      Linux does (finally) have a file system that can handle short pieces of data -- it's ReiserFs. And, it can also handle large pieces of data -- it can replace the root file system, handle both large and small data, and work nicely.

      So the registry finally got a file system interface, so it's not like you live in / all the time, with no "cd" command, and have to type in /home/users/k/ke/keybounce/applications/microsoft/ microsoft_office/settings/outlook/profile/main_ide ntity/ every time? Good.

      So now I can use "cd" to move around the registry tree? Cat/type to view the settings? Echo to set a setting? I can actually use it easily in a shell script with cygwin stuff?

      Finally.

      Or, not.

      The feature is described on page 10 (save you some time):

      Sorry, attempting to provide what is in there runs into slash dot's "Lameness Filter" (I am not joking). It tells me to use less junk characters.

      But, briefly, in the unix world:
      cd /path/to/use
      cd ~
      ls
      cat file

      In the windows world?

      C:
      D:
      set-location HKLM:\

      Want to move around within that file system?
      cd \windows\system32\
      cd %user_profile%
      But alas, no alias for the user's My Documents.

      or,
      set-location SYSTEM\CurrentControlSet\Control\Lsa

      Want to see what's there?
      dir
      get-childitem

      Oh, one gives you the filenames, the other gives you files and contents.

      To see the contents of a "file"?
      get-property . restrictanonymous

      To change it?
      set-property -path . -property restrictanonymous -value 1

      Now, can someone tell me why I can't just cat/type to see the old value, and echo to change it?

      Lameness filter, heh.

    19. Re:A shell is nice but... by bergeron76 · · Score: 1

      Choice quotes:

      "which are universal across all apps that use it"

      "You can do everything and anything from the command line. WSH/WMI add a great deal more"

      "Yes you can install ALL programs from the command line... expecially the ones designed to use the standard windows installer (.MSI)"

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
    20. Re:A shell is nice but... by joe+wannabe · · Score: 1

      Longhorn server might get the GUI'less option that we've wanted for sometime. Somewhat limited but it's a start. ... "The first is to allow the server to be installed in a mode where it doesn't have a GUI or any of the other stuff required to run the GUI. This reduces the server footprint quite dramatically, but only a handful of server roles can run on the box in this mode and there's definitely a tradeoff from an administration POV... http://blogs.technet.com/windowsserver/archive/200 5/10/14/412534.aspx

  17. This is just the beginning by Dekortage · · Score: 5, Insightful

    Just a few days ago, there was another article on Slashdot about how Ballmer wants to "storm Linux." If they can convince *nix people that Windows has a powerful CLI, this will do much to suck them in... it is the "eye candy" for true geeks.

    The article author starts to say this himself: My biggest frustration with MSH is the low quality of the actual shell interface. On my Linux system, I am extremely dependent on line editing keyboard shortcuts that simplify manipulation and alteration of command line input. MSH has very few line editing shortcuts, and extremely limited support for tab completion.

    And I remember when CP/M was all the rage... *sigh*

    --
    $nice = $webHosting + $domainNames + $sslCerts
    1. Re:This is just the beginning by gowen · · Score: 0
      very few line editing shortcuts, and extremely limited support for tab completion.
      Must've forgot to type DOSKEY :)
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    2. Re:This is just the beginning by /ASCII · · Score: 1

      I agree. Sure a good syntax is vital for a shell, but it seems to me they have completely forgotten that a shell needs a good UI as well. I would have expected them to implement things like command-specific tab-completions, syntax highlighting, clipboard intergration, etc., but I guess MSH is really only meant for scripting, not interactive use. Shameless plug: If you're running Unix, you can try out fish, a shell which features all the above UI niceties as well as a cleaned up shell syntax.

      --
      Try out fish, the friendly interactive shell.
    3. Re:This is just the beginning by thallgren · · Score: 1

      Can't you just run it in a M-x shell? :)

    4. Re:This is just the beginning by AvitarX · · Score: 1

      The line editing and TAB completion sound like easier to implement features than the syntax and passing and all the other stuff that works and people seam generally impressed with.

      I am willing to bet that the features you desire are put into the final version and that they just feal no need for a public beta on them.

      Of course the other option is that it is primarily intended for scripting and not interaction, in which case shame on them.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    5. Re:This is just the beginning by Anonymous Coward · · Score: 0

      It's a beta. People will bitch and MS will listen. I've been most impressed while following the development of .Net Framework v2. The one thing you can say about MS betas is that they actually get progressively better, where a lot of other software developers seem to think beta means "well, I'd call it version 1.0 but I'm scared that I might have missed something so if I just keep it in beta forever nobody will notice and I'll be off the hook when someone finds a bug".

    6. Re:This is just the beginning by Telastyn · · Score: 1

      Actually, it's more likely to convert IT Directors who are begrudgingly using *nix for things like web/SQL/http hosting based on the techies' argument that Windows' shell sucks, and can give demostrative proof that they can save the company money using unix shells. The MS Saleguy now can at least say with a straight face that they've got a good scripting system, and can provide case studies where MSH saved someone tons of money.

      Hard for the tech to argue then.

      And I wouldn't worry about tab completion. Run of the mill win2k cmd has tab completion [if you turn it on] which works nearly the same way as every unixy tab completion feature I've seen [except that it iterates through partial matches rather than beeping and/or listing the partial matches]. To me, that difference is slightly annoying, but not a great impediment to use.

    7. Re:This is just the beginning by Anonymous Coward · · Score: 0

      > On my Linux system, I am extremely dependent on line editing ...
      > And I remember when CP/M [sysun.com] was all the rage... *sigh

      CP/M, or more specifically, DRI's Concurrent-CP/M of the the early 80s, was where I learnt to love command line editing. I still prefer it to that of bash, but I can get used to it.

      MS-DOS did include DOSEDIT but this seemed to be entirely so that it could match DR-DOS 5 and 6 for 'ticks in the box' as they tried to hide the facility. MS wanted people to know that 'command lines were awful' so they made sure theirs was. They wanted to ensure that 'command lines are useless' so they removed the ability to run their programs from command line and made them GUI only.

      Now they have to reinvent because people are realising that they don't need to click buttons to get things done, the computer can do that for them. Backups: why click several buttons when the computer should just do it.

  18. I take it you like python a lot? by walterbyrd · · Score: 1


    Just a guess.

    1. Re:I take it you like python a lot? by btobin · · Score: 1

      My first thought on seeing msh was "Cool! it looks a lot like Python, only not quite as clean." My second was "Gee, a Python-based shell would be a good idea. I wonder if anybody's written one." Nice to see that someone has. Personally, though, I would have called it "PyShell".

  19. Marketing sucks by Xarius · · Score: 3, Insightful

    Yet again Microsoft takes an age-old technology, like scalable icons or transparency, and turns it into the best thing since sliced bread? Shouldn't they be condemned for leaving it this long to release a tool as powerful as this, instead of praised?

    The best I can say is "It's about damn time".

    --
    C17H21NO4
    1. Re:Marketing sucks by LurkerXXX · · Score: 1
      Uh, if you wanted to condemn them for not having a tool like this, you should already have done so. Once they come out with it, you shouldn't suddenly start bitching that they are late.

      Then again, you are probably one of those /. trolls who hate anything MS does ever and will not be happy even if they do something you want them to do.

    2. Re:Marketing sucks by Anonymous Coward · · Score: 0

      Yet again Microsoft takes an age-old technology, like scalable icons or transparency, and turns it into the best thing since sliced bread?

      Please show me all the other object-oriented shells you are claiming have been around for years.

      I, for one, have never seen one.

      Yet again a Slashbot assumes that anything Microsoft does must have been done better by Apple years ago. Well, here's a clue for you, buddy-boy: this is NEW. This is light-years ahead of anything Apple has, light-years ahead of anything Linux has. This is the one, single, lone exciting thing to have come out of Microsoft in the past twenty years, and it would be appreciated if you would care to find out what it is before mindlessly bashing it.

  20. Yes, but.... by mblase · · Score: 1, Funny

    ...does it run Windows?

  21. Reminds me of Python.. by chendo · · Score: 1, Interesting
    When I saw this line:
    msh> "this is a test".split(" ")
    I immediately thought "Python" (although I realise this may apply to other languages as well).

    Seriously... I can see a Python-based shell that can do what MSH can (named 'pash', possibly?). I respect the SQL syntax used and it could be useful, although I dislike the idea of using |s for this (no real reason... it just looks/feels wrong).

    Another downside (for me) is that it's too verbose. I'm used to short commands like 'cat' instead of something like 'get-contents'. And the .NET implementation just looks really ugly, IMHO.

    Just my two cents.
    --
    Founder of Mirror Moon - Tsukihime Game Trans
    1. Re:Reminds me of Python.. by Anonymous Coward · · Score: 0, Informative

      Javascript has syntax like that too

    2. Re:Reminds me of Python.. by hackstraw · · Score: 1

      I'm not that familiar with python, but the split command sure looks like ruby to me http://www.ruby-doc.org/core/classes/String.html#M 001405

    3. Re:Reminds me of Python.. by Neeth · · Score: 1

      (although I realise this may apply to other languages as well)

      Indeed. It reminded me of the JavaScript shell as supplied by the Mozilla JavaScript Engine Rhino (http://www.mozilla.org/rhino/). With it you can use the JavaScript and Java API's. Just like MSH can use the .NET API.

      --
      Yes, I am the one with the legendary sig.
    4. Re:Reminds me of Python.. by Greyfox · · Score: 1
      I've seen a variety of language-based shells crop up in the past. For some reason the lisp/guile based one sticks out in my memory. They usually fade to obscurity pretty quickly as people realize that they can get their work done much more concisely with one of the older shells. It never usually seems like all that big a deal anyway, since bash doesn't restrict you to bash -- you can always throw together a python or ruby script to do some major chunk of work if you want to.

      OS/2 had a pretty decent language (REXX) embedded in their command processor. Before that, most average users hadn't experienced having a useful language on their computer before. I found that people tended to push REXX about as hard as it could be pushed. Sure, there were better tools for a lot of the jobs they were doing out there, but REXX was free. So they used REXX. To be using OS/2 and REXX you had to be a bit of a tinkerer anyway, but I think that a lot of folks don't really realize that they can direct their computer's work if they so choose. Most of them would never bother to shell out for a compiler or bother installing an interpreter on their system, but bundle a tool with the OS and make a big enough deal about it and I'm sure a lot of people would start using it.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    5. Re:Reminds me of Python.. by ilitirit · · Score: 1

      Another downside (for me) is that it's too verbose. I'm used to short commands like 'cat' instead of something like 'get-contents'.

      From the article:
      MSH also includes an alias feature that allows users to associate additional names with available Cmdlets. By default, MSH comes with a complete set of aliases that bind typical Linux command names to comparable MSH Cmdlets, and an additional set of aliases that provide simple two or three letter abbreviations for most commands. In this article, I use the complete Cmdlet names rather than the abbreviations for the sake of clarity.

      And the .NET implementation just looks really ugly, IMHO

      IMHO, "ugliness" is an inherent property of shell scripting languages.

    6. Re:Reminds me of Python.. by afabbro · · Score: 1

      Um, where do you think Ruby got the idea from? ;)

      --
      Advice: on VPS providers
    7. Re:Reminds me of Python.. by Anonymous Coward · · Score: 0

      I'm no Microsoft lover, but it's amazing the comments people make about stuff without any clue.

      This is standard C#/VB.NET syntax. For people not familiar with .NET languages....http://msdn.microsoft.com/library/def ault.asp?url=/library/en-us/cpref/html/frlrfsystem stringclasssplittopic.asp

    8. Re:Reminds me of Python.. by mooingyak · · Score: 1

      from awk maybe?

      split is one of those painfully obviously necessary things that any number of people have independantly invented ways to do it.

      --
      William of Ockham had no beard. The most likely explanation is that it was chewed off by squirrels every morning.
    9. Re:Reminds me of Python.. by jeanicinq · · Score: 1

      Atomatrix has a syntax a bit nicer. It uses a dynamic compiler, yet default syntax:

      > :textate( "this is a test" split( " " ) ) ;

      textate() is a method off the user's command object to write text to the output. The colon is a shortcut from the command line to specify the user's command object. No dots between methods or expressions are used or even needed to evaluated object-orientated methods. The above would actually print out an array structure:

      { "this" , "is" , "a" , "test" }

      Here is one way on how to join them on seperate lines like the demo.

      > :textate( "this is a test" split( " " ) join( "\n" ) ) ;
      this
      is
      a
      test

    10. Re:Reminds me of Python.. by Xyleene · · Score: 1

      Another downside (for me) is that it's too verbose. I'm used to short commands like 'cat' instead of something like 'get-contents'. And the .NET implementation just looks really ugly, IMHO.

      FYI From what I can tell you can set any alias you want for a command, or download a file with all the *nix aliases you like that someone else has already written.

      --
      Give them the illusion of choice and they will blindly follow for they choose not to make one.
    11. Re:Reminds me of Python.. by hackstraw · · Score: 1

      from awk maybe?

      split is one of those painfully obviously necessary things that any number of people have independantly invented ways to do it.


      I wasn't talking about split(), just about every 4gl language has that function. I was commenting on the language and use of split(). the "this is to be split".split(" ") construct is actually fairly complex. In C++, you would have to do something like: String foo = "this is to be split"; String bar[]; bar = foo.split(" ");

      Again, I know almost nothing about Python, but I studied Ruby briefly when it was new in 99 or 00, and I liked the way that everything was an OO object, even string and numeric literals, which lends to the possibility of the abbreviated split() syntax among many other things.

  22. ..C# by jkind · · Score: 4, Insightful

    Well it looks like C# will be alive and well for some time to come. This article definitely had the feel of Jesse Liberty's Programming C# OReilly book.
    " MSH has a number of unique features that make it easy for users to leverage .NET technology at the command line. Type casting is an easy way to transform a simple core type into a .NET instance or another core type. To cast an instance into another type, simply place the name of the desired type in brackets right in front of the instance. You can change a string into a number with an int cast:
    msh> [int]"5" + 5
    10
    "
    is basically the section from the book on boxing and unboxing. Anyway, as a C# developer, it's great to see the language isn't dying..

    --
    ~jennifer.k~
    1. Re:..C# by Anonymous Coward · · Score: 0

      You've been reading Slashdot too long if you were wondering if C# was dying.

    2. Re:..C# by bergeron76 · · Score: 1

      Let's play "spot the shill":

      Well it looks like C# will be alive and well for some time to come. This article definitely had the feel of Jesse Liberty's Programming C# OReilly book.

      My interpretation:
      "C# _will_ be alive and well..." = a future desired outcome, while truthfully declaring a clear knowledge of it's existing failure state

      "had the feel of Jesse Liberty's Programming C# OReilly book" = a grab at [some book] by a credible [FOSS] publisher

      Anyway, as a C# developer, it's great to see the language isn't dying..

      I heard: "I have credibility because I love programming in [insert any language here], it's great to see the language isn't dying...", however logic dictates that if you love programming in [insert your favorite language here], you aren't concerned about purported "death knells" of the language.

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
  23. The why by zxm · · Score: 3, Interesting
    Finally, MS has understood that a powerful shell language is necessary for a modern operating system.

    For a long time, it has been proud of his UI technologies, and thought the UNIX shells are too complicated to most people. As for the genernal people, it's right indeed; but it's not true for those developers that want to perform some customized tasks through some kind of relatively easy method.

    The real problem is, Linux has been attracted more and more developers, it's absolutely dangerours to the Windows future. it must do something to change this situation, as a part of a series of actions according its plan.

    --
    -- forgive me my poor Engl...
    1. Re:The why by archen · · Score: 1

      MS may have understood that they need a powerful shell for their system, but once again they seem to have missed the point. Looking over all of this I saw this re-occurring theme that it looks like 'irb' (interactive ruby interpreter). MS hasn't really given us a shell, they've worked up an interactive programming language. Along with that they've essentially increased the complexity about 5 times.

      If you look at a unix shell like bash it's extremely simple. The ammount of things that bash itself can do isn't all that much. People like to cite overly complicated shell scripts as the reason bash is bad, but the simple fact is that bash isn't really intended to do everything, and if it's too complex for your sell you are supposed to do it in a programming langauge. The flip side is that no one really needs to be crusing around their filesystem inside of a programming language; it's the wrong tool for the job.

      So what I see is MS gave us an overly complicated shell that is basically a new programming language. It will lack the flexibility that has allowed the Unix shell to be so powerful after 30 years, and it will probably have all sorts of backwards compatibility issues by the next generation.

  24. Unix shell argument parsing by murdie · · Score: 2, Interesting

    >Unlike Linux command-line utilities, which contain their own argument parsers and output
    >format mechanisms, MSH commands (called Cmdlets) all inherit a single base class, which
    >ensures that all commands expose the same methods, parse arguments the same way

    That's not entirely true about Unix (Linux): first, it omits to mention that Unix shells traditionally expand pattern matches in the given arguments, and match the command to an executable, before passing the arguments to that executable; and, second, everyone has used getopt(1) or getopt(3) (in whatever language) for years now, haven't they? (It's a common Unix newbie misapprehension to think that each executable has to expand the shell filename pattern matches in the arguments itself). These are a good start at maintaining command format consistency. I regret only that the original (Research) Unix didn't define which of: '-d -i' or '-di' and which of '-darg' or '-d arg' was preferable, and POSIX.2 (1991) appears (to me, glancing at it now) simply to have rubber-stamped the original situation.

  25. Re:Monad? by Anonymous Coward · · Score: 0

    Do you still join Quake deathmatch servers and shout things like "hey everyone lets just use our axes!" thinking its really funny?

  26. doing it for? by sgt+scrub · · Score: 5, Insightful

    I didn't get very far into the article before they got to the "we do things for you" part. Maybe I'm alone in this belief but I absolutely hate it when a language/shell/application will do things for me.
    For instance (from the article):

    MSH features the typical data types found in most other modern languages: strings, integers, arrays, and hash tables. When you enter any of those kinds of values at the command line, MSH will echo them back.
    msh> "blah"
    blah
    msh> 5
    5
    By comparison, in the Bash shell, expressions are always treated as commands and the echo command must be called explicitly if the user wants to display a value at the command line.


    If I want an echo statement I WILL TYPE echo! I don't want the software to ASSUME (make and ass out of me) if I make a typo!

    --
    Having to work for a living is the root of all evil.
    1. Re:doing it for? by Anonymous Coward · · Score: 0

      Typical of zealots mentality. They can't read a simple document past a few sentences before starting to make conclusion and give everyone an impression that they are talking out of their asses!

    2. Re:doing it for? by Anonymous Coward · · Score: 0

      >If I want an echo statement I WILL TYPE echo! I don't want the software to ASSUME (make and ass out of me) if I make a typo!

      Troll much, sgt scrub?

      You just knocked the most basic feature of a command line interpreter: displaying the result of the command you just issued. One purpose is to let you inspect the result of various sub-expressions while you write your production file in another window. If you don't to see the result of each command, just write a file and run it instead. You'll just get the return value of the file (* plus whatever your script decided to send to stdout/stderr).

    3. Re:doing it for? by hackstraw · · Score: 1

      If I want an echo statement I WILL TYPE echo! I don't want the software to ASSUME (make and ass out of me) if I make a typo!

      Just start the shell or script with @ECHO OFF. Microsoft is known for its backwards compatibility.

    4. Re:doing it for? by Anonymous Coward · · Score: 0

      WTF? GP posts a troll, I call it on him, post the insightful followup and then he gets modded +5 insightful and I get modded troll.

      I guess it's appropriate that the validation word is calmly, because I'm quite upset and tempted to take out my anger in bad ways, but I'll stay cool and leave it at this.

    5. Re:doing it for? by fzammett · · Score: 2, Insightful

      Ah, so, by extension you should be bitching about every shell that assumes I entered a command? Shouldn't I have to TELL IT to 'execute ls'? Why does it ASSUME that if I type ls I want to see a directory listing? Stupid shell, I hate them when they do things for me!

      And, you know, if a shell is going to make an assumption at all, I'd prefer it assume it's an expression than a command because if someone aliases ls with rm -fR, better it just echo that back then execute it, right?!?

      --
      If a pion (n-) collides with a proton in the woods & noone is there to hear it, does lamdba decay into the source pa
    6. Re:doing it for? by memfrob · · Score: 2, Insightful
      Why does it ASSUME that if I type ls I want to see a directory listing?

      The GP isn't so much complaining about the assumption, but the arbitrariness of it. In most UNIX shells, everything you type at the prompt is a command. In MSH however, it appears that sometimes when you type something in, it might be a command, it might be a value, it might be a.... etc.

      msh> 5
      5

      Who's to say I don't have a command called '5'? What if it's not in the correct path? Or, for that matter, who's to say I don't have a command called '6' that I typo'd?

      --
      The Wizard utters the word 'frobnoid!' and cackles gleefully
    7. Re:doing it for? by ctr2sprt · · Score: 1
      Don't get so worked up, I'm sure there's a way to change it. And it's perfectly consistent with the way many script interpreters work:
      Python 2.4.1 (#2, Jul 17 2005, 18:17:13)
      [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
      Type "help", "copyright", "credits" or "license" for more information.
      >>> "blah"
      'blah'
      >>> 5
      5
      It's only when you don't assign the expression to a variable in interactive mode that Python will do this. I'm sure Monad works similarly.

      Remember that Monad isn't supposed to be a functional replacement for bash. It's supposed to be more like Perl+CPAN. cmd.exe, weak as it is, is a "good enough" replacement for bash already.

    8. Re:doing it for? by fzammett · · Score: 1

      That's a fair point...

      But, the way I understand it (and maybe I don't) is that if the shell doesn't recognize it as a command (and I bunch an executable something-or-other in as a command) then it treats it as an expression. While this isn't arbitrary, I can certainly see why it might give the appearance of it being so.

      It might even be the case that there are no built-in commands per se, everything is an external executable. In that case, any executable not found in the path is an expression, end of story. This would be reasonable to me, at least after 5 seconds of thinking about it.

      Your example of '5' is a good one... if that was an executable I would expect it to be executed, assuming it was in the path. If it isn't found though, whether because I typo'd 6 or because 5 isn't in the path, it's treated as an expression. This makes sense to me and jives with it being an "interactive shell" ala Ruby.

      --
      If a pion (n-) collides with a proton in the woods & noone is there to hear it, does lamdba decay into the source pa
  27. The question on everybody's mind : by digitalderbs · · Score: 1

    Will 'del C:\*.*' work?

  28. ehh? by miffo.swe · · Score: 1, Troll

    Is this the very same commandline that was so cumbersome in Linux? Is it suddenly an asset just because its in MS Windows?

    NIN Syndrome at its finest....

    --
    HTTP/1.1 400
    1. Re:ehh? by jimijon · · Score: 1

      NIN == Nine Inch Nail Syndrome????? rock on dude.

      --
      Mind | Body | Spirit | Cash
  29. And so did another by suso · · Score: 4, Funny

    Neither does one that is said by Voltaire.
    -Suso

    1. Re:And so did another by mwvdlee · · Score: 4, Funny

      Thus proving Voltaire's saying is correct?

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    2. Re:And so did another by Anonymous Coward · · Score: 0

      No. Thus proving both are idiots.

    3. Re:And so did another by Anonymous Coward · · Score: 1, Funny

      *head explodes*

  30. Thank you Microsoft! by Anonymous Coward · · Score: 0

    Thank you Microsoft for making a uniform GUI. We all have deep respect for the new Microsoft Command Shell and I feel that we all owe you a lot for letting us experience the joy that is Windows.

    Cyric Zndovzny at your service.

    1. Re:Thank you Microsoft! by CyricZ · · Score: 1

      Hi, Cyric!

      --
      Cyric Zndovzny at your service.
  31. What a weird MiSHMaSH by Xthlc · · Score: 4, Interesting

    I kill me.

    Seriously though, the design of MSH is odd. Their hybrid of paradigms from functional programming and OOP is just weird and inconsistent. Having completely different syntaxes for invoking "Commands" and "Methods" is obviously a byproduct of trying to have both a traditional shell syntax and OOPy goodness, without thinking much about internal consistency.

    Typical Microsoft: very use-case focused, at the expense of helping their users build a consistent mental model of how their system works. I bet it's pretty hard to do anything in MSH that its designers didn't specifically anticipate.

    1. Re:What a weird MiSHMaSH by bpd1069 · · Score: 1

      I bet it's pretty hard to do anything in MSH that its designers didn't specifically anticipate.

      naaaawww, if that were true that would mean no unforseen So-Insecure-You-Can-Drive-A-Semi-Through-It(tm) exploits.

      --
      --
    2. Re:What a weird MiSHMaSH by kuzb · · Score: 3, Insightful

      Don't you mean "It doesn't act like, SH, ZSH, Bash, etc... AND IT WAS MADE BY MICROSOFT, BUUUURN!"

      I really don't understand people like you. You whine, moan and complain because Microsoft's command prompt sucks, and when they fix it, you go out of your way to find new things to bitch about. What is very interesting, is that if they HAD copied Bash, or one of the other unix command lines, you would have immediatly jumped on them for that too.

      --
      BeauHD. Worst editor since kdawson.
    3. Re:What a weird MiSHMaSH by SilverspurG · · Score: 1

      You don't understand. It's not about the command line. It's what the command line does.

      MS will never produce an OS which allows you, the end user, to have control over your own property. You will never have control over your own system, your own files, your own hard drive. MS is too interested in pandering to corporate interests.

      Even if MSH was more functional than BASH (which seems to be infinitely debatable) the fact of the matter is that, if your Windows system catches a cold, the best you can hope for is that your virus scanner knows what it is. You have absolutely no chance to investigate what it did or how it did it because you will never have access to the source code of the libs which were modified. Say your system catches a cold and you find out about it and you want to watch that process and the network to analyze what it does. At best you can pray that you have Cygwin around for the network monitoring. Maybe you can hope to pay $100 for some diagnostic utility which is similarly closed sourced and which doesn't have the functionality to interoperate with every other command line utility available.

      Face it. MSH is too little, too late, and doesn't fix the underlying problem that MS has a vested profit interest in keeping the end user locked out of their own system.

      --
      fast as fast can be. you'll never catch me.
    4. Re:What a weird MiSHMaSH by Anonymous Coward · · Score: 0

      Gee, i wish i had mod points.

    5. Re:What a weird MiSHMaSH by kuzb · · Score: 1

      It's not something that is meant to compete with bash. It's not meant to fix any underlying issues other than an inflexable commandline. It's not meant to force 3rd party software people to make their software talk to other software. How exactly were you planning to blame that on Microsoft anyway? The infrastructure for extremely interoperable software is already there, but it's hardly Microsoft's fault if application developers don't use it properly, if at all. MSH is a tool, and nothing more. Hell, it was a tool they probably could have not written, and people may have grumbled when vista came out, but it would have been business as usual the next day. I'm not saying we should bow down for them doing it, but it IS an improvement for those who have to use/administer windows.

      In fact, why are you ranting at all about Windows vs. Linux? This isn't about Linux, it's about MSH. Linux has about as much to do with MSH as it has to do with the price of tea in China.

      --
      BeauHD. Worst editor since kdawson.
    6. Re:What a weird MiSHMaSH by MrResistor · · Score: 1

      It's not something that is meant to compete with bash.

      Now that's just dumb. Competing with bash is EXACTLY what MSH is meant to do, since their lack of a bash equivalent is one of the primary reasons MS is losing the Unix server replacement battle.

      In fact, if it weren't for bash, MSH wouldn't exist at all.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    7. Re:What a weird MiSHMaSH by MrResistor · · Score: 1

      You whine, moan and complain because Microsoft's command prompt sucks, and when they fix it, you go out of your way to find new things to bitch about.

      The bold portion there is the real point of contention: You say they fixed it, while the GP says they just created a more powerful suckage. As for "going out of [our] way", well, someone has to counter the massive MS hype machine, so that the people trying to make decisions can hopefully find the truth somewhere in the middle.

      What is very interesting, is that if they HAD copied Bash, or one of the other unix command lines, you would have immediatly jumped on them for that too.

      Of course we would have, just like I'm sure you'd jump on OOo for copying a feature from MSO, and for the same reason: lack of innovation.

      However, I think it would have been mixed with a liberal portion of acknowledgment as well. There are very good reasons for why Bourne shell derivatives have ruled the *nix world for 30+ years. Only a great fool would not take the time to understand those reasons before creating a shell of their own.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
    8. Re:What a weird MiSHMaSH by Anonymous Coward · · Score: 0

      Typical Microsoft my gonad!

    9. Re:What a weird MiSHMaSH by Xthlc · · Score: 1

      Don't you mean "It doesn't act like, SH, ZSH, Bash, etc... AND IT WAS MADE BY MICROSOFT, BUUUURN!"

      I really don't understand people like you. You whine, moan and complain because Microsoft's command prompt sucks, and when they fix it, you go out of your way to find new things to bitch about. What is very interesting, is that if they HAD copied Bash, or one of the other unix command lines, you would have immediatly jumped on them for that too.


      Uh, nice straw man you've got there. Doesn't quite look like me though.

      I'm complaining about MSH, and the general MS tendency to emphasize specific use cases (which represent, at best, merely the majority of usage) at the expense of simple, flexible, extensible architectures, both in their systems and their user models.

      I could care less if MS simply copied bash. They've introduced a more powerful shell paradigm (which is great, I like to see innovation in CLIs), but IMO they've done made some mistakes designing the syntax.

  32. I'm surprised none of you have seen it. by crovira · · Score: 1, Interesting

    Can you say 'copright violation/patent infringement law suit' AGAINST Unix command shell.

    Microsoft is doing NOTHING that is new here. NOTHING that they haven't done before, that they couldn't do before and that anyone else couldn't do, better in some cases.

    Why are they even mentionning this?

    Look to the law...

    What do they wish to lever this against? The Unix command shell. Is bash copyrighted? Is it patented? Watch for assaults on technicalities...

    If the law is against you, argue the evidence.
    If the evidence is against you, argue the law.
    If the law and the evidence are against you, give the opposing counsel hell.

    Microsoft bears close watching.

    --
    MSBPodcast.com The opinions expressed here are my own. If you don't like 'em... Think up your own stuff.
    1. Re:I'm surprised none of you have seen it. by Hektor_Troy · · Score: 4, Insightful

      Wait wait .. so ... when Microsoft does something interesting (it happens) and it's remade in whatever OSS flavor of the month, that's cool.

      But if Microsoft remakes something interesting made by OSS it's stealing.

      I thought, in both cases, it was a matter of reverse engineering and clean room implementation.

      --
      We do not live in the 21st century. We live in the 20 second century.
    2. Re:I'm surprised none of you have seen it. by Anonymous Coward · · Score: 0

      Uhm? STFU kthx. They don't need to go after any unix shell because a) it's for windows so it's not a threat. b) it's already miles ahead of any shell to date so why crush when you can just out innovate? c) all i been seeing on this topic is inferiority complexes and typical rabidness from the *nix camp. All this anti-competition really hurts them.

    3. Re:I'm surprised none of you have seen it. by ilitirit · · Score: 1

      Microsoft is doing NOTHING that is new here

      I'm not sure I follow? Are you implying that something be novel in order to be useful?

      If you mean that there's a possibility that Microsoft will wage a legal patent/copyright war against any OSS development that chooses to implement similar functionality, then you might have a reason to worry. But then of course you've just blown your initial statement about Microsoft not doing anything new out of the water...

    4. Re:I'm surprised none of you have seen it. by tacolicker · · Score: 1

      No the problem is they're adding a feature that's been in other OS's for ages. It's somewhat innovative, but it's like IE7: too little, too late. 1337.

    5. Re:I'm surprised none of you have seen it. by Anonymous Coward · · Score: 0

      >>> I thought, in both cases, it was a matter of reverse engineering and clean room implementation.

      I guess you weren't around when Microsoft came out with their abortive version
      of ksh (the Korn Shell). I don't have pointers/links handy - perhaps someone else
      will chime in with them - but it was heavily touted at a major show by one of MS'
      marketing droids. The Droid was being peppered with technical questions that pointed
      out several glaring problems with MS' implementation, and he finally got frustrated
      and asked his tormentor to stop questioning his wonderful "product". Someone else in
      the audience called out, "Don't you know who that is?".

      The Droid replied something to the effect that, no, he didn't know or care who the
      "heckler" in the audience was. Then someone else pointed out that the "heckler" was
      David Korn himself.

      A few weeks later, David apparently persuaded Bell Labs (or was it Lucent by then?)
      to open source ksh, which they did, basically putting MS' ksh out of business.

      So, no, I disagree about the possiblity of it being a "clean room implementation",
      and given Bill Gates' total amorality when it comes to stealing code, I rather doubt
      that MS has been totally pristine this time around.

    6. Re:I'm surprised none of you have seen it. by Anonymous Coward · · Score: 0

      Guilty by unassociation. Nice .. Care to explain how something completely new is ripped off from OSS? FACTS please, not FUD.

  33. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  34. Re:Monad? by broggyr · · Score: 1

    Actually, for those people who don't care what others think about them, that is actually a lot of silly fun. Quake & Axes, Half-Life & Crowbars, etc - some of the most fun gaming I have ever had. Just because it may not be appealing to you doesn't mean that _no one_ likes it...

    --
    Irony? Yea, it's like goldy and bronzy, only it's made of iron!
  35. Wait a second... by Winckle · · Score: 1

    It is clear that our favorite software giant plans to cultivate a culture of developer empowerment.

    I thought this article was on Microsoft, not Apple?

  36. Wait a minute... by Gilesx · · Score: 1

    So after years of telling us that the command line is dead, it's not dead anymore? I'm confused...

    However, I am looking forward to lots of Windows users becoming "l337" overnight because they now know a couple of commands for msh, in much the same way as all gentoo users are uber coders, as they've regularly sat and watched screenfulls of text scroll past.

    --
    Sunday you're Thinking Different, Monday you're a huge tool, paying too much and waiting to think like everyone else.
  37. Better name: Gonuts by dscho · · Score: 3, Funny

    Title says it all

    1. Re:Better name: Gonuts by Andrewkov · · Score: 5, Funny

      I thought a Monad was when you lost one of your gonads. Or was that mononad.

  38. Hypothetical for the Linux Crew by CDPatten · · Score: 3, Insightful

    Hypothetically: What if MS pulls it off and puts out the best OS that the Linux guys have ever seen. Let's say it's the Longhorn Server, WinFS, Monad, and everything MS has been touting works. Remember this is a hypothetical here so save the flaming/trolling for another thread.

    Will the Linux guys at that point stop bashing MS? Will you consider using the MS OS? Now I understand you don't trust them, but how will you respond if you can't say their product sucks? Will the comments be, "Ya they make the best OS, but they are evil?" Or will you continue to say that "Windows is just crap because they don't share the kernel source?"

    We are starting to see more and more people say that MS is doing a good job (like the parent thread here), and much to my surprise they are starting to open up their formats and products a little (not completely I know, but moving towards that direction). By all accounts it looks like for the next 18 months MS will be releasing some decent software, most of it strides ahead of the OSS available. Not to say that MS isn't catching up to SOME open source products... but that's fine, they should add the best features to their product, why wouldn't they?

    Just an honest hypothetical here, I'm not trolling or anything, I'm trying to understand your stance a little better. The standard cliché response of "MS is a monopoly and EVIL" is fine, but I was hoping for more thought provoking responses.

    1. Re:Hypothetical for the Linux Crew by Anonymous Coward · · Score: 0

      I'll start imagining your hypothetical "What if MS pulls it off and puts out the best OS that the Linux guys have ever seen." scenario, when you stop making blatant sweeping statements, such as "for the next 18 months MS will be releasing some decent software, most of it strides ahead of the OSS available." which patently are not true, come with no evidence to back up your grandoise claims, and only serve to cement your status as a clueless Microsoft fanboy.

    2. Re:Hypothetical for the Linux Crew by Anonymous Coward · · Score: 0

      hell, i'd leave the field. i couldn't live with myself being a suckup ass kisser after being shiat on for a decade. its bad enough working in a field where the 'experts' are from point and click and ms only world...everyday they discover something *new* like remote administration, email is truly amazing

      i'm no longer in this field. it sucks...its for windows geeks only or mother teresa's and the truly elite. i bailed after 10+years for the science field. i'm an end user now...i still gag daily that i use a windows pc for the minimum requirements the world expects.

    3. Re:Hypothetical for the Linux Crew by FrankieBegbie · · Score: 1

      My most honest answer is that Windows and associated applications (not just MS ones) will still cost stacks of money. My own work is mainly scientific number-crunching, GIS work & paper writing and Linux provides all this for free. I could elaborate more, but that's the gist...the cost.

    4. Re:Hypothetical for the Linux Crew by orasio · · Score: 1, Flamebait

      Well, for me, it's not ethical to use proprietary software.
      The fact that mswindows is crap is just one issue.
      That helped me look for other alternatives, and discover free software, long ago.

      Technical issues are not everything. Ethics are important. I don't want to use msoffice and be the tool of someone else total control delirium. I don't trust Microsoft, either, and I believe they have a negative impact in the industry I work for, specially in South America, where I live. I wouldn't want to support them, ever. The fact that they make good software by some specific metric doesn't justify using it, in the big picture.

    5. Re:Hypothetical for the Linux Crew by SilverspurG · · Score: 1

      I don't see myself learning yet another object oriented syntax to justify paying MS for the privelege of using an OS which doesn't cooperate with me and, in many cases, works to protect someone else's profit margin more than it works to protect my personal security.

      --
      fast as fast can be. you'll never catch me.
    6. Re:Hypothetical for the Linux Crew by 99BottlesOfBeerInMyF · · Score: 4, Interesting

      Hypothetically: What if MS pulls it off and puts out the best OS that the Linux guys have ever seen. Let's say it's the Longhorn Server, WinFS, Monad, and everything MS has been touting works... Will the Linux guys at that point stop bashing MS? Will you consider using the MS OS?

      You're attempting to formulate a "what if" scenario, but as often happens you've oversimplified things on such a scale that it is meaningless. Linux admins do consider using MS products now, and deploy them occasionally where appropriate. As for "what if MS put out a better OS" well, I guess that depends upon what you mean by a better OS. The case for Linux vs. MS is both technological and business. Suppose the next version of Windows is technologically on par with, or better than, Linux as a server. It will still suffer from not being free of cost, not being customizable by the end user, locking the user into a single supplier for a critical component of a system, and putting customers in the position of having to deal with a company renowned for putting it's customers out of business using unfair tactics. No smart businessman wants any of those things. Even so, in some cases it makes sense to put up with those problems, and that is what smart administrators do.

      For example, If I run a smaller business and need specialty software only available commercially on Windows and I don't have the resources and contacts necessary to build a open solution on an open platform, then it makes a whole lot of business sense to buy a Windows machine, at least for that one component. If, on the other hand, I'm working for IBM or a company with similar resources, there is rarely any compelling reason to go with MS for anything, since the resources are available to get a better long-term ROI and TOC by using open source solutions. Why lock oneself into paying a competitor every year, with no competitive bidding, when for a slightly higher initial investment a free alternative, with free development, and some free support can be created, that also places IBM in the position of being a market leader in that particular niche and ties into the bread and butter services business.

      A good analogy might be, you invent a new desert pastry and it needs a fruit filling. You can use oranges, which you can get from any number of vendors, or grow yourself or you can use MSFruit which is patented and you can only buy from one supplier. Even supposing MS gains the edge in harvesting and processing technologies, does it make sense to sign a contract to use them as your sole supplier and agree to never alter your recipe or does it make sense to invest in better harvesting and processing technologies and keep using oranges so that you can take competitive bids and experiment with new recipes?

      Of course, as you said, this is all theoretical. MS is so far behind other solutions in so many areas that they have not even tried to address that it is unlikely MS will catch up any time soon. The fact that they keep introducing anti-features designed to benefit MS as a company and cost customers extra money somewhat counters other advances they make. They pay a lot of attention to bullet points and making things "good enough" while not really achieving that for a good portion of users. They have a few nice features that I'd say are better and more usable than anyone else, but at the same time they are really really behind in other areas and falling further behind all the time. Don't call me when they have pipes and scripting that work without writing any code and from the GUI. Don't call me when they allow programs to offer services to other programs. Don't call me when they fix the disaster they call managing programs. Don't call me when they no longer expose network services by default. Don't call me when they move to open APIs. Don't call me when they open and document their formats and support other open formats. Don't call me when they have workable non-admin accounts. Don't call me when they make the UI responsive during heavy multit

    7. Re:Hypothetical for the Linux Crew by gral · · Score: 1

      I don't use Linux because I think Microsoft sucks. I use Linux, because it does EVERYTHING I need, in a free OS. Why would I want to pay money for something, if I already have it for free?

      It would be like having a wonderful wife with all the free loving you can possibly want, then go out and pay for a hooker, and risk getting some type of VD, or worm, or other virus.

      --
      Scott Carr
    8. Re:Hypothetical for the Linux Crew by Anonymous Coward · · Score: 0

      Linux is about FREEDOM. Technological superiority is secondary though desirable. I'll NEVER, I repeat NEVER, use a system that's not DFSG-Free again (and why yes, I AM working on open cores (i.e. open source hardware) too).

    9. Re:Hypothetical for the Linux Crew by CDPatten · · Score: 1

      That's very interesting. I have used allot of open source, and of course lots that isn't. For what I do I've never had the "need" to have source code, but there have been times I enjoyed learning how someone made an app. You know the logic behind certain functions. I've almost feel like I'm getting away with something when I review the code... must be my original software upbringing shining through.

      All that said, how does it become an ethical issue for you? The way I look at it is that it's "nice" and even "helpful" to see the source, but if someone took the time to write an application it should up to them to share it. I don't know if I can say that they need to or should. Kind of like an inventor sharing his patent. I know legally they have a choice, but to win your business, for instance, it needs to be open source.

      The only angle I can see to make software an ethical argument (excluding malicious software) is to clump it in with more of a philosophical generalization that would fall into something like "All of mankind should be working towards the bettering of mankind" or something along those lines. Kind of how the science community approaches things.

      I don't think that is necessarily bad, just curious how it became an ethical issue for you.

    10. Re:Hypothetical for the Linux Crew by MS-06FZ · · Score: 1

      Will the Linux guys at that point stop bashing MS? Will you consider using the MS OS? Now I understand you don't trust them, but how will you respond if you can't say their product sucks? Will the comments be, "Ya they make the best OS, but they are evil?" Or will you continue to say that "Windows is just crap because they don't share the kernel source?"

      I certainly have enough anti-Microsoft feelings (call it what you like) that it angers me that they've made something that should so perfectly have been a Unix invention and made a useful implementation (apparently) first.

      The thing you've got to recognize about the supremely anti-MS zealots is, there's no point asking them this question, because you've already answered it by filtering down your target audience for the question. It's not "Linux guys" who are senselessly bashing MS, it's MS bashers who bash MS. And yes, there are valid reasons to bash MS, but I think you're meaning to address people who will do so irrationally and to the point of defying logic. Logically, how can you not be trolling, if you're first accusing Linux users of all being anti-MS zealots (insulting, I must say), and second asking the zealots to respond to a question to which a zealot's answer would be completely predictable? It's not important, who you expected to answer and who did answer are two different sets of people - but it sort of bugged me so I felt like raising the point.

      As for whether I'll use this shell - there are some aspects I'm not happy with. The apparent lack of real tie-in to serialization for instance (there seems to be no default serialization format - things have to go through a filter to XML, etc. as far as I can tell) The fact that they're still using backslashes is another. (Arbitrary? Sure, but backslashes are in a different place on almost every keyboard - none of them as convenient as underneath the semicolon. It's like the design decision was made to make it less convenient to deal with a hierarchical filesystem.) But I'm very glad to see this kind of powerful approach to CLI computing becoming a de-facto standard. I welcome the day when msh will be pre-installed (I hope) on any Windows computer I may need to do business with, and I welcome the day when Linux will sport something comparable. Hopefully something better rather than a mere clone - but I'm sure the need to have something msh-compatible will be there...

      One difference I perceive between msh and what would be a Unix-ish solution, perhaps, is the degree to which the shell is expected to be a primary means of interfacing with the system. Microsoft needed to provide a shell through which users needing automatable, in-depth control of details of the system could do so, efficiently. They also wanted an environment in which people could "explore" the available APIs for things the shell could access. They made that. But based on some design decisions I don't think it was meant to be used as a primary UI for people who simply prefer CLI, nor as a general-purpose scripting language like Python. I expect a Unix solution would at least be made to work nicely as the user's primary means of working with the system, and possibly be a fully-fledged programming language on its own, too. (msh seemed to only fall short of the second one by lacking the ability to define classes)

      --
      ---GEC
      I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
    11. Re:Hypothetical for the Linux Crew by CDPatten · · Score: 1

      "because you've already answered it by filtering down your target audience for the question. It's not "Linux guys" who are senselessly bashing MS"

      Exactly. I didn't want to hear from the zealots who senselessly bash MS, I wanted to hear what the "Linux guys" thought. The ones who know their platform and why they chose it. Typically they have made a rational decision one way or the other. So you nailed it on the head as far as filtering, I wanted to filter out the zealots, and that is why I was not trolling.

    12. Re:Hypothetical for the Linux Crew by orasio · · Score: 1

      I'm sorry to be envangelizing here, but (wait! I'm not sorry, I like evangelizing everywhere!!) there are many people who believe that software licensing terms do have ethical issues.

      RMS, aside from being regarded as a nut by some people, makes a lot of sense once you listen to him. I was a "Linux" supporter, here in Uruguay, when he came for a talk about GNU/Linux and stuff.

      The guy expressed _why_ software should be free, in the sense of freedom (freedom to use, to share, to improve, and to share improvements, that means to not be locked with your provider, as a user, or as a community) . He talked about why NDAs hurt people, and why proprietary licenses hurt the development of the software community. The GPL is a tool, that aside from seeing the source or not, helps us in getting rid of proprietary software in our lifes.
      Giving some thinking myself, and being form south America, I actually feel the problem of us giving money to software companies, and getting too little in return, and being hurt by vendor lock-in, and how free software could help these countries develop, and how proprietary software hurts that.
      Of course, when it comes down to paying or not a hundred bucks for a license for your home machine, it's not so much of an ssue. When propretary software vendors takes loads of money from your government, and lock themselves in by propriteary protocols and formats, that's money that could be mused much better. Plus, you could be free from forced upgrades, or products that quit being supported, and lots of problems that arise from propriteary software. Most of them are not a problem for rich people, or corporations, but where I live, it's not ethical to give that much control to software corporations.

      The guy makes a lot of sense to me, here you can read some stuff by RMS, about why free software is important, and why it's bad supporting proprietary software:
      http://www.fsf.org/licensing/essays

      http://www.fsf.org/licensing/essays/free-sw.html

    13. Re:Hypothetical for the Linux Crew by 99BottlesOfBeerInMyF · · Score: 1

      For what I do I've never had the "need" to have source code, but there have been times I enjoyed learning how someone made an app.

      You've never come across software that does not have a feature you want or need to accomplish your task? Maybe as a home user you don't have as many needs as some of us, and almost certainly not as many as businesses and large institutions. One important point of open source is it guarantees that changes can be made, if necessary and that they can be made by multiple people/groups. If the author of closed source software dies, or his company goes out of business, you can be really screwed. No matter how much money you put into buying a system, it may be completely impossible to fix a bug or add a feature. Even assuming the person of company supplying your software stays in business if you want/need a feature or bug fix they can charge whatever they want and your only option is to dump the software entirely or pay up. That is one reason why some people/companies/organizations need open source. It provides security and competitive bidding on future work.

      All that said, how does it become an ethical issue for you? The way I look at it is that it's "nice" and even "helpful" to see the source, but if someone took the time to write an application it should up to them to share it. I don't know if I can say that they need to or should. Kind of like an inventor sharing his patent. I know legally they have a choice...

      If someone patents a device, lets say a machine to generate limitless energy, they have to disclose the details of how it works in order to get the protections of that patent. In this way, the knowledge is preserved for all mankind. If, on the other hand, someone copyrights a program they gain the benefits of copyright but it is entirely possible the inner workings of that program will be lost forever. Worse yet, devices that rely upon that software and information encoded by that software may be lost along with it. Take a look at video games, how many classic games can no longer be played on any current hardware or software? Or take a look at closed formats like .doc. I have files from as little as six years ago that cannot be opened by any currently available software. Those files contain possibly valuable information, but it is likely lost for good. If that information is supposed to be owned by the public (government files) I'd say that is unethical. Yet another way open source is an ethical issue, is where transparency is important. Without open code it is impossible to verify the operation of software. No blackbox testing can be comprehensive enough to determine every possible contingency. Voting software, software used by the government and criminal justice system, and software critical to maintaining the health and safety of people needs to have the source code available for review. For voting, DNA testing, or controlling the floodgates at a major dam, open source software is an ethical necessity.

      Hopefully these ideas are helpful to you.

    14. Re:Hypothetical for the Linux Crew by CDPatten · · Score: 1

      excellent points, two the best I've read on this topic on slashdot.

    15. Re:Hypothetical for the Linux Crew by Anonymous Coward · · Score: 0

      As for whether I'll use this shell - there are some aspects I'm not happy with. The apparent lack of real tie-in to serialization for instance (there seems to be no default serialization format - things have to go through a filter to XML, etc. as far as I can tell)

      I agree that this could be a pain, but the following thing you said is ridiculous, for lack of a better word. How lazy have we become that the mere fact that the key you need to hit every once in a while is 1" from the usual spot?


      The fact that they're still using backslashes is another. (Arbitrary? Sure, but backslashes are in a different place on almost every keyboard - none of them as convenient as underneath the semicolon. It's like the design decision was made to make it less convenient to deal with a hierarchical filesystem.)


      If you would have said that it just messes with you because you are used to the forward slash and backslashes are just ugly, it would have been less of a "reaching" kind of argument.

      This thing is a big improvement for the MS OS and whether you like it or not, if you are in "the biz", you're gonna end up using it... simply because MS is all over the place. Instead of bashing it for stupid reasons why not just adapt and learn it for your own sake? What's wrong with knowing more?

    16. Re:Hypothetical for the Linux Crew by MS-06FZ · · Score: 1

      (Me:) The fact that they're still using backslashes is another. (Arbitrary? Sure, but backslashes are in a different place on almost every keyboard - none of them as convenient as underneath the semicolon. It's like the design decision was made to make it less convenient to deal with a hierarchical filesystem.)

      (Not me:) If you would have said that it just messes with you because you are used to the forward slash and backslashes are just ugly, it would have been less of a "reaching" kind of argument.


      Nevertheless, on my keyboard the backslash key is not an especially easy key to hit without looking. It's the same size as the surrounding keys and nowhere near the home row. Its position on different keyboards is nowhere near as stable as more common characters like the slash. So don't go telling me that I'm lazy. I am, but that's beside the point and has nothing to do with keyboarding.

      --
      ---GEC
      I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
    17. Re:Hypothetical for the Linux Crew by MrResistor · · Score: 1

      Hypothetically: What if MS pulls it off and puts out the best OS that the Linux guys have ever seen.

      I think this is a logical impossibility, simply because everyone has different needs. But, I'll try to address the individual questions first:

      Will the Linux guys at that point stop bashing MS?

      No. Producing a superior technology is necessary, but not sufficient. They have too much power and influence for us to ignore the way they choose to conduct themselves.

      Will you consider using the MS OS?

      If it fulfilled a need that couldn't be filled with Linux, maybe. It's been a long time since I've been able to think of one, though, and I am a gamer.

      Now I understand you don't trust them, but how will you respond if you can't say their product sucks?

      That I still don't trust them, and strongly prefer not to support an organization whose impact on the world is largely negative.

      Will the comments be, "Ya they make the best OS, but they are evil?"

      That is the simplistic version of what I just said.

      Or will you continue to say that "Windows is just crap because they don't share the kernel source?"

      Yeah, I'll say that too, which brings me back to my origional point. The thing is that MS's goal is not to make the best OS for me, but rather to make the best OS for them. The simple fact is, if it happens to also be the best OS for me, that's little more than coincidence, and not something I can rely on in the future.

      Now, you can argue that it's just basic capitalism, and that's exactly how a company ought to conduct itself. Fine, why should it be any different for me? Why does the corporation get a free pass for acting only in it's own interest (or, rather, the interest of its shareholders, which is often very much NOT the same thing), and yet when I do the same I'm labeled a zealot?

      Anyway, for several years now I have been able to get a Linux distro that is better for me than anything MS has yet offered. In the unlikely event that this ceases to be the case, all the tools and documentation I'd need in order to continue on my own are freely available. I very much doubt that this will ever be the case with MS, making their hypothetically superior technology the inferior choice in the long run. I will agree that I have not yet had a need to do so, but that isn't really the point. I haven't yet had to open the hood of my car, either, but that doesn't mean that day isn't coming, and wouldn't it be foolish of me to ignore that reality?

      --
      Under capitalism man exploits man. Under communism it's the other way around.
  39. Odd choice of syntax by thallgren · · Score: 1

    I certainly wasn't expecting this kind of mishmash syntax in their new shell. I think it looks quite horrible actually. Even though all the functionality is there, it looks like they wanted to copy something rather than innovate.

    MS has hired a lot of GHC folks, and I expected something along the lines of the elegancy of Haskell. Or at least something with a useful and flexible "core syntax".

  40. Python without classes, so just use Python by Jerry · · Score: 1

    and don't worry about becoming dependent only to have a "Licen$e" fee imposed, or EULA restrictions about using GPL software in conjuction with it.

    Since VISTA is turning out to be just a theme upgrade, why not upgrade to Linux and stop shelling out more and more money just to get a new theme or security holes patched, or the stability improved?

    Duh!

    --

    Running with Linux for over 20 years!

    1. Re:Python without classes, so just use Python by DaHat · · Score: 1

      Since VISTA is turning out to be just a theme upgrade

      I would suggest you crawl out from underneath your rock (where from your sig I am guessing you've been for 8 years now) and take a look at the real world... Saying Vista is just a theme upgrade is like saying that upgrading from a 2.0 Linux kernel to 2.6 only gives you USB support.

      User mode audio stack, rewritten (and better performing) networking stack, application level audio control, application remoting (why remote an entire desktop when you can remote a single app?) are just some of the new features coming in Vista.

      On second thought... stay under your rock and keep thinking the world is falling... you'll be passed by and the world will be better for it

  41. If only linux had this by bxbaser · · Score: 2, Funny

    it would finally be ready for the desktop.
    when will the linux devs get on the ball its 2005 the new wave of computing is the command line.
    who says microsoft doesnt inovate.

  42. DOS Window, still?!? by bbzzdd · · Score: 2, Funny

    Thank you Microsoft for updating the "DOS" shell. Us command-line jocks really do appreciate it. They were even nice to us switch-hitters in that "cd /windows/system32" (note the forward slashes) actually works now. I guess they concede they lost the slash wars after all these years :)

    But seriously. After spending in any time in a Linux or OS X sexy, semi-transparent shell windows, with a nice courier font and syntax highlighting, Monand (as it is now) still runs in the gross 1982 DOS window?

    I hope this changes come Long^M^M^M^M Vista

    1. Re:DOS Window, still?!? by Tony+Hoyle · · Score: 1

      Is it Unicode yet?

      One of the great annoyances of cmd.exe is that it's ANSI only. Type 'dir' on a directory with different language filenames in it and you get a sea of questionmarks, and you have to use ugly 'chcp' commands to see different filenames... and forget about entering them at the keyboard.

      The console is Unicode.. it's deliberately downgrading itself just to be annoying. Makes multilingual stuff on NT really hard.

    2. Re:DOS Window, still?!? by djmurdoch · · Score: 1

      The console is Unicode.. it's deliberately downgrading itself just to be annoying. Makes multilingual stuff on NT really hard.

      I think the colour choices were made just to be annoying, too. The idea was that they wanted users who were just trying out Win95 to realize that it was way better looking than DOS. Probably most of them have switched by now, so they can relax the ugliness a bit.

    3. Re:DOS Window, still?!? by Anonymous Coward · · Score: 0
      "I hope this changes come Long^M^M^M^M Vista"
      If you really want to drag out that old backspace joke, you'll want to use a ^H; ^M will give you a carriage return.
  43. Interactive Ruby Shell by Beautyon · · Score: 3, Interesting

    It looks just like eval.rb the interactive ruby shell:

    http://www.rubyist.net/~slagell/ruby/strings.html

    --
    ATH0 Bitcoin: 1DnwFLXczVZV8kLJbMYoheUrpqHesjxrSi
  44. For those who want to download . . . by Anonymous Coward · · Score: 1, Informative

    . . . but don't want to create a Passport account, this username/password from BugMeNot worked for me:

    foobar@feebop.com
    msdn2005

  45. Re:Tk by m50d · · Score: 1

    Unfortunately we then regressed to Java. Also, maybe this means Tk will finally get a decent modern look-and-feel on Linux. I'm sure it looked great in the CDE days, but really, themes that will look like Qt and/or gtk are a must.

    --
    I am trolling
  46. hummm.... by Vo0k · · Score: 4, Insightful

    I'm on page 6 already and I must say I start liking msh more and more.
    It's completely un-microsoftish!
    - It's very easy to shoot yourself in the foot. Extremely easy - anything that is not a command is an expression that is evaluated, so a typo may pass unnoticed and without a warning.
    - It provides lots of sweet syntactic sugar making things easy and terse while not overly obscuring them.
    - It takes some of the best from lots of other languages. Shamelessly too. ($_, select, | etc)
    - It makes some evilly hack-friendly assumptions ("current instance" is the current directory)
    - It will likely suck as an interactive shell, but makes simple scripts to automate system tasks obscenely easy. Likely, no more repeating 1000 times "click add user, type username, type password twice, mark 'Password never expires', enter Groups, select 'staff', click 'add group', click OK, click OK".

    It really looks like the project was created by the programmers while the management was on vacations, then all the details hidden and managers just fed with marketspeech while programmers worked on a tool that would finally make THEIR OWN life easier, instead of just appealing to managers of customer companies and making programmers' life more painful.

    --
    Anagram("United States of America") == "Dine out, taste a Mac, fries"
    1. Re:hummm.... by leighklotz · · Score: 3, Insightful

      - It takes some of the best from lots of other languages.
      Syntactic sugar leads to cancer of the semicolon -- Al Perlis.

    2. Re:hummm.... by Anonymous Coward · · Score: 0

      It's completely un-microsoftish!

      No, it's exactly the opposite - it's perfectly Microsoftish. Yet again, they have sicked a legion of programmers on copying the work of someone else and adding the M$ flair to it. Go back and read the examples again, and think about how much it all looks like VB. Also think about how many of the ideas the author calls "innovative" have been around for decades.

      Now before I go too far, I agree that this looks like a good tool for Windows systems, and I am glad the Microsoft has at least realized that there are other tools that people prefer using, and that they are attempting to bring in some of the ideas from those tools. But, let's applaud them for the right thing here - not innovation, but rather waking up and puting together a tool that people actually want.

      On a side note, how do we pronounce MSH? Mush? Mash? Mish? Mosh? ???

    3. Re:hummm.... by Nasarius · · Score: 1
      - It will likely suck as an interactive shell, but makes simple scripts to automate system tasks obscenely easy. Likely, no more repeating 1000 times "click add user, type username, type password twice, mark 'Password never expires', enter Groups, select 'staff', click 'add group', click OK, click OK".

      Dear god, please tell me no one has ever actually done that.

      --
      LOAD "SIG",8,1
    4. Re:hummm.... by bergeron76 · · Score: 1

      Sorry, but I won't be convinced until I hear praises [at least on here] from users with a sub 450,000 Slashdot ID.

      I'm not knocking higher SDIDs, however, I think there is some street-cred with lower IDs. Perhaps I'm an elitist, or perhaps I'm just an old-timer whom has noticed a disproportionate number of pro-Microsoft-without-substantiation posts since MSFT 'acknowleged' FOSS/Linux. Circa 600,000 with regard to slashdot IDs.

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
    5. Re:hummm.... by Vo0k · · Score: 1

      Most of Windows "administrators" do.
      Been there, done that, 8 classes, about 25 pupils each, adding a single entry taking about 5 mins of mostly mindless clicking the same options again and again. I searched help for options on automation of this process. "Automatic mass-editing of user database is available in Enterprise Edition of the package. Small Business and educational versions don't support this feature."
      No, my loathing for Microsoft got only slightly deeper then.

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
  47. Not looking good.. by Anonymous Coward · · Score: 0
    From the article:
    The command signature of get-command is:

    get-command -Name [string] -Type [CommandTypes] -Verb [string] -Noun [string]

    In this case, because -Name is the first parameter, you can omit the parameter designation ("-Name") and provide only the value:

    msh> get-command get-command

    Because it's the first parameter you can omit its designation? Ugh! How ugly! Hacks like this make it look like a piece of crap right from the start.. Looks like they tried desperately to make it easier to use after creating a very verbose system then getting carpal tunnel syndrome from using it.
    1. Re:Not looking good.. by Vo0k · · Score: 1

      Come on, man, this IS ugly in the PERL-UGLY style. It's not "because it's the first parameter" but because you can omit the designations as long as you give the parameters in "predefined" order. Would you like to be forced to use echo --output-string "hello world" or ls --directory=. ?

      --
      Anagram("United States of America") == "Dine out, taste a Mac, fries"
  48. Wow, interesting! by ratta · · Score: 2, Interesting

    I was thinking that microsoft would never provide such a thing, but only the unusable DOS/cmd.exe prompt, to make windows users think that "operating systems based on the command line are very difficult to use" :) I'm now interested to see how it maps with gnu bash, if it tries to superseed it with features or will be vaguely compatible with it... Nice!

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
  49. IRB? by Diomedes01 · · Score: 1

    This really reminds of the interactive Ruby shell, "irb", especially with every statement being considered an expression, and having the result of the expression displayed after you type it.

    --
    "To hope's end I rode and to heart's breaking: Now for wrath, now for ruin and a red nightfall!"
  50. Waiting for the gpl'd clone by Anonymous Coward · · Score: 0, Flamebait

    Err, on second thought, Monad sounds better.

  51. Mouse skills by amightywind · · Score: 1

    Finally, MS has understood that a powerful shell language is necessary for a modern operating system.

    True. But as a long time Unix command line guy, I admire the way Windoze monkeys are able to mouse around their screens so quickly. I think they develop this skill so they can cram in as much work as possible in before their machine 'locks up'.

    --
    an ill wind that blows no good
  52. Ars and Windows by Anonymous Coward · · Score: 0

    What is the deal with ars and positive articles about microsoft products? I haven't tried MSH, but according to the author it is the best thing since sliced bread, which I doubt. Before this, it was hte HD-DVD debacle, which proved to be mostly FUD.

    The new writers over there really seems easily excited...

    1. Re:Ars and Windows by /ASCII · · Score: 2, Informative

      Nothing new. Go back and read a few older Ars articles, like the ones about the PS2, or the POWER architecture. Ars always produces very high quality writing, but they obviously write about things they think are really cool, hence they often give an over-positive spin on things.

      --
      Try out fish, the friendly interactive shell.
  53. BSOD by DreadN · · Score: 1

    ...there will be a curses "Blue Screen Of Death" in replacement of kernel oops!, and segfaults?

    --
    Statistic says: if you've got your head into a freezer and your butt into a oven you are at optimal temperature.
    1. Re:BSOD by TechnologyX · · Score: 0

      hahah man that's so FUCKING FUNNY.. oh wait, 1994 called and wanted it's joke back.. HAHA that was even FUNNIER

      --
      Slashdot sucks
  54. heh... by McNihil · · Score: 0

    Yup I guess it must... Interestingly it is object oriented way of doing things... it's like taking Tcl/TK and perl/python and incorporate it inside of the shell... is it just me or is this suite approach idiotic? I mean bundling everything inside of one offering is mostly not good idea AND when it comes to servers I want to have the option to have a minimal feature set to make 100% sure that security can be managed in a timely manner. One aspect of UNIX is the pipeline methodology that some in the parent thread said was so wrong... this is a classic example of a person grown up on MS software saying this, where they need everything to be in one program and whoe to the machine that doesn;t have that program installed. Obviously being at the mercy of Microsoft one has to learn a completely new program offering for each new release which makes computer know-how a flavour of the week knowledge. Yes I am saying that computer techs are expendible in Microsofts view. Why are techs then clammering so hard for their solutions? Because there will always be naive beginners that see the "ease" and instant gratification that Microsoft offers. Most of us have been there are some point in our lives. Personaly I was there with Quick C++ back in the day and I am in no hurry to repeat that relationship.

    As always my post will be modded zero and yet again prove that slashdot is in fact a commercial vehicle of Microsoft but with letting some of the anarchy through from the insiders that can have the official style (for the lack of a better word.) Paranoid? No I am just seing a pattern.

    1. Re:heh... by miffo.swe · · Score: 1

      "As always my post will be modded zero and yet again prove that slashdot is in fact a commercial vehicle of Microsoft but with letting some of the anarchy through from the insiders that can have the official style (for the lack of a better word.) Paranoid? No I am just seing a pattern."

      You can take comfort in that your not the only one having noticed that kind of pattern. From having been a holdout of mainly Linux and OSS fantasts it has in some ways been swamped by MSFT apologists. Its just like the swedish IDG site wich has been overtaken by MS VAR's and resellers faking grassroots.

      --
      HTTP/1.1 400
  55. Microsoft's article on Monad: by Futurepower(R) · · Score: 1
  56. shared source? by rnd() · · Score: 1

    If anyone at Microsoft is reading this, Monad would be a very good product to release under Shared Source.

    --

    Amazing magic tricks

  57. Re:Almost as good as by Anonymous Coward · · Score: 0

    Such a shitty comment and you posted it twice?

    Dumbass.

  58. New GNU Command Shell: gonad by Gottjager · · Score: 1

    Someone should write it. Just for the snickering (and occasional guffaw) it will generate.
    I've been thinking about making a fart, find and replace tool, for a while too.

    1. Re:New GNU Command Shell: gonad by Cnik70 · · Score: 1

      $> man gonad nuff said'

      --
      -Cnik
    2. Re:New GNU Command Shell: gonad by Gottjager · · Score: 1

      Ok, but what about:
      $> man fart

  59. Another shell? by MarchHare · · Score: 1

    Seems to me that most of what they brag about with Monad are things that have already been around for a while in other shells.

    As a side note, I program in perl for a living, and many years ago I found I would sometimes need to quickly test small perl constructs. So I wrote a "perl shell" that allows me to test them interactively. Here it is, see for yourself, I find it quite useful. If anyone's interested, I have a more sophisticated version with debug facilities, a command history etc.

    ---- save as "perli" in your ~/bin, then set mode to 755 ---
    #!/usr/bin/perl

    print "\nWelcome to perli, an Interactive PERL shell by MarchHare.\n\n";

    $0="-perlsh";
    $PROMPT="PERL> ";

    # not strict BY DESIGN.

    for (;;) {
        print $PROMPT;
        $_input = <STDIN>;
        if (!defined($_input)) {
            print "\nExiting.\n";
            exit 0;
        }
        eval $_input;
        print $@ if $@;
    }
    --- end ---

  60. There's a Gnome port! by HogynCymraeg · · Score: 0, Redundant

    It's called GONAD.

  61. I'm Excited! LOL by Mo+B.+Dick · · Score: 0

    "'Despite my initial skepticism, I am deeply impressed with MSH technology, and I am legitimately excited about the future of the Windows command line.'"

    There is something seriously wrong when you get excited over a command line!

  62. And who is the only one that can implement that? by cbreaker · · Score: 1, Insightful

    Microsoft. It's closed source, as far as I can tell. Nobody can add the features you want, you have to beg Microsoft.

    As much as MSH *might* be good for it's other strengths, there's the possibility that it might never have good tab completion, code coloring, and other such things.

    That's the REAL reason OSS/Linux/Etc has taken off. The empowerment of being able to change the system to suit your needs, instead of altering your needs to suit the system.

    And in the end, people like sh/bash/etc. It's extremely easy for even a beginner to do practical things and produce functional scripts. It almost seems like MSH originally stood for "Microsoft Scripting Host" and the marketing department decided that it would be better to call it a shell to compete with Linux.

    --
    - It's not the Macs I hate. It's Digg users. -
  63. cut? by SQLz · · Score: 1

    Who still uses cut? Just you I guess.

  64. 320Mb to get a command line? by dan+dan+the+dna+man · · Score: 1

    OK so I had hoped to look at this (I need to do some Windows based scripting), but after downloading the application I'm required to download and install .NET framwork 2.0 Beta 2.0 coming in at around 317Mb?

    Screw that.

    --
    I don't read your sig, why do you read mine?
    1. Re:320Mb to get a command line? by Anonymous Coward · · Score: 0

      Why don't you try downloading the 20MB framework, instead of the entire development environment.

      Or were you intentionally spreading misinformation?

      And it's MegaBytes, not Megabits.

    2. Re:320Mb to get a command line? by dan+dan+the+dna+man · · Score: 1

      *blushes* no it was an honest mistake. I have to work in all environments so I'm not as anti-MS as some folks around here. I did indeed end up being pointed to the SDK as opposed to the 22mb redistributable stuff - which tbh is a lot more palatable to me, and means I will give it a whirl later ;)

      --
      I don't read your sig, why do you read mine?
  65. I hope so. by Beefslaya · · Score: 0
    Obviously, Microsoft feels that they are losing a certain audience of admins that like to actually control an operating system under the hood, hiding certain features from end users and tailoring it to fit an organization (Like NT USED to be).

    I think a certain number of professionals have abandoned Microsoft products for Linux to have more control over what happens behind the seens, simply because the Unix/Linux shells are so robust and easy to use.

    Taking MS-DOS out of the picture really hurt Microsoft. The thing to do now is to make it conform in some senses to the standards that the Nix shells have set.

    If they miss this point totally, not many admins will want to go out at learn a new syntax just because MS decides to all of a sudden give us the control back.

  66. Prove me I am wrong by Anonymous Coward · · Score: 0

    Guys, this thing is going to kill Linux (and UNIX finally).

    Prove me I am wrong (I won't sleep at night).

  67. Tk-A new sun. by Anonymous Coward · · Score: 0

    "Microsoft is catching up with Unix quickly! Soon they will have achieved the level of technology we have had for 15 years."

    And the Linux GUI's are catching up quickly with technology that Apple and Microsoft had for 15 years. So what's your point?

  68. The old becomes new again by tillemetry · · Score: 1

    Have not read all the threads or frankly the link, but this reminds me of an old story I was able to google: http://www.softpanorama.org/Scripting/Shellorama/h umor.shtml

    Wish I had a better referece. This isn't quite how I remember the story, and I can't vouch for its accuracy, but I believe some variation of the story did happen. Think originally I read about it in InfoWeek or another rag.

  69. Blew me away by NVP_Radical_Dreamer · · Score: 1

    For once accidentally typing "ls" into the "windows command prompt didnt give me an error, nor did man or clear!!!! Finally a MS command shell that I can actually use

    --
    The best argument against democracy is a five-minute conversation with the average voter.

    - Winston Churchill
  70. You'll never see it by CoolSilver · · Score: 1

    If you haven't noticed, Microsoft pulled the shell after someone had an exploit for the beta.

    1. Re:You'll never see it by Anonymous Coward · · Score: 0

      It's in Beta form and you can download it right now.
      No, it won't be in Vista, but you can still download it for
      free when it will be in it's final form.

  71. Shareholders should demand a Unix base by Nice2Cats · · Score: 1
    If I were a Microsoft shareholder, this would really piss me off. Here we have a company that has 40 billion dollars sitting around, and what they do is invent the wheel all over again. Add to this poor stock peformance and measly dividends, and I'd really be wondering if Ballmer is looking out for my interests here or just trying to hide the fact that Microsoft doesn't have a coherent strategy to increase shareholder value. This is treading water.

    Apple did a very intelligent thing: Stop trying to make a whole operating system, and instead use a base of 30 years of industrial strength Unix. The problems with bash etc. are well known, there is no limit to the people who are already trained in using it, and you can still graft your pretty desktop on top. The security advantages alone would be worth it.

    And, more to the point, you could fire thousands of Microsoft employees who are just doing make-work like this "new feature" and use that money to do the company's real job: Make shareholders rich. Because in the end, what counts is this: MSFT vs. AAPL stock performace for one year. Or -- Christ -- even this: MSFT vs. RHAT stock performance for one year. Microsoft's in trouble, and this isn't helping.

  72. Microsoft advanced OO shell by Anonymous Coward · · Score: 0

    Oh, great. So Microsoft has designed an advanced, object oriented command shell. Impressive. So now, instead of writing:

    c:\>copy file1.txt d:\file2.txt

    i will write:

    MONAD: c:\>copy file1.txt d:\file2.txt
    MONAD: Command not found: copy
    MONAD: c:\>System.copy file1.txt d:\file2.txt
    MONAD: Command not found: System.copy
    MONAD: c:\>System.WindowsFileSystem.copy file1.txt d:\file2.txt
    MONAD: Incorrect syntax
    MONAD: c:\>System.WindowsFileSystem.copy(file1.txt,d:\fil e2.txt);
    MONAD: Unbound variable: file1
    MONAD: c:\>F*ck!
    MONAD: Command not found: F*ck!
    MONAD: c:\>System.WindowsFileSystem.copy("file1.txt","d:\ file2.txt");
    MONAD: Exception at System.WindowsFileSystem.copy: parameters differ in kind
    MONAD: c:\>WTF!
    MONAD: WTF entering interactive mode: shit! ^C^C^C^C^C
    MONAD: c:\>System.WindowsFileSystem.copy_fat32_to_ntfs("f ile1.txt","d:\file2.txt");
    MONAD: System.WindowsFileSystem.copy_fat32_to_ntfs obsolete. Don't use it. Nothing has been done.
    MONAD: c:\>exit, i'll copy the file using a magnet
    MONAD: Command not found: exit -- a hand slams onto the monitor --

    Great, indeed great.

  73. Huh? It's only 22 MB... by Otto · · Score: 2, Informative

    320 MB? Where in hell did you see that? The .NET Framework Version 2.0 Redistributable Package Beta 2 weighs in at 22 MB. Still hefty, I grant you, but certainly not 300+ megs.

    http://www.microsoft.com/downloads/details.aspx?fa milyid=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displa ylang=en

    Now, for a command line, I grant you, that's heavy. But a) It's still beta and b) It's the framework for all .NET 2.0 apps. The framework is this big collection of shared libraries used by all .NET apps whether they are C++, C#, yadda yadda yadda... You get the gist. No worse than getting Java, really. MSH is just implemented using .NET, basically. The 1.1 framework stuff is built into XP's Service Pack 1 and later, and I'm sure that the 2.0 framework will be built into Vista.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  74. Shell = + efficiency + security by Mantees+de+Tara · · Score: 1

    "Windows "Monad" Shell is a new interactive command-line and task-based scripting technology in Windows that enables administrators to more efficiently and securely automate and control system management tasks on both desktops and servers."

    Is Microsoft admitting that administrating a machine by shell is more efficient and secure than by UI?

    1. Re:Shell = + efficiency + security by Anonymous Coward · · Score: 0

      Are the admitting it's more efficient? Yes. Is it necessarily more secure? No. True security lies beneath the shell layer (either MSH or GUI) at the permissions level. NTFS permissions are extremely powerful, but until people start using them correctly they will remain useless at security. Anything that a shell can do can be done by the user running it, no more and no less.

  75. DOS oldies have known for years... by Spy+der+Mann · · Score: 1

    dir /s to find a lost file (ok i admit it, execution time is much slower than doing it via windows search), attrib to change file attributes, and remember gems like XCopy which allowed you to set the file attributes to signal an already-copied file? I used to do that to back up my directories into floppies.

    I'm really glad these guided tours exist, they can do a lot to boost productivity.

  76. nice idea, but by Jump · · Score: 1

    This looks like a C++ interpreter with several preset classes. For me this is not necesssarily the best way to allow easy computer usage. But it is probably great for writing quick and dirty GUI tools. It is certainly nice for programming, but a bit overkill for normal command line usage. Actually, I think they should just accept bash as defacto industry standard. Techies install cygwin tools anyway. And the GUI tools could be written in python.

  77. Its just the Lisp eval loop. by Anonymous Coward · · Score: 0

    normally done by a (print (eval list))

    The technique goes back to around 1960.

    The entire language looks like a mish-mash of LISP, perl, tk, and python.

    Nothing new.

  78. [Yawn] by MythosTraecer · · Score: 1

    While I think it's great MS is serious about providing a better CLI for their OS, Monad does not impress me. Any of the scripting languages on *nix can be turned into a shell if anyone wanted to. In fact, we already have a C SHell, and apparently there's a Perl SHell. Claiming "ours is better because it is not based on 30-year-old technology" is a silly argument MS trots out when they don't have a real reason for you to use the technology they just "invented."

    I'm also concerned about the security implications of allowing such a technology into the core of Windows. In MS's hands, MSH could easily become another Windows virus infection vector (and as I recall it has already had security issues).

    --

    --Mythos
    1. Re:[Yawn] by jofi · · Score: 0

      True, people will want to write a simple script that deletes all of the user's data, combine it with social engineering, and that is your so-called virus.

      --
      Blame the user, not the software.
  79. UNC Paths by TheDawgLives · · Score: 2, Informative

    It doesn't seem to be much better cmd.exe other than it actually supports UNC paths. That was one thing that always pissed me off about cmd and cygwin. How can you NOT support UNC paths in windows 98+?

    --
    -TheDawgLives suckitdown
    1. Re:UNC Paths by justasecond · · Score: 1

      Cygwin does support unc paths.

  80. What is bad with MS by Anonymous Coward · · Score: 0

    Just my opinion... First, what is not wrong. It's perfectly OK for them to imitate Unix command-line, and try to reuse any old ideas. That is the way of all science and technology - small steps forward plus use of old things that are good.

    Now, what I think is wrong is that in their effort to maitain monopoly, they keep making new software that is all-or-nothing, too monolithic. They try to change all at once, so this new flashy version of Windows has radically new approach to UI, application development, command line shell, and who knows what else. From my point of view that means that if I decided to learn Vista, it would be an all-or-nothing decision for me: forget about Linux, BSD descendants, bash, standard C library, older versions of Windows, COM, OLE, ActiveX, forget about old Office because new Office will be totally different... You see, for me the main point is that it doesn't matter whether new things are better than old, but that I have to invest so much effort in learning these new things, and still nobody guarantees that 3 years from now MS will not come up with yet another new version of everything that will force me to forget what I knew and learn things from scratch.

    I think that is why Linux is gaining on Windows - you learn a little and use a little. Then you learn a little more and use a little more. But whatever you learn, you can be confident will stay with you and pay off in the future. Linux may not be technically superior, but it is easier to learn and easier to use. Yes, I really mean that. If you think Windows is easy to use, just tell me how many Windows users are capable of digging into registry to fix things that a stray application has messed up. I for one am not. If I have an application that is started automatically at startup, how hard can it be to get rid of it? How many registry keys can hold this information? What is worse, if I knew how to do this in Win 4.0 and 2000, I still have to learn it in XP. How user-friendly is that?

    Other people may have their reasons for preferring Windows or Linux, but these are my reasons why I think I'll stay away for Windows - my life is too short to keep relearning things every 3 or 4 years.

  81. The problem is... by Spy+der+Mann · · Score: 0

    that Microsoft only reinvents it for marketing purposes. Why didn't they make a decent scriptable shell 10 years ago with Windows 95?

    I recall one of those books, 1001 DOS commandline utilities or the like. There was DOSKey, choice, getkey, etc. Why did I have to wait 15 freaking years so I could do a simple for loop in a bat file?

    No, I had to learn Pascal, or qbasic (eew) to make stupid for loops and read user input in an installation program or something.

    As a Joe User, I was never fond of the cryptic unix shells (bsh, ksh, etc) and I had to learn the differences between them, some programs required one or the other. But despite this, I was amazed the amount of complex processing you could do with a simple shell script.

    Big deal, Microsoft. You invent something really useful too late. If you had given this to us 10 years ago, we might have appreciated it, but no, you make this AFTER the GUI revolution.

    But I shouldn't complain. Better late than ever.

  82. More important by Kortec · · Score: 1

    I think more impressive than the Monad shell is the product scheduled for simultaneous release; I know I'm not alone in the Slashdot world in being pumped for Duke Nukem Forever.

    --
    "My heart is in the work." - Andrew Carnegie
  83. direct download by rednuhter · · Score: 3, Informative

    This download offers you the benefits of registering with Microsoft. Click the Continue button near the top of this page to register.
    no thanks, I would rather just download it.
    http://download.microsoft.com/download/7/4/6/746ec 8ff-c4eb-41f3-884e-981bf39997b7/monad_b2_50215_x86 .zip
    taken from
    http://www.leeholmes.com/blog/CommentView,guid,8b2 6fea1-723d-4bd6-93c1-19d681af9276.aspx
    (which also has the 64 bit version)

    --
    ERR 411[Max number of witty sigs reached]
  84. Idiots by Anonymous Coward · · Score: 0

    Everyone who has replied to this article (except me) is a fucken retard. Why even post an article saying anything good about Microsoft on Slashdot? It just becomes a flame(r)-fest. You Slashdot/Linux people are so blinded by your 'open source is the only way' stupidity that you can't possibly acknowledge anything that Microsoft actually does right.

  85. Script to convert Office to OpenDocuments? by sperm · · Score: 2, Interesting

    Great! Now, we can easily write a script to convert all Office (Word / Excel, etc) to the OpenDocument formats!!!

  86. How's it compare to Applescript? by shking · · Score: 1

    Just curious, but can anyone compare the new scripting language with Applescript? This OS X scripting language (along with some others) uses Apple's OSA api to speak directly to objects within applications... no pipes required.

    --
    -- "At Microsoft, quality is job 1.1" -- PC Magazine, Nov. 1994
  87. programmers will love it by Abstract_Me · · Score: 0

    Reading this article it looks like its actually quite powerful just not so much as an administrative tool. It looks like it would be best suited as a tool for debugging C# classes.

    just my two sense.

  88. Did you RTFA? by kylef · · Score: 1
    The fact that most of your settings are stored in the registry, makes things a lot harder to do from the command line.

    Um, you're completely wrong. Apparently you didn't read the article.

    Monad uses providers to make much of the system directly accessible from the command-line, including the registry. What this means is that MSH mounts the registry as a filesystem, allowing sysadmins to query for and set registry entries as .NET objects. I'd say that paradigm is much more powerful for script writers than trying to parse configuration text files, either from the command-line or from scripts.

  89. Pointless? by SalsaDoom · · Score: 0, Interesting

    Hi there,

    I don't see a reason to work on a OSS implementation of Monad -- which is a great name incidently, Liebniz is a good read. It was pretty sad to see scores of "lol, monad... gonad.. lolz, whats a book?" posts when it was first announced.

    Anyway, I digress.

    Monad exists to catch up with unix shells. We've already got them. Monad doesn't really offer us anything we don't already have. Monad has its own ways of doing things that are different from ours, but the end results are pretty much the same. Python's shell has the whole OO thing going for it anyway, if thats an appealing idea.

    If someone clones Monad to linux, then its because they are a very strange person. Since very strange people exist, it'll probably happen, but it'll never catch on with the rest of the linux community, except possibly in some of the crazy windows-a-like-linux distros.

    --SD

    --
    "Computers will never truly be free until the last windows user is strangled with the entrails of the last mac user."
  90. I want this on Linux! (I ought to write it!) by MS-06FZ · · Score: 1

    I like the fact that Linux stores all the settings in text files. This means that you can change the setting with any text editor of your choice. Also, there is a huge library of tools available at the command line. Not just stuff that was thought up by the people who made your command line (bash, csh, zsh), but also anybody else who made just about any other utility.

    I disagree. Stashing stuff in plaintext files is a cheap design decision, grossly inefficient. The only reason why plaintext is easy to work with is because it formats nicely on a text display. Anything else (including the primary users of the data - the programs) has to parse and re-serialize it. And then because the datatype of the file is not rigorously defined, most often no two programs in Unix will have the same syntax in their text config files.

    Pulling data out of a delimited text file starts out easy, but to get it complete and to get it right gets complicated. What about escape characters? What about when you start supporting line splits?

    What I believe is needed in the solution, and what it seems .NET and msh are providing, is a "common language". I've long hoped for such a thing in Unix (and it's a little discouraging that Microsoft got there first), and have tried to work out some kind of a design for such a thing, but being lazy (and busy) I never got anywhere with it. But look at what a "common language" for shell-level data representation can do. How do you find a value? How do you store it? How do you display it? In a shell like bash, and reading text files, you have to parse the file to find your data, filter the results somehow (either using an intermediate syntax, which must be parsed again from textual form to perform the filtering, or else by using an outside tool like Perl or Python to store the data in intermediate forms and perform filtering) - then to store it, in Bash you could write it out as text again or store it in a (textual) environment variable - either way requiring the data to be written out as text and then parsed in again, later.

    If the entire environment were one big playground for, say, Python, it'd be a whole different ballgame. When you get a data value from a program, object, or file attribute, it's in a form the shell can really understand. If you ask for a file size, you get a big int, which can be added to, divided, etc. If you ask for a list of filenames from a tool like "find", you get an array of some sort - not a delimited list which must be interpreted and chopped according to whitespace, null characters, etc., but a data value which itself describes the boundary between one value and the next. And as for storing values, serialization would be as simple as treating a filename as a bindable value. You want to store that 2000x2000 matrix of double-precision floating point numbers that you got from a circuit simulator to a file in your home directory? In such an environment it's something you could simply do. Obviously this is for a "generic form" of serialization, rather than for something "optimal" - but for a shell that actually supports some set of datatypes and a generic method for serializing them, it's still much more efficient than going to text.

    Making the shell into a complete, dynamic, modern programming language has other benefits, as the article shows. A shell like that could work well for GUI scripting - it has the same strengths for GUI-wrangling as languages like Python have - though it doesn't look like they've set up for that yet.

    That's much like what msh is, from the sound of it. The shell supports datatypes beyond "string". There are callable objects that operate using these datatypes. And there's probably enough OS-level support to tie right into every new feature in Windows.

    I am jealous. I am sick with anger that I didn't try my hardest to get there first. And I regret that I must grudgingly embrace msh as the best general-purpose CLI I've yet seen.

    --
    ---GEC
    I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
  91. more scripting capabilities? by Danzigism · · Score: 0

    I can only imagine what this will be like for the script kiddie bastards out there.. i mean, think of the shitty little programs that run in your current CMD.EXE that start cheesy little batch files and duplicate viruses x10000 all around your computer.. now, we have an extremely vunerable and exploitable operating system, with a command prompt that has endless scripting abilities.. this is going to be WONDERFUL for all of us tech guys out there that are just trying to help out their neighbors with spyware and virus problems..

    --
    *plays the Apogee theme song music*
  92. but pipes are useless for Windows programs by e40 · · Score: 1

    That communicate with the user via a GUI. Yeah, some programs have command line arguments that you can use to automate things, but not having a significant number of programs that operate on stdin and print to stdout is a severe limitation.

    1. Re:but pipes are useless for Windows programs by Anonymous Coward · · Score: 0

      Never mind that there are over 100 such programs distributed by Microsoft themselves with Windows and in resource kits for windows. Also never mind that ports of virtually every useful Linx command line utility also exist for windows and will certainly be upgraded to take advantage of the new MSH capabilities soon after it is released.

      Yes, just completely ignore reality, otherwise you'd have nothing to bitch about!

  93. And now cd works properly by dbond · · Score: 1

    t:> cd "c:\work" c:\work> Ahhh... bliss...

  94. Re:I want this on Linux! (I ought to write it!) by SilverspurG · · Score: 1
    Stashing stuff in plaintext files is a cheap design decision, grossly inefficient
    100% flaming opinion. I gather you feel the registry is so much better.
    What about escape characters? What about when you start supporting line splits?
    What about when people start burying crap in undocumented keys that nobody else can ever find? Most config files have a man page. I can't ever remember a Win app giving me, the user, a list of all the registry keys that it planned on adding or modifying.
    What I believe is needed in the solution, and what it seems .NET and msh are providing, is a "common language"
    Just like the registry was going to be a common access point for everything on the system.
    But look at what a "common language" for shell-level data representation can do
    And look how many people are going to jump to rewrite their software to support it. At least in BASH we already have a common language: it's called unformatted text. Oh, and look, we have the tools readily available to manipulate that text in any way we want.
    In a shell like bash, and reading text files, you have to parse the file to find your data, filter the results somehow
    Yeah... because foo=`grep | cut` is so hard. God I hope someone writes an object oriented library to help me with that because this functional programming is just too much for my brain to handle.
    You want to store that 2000x2000 matrix of double-precision floating point numbers that you got from a circuit simulator to a file in your home directory?
    Choose the best tool for the task. If they're working with a 2000x2000 matrix of floats from a circuit simulator the best tool is NOT a shell environment. Hopefully the circuit simulator has the capability to save the data to a file. If it doesn't then it's the wrong circuit simulator to be using. Every molecular modeling program that I've ever used, for example, has the ability to output the data file to disk... most even have several formats to choose from. What sort of contrived situation are you trying to invent to justify an object oriented shell?
    Making the shell into a complete, dynamic, modern programming language has other benefits, as the article shows
    The article demonstrates some obscure examples of academic manipulations. Anyone who actually needs to do a complex task will probably turn back to one of the aforementioned modern programming languages to get it done. Aside from that, BASH already is fully functional. It's not as elegant and effective as C and BASH programming relies on a few other binaries being available. Sed, grep, and textutils aren't really too much to ask.

    You're pretty good at marketing but we've heard all of this stuff before. It's always the newer better way to do things, much better than the old way, and it always breaks down within 3 months of implementation. $20 says it flops unless MS begins tying critical system capability to it.

    What's a common Windows admin task that you can honestly see yourself using MSH for? Windows has made it ten years without a competent shell. I find it hard to believe that adding MSH is anything more than keeping up: Not because it's needed but because the competition has it. Yes. One of the reasons I left Windows is because it didn't have a competent shell. Even if it did have a competent shell, though, it still wouldn't have allowed me to do the things which I wanted to do--take control of my system. In that respect Windows was then and will always be like the initial MacOSs. If they don't put it in a control panel its because they don't want you to see it.
    --
    fast as fast can be. you'll never catch me.
  95. Have you tried IPython? by tartarugo · · Score: 2, Informative
    Take a look at http://ipython.scipy.org. You can actually use it as a shell replacement. Quoth the homepage:

    IPython is a free software project (released under the BSD license) which tries to:
    1. Provide an interactive shell superior to Python's default. IPython has many features for object introspection, system shell access, and its own special command system for adding functionality when working interactively. It tries to be a very efficient environment both for Python code development and for exploration of problems using Python objects (in situations like data analysis).
    2. Serve as an embeddable, ready to use interpreter for your own programs. IPython can be started with a single call from inside another program, providing access to the current namespace. This can be very useful both for debugging purposes and for situations where a blend of batch-processing and interactive exploration are needed.
    3. Offer a flexible framework which can be used as the base environment for other systems with Python as the underlying language. Specifically scientific environments like Mathematica, IDL and Mathcad inspired its design, but similar ideas can be useful in many fields.
    1. Re:Have you tried IPython? by zootm · · Score: 1

      Looks good! I'll certainly give it a go, I've not used it before though. I was warned by someone that they'd seen a Python shell replacement, but firstly that was ages ago, and secondly it may not have even been the same project. That looks a little like it might be intended as a Python debugger as well as a shell though, which makes me quite apprehensive, but I'll give it a shot. Thanks for mentioning.

  96. Better never than late. by Anonymous Coward · · Score: 0

    Too late for what? What exactly is Microsoft too late for? And if you're going to say OSS, then you all are implying that Microsoft coming out with a good shell at an appropriete time would have made a difference. That doesn't jib with all the rhetoric the OSS side has been putting out. Oh right, other OS's have had a good shell. So tell us what those good shells have done for the proprietary OS's they've been found on? Hmmm...looks like a good and timely shell isn't everything it's cracked up to be, if OSS is going to win in the end.

  97. In other news by dilvish_the_damned · · Score: 1

    RMS has announced the Gnu counterpart project: Gonad.

    (its cheap I know, so punish me)

    --
    I think you underestimate just how much I just dont care.
    1. Re:In other news by atomic-penguin · · Score: 1

      Gonad was the first thing that came to my mind as well.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
  98. Why I like it by unfortunateson · · Score: 1

    XML piping and simple DOM access to that pipe are very nice. I'm not a Python programmer, so perhaps I'm missing an obvious precedent here, but it's certainly new to me for a command-line mode.

    Providers are a nice concept, and I can see these being expanded into slick debuggers: Access a provider of an active IE window and traverse the DOM to figure out just why that AJAX code won't run? Sure, it could happen.

    Another nice provider for me would be for MS Word -- batch modification of Word files would be slick, and I could use it today.

    Not providing a full provider for WMI is an obvious shortcoming. Providers for the registry are indeed nice, seeing as so much control is based there, versus old DOS environment variables.

    Not permitting double-click of MSH files seems silly -- I need to occasionally ship a utility to fix a batch of things out to a coworker, and having to tell them to open a shell is just going to confuse them. The idea of embedding it into a BAT file just gives me shivers.

    --
    Design for Use, not Construction!
  99. 13 page review - single page review by dumky · · Score: 1
    For those using Firefox, you can use a Greasemonkey userscript to turn this 13 page review into a single page review.

    Get more info about the ArsTechnica - Single Page View userscript.

    When you load the first page of an article, you can start reading it while the other pages are loaded in the background and appended to the first page's content.

  100. Damn It! by Anonymous Coward · · Score: 0

    From now on, those clueless human resources people will begin looking for 5 years of MSH experience...

  101. copy bash + copy perl = MSH by Bluesuperman · · Score: 1

    It is nice to see that Microsoft is not trying to create anything new, they are now just going to copy everything that Linux has to offer, in order to try and survive. I like how MSH is not confusing with the mixture of bash like, perl like and special magical windows like syntax. Michael

    --
    Linux: For those able to think out side of a window
  102. How good is the documentation? by jandrese · · Score: 1

    Reading through the Ars article, I see that the shell is extremely powerful, but most of the functionality is wrapped up as methods for objects. This allows for a lot of flexibility, but it will be difficult to program in unless the documentation is well laid out and easily accessable.

    If you're cracking a 500 page book every time you want to split lines or run a regular expression, this will never take off. If there is a good fast (Ars had something that looked fast, but if there is no expanded help on a command beyond "returns int32", it's somewhat useless) documentation system it could be the wave of the future. Here's to hoping.

    Even if nobody uses it, it's still better than command.com.

    --

    I read the internet for the articles.
  103. Well done! by claes · · Score: 1

    I think Microsoft has succeeded well in their attempt to provide this shell. I found these comparisons interesting:

    In monad:
    msh> get-childitem | sort-object extension | select extension | where { $_.extension.length -eq 4 }

    In ruby:
    Dir["*"].map {|x| File.extname(x) }.sort.find_all {|x| x.length == 4 }

    At least for me the former is easier to understand.

  104. I'm in lust by Craig+Ringer · · Score: 1

    I've been wondering about the possibility of something like this for some time. While I'm sure it has its fair share of downsides, it looks pretty darn good right now.

    The *nix shell is wonderfully powerful, but can be highly inconsistent, is badly integrated ( sed, sh, awk, various network query tools, etc ), and falls down when manipulating more complex data. "scripting languages" are often clumsy at "shell" jobs, by contrast, and combining the two is often not very fun. I'd go insane without bash and Python, but I'm very near to going insane *with* bash as well ;-) .

    It's ten times worse on win32, where all the win32 admin automation options are crapware (cmd.exe), overly complex and clunky (WSH, VBScript), or difficult to integrate well into the OS (Python + pywin32, cygwin). IronPython looked really promising, and this looks more so, though I couldn't agree more with the criticisms leveled by the article author in the closing comments.

    Seeing something like this that addresses those issues looks really exciting. The extended VFS namespace in the shell is particularly striking, especially when combined with one of MS's real strengths - network integration and AD. Too bad it'll be win32 only, because it looks like MS have finally "got it". They've gone for "everything is an object" not "everything is a file," (and similarly for object-streams not text-streams) but that's more appropriate for modern systems IMO.

    Personally, I suspect that if this works out it'll massively increase the viability of win32 servers, and should really help bring down their admin time requirements. If MS are smart enough to ship a well integrated ssh daemon in the OS with msh hooked up to it, if they let you hook msh to a serial console, and if they let you boot into single-user msh-only mode, I might be seriously tempted by a win32 server for a few of our applications. The extent to which the miserable state of admin automation on win32 has kept me away from the platform is remarkable.

    Good on MS.

  105. It Is Neat... by Omicron · · Score: 1

    Being that the place I work for is an all MS shop, I am looking forward to this new shell. We do our work via cmdline...most of us learned our first computers using cmdlines, and we stick to them today - it's quicker and easier than using a GUI. The way that MS integrated this new command line into every facet of the OS is very interesting and very, very powerful. It will definitely open up a lot of interesting possibilities.

  106. well, by Anonymous Coward · · Score: 0

    Trust, once misspent, is hard to regain.

  107. Re:"Monad" eh? by Anonymous Coward · · Score: 0

    Modded overrated? Someone must really hate Haskell.

  108. More general, less obvious by VirtualSquid · · Score: 1

    I installed and the beta and tried it. First thing i tried to do was "dir", which showed me just a few of the files in the current directory, one per line. OK, i thought, that's a poor choice of default behavior, but surely there are command-line arguments to show hidden files and display more than one item per line, like "dir /w" or "ls -a".

    So, i typed "help dir". Nothing in the help implied either option exists for MSH's "get-childitem" command!

    It appears that MSH has taken a big step toward making every command general-purpose, but in doing so, they've made it really painful or non-obvious to do common things. Do i really have to write my own batch script to get the equivalent of "ls" default behavior?!

  109. It just moves the problem elsewhere. by skids · · Score: 1

    Instead of incompatible field/record separators and order, and the text processing needed to adjust them, you end up with incompatible field names and structure, and the regexp/globbing/renesting needed to adjust them.

    Been that way with every attempt to throw objects at the interworking problem to date. I don't expect msh/.net to be any different.

  110. Yes, but... by FaramirTook · · Score: 0

    Does it run Linux?

  111. Irssi by lynzh · · Score: 1

    The question I still haven't found the answer to, is; Can irssi now be ported to winloss, and function with the msh shell?

  112. And the long march continues to ubiquity by Anonymous Coward · · Score: 1, Interesting
    >>Imagine banner ads, not in your browser, but legally (via click through EULAs) on your desktop. There's nothing you'll be able to do about it.

    And here I thought I was all alone, a single voice crying out "beware!" to millions of deaf ears...

    Seriously, this is one of Microsoft's big targets at the moment - to be the man in the middle. The goal of Microsoft is not dominance by monopoly; rather, it's one of many stops on the way to being the middle-man for everyone; dominance by ubiquity. They want to be at the center of it all; the monopoly is just a means to an end for them. I've often wondered how much longer it would be before Microsoft started to push "their" ads and sites (which in turn generate side revenue) but then I realized that crap like MSN already does this. Slate is MSN with a premium attached; kinda like subscribing to cable TV so that you can get local channels that you could have gotten for low-cost or no-cost. Hasn't anyone noticed that Windows XP calls Internet Explorer "The Internet", instead of what it really is (and yes, I think it should be renamed "Large Steaming Pile of Dog Crap")? Again, we see MS trying to assert themselves "in the middle". Programming for Windows means "being in the middle" and "making decisions for everyone else". More of the same thinking.

    >> Registry + ActiveX + functional shell (finally) + .NET = cataclysmic user-base catastrophe waiting to happen

    >> Windows admins are screwed. Get out of IT now if you're still sane, get out even if you're long past sane. Life will become hell very soon.

    As if it already isn't?

    As if we don't already have daily fights for security against legions of web-browsing idiot users who think "The Internet" is the same as the Big E on their screen? As if the constant onslaught of "critical" patches weren't enough? Don't we 'Windows Admins' just love the ever-mutating strains of Virii that keep coming through?

    Programmers don't have it too well either. What about the constantly changing API - the moving target that's known as Win32? It's great you just finished your in-house program this week to use technology "Y", but with new Microsoft "Z" tech, your program is almost obsolete overnight, and shortly thereafter, APIs for "Y" will be "legacy" status and abandoned. That means a rewrite for "Z"; and when you finish "Z", MS will point out how it doesn't work well either, so they come up with "A" and the whole fucking process starts over again.

    I can see where Monad would address the issues that WinNT has had all along (i.e. how do I import 1,000 users from a text file and turn them into user accounts) but I can also see where it is just another vector for abuse. Monad continues to embody the same "we must be in the middle" thinking that Microsoft has had for a long, long time. The problem is that security is so poor that attacks are going for where Microsoft wants to be - in the middle, where you can control everything. Until there is a fundimental change in the group-think on the Redmond campus, and Microsoft as a corporation starts to really care about their customers, we will continue to have steaming loads of crap foisted upon unsuspecting IT staffers everywhere.

  113. Easy there, tiger by hachete · · Score: 1

    I had visions of Cheyenne Mountain AFS for a second. Doubtless MS is in there *somewhere* but I'd rather not think about it...

    --
    Patriotism is a virtue of the vicious
  114. No ability to "add classes"? by Anonymous Coward · · Score: 0
    One of the drawbacks mentioned by the author was:

    there is no way to define new classes

    Isn't that just writing your own .NET class and importing the DLL, as he discussed with Windows Forms on page 6? Am I missing something?

  115. Not a shell by wayne606 · · Score: 1

    This is definitely not a shell - it's Yet Another Scripting Language, maybe tied more tightly to .NET than most, but not a reasonable replacement for bash or even Command Prompt ...

  116. shell in windows? by smindinvern · · Score: 1

    maybe I'm missing something... but what's the _one_ thing that you never use in windows.... the CLI. maybe there's some deeper implication here... but I just can't get excited over something that nobody's ever going to use M$ CRAP

    --
    ignorance will killus all --eric
  117. But that is not the language by SuperKendall · · Score: 1

    msh> [int]"5" + 5

    That says nothing of weither nor not C# the language is dying - since it is not C# syntax.

    It deos say the .NET framework is being expanded. But whoe knows what languages they will pusg on top of it...

    To me the relationship from MSH to C# looks a little like the relationship of Groovy to Java.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  118. Security risks by SuperKendall · · Score: 1

    Interesting, what kind of chaos could you cause in such a system by introducing a command line program into the path called "Processing, please wait...".

    It seems like if something is to be printed once you need a way to gaurantee it will be displayed forever, not executing something arbitrary.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  119. "modular" windows by WebCowboy · · Score: 1

    Isn't this part of the blurb for Vista right now?

    No. There has not been any indication that Vista will be sold in a "modular" fashion and allow the OS to run without a GUI (except in a limited way as is done presently with the Recovery Console). However, the next major release of Windows Server (based on the same Longhorn branch of code as Vista but planned for release quite some time after Vista is to debut) could be that modular MS operating system. Given that Vista is to be released in so many variants it has probably been modularised quite a bit already, so perhaps such a feat as GUI-less Vista could be achieved by hackers. Don't count on support or documentation from Microsoft.

    I haven't read the newest documentation, so I could be wrong

    Since I am not a Microsoft employee and I assume that is the case for you as well, we are both in the same boat until Vista is actualy shipping. Although the feature list of Vista is more established and it is well into Beta, anything could change right up until the hour it is released to manufacturing. And given Monad is in truth even further out, its capabilities are even more in flux.

    1. Re:"modular" windows by nystire · · Score: 0

      Thanks :) I'll try to cut down on my caffine before posting in future.

    2. Re:"modular" windows by nystire · · Score: 0

      Just checked. The "headless" option has been on the cards since XP, or as it was then called 'Whistler', but it somehow failed to materialise...

  120. Actually, by dscho · · Score: 1

    a monat is 30 or 31 days, once in a year only 28 or (almost every 4 years) 29 days.

  121. At least!!! by LuckyStarr · · Score: 1

    From TFA (pg11):

    msh> remove-item *[1-3] -confirm

    Confirm
    Are you sure you want to perform this action?
    Performing operation "Remove File" on Target "C:\segphault\Desktop\testdir\file1".
    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
    (default is "Y"):


    Man. This IS the best thing since sliced bread (on Windows). In contrast: Explorer has a more binary behaviour. Do it... or not.

    --
    Meme of the day: I browse "Disable Sigs: Checked". So should you.
  122. Too late by einhverfr · · Score: 1

    /bin/bsh is the bourne shell on many systems
    gsh is the genome shell and a command line environment for genome analysis.

    There is also a terminal emulator called gsh (stands for "graphical shell")

    So too bad.

    They are stuck with msh

    Even mash is taken....

    --

    LedgerSMB: Open source Accounting/ERP
  123. Re:And who is the only one that can implement that by Nasarius · · Score: 1
    And in the end, people like sh/bash/etc. It's extremely easy for even a beginner to do practical things and produce functional scripts.

    I disagree on this. I like bash as a shell, but for scripting it has some of the most obtuse, verbose syntax I've seen. You're better off with Perl or Tcl if you want something simple and lightweight.

    --
    LOAD "SIG",8,1
  124. Re:And who is the only one that can implement that by SilverspurG · · Score: 1

    A familiarity with BASIC or PASCAL lends itself quite well to BASH. You can look up the Advanced Bash Scripting guide on tldp.org, or you can check out my own Linux installer written in 15k of BASH shellcode.

    --
    fast as fast can be. you'll never catch me.
  125. the same way people always deal with it by idlake · · Score: 1

    Now I understand you don't trust them, but how will you respond if you can't say their product sucks?

    That sort of situation isn't new: there have been plenty of companies that have come out with good technology that was proprietary and unavailable in open source form or from other vendors. How do people deal with it? By making cost/benefit/risk analyses. Is the licensing cost worth it? Is the risk of being tied to a single vendor worth it? Frequently, the technologically best solution isn't the best solution from a business point of view.

    Let's say it's the Longhorn Server, WinFS, Monad, and everything MS has been touting works.

    Keep in mind that every major technology Microsoft is planning for Longhorn (WinFS, Avalon, Monad, etc.) is already available on Linux, often in multiple implementations, so even if Longhorn was released tomorrow, Microsoft would still be years behind.

  126. You've got to be kidding me. by Anonymous Coward · · Score: 0
    honestly it isn't a sys admins job to understand programming or programming paradigms
    Kid, when you've mastered applications programming you can try out for systems programmer. If you ever master that, you can dream about becoming a sys admin.
  127. MS *finally* discover the command line by Javaman59 · · Score: 0
    albeit 30 years late.

    Meanwhile, how's the Linux desktop coming on?

    --
    I'm a software visionary. I don't code.
  128. reinvention... sounds like the same ol same ol... by 3seas · · Score: 1

    If there is anything notable about this it's classic MS methodology of product creation.

    Take what others have done, change some thing just enough to market speak "it's new and aren't we innovative" and then sell it to....

    those who don't know better..... which seems to be in endless supply...

    Let's face it, if there is anything that says Linux and the likes are becomming a serious competitor to MS, its what extream changes MS seems to be making so to parrallel Open Source Software.

    Apparently even they see the direction of the market and they certainly want to detour it towards them.

    We all know what deceptive tactics MS applies.

    See FOSS really is good for the market.... Real competition works.

    And its ony real because MS couldn't find dishonest tactics to work against FOSS. And they Did try, and Try and Try...

    But it doesn't mean they won't stop trying to apply dishonest tactics.

    The Common Language Infrastructure (CLI) is nothing more than the collecting up what others have done in the way of programming concepts and datatypes and presenting it in a single package in a non conflicting manner. The CIL (Common intermediate Language) is only translating these higher level abstraction into a lower common denominator which is then runs on an engine.

    Even the concepts of these different levels/layers is of the works of others.

    Its like taking advanced math and translating it down to processes of addition before doing the calculation.

    eventually all programs get translated down to binary.... machine language, the machines language..... its all nothing but translation.

    How many ways can you translate something?

    That's not what matters here. What matters here is how well what ever way you come up with or decide upon, how you market it.

    MS is a Marketing Software Company first and formost, followed by its legal staff to insure where ever it breaks the law it will have gained more then any judgement against them. And third place still is NOT its department of innovation but its department of buying out, shutting out and otherwise reinventing what others have done and claiming its their mastery of innovation, in their marketing spill.

    This is not Bashing MS.... Its verified fact.

    Support Criminals, buy MS....

    I've read the article and many of the comments here both in support of and against this shell.

    The stupid part about it all is that it really just comes down to being another langauge. As such many of the arguement against are obviously biased towards their individual mindset of what they are use to. And those in support are typically not so set in their ways regarding scripting.

    But the world is not going to stop all the other languages they speak and start suddenly using MS speak.

    Ultimately programming languages are just higher level abstractions that get translated down to flipping binary bits.
    Translation that can be done in many different ways.

    MS has long promoted user stupidity in regards to the shell.... That alone will retard acceptance and use of this.
    And the competition of FOSS will keep on keeping on. Without competition or developers outside of MS, MS would have neither the motive nor source of ideas... to advance at all.

  129. "We do the MASH! by leonbrooks · · Score: 1

    We do the monster MASH!
    It's a graveyard smash...
    we do the MASH!"

    Personally, I'm waiting for someone to strings it and discocver that it's really BASH.NET

    --
    Got time? Spend some of it coding or testing
  130. unix admins by sad_ · · Score: 1

    i don't believe this shell will pull unix admins over the line and want them to use windows. it will be a great addition for NT admins, at least for the ones that are in need for one (as most nt admins i know don't know how to script their way out of a one-way-street). for us, old unix chaps, this MSH is nothing but a shell to windows which add nothing to our interest. i mean, it is still completely different from anything unix, and it will never be like it.
    it's not because they slam some shell onto windows unix admins will suddenly like this complete mess known as windows.

    --
    On a long enough timeline, the survival rate for everyone drops to zero.
  131. Deffinatly needs some work by tmortn · · Score: 2, Interesting

    Just in futzing with it for a bit I have some major beefs here. Yeah I know its just beta and that some if not all of this stuff is in flux but this is what I noticed.

    1) They still have the problem of cuting and pasting GUI environment info to the cmd shell window.

    2) They are still limited to crappy display levels for the cmd shell window

    3) If your building a verbose object oriented language you need a better refferencing system. Insane long wordy names are in theroy good and makes learning easier. But for repetative stuff it gets old typing them. Sure you can denote aliases... but why not always denote one by default? Just establish a best practices for creating a unique shorthand of the longer name.... and build it into the script to check with help to make sure its not walking on anything else. I garountee anyone that uses this thing for any length of time is going to create a shorthand for it... if there is one by default it will make it easier for people to talk it without first establishing what they all call their aliases for which function.

    4) More works but is not listed under help. It has a flaw in that when you advance a single line it continually types the instructions just under the new line without deleting the old line... ie if you advance by line you then have alternating document info and instruction lines rather than the document txt incremeting above the instruction line ie...

    (q)for quite (cr) for next line (space) for next page
    Line of text from the file
    (q)for quite (cr) for next line (space) for next page
    Line of text from the file
    (q)for quite (cr) for next line (space) for next page
    Line of text from the file

    Extremely annoying.

    Some other thoughts.

    Why are they trying to limit themselves to creaky old txt displaying methodologies ? Yes a command line consists of text information primarily but the reason it evolved in such a constricted interface was that there was no other option at first. Just because it is a command line does not mean it could not also be a gui. Give it the power of both. For instance lets say I open my computer. I get the standard drive icons etc and at the bottom I get a prompt. If I double click C or type cd c:\ at the prompt the same results happen on screen. Lets say I drag a file down to the command line.. now a token appears there for dealing with that file. I have a graphical rpresentation as well as text information and I can interact both with a mouse and with cmd line input.

    Additionally they spent a crap load of time developing a pretty slick interface in the Studio .NET IDE... why not adapt that for a cmd line interface ? ie pull down lists of functions with a properties windows and the ability to explore the help information and view examples ? All in a tabbed interface. Sweetness.

    The marriage of the command line and the GUI is the next generation. It does not have to be EITHER OR. Both have strengths and both have weaknesses. Instead of being stuck with one or the other create a system that allows you freedom to use both sets of strengths to offset the others weaknesses.

    --
    I don't ask you to be me. I only ask you not expect me to be you.
  132. Re:And who is the only one that can implement that by cbreaker · · Score: 1

    I think that might be why I find it so easy to work with shell scripts. I'm not a programmer. Some day I'd love to write C or something, but I'm a sys admin and I enjoy it. Bash scripts have always been easy to follow, easy to change and create, and perhaps the verbose nature of it makes it so. I also like the fact that you don't need to learn a whole language just to use it to navigate and manage your file system.

    I think many programmers lose sight of these things when they've advanced to more complex systems. "Yo, you should be using Perl for everything. It's better. I wrote a one line perl script that can dry clean my underwear. It rules." Sometimes I just want to copy a file without regular expressions =)

    --
    - It's not the Macs I hate. It's Digg users. -
  133. Its actually quite impressive by Venim · · Score: 1

    I'm very surprised with how well MSH actually is. The amount of neat things you can do with it is very neat :). a good video to see some of this in action can be found here: http://download.microsoft.com/download/e/8/2/e82a4 a8d-b2a0-4ae9-9160-a8e285d1b395/jeffrey_snover_200 4_demonstration_of_monad.wmv just need to get it to work in rxvt now...