element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Why is vi so popular?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 670 subscribers
  • Views 1593 views
  • Users 0 members are here
  • learning
  • vi
  • linux
Related

Why is vi so popular?

ralph_shade
ralph_shade over 12 years ago

This is a minor point, but my curiosity has been sparked by a number of suggestions to use vi to edit a file.  I remember vi being the hot thing 30 years ago - yes, I've been around that long image. - actually got a TRS 80 mod 1 about thirty four years ago.  Writing programs on that machine along with my experience using the line editor on BIX has given me a long standing aversion to using line editors.  The people who are recommending it's use are people who I respect for their technical knowledge.  I must assume that vi still has some capabilities that make it a recommended choice over a good screen editor.  If someone has the time and the inclination to help educate a SOF (seriously old fart) I'd appreciate it!

 

Thanks,

Ralph

  • Sign in to reply
  • Cancel
  • johnbeetem
    johnbeetem over 12 years ago

    I would hazard a guess that "vi" is popular because so many people hate Emacs image

     

    Seriously, I've used both.  I typed in my dissertation using Emacs, so just thinking about using it again makes me tired. 

     

    I could never get the hang of "vi".  More often than not, when I tried to edit a file it would delete something I wanted to keep.  So I summon it as rarely as possible.  When I need a line editor for a short file, my preference is still "ed".

     

    Along with the many "vi" versus Emacs disputes, there's also controversy as to how to pronounce it.  Is it a single syllable rhyming with "bye" or is it two syllables "vee aye"?  I pronounce it "vee'-uh" (i.e., "via"), after the title character of my favorite horror movie "Viy", a 1967 Russian film based on a story by Gogol.  In the film, "Viy" is a hideous, soul-sucking demon.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • bprewit
    bprewit over 12 years ago

    IMHO, vi is popular because it's installed by default on *nix systems ... emacs, pico, nano, whatever may or not be there but vi is always available.

     

    I personally use emacs when I'm programming, but  I use vi for any administration tasks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • tthomas
    tthomas over 12 years ago

    As a SOF (80), I use Vi or the undate VIM for all kinds of things.  EMACS is just too much work.  I like that it doesn't add formatting junk when I write code.  Also when I want to look at or modify files, I use VIM.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago

    I think it's mainly because you can do basic editing and all the more fancy stuff and require no more than a tty/Telnet/SSH session.

    You have the superior clones who do the colourisation and other fun things but the basics get you running..What more could you want image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago

    I agree with Bruce above. I've yet to see a *nix installation that didn't have vi. When your system fails to boot up and dumps you to a prompt in single user mode, you better have the tools available and the minimum skills to repair your system and get it back up without having X. After a while you just get used to using it. It's fast, pops right open, and can take you where you need to go. The funny thing is once alot of people start to get comfortable on a gui based editor they want to learn the keyboard shortcuts so you lose some of the advantage of the drop down menus etc...

     

    I still find I use it quite a bit when I ssh into a remote system and I'm glad I learned how back a million years ago although the original reasons for learning it are far behind me.

     

    It was a good question though, and made me smile thinking of my answer.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to mconners

    You know one other reason is when you are communicating with other *nix people you can often tell them "Just vi the file and do this, this, and this ..." and they know what you are talking about and often know how to do it. And when they don't they can find a reference, start using it, and next thing you know, they are part of the fold. And the cycle continues.

     

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bprewit
    bprewit over 12 years ago in reply to mconners

    Another tip:  you can tell an experienced *nix hand because they say "vee-eye" ..

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to bprewit

    LOL, that's how I learned to say it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mgt6910
    mgt6910 over 12 years ago

    ..... because nano was not available when vi was released.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to mgt6910

    yeah but VIM has been around for years but we use it merely as a "posh" VI.

     

    VI ... is just good enough..not great but good enough and simple to implement and incumbent.. Job done!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube