DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th April 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default good vi(1) tutorial

For those looking for a good vi(1) tutorial, here is a classic originally from Unix World, a magazine which died nearly twenty years ago:

http://www.networkcomputing.com/unix...l/009/009.html

Many newbies consider vi to be ghastly, but vi is so ubiquitous that it can be found on nearly every installation of Unix. Think about that before dismissing it altogether. Possessing some vi skills is good insurance just like regularly brushing your teeth, or being nice to the family dog, or sending birthday cards to Grandma...

Reply With Quote
  #2   (View Single Post)  
Old 6th April 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

For me personally, the vimtutor was the first stepping stone towards becoming a vi wizard.
It is Vim, and not vi, the basics are the same though, and what I like about vimtutor is that it is an interactive tutorial, which will learn you the basics fairly quick.

:wq
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 7th April 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Geeze, I'm not sure what is bigger, that tutorial or An Introduction to
Display Editing with Vi
. Probably next best thing to vims :help system lol.


What brought me to vi was reading the ultra simple editor chapters in a Linux book I found for like $1.00, and ended up muttering, "This is so damn logical", while reading the vi quick reference page. Most of the rest was learned looking at vims included documentation, or exploring nvi the hard way.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 7th April 2010
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

Quote:
Originally Posted by TerryP View Post
"This is so damn logical", while reading the vi quick reference page
What!?
My first encounter with vi was on a real Unix terminal running Sys 5 in my lab.
(No I am not that old, it was a very old m/c :-P)
Vi was the most illogical software I had ever come across until then.
I suppose that proves that I am not a genius?
Reply With Quote
  #5   (View Single Post)  
Old 8th April 2010
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Nah ephemera, that just proves you're not as insane as I am :-P
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Good VPN service? guitarscn Off-Topic 2 15th December 2009 08:55 AM
Good router terryd General software and network 10 9th February 2009 09:31 PM
Java online tutorial 18Googol2 Programming 5 28th August 2008 03:07 AM
How to install vmware player in Ubuntu 7.10 or 8.04 tutorial. unixdude Other BSD and UNIX/UNIX-like 0 18th June 2008 10:23 PM
Good morning all SgtHarper Feedback and Suggestions 0 9th May 2008 08:20 AM


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick