Slashdot Mirror


The Birth of vi

lanc writes "Bill Joy, co-founder of Sun, tells the story of how he wrote the vi editor. The article at The Register delves into his motives, who instigated the project, and some of the quirks of leaving a 'gift to mankind'. From the piece: '9600 baud is faster than you can read. 1200 baud is way slower. So the editor was optimized so that you could edit and feel productive when it was painting slower than you could think. Now that computers are so much faster than you can think, nobody understands this anymore. The people doing Emacs were sitting in labs at MIT with what were essentially fibre-channel links to the host, in contemporary terms. They were working on a PDP-10, which was a huge machine by comparison, with infinitely fast screens. So they could have funny commands with the screen shimmering and all that, and meanwhile, I'm sitting at home in sort of World War II surplus housing at Berkeley with a modem and a terminal that can just barely get the cursor off the bottom line.'"

35 of 459 comments (clear)

  1. So let the flame wars begin! by messju · · Score: 5, Funny

    (I'm using Emacs, BTW.)

    1. Re:So let the flame wars begin! by 91degrees · · Score: 5, Funny

      I hate them both.

      I'm not popular amongst Unix users.

    2. Re:So let the flame wars begin! by sniepre · · Score: 4, Funny

      Hi joe. :)

      --
      Is not life a hundred times too short for us to bore ourselves? -Friedrich Wilhelm Nietzsche
    3. Re:So let the flame wars begin! by zeromorph · · Score: 4, Funny

      Why is parent not modded funny?

      Would someone with mod points and a pico sense of humor mod him accordingly.

      --
      "Hannibal's plans never work right. They just work." Amy/A-Team
    4. Re:So let the flame wars begin! by wakejagr · · Score: 5, Funny

      screw you guys, I cat everything through sed, and I like it that way!

      --
      Don't save Windows XP! http://www.petitiononline.com/jjw1xp/petition.html
    5. Re:So let the flame wars begin! by bsharitt · · Score: 3, Funny

      I've deleted Linux distributions(I'm looking at you Suse) if they didn't include Nano or Pico in the default install.

    6. Re:So let the flame wars begin! by Janek+Kozicki · · Score: 5, Funny

      I have a nano sense of humor, so I don't get it.

      --
      #
      #\ @ ? Colonize Mars
      #
    7. Re:So let the flame wars begin! by Ph33r+th3+g(O)at · · Score: 4, Funny

      But a nano sense of humor is 1,000 times as humorous as a pico one. Surely you got it!

      --
      I too have felt the cold finger of injustice.
    8. Re:So let the flame wars begin! by Ithika · · Score: 5, Funny

      I don't gedit.

    9. Re:So let the flame wars begin! by timeOday · · Score: 5, Funny
      CLI will always have it's place... much like my half-retarded nephew who lives under the stairs... however as I for one can't wait for the day that intuitive interfaces rule the computing landscape with a soft, friendly fist!!!
      Why are you using a text editor at all? Shouldn't you be doing all your programming via drag and drop? And why does your post use text instead of more user-friendly pictograms? Maybe you can find yourself a nice keboard-free computer.
    10. Re:So let the flame wars begin! by h2g2bob · · Score: 4, Funny

      "VI VI VI - the editor of the beast" - RMS

    11. Re:So let the flame wars begin! by Anonymous Coward · · Score: 4, Funny
      Now bring on the "car" analogies.

      Okay: vi is a car, Emacs is a full cdr.

    12. Re:So let the flame wars begin! by Dirtside · · Score: 4, Funny

      sed?? You pussy! REAL men write the file once, through cat, and never have to change it, thus no need for an editor.

      Let me take care of the ObSequenceOfReplies:

      cat?? You pussy! REAL men open a file handle manually through /dev and type in hex!

      /dev?? You pussy! REAL men write the data directly to RAM by tapping exposed wiring to the DIMM contacts!

      wires?? You pussy! REAL men use huge electromagnets to manipulate the electrons inside the RAM directly!

      magnets?? You pussy! REAL men push the electrons into place using sheer force of will!

      I think that about covers it. Someone want to add a Chuck Norris variant?

      --
      "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
    13. Re:So let the flame wars begin! by evilviper · · Score: 4, Funny
      but why the hell do so few apps make use of the Function keys ?

      They're used, just not for what you want...

      I call them the "insert random garbage every time I reach too far" keys.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    14. Re:So let the flame wars begin! by WilliamSChips · · Score: 3, Funny

      :%s/Ctrl+X Ctrl+S/:w/
      'Nuff said.

      --
      Please, for the good of Humanity, vote Obama.
    15. Re:So let the flame wars begin! by serialdogma · · Score: 3, Funny

      force?? You wimp, true scotsmen -like Chuck Norris- need only threaten the electrons.

    16. Re:So let the flame wars begin! by chromatic · · Score: 3, Funny

      Why do Macs have keyboards then?

    17. Re:So let the flame wars begin! by SmithSmytheSmith · · Score: 3, Funny
      As someone else has pointed out, sometimes you simply don't have a GUI editor available. What are you supposed to do when you telnet into a machine and need to edit a file?
      Uhm...copy the file someplace w/ a GUI?
  2. I've been using vi for so long... by tuxlove · · Score: 5, Funny

    I think in vi. When editing, commands just happen like thoughts. They are so ingrained in my brain I don't even remember the actual key sequences. When a vi newbie asks, "how do you do XYZ in vi?," I have to stop and think hard, because I don't even know the commands any more.

    Vi is the ultimate editor, for one main reason. It's a modal editor, so commands can be mnemonic. With editors like emacs, you're always having to hit ^X before commands, or with MS word you're always having to lift your hand off the keyboard to move the silly mouse around. With vi, you don't need a steenking mouse. Your hands never leave the keyboard. And commands make sense and don't require that you hit some yucky control sequence to initiate.

    I love my vi.

    1. Re:I've been using vi for so long... by daddyrief · · Score: 5, Funny

      I second you, I'll even double it -- I love my vvii :P

      --
      "Banking establishments are more dangerous than standing armies." -Thomas Jefferson
    2. Re:I've been using vi for so long... by quintesse · · Score: 5, Funny

      No no, it's the perfect first obstacle to weed out the people who shouldn't be doing any programming/writing on a *NIX system! A bit like entrance exams for universities.

      Of course, the first thing I did when I was confronted with vi back in the 80s was write my own editor.

    3. Re:I've been using vi for so long... by Gnavpot · · Score: 5, Funny
      Yeah, but which editor did you use to write the code for your editor?

      He wrote another editor for that purpose.
    4. Re:I've been using vi for so long... by Anonymous Coward · · Score: 5, Funny

      and since one editor must be written in another editor, something must have written the very first editor - therefore God exists

    5. Re:I've been using vi for so long... by Gnavpot · · Score: 5, Funny
      and since one editor must be written in another editor, something must have written the very first editor - therefore God exists

      Are you claiming that editors are intelligently designed?
  3. Echoes of the past by frisket · · Score: 4, Funny
    Just confirms my {subliminal:emacs} unshakeable {subliminal:emacs} prejudice {subliminal:emacs} that vi had its heyday some decades ago.

    The time for dual-mode editors (where you have to press something before you can begin to type, and then press something else when you stop typing) is long since gone, thank goddess.

  4. From TFA: by smittyoneeach · · Score: 3, Funny
    finally there was ex
    And there was much ejoycing.
    (ay)
    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  5. Re:No need for Emacs vs vi arguments by diegocgteleline.es · · Score: 4, Funny

    Yeah, ed is the best!

    "When I use an editor, I don't want eight extra KILOBYTES of worthless
    help screens and cursor positioning code! I just want an EDitor!!
    Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!! ED!
    ED! ED IS THE STANDARD!!!"

  6. Not hard enough.. by B5_geek · · Score: 5, Funny

    I haven't found vi or emacs to be hard enough.

    That why I port edlin to every box I work on.

    --
    "The price good men pay for indifference to public affairs is to be ruled by evil men." ~Plato (427-347 BC)
  7. Obligitary joke by zakezuke · · Score: 5, Funny

    "My PID is Inigo Montoya. You kill -9 my parent process, prepare to vi. "

    modded down in three, two...

    --
    There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
  8. emacs is for failures by Anonymous Coward · · Score: 3, Funny

    All code that doesn't fit an 80 column terminal was written by failures.

  9. Richard Stallman's model for emacs by Anonymous Coward · · Score: 4, Funny
  10. The ultimate Unix editor by Ambitwistor · · Score: 4, Funny

    I see so-called "hardcore" Unix geeks advocating 'ed'. Nonsense! The ultimate Unix editor is "cat >filename". All the others are for indecisive wimps who don't know what they're going to write, or incompetent losers who make mistakes.

  11. Join the Church of vi by Chrax · · Score: 5, Funny

    :w saves!

    I actually want that on a t-shirt. I would do it myself, but I don't think my stenciling skills are up to the task.

  12. Re:iI like vi by Col.+Bloodnok · · Score: 4, Funny

    nstresting comment!:wq

  13. Re:No need for Emacs vs vi arguments by Ken_g6 · · Score: 3, Funny

    Naw, man, sed is way better than ed!

    Real geeks use an editor that doesn't display anything at all. And with sed, I can screw up all the files in a directory at once, instead of one at a time with ed.

    That's all I have to say, but I think it had to be sed.

    --
    (T>t && O(n)--) == sqrt(666)