Go to Post Leave it to CD to misconstrue a joke this badly. - connor.worley [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: vi or pico
vi 20 52.63%
pico 8 21.05%
other 10 26.32%
Voters: 38. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-03-2007, 12:47
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,575
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Unix programmers: vi or pico?

I've been taught to use pico, but have been trying to learn to use vi. This is basically because not every unix machine has pico, but the basic editor is vi. Anyway, I've been having some trouble using vi; it's so complicated! Am I missing something here?
  #2   Spotlight this post!  
Unread 12-03-2007, 12:51
felipe.tonello felipe.tonello is offline
Brazil rox!
AKA: Felipe Ferreri Tonello
FRC #1382 (Tribotec)
Team Role: Webmaster
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Brazil
Posts: 14
felipe.tonello is on a distinguished road
Send a message via MSN to felipe.tonello
Re: Unix programmers: vi or pico?

VI rules!!!
__________________
BRAZIL * #1382
  #3   Spotlight this post!  
Unread 12-03-2007, 13:03
neilsonster's Avatar
neilsonster neilsonster is offline
Registered User
AKA: Andrew Neilson
FRC #0772 (Sabre Bytes)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 188
neilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to all
Send a message via MSN to neilsonster
Re: Unix programmers: vi or pico?

vi/vim/gvim takes some getting used to, but once you have it down you will be in love. I use gvim as a notepad replacement in windows (ie. for viewing any text-only file). For unix development (ie. school work) I use vim exclusively.

Just force yourself to use vi for a while and become familiar with the different modes (ie. "i" for insert mode and ctrl-v for select mode) and what you can do with them. Once you are comfortable with basic editing of a file look up new commands and try them out. One of my favourites is the ole' ctrl-v/<select block>/shift-i/insert text/esc technique of inserting the same thing on multiple lines! (yes, I guess sometimes vi is overly-complicated!).

Once you see all of the cool things you can do with vi you won't want to go back .

:wq
__________________
Andrew Neilson - Team 772 Alumnus
University of Waterloo Computer Science, Class of 2010
  #4   Spotlight this post!  
Unread 12-03-2007, 13:47
ptan ptan is offline
Paul C. Tan., P.Eng.
AKA: Paul Tan
no team (Bolt Action)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2000
Location: Toronto
Posts: 61
ptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to beholdptan is a splendid one to behold
Re: Unix programmers: vi or pico?

Joe!!!! jstar all the way!!!

vi is the second choice.

btw, joe also seems much faster and less refresh intensive than vi, believe it or not.
__________________
Paul C. Tan., P.Eng.
Coach - FTC Team 27 (now retired)
Coach - VRC Team 2027 (now retired)
Past Mentor - FRC Teams 188, 610, 1009, 2634
  #5   Spotlight this post!  
Unread 12-03-2007, 14:03
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 750
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: Unix programmers: vi or pico?

I like pico too.

vi is so different.

pico has been installed on most all boxes I have shelled into so far.

haven't tried joe editor yet, I heard it's pretty easy and good.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #6   Spotlight this post!  
Unread 12-03-2007, 14:09
Greg Young Greg Young is offline
Science Enabler
FRC #0587 (Hedgehogs)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Hillsborough, NC
Posts: 65
Greg Young has a spectacular aura aboutGreg Young has a spectacular aura about
Re: Unix programmers: vi or pico?

You aren't missing anything. vi has a really steep learning curve. Once you learn vi it's very powerful and it's on every unix box. I've tried several other editors and still use vi.

If they are available vim and gvim are nice enhancements to vi.
__________________
To invent, you need a good imagination and a pile of junk. -- T.A.Edison
My wife says I must need to work on the imagination thing.
  #7   Spotlight this post!  
Unread 12-03-2007, 14:38
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Unix programmers: vi or pico?

I personally prefer nano, but I can use vi if necessary.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #8   Spotlight this post!  
Unread 12-03-2007, 15:48
shawger shawger is offline
Programming Subteam Leader
FRC #1732 (Hilltopper Robotics)
Team Role: Alumni
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Wisconsin
Posts: 60
shawger will become famous soon enough
Re: Unix programmers: vi or pico?

Nano is basically a relicensed version of pico.

You didn't include emacs on your poll! (not that I use it anyway, but some people love it).

I'm currently in the process of learning vim. I don't really know that much, but even knowing 10 commands makes it quite nice to use. I plan on picking up on more commands as I go.
  #9   Spotlight this post!  
Unread 12-03-2007, 15:56
indieFan indieFan is offline
RoboDox and LVHS - Missing you!
FRC #5941
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Seattle (was SoCal, then SA,TX))
Posts: 382
indieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond reputeindieFan has a reputation beyond repute
Re: Unix programmers: vi or pico?

The one thing to note about Pico and vi (other than the difficulty learning either) is that Pico can only handle a certain amount of characters. Anything that I couldn't open in Pico due to size could be opened in vi. (Is there a maximum limit in vi?)

Also, I just bought a book from a library for $3.00 called Unix Made Easy and it has a chapter dedicated to vi. I would suggest going to your local library and looking through the beginner Unix books for something similar.

indieFan
  #10   Spotlight this post!  
Unread 12-03-2007, 17:43
qnetjoe qnetjoe is offline
Registered User
AKA: Joe Daily
no team
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Austin
Posts: 51
qnetjoe is on a distinguished road
Send a message via AIM to qnetjoe Send a message via MSN to qnetjoe Send a message via Yahoo to qnetjoe
Re: Unix programmers: vi or pico?

vi!!!!

may the source be with you....
  #11   Spotlight this post!  
Unread 12-03-2007, 17:57
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Unix programmers: vi or pico?

vi.

emacs is for GNUs.

vi FTW!

--eric
  #12   Spotlight this post!  
Unread 12-03-2007, 19:41
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Unix programmers: vi or pico?

I like vi(m) its nice to have on any box straight out of the box. Yeah its different and requires some new learning but thats also why I enjoy using Linux in general, just because it is something different.

Call me crazy, but sometimes I think learning new things is fun.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #13   Spotlight this post!  
Unread 12-03-2007, 21:19
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
Re: Unix programmers: vi or pico?

emacs
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
  #14   Spotlight this post!  
Unread 12-03-2007, 21:22
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Re: Unix programmers: vi or pico?

chiefdelphi.com is coded using vim
__________________
Brandon Martus
e-mail

Last edited by Brandon Martus : 13-03-2007 at 09:45. Reason: yeah, vim. not vi.
  #15   Spotlight this post!  
Unread 12-03-2007, 21:34
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: Unix programmers: vi or pico?

Nobody really should be using either anymore - both are outdated.
The real debate here would be vim/nano/emacs. You probably don't want to go there though, it can be a lot like starting a "Windows/Linux/Mac?" thread or a "Which Linux Distro?" thread or a "Is your robot 100% student built?" thread.

All you get is angry, self-congratulatory replies. "Mine is better than yours, and because of that, I'm more intelligent/moral than you"

Many places would even consider this sort of poll trolling, and you could get banned/moderated for it.

EDIT: Please ignore my hypocritical signature.
__________________
Real programmers use vim.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB 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
Programmers Guild? mallot1243 Programming 21 07-08-2006 15:39
Compatibility issues on Delphi 7 running on Unix and MSQL Database Kaizer Programming 1 27-07-2005 09:29
Rendering on Unix Alexander McGee 3D Animation and Competition 3 02-12-2003 15:05
PIC Programmers seanwitte Electrical 8 18-04-2003 17:04


All times are GMT -5. The time now is 19:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi