I have had the same 'edit' problems under linux. I lost two consoles to emacs that i couldnt get out of
'pico' and 'nano' are the most dos-edit like.
to start it:
pico <file-to-edit>
ctrl-x
to end it, like it says in the bottom row. Same with nano.
Once you know how to start and end 'vi' its not too bad either.
crash-course 'vi':
vi basically has two modi, command mode and insert mode. If you want to give commands, like save and such you need to be in command mode, if you want to edit text you need to be in 'insert' mode.
to go from command mode to insertmode press 'a' to go back press <esc>.
to start: $vi <file-to-edit>
basic commands:
:q //quit
:wq // write-quite (save)
:q! // quit without save
In command mode the command take a ':' before the command.
Thats it. vi supports syntax highlighting which makes your terminal look at bit more like home
np dude, glad i could help.Well something worked !! Thanks SunDevil . . .
Right now they are, but when i set them to normal my screen freaks out, like the setting is too high and either my monitor or VCard can't cope with it. I know from windows the refreshrate differs from setting to setting, does linux know this? Is there any way to calculate a 'windows refreshrate' from the horz and vert rates linux uses?check the "Monitor" section of your XF86Config and see if the "HorizSync" and "VertRefresh" setting are correct for your monitor. Maybe the setting are lower then your monitor is capable of displaying.


Reply With Quote

Bookmarks