[Frugalware-forums] Tips and tricks
Russell Dickenson
russelldickenson at gmail.com
Tue Nov 11 21:30:17 CET 2008
On Wed, Nov 12, 2008 at 12:06 AM, Carl Andersen <carl at frugalware.dk> wrote:
>
>
> May be used in the newsletter?
>
> Default editor
>
> There are many editors to Frugalware e.g Vi, Nano, Joe, Emacs. It is possible to select a default editor for the system, which will always be used when you open a configuration file, added a cronjob, etc. This will be the editor that all users will be using as the default editor.
>
> Here is an example where Nano will be used. Open the file /etc/profiles as root and add under these three lines:
>
> # Default umask. A umask of 022 prevents new files from being created group
> # and world writable.
> umask 022
>
> Add the following:
>
>
> EDITOR=/usr/bin/nano
> export EDITOR
>
> If you want to use the editor in MC (Midnight Commander) then Choose
> F9 >Options>Configuration> in MC, remove mark for use internal editor> then save.
> Do this as common user and as root in your MC, then the interface in MC is also Nano when you correct in files.
> --
> Carl Andersen
> http://www.frugalware.dk/ |
> http://beehivecards.com/ |
Carl,
Thanks for that tip - it's excellent. I'll definitely include in a
future newsletter.
May you always be Frugal,
Russell Dickenson (AKA phayz)
More information about the Frugalware-forums
mailing list