DATE: 2004-May-28 20:11
SUBJECT: RE: How do i use my TV as a display?
vi is modal, meaning you're either in command mode or insert mode. What you'll be doing is removing a hash mark in front of the line containing NTSC and putting one in front of the VESA line.
put your cursor over the # in the line containing
VideoMode "NTSC" "interlace"
and hit x, that will delete the character directly under the cursor.
move up to the line containing
VideoMode "VESA" and put a # at the beginning of that line by typing: i
That puts you into insert mode. Type the #.and hit Esc, which puts you back into command mode.
Now you can type ZZ, that's right, two capital Z's Thats one way to save and quit in vi. you can also type :wq thats a colon then wq
You have to be root to edit and save the XGSConfig file.
You might also want to enable the mousewheel and PS2PAD while you're doing that. You can find a quick tutorial on the mousewheel in the Mozilla project hosted on this site.
Most Linux books have a short chapter/section on how to use vi.