• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is anyone familiar with vi?

Check out VI FAQ or if you have specific questions I can try to answer them.
I had to learn vi because it works well in telnet windows.

Mike
 
Thanks for the offers guys! I was going to ask really simple stuff like how to move to the end of a line and enter text. I found a good beginner's site that has what I needed, since the man page is a bit cryptic.
 
A -> enter text at end of line
I -> enter text at beginning of line
ZZ -> go to sleep (and save ,) )

but yeah, go search for "vi's lovers page" or "vim" or something.. the have goodies ,)
or simply "learn vi" (if you're on unix)
 
Originally posted by: stndn
A -> enter text at end of line
I -> enter text at beginning of line
ZZ -> go to sleep (and save ,) )

but yeah, go search for "vi's lovers page" or "vim" or something.. the have goodies ,)
or simply "learn vi" (if you're on unix)

You can also use 'i' or 'a' to insert or append anywhere within a line, but you can use '^' or '$' to anchor to the beginning or end of the line, respectively. I would then say:

$A -> enter text at end of line
^I -> enter text at beginning of line
 
VI = Virtually Impossible

I've actually been using it lately on my shell, nice when I need to do quick mods on my phpBB. I found a keyboard VI shortcut PDF and printed it. I love cheat sheets 🙂

 
vi is still my editor of choice for fast small changes.
i wonder what the average age of people responding to this thread is....
probably way older than most any ofthe others.
 
Originally posted by: foofoo
vi is still my editor of choice for fast small changes.
i wonder what the average age of people responding to this thread is....
probably way older than most any ofthe others.



I'm 29. From my experince with other people and VI. The few younger (much younger) people I found who dug it, also were big into ANSI. Mind you this was just a few years ago, long after the ANSI craze.

both Ansi & VI were before their time 🙂 I don't mind VI, I've noticed just using it the little bit I have over the past month it's pretty natural getting the hang of it.

:wq

OPPS hehehe
 
21 here, and digging vi... I guess the result of those electrical engineering professors who pass on knowledge of vi like it is some arcane art of great power.
 
22 and I can dig vi when I need to. I've never used emacs. I had to learn it in a systems class and pick an editor to use in the ACM, so I can move around fairly well in it but am by no means an expert like the guys who were raised on it 🙂 When I have the choice, I use jEdit.

Oh, and once you've seen a veteran vi user in action...you believe it's an arcane art of great power 😀
 
30. I first learned it in college while taking programming courses. It is useful in the medical world because a lot of workstations on CAT Scanners, MRI units, Digital X-ray units run on Solaris. So you can telnet into the units while the technologists are working on the machines and change files, then have them restart the applications when they get a break in patients. It keeps the techs from getting too irritated with us support types.

Mike
 
41 here,
i actually started using it when it was the best thing to use. for a while there it was the only editor that wasnt a line editor that was on the default load of any unix and vms (for anyone who remembers dec) system. i've moved to pc mostly for engineering and dont use unix or it's variants that much any more. i used to be a vi wizard, but now i just get by when i need to.
 
I'm 36 here and I probably have about the lowest level of VI knowledge in this thread. We had a Progress programmer who was an absolute whiz at VI. She could rip sections of text out of long reports and add, remove, cut, paste, just about anything you want to do with text in VI.

I use it for editing the cron jobs for our end of month processing. The main commands I know are "dd" deletes a line, "x" deletes a character, "i" does in insert, "zz" saves changes and exits, and when you screw up, ": q !" (without the spaces) is your friend! 😛
 
use it all the time in my firewall and natd.conf stuff. It would be a ah heck without yy and p!
uh, over 40 here😱
 
Back
Top