[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] NEWBIE: how to edit a system file (httpd.conf and srm.conf) on a RAQ3 system?



Hi!

The easiest editor to use would probably be "pico" all the useful commands
can be found in the bottom two lines of the screen at any given time.

True. OTOH, nano is a pico clone which works faster and which doesn't have a weird license: http://www.nano-editor.org/. The SRPM installs cleanly when using "rpm --rebuild nano[].src.rpm". I use it on all my systems.

(*IMP* But it doesn't handle long lines very well.. if a line exceeds 80
characters it breaks it into two lines and that can totally fsck up your
configuration file.)

Don't know about pico, but nano allows you to issue M-w (Metakey followed by a "w"), which toggles word-wrapping. Metakey most of the time is either Alt or Esc key.

One word of advice ... always make a copy of the file that you are going
to edit..so even if you do something wrong... you can always restore your
system to the last working state.

Sound advice... Nico :-)