Slashdot Mirror


Kernel Configuration As An Adventure

brent_linux writes: "ESR has developed a new kernel configuration system called CML2. Recently (as in yesterday) he posted to the kernel mailing list that he had added a new configuration for Expert Users. This new interface follows the interface developed from the old infocom text based adventure games. Commands such as 'look,' 'nearby,' and 'go' are used to navigate and options are items that you 'take' or 'put.' Check out the mailing list for his messages or download CML2 for yourself and check it out."

17 of 171 comments (clear)

  1. it offers the `quirks' of adventure games, too! by sagei · · Score: 5

    > take SCSI
    It won't budge.
    > take SCSI
    Seriously, it is not going to move an inch.
    > take SCSI
    You try, but it won't move.
    > take SCSI
    It moves a little!
    > take SCSI
    SCSI: taken.

    -- Robert

    --

    Robert Love

    1. Re:it offers the `quirks' of adventure games, too! by Alpha+State · · Score: 5

      > take udf
      A Jack Valenti steals your /dev/dvd!
      > use decss
      The Jack Velenti is stunned.
      You are attacked by a large band of corporate lawyers!
      > take udf
      udf: taken
      A corporate lawyer hits you for 5 years!
      A corporate lawyer hits you for 6 years!
      A corporate lawyer hits you for 3 years!
      A corporate lawyer hits you for 7 years!
      A corporate lawyer hits you for 5 years!
      A corporate lawyer hits you for 5 years!
      You are eaten by a corporate lawyer!
      Game Over

    2. Re:it offers the `quirks' of adventure games, too! by OmegaDan · · Score: 4

      Will the walkthrough be avaliable at happy puppy ?

  2. It was the next natural step... by andkaha · · Score: 4

    It was the next natural step after the Kill -9 With a Doom Shotgun article from some time ago, I guess...

    The next step will be have to be a lemmings-based office application, or maybe a combat flight simulator-based intrusion detection system.

    --
    It's 11pm, do you know what your deamons are up to?
  3. New compiler by aredubya74 · · Score: 4
    # make bzImage

    You are in a series of twisty, turning tunnels, all alike

    Damn, they really DID update GCC.

    --

    RW

  4. some comments on the new adventure by sagei · · Score: 4

    almost sadly, this is a real config option. its 'make adventure' in cml2 1.6.0. it is kind of neat to play with, actually.

    esr has some ideas planned for future versions, see your cml2-1.6.2/TODO.

    when esr first posted to the kernel list the announcement for this new feature, I posted a reply to him on lkml along the lines of "_WAY_ too much time on your hands, dont you have some linux advocacy to be doing? :)" ... he replied he wrote this on a plane flight.

    for those of you ready to take the jump to cml2, it is available at http://tuxedo.org/~esr/cml2/. You will need python2 (RedHat PowerTools has an RPM, Debian has a DEB in stable) to use it. you will also need tkinter2 if you want to use `make xconfig'. installation is simple.

    i was one of the people initially against cml2 on lkml (i didnt want to install python2, i didnt think cml1 was broken -- and hence we were created problems) but now i am pretty impressed by cml2. its still not a must, imo, but i like it. it should be integrated in 2.5.2.

    give it a try.

    -- Robert

    --

    Robert Love

    1. Re:some comments on the new adventure by BitwizeGHC · · Score: 4

      Only thing that truly bothers me is the Python requirement. If CML2 is somehow earmarked as the successor to the current kernel config, then that would be a problem as Python would be required in order to compile a damn kernel. I'm sorry, but I think that kernels should be kept relatively free of dependency cruft, i.e., you should only need sh, the compiler and related support tools in order to be able to build yourself a shiny new kernel. Maybe a Python-to-C translator is in order here?

      --
      N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
    2. Re:some comments on the new adventure by Spy+Hunter · · Score: 4
      Maybe a Python-to-C translator is in order here?

      ESR says in his info page that such a thing already exists and is one of the reasons he chose Python in the first place. He mentions that a kernel source tarball could be distributed with a compiled version of the CML2 interpreter.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    3. Re:some comments on the new adventure by sconeu · · Score: 4
      Maybe a Python-to-C translator is in order here?

      while (customer_asks_for_cheese)
      {
      lie_about_cheese_presence( );
      }

      Oh! Wrong kind of Python-to-C translator!!!! Sorry.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  5. Zork Kernel by shogun · · Score: 5

    You have entered a maze of twisty little source trees all alike.
    There is a device driver code fragment here.
    > take code
    code taken
    > compile code
    the code is buggy it will not compile
    > debug code
    You try and debug the code but fall asleep.
    > drink jolt
    jolt drunk.
    > debug code
    You spend the next several hours debugging the code.
    The Lantern grows dim.
    The Lantern goes out.
    The code is debugged.
    It is dark.
    > N
    You are eaten by a gnu, you are dead.

  6. Re:Made for the Web, too. by dimator · · Score: 5

    The implications of this? It's one more step to making Linux a Mom and Pop OS.

    You couldn't be more right. Why, just the other day, after my mom asked me how to open up AOL, and how to save a Word document, she asked: "I think there's a new nVidia driver out, is there an easy way to recompile my kernel, say, in a web-based manner?"


    ---

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  7. OT: This reminds me by cybermage · · Score: 5

    This reminds me of one of the funniest Usenet .sigs I ever saw:

    "DOS is, quite possibly, the worst text-adventure game ever"

    Atleast text-adventure game errors made sense ;)

  8. Wrong answer by Animats · · Score: 4
    You should never have to tell the computer something it already knows.

    That was one of the original Macintosh interface guidelines. And it's still a very good rule. Think hard about that the next time you design something that needs "configuration".

    1. Re:Wrong answer by chromatic · · Score: 4

      What if you're compiling a kernel for a completely different computer? What if you want to experiment with a new option, or turn a feature into a module?

      I'm not a fan of creeping featurism, but there's clearly room for kernel configuration. (And hey, it looks like ESR got the design of CML2 right. I'll give him credit for that.)

      --

  9. KDE has a new Kernel Configurator too by Geek+Boy · · Score: 4


    KDE 2.2 will be shipping with a new kernel configurator too. It's build into the KDE Control Centre and is a very simple, fast and easy way to configure your kernel. It uses the kernel's existing configuration files/system but has it's own parser and intuitive gui. Check it out!!

  10. Oh no, he released make infocom... by Elvii · · Score: 4

    Erm, I was in the group that was talking to ESR at a Denny's in Lathrop, when make infocom (our original idea, before we realized infocom might not like it) was born, at least in the idea. Look out for Chuck, or the killer rabbit... so many things we talked about there, guess I better see what he created from all the idea that were thrown out...

    bash: ispell: command not found

    --
    This sig left intentionally blank.
  11. Re:Actually, this might be practical... by The+Man · · Score: 5
    Dammit, we're *not* professionals. This kind of thing reminds me of the Good Old Days Before Microsoft when hackers were hackers and did it for the fucking code and not to wipe out IBM or sell shit. Jesus H Christ, people, will you get over it? World Domination is a joke, it is not intended to be a holy war.

    This kind of thing is the stuff that makes Unix worth using. It's the kind of stuff that makes us better than Microsoft. Not GNOME. Not KDE. Not GNU this or Open Source that. The freedom to implement what you like rather than what a focus group calls for is one of the fundamental advantages of Free Software and of the hacker tradition that preceded it by 20 years or more.

    Rest assured, Bill Gates is not spending his time making campy "for the fun of it" user interfaces.

    Fine. He runs a multi-billion-dollar company. He wears suits. He talks about "vision" and marketing and The Road Ahead. Is this really somebody you want to emulate?

    You can't beat Bill Gates with geek subculture. And while you're doing that, Gates' army is charging, on a mission.

    On the contrary, he can't be beaten without it. Give up the fun, you've given up one of the primary distinguishing features. It doesn't count as a victory if you end up the same as your enemy.

    This is one of the best things I've seen in recent years. I couldn't be happier. If a stuffed suit decided not to use Open Source because of it, I think we're just that much better off. Nyah!