Click to See Complete Forum and Search --> : Question on text editor


satimis
06-17-2004, 07:57 AM
Hi folks,

RH 9.0
=====

After changing the monitor (changing to AcerView 34T) X window can't start. I tried to edit /etc/X11/XFConfig with a text editor but found 'ee' not installed. I'm not knowledgeable on Vim. What other text editors can I use. OR is there any other solution

Kindly advise. TIA

B.R.
satimis

mrBen
06-17-2004, 08:04 AM
Pico or nano might be installed.

With Vi all you need to know is:

Once opened up press 'i' to enter 'insert' mode.

Make your changes.

Hit 'Esc' to go back to command mode

Type :wq to write and then quit.


For all the flamewars that this might bring, it is often worth learning a little vi for situations just like this - vi of some sort is installed by default on almost all *nix systems.

Uranus
06-17-2004, 10:18 AM
Or you can use "xf86config" or "xorgconfig" and not need an editor at all :D
Sam

bs_texas
06-17-2004, 10:47 AM
Originally posted by mrBen
Type :wq to write and then quit.
Or, if you decide you screwed up and want to quit without saving:
:q!

Uranus
06-17-2004, 11:03 AM
And if you decide you want to learn basic vim, just launch "vimtutor". It guides you first through the basic steps and then some other nifty features.
Good luck with the screen
Sam

satimis
06-17-2004, 06:33 PM
Hi folks,

RH 9.0
======

Problem solved now. Steps taken as follows;

login as super root
# xorgconfig
-bash: xorgconfig: command not found
# xf86config
-bash: xf86config: command not found

This is interesting if they can edit /etc/X11/XF86Config

pico found
nano not installed
vimtutor found, very descriptive.

Tks again for your advice

B.R.
satimis