Difference between revisions of "Bering-uClibc 4.x - User Guide - Basic Configuration - Basic System Configuration"
Davidmbrooke (Talk | contribs) (Corrected list of keyboard maps (from installed set, not set in CVS)) |
Davidmbrooke (Talk | contribs) (Populated "Configure your Editor" with content from http://leaf.sourceforge.net/doc/buci-editor3.html) |
||
Line 2: | Line 2: | ||
If you are a non US user you will probably need one of the alternative keyboard layouts provided in the <tt>keyboard.lrp</tt> package. | If you are a non US user you will probably need one of the alternative keyboard layouts provided in the <tt>keyboard.lrp</tt> package. | ||
− | To configure the keyboard layout go to the LEAF <tt>Packages</tt> | + | To configure the keyboard layout run '''lrcfg''', go to the LEAF <tt>Packages configuration</tt> menu and choose <tt>keyboard</tt>. |
The following menu will appear: | The following menu will appear: | ||
Line 28: | Line 28: | ||
==Configure your Editor== | ==Configure your Editor== | ||
− | + | All standard editors are based on <tt>e3</tt>, which provides five emulation modes: | |
+ | {| border="1" | ||
+ | |- | ||
+ | | e3em | ||
+ | | emacs mode | ||
+ | |- | ||
+ | | e3ne | ||
+ | | nedit mode | ||
+ | |- | ||
+ | | e3pi | ||
+ | | pico mode | ||
+ | |- | ||
+ | | e3vi | ||
+ | | vi mode | ||
+ | |- | ||
+ | | e3ws | ||
+ | | wordstar mode | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | |||
+ | The default editor for <tt>lrcfg</tt> is <tt>edit</tt> which is a small shell script that reads the environment variable <tt>EDITOR</tt> and calls <tt>e3</tt> with the chosen emulation mode. | ||
+ | |||
+ | To change the editor emulation mode directly, modify <tt>EDITOR</tt> in <tt>/etc/profile</tt>. | ||
+ | |||
+ | Alternatively run '''lrcfg''', go to the LEAF <tt>System configuration</tt> menu and choose <tt>System wide profile</tt>. | ||
+ | |||
+ | Change the <tt>EDITOR</tt> setting to your preferred editor, for example: | ||
+ | #Set the desired editor (e3ne, e3em, e3pi, e3vi, e3ws) | ||
+ | export EDITOR=e3ne | ||
+ | |||
+ | The desired editor mode is available with the next login. | ||
+ | |||
+ | You can always use another editor mode from the command line by calling it with the proper symlink - see table above. | ||
+ | |||
+ | The main objective for the <tt>e3</tt> editor is small size, not complete emulation of the other editors. If you have the disk space and memory resources consider installing <tt>elvis.lrp</tt> for a better <tt>vi</tt> experience than is provided by <tt>e3vi</tt>. In this case set <tt>EDITOR</tt> to <tt>vi</tt>. | ||
+ | |||
+ | |||
+ | '''Important:''' To save your modification(s) do not forget to save the configuration! | ||
+ | |||
==Configure your Timezone== | ==Configure your Timezone== | ||
Copy from http://leaf.sourceforge.net/doc/buci-tz3.html | Copy from http://leaf.sourceforge.net/doc/buci-tz3.html |
Revision as of 20:19, 6 November 2010
Configure your Keyboard
If you are a non US user you will probably need one of the alternative keyboard layouts provided in the keyboard.lrp package.
To configure the keyboard layout run lrcfg, go to the LEAF Packages configuration menu and choose keyboard.
The following menu will appear:
keyboard configuration files 1) change keyboard language maps q) quit
Type 1 to get access to the /etc/default/keyboard script where you will have to replace the KEYMAP variable (default="us.map") by the appropriate keyboard setting.
The KEYMAP variable must be chosen among the following entries:
azerty.map de.map gr.map lt.map ru.map trq.map be.map dk.map hu.map mk.map se.map ua.map bg.map dvorak.map il.map nl.map sg.map uk.map br-a.map es.map is.map no.map sk-y.map us.map cf.map et.map it.map pl.map sk-z.map wangbe.map croat.map fi.map jp.map pt.map slovene.map cz.map fr.map la.map ro.map trf.map
To activate the new keyboard map get access to the Linux shell and type:
svi keyboard start
Important: To save your modification(s) do not forget to save the configuration!
Configure your Editor
All standard editors are based on e3, which provides five emulation modes:
e3em | emacs mode |
e3ne | nedit mode |
e3pi | pico mode |
e3vi | vi mode |
e3ws | wordstar mode |
The default editor for lrcfg is edit which is a small shell script that reads the environment variable EDITOR and calls e3 with the chosen emulation mode.
To change the editor emulation mode directly, modify EDITOR in /etc/profile.
Alternatively run lrcfg, go to the LEAF System configuration menu and choose System wide profile.
Change the EDITOR setting to your preferred editor, for example:
#Set the desired editor (e3ne, e3em, e3pi, e3vi, e3ws) export EDITOR=e3ne
The desired editor mode is available with the next login.
You can always use another editor mode from the command line by calling it with the proper symlink - see table above.
The main objective for the e3 editor is small size, not complete emulation of the other editors. If you have the disk space and memory resources consider installing elvis.lrp for a better vi experience than is provided by e3vi. In this case set EDITOR to vi.
Important: To save your modification(s) do not forget to save the configuration!