Bering-uClibc 4.x - User Guide - Basic Configuration - Basic System Configuration

From bering-uClibc
Revision as of 20:19, 6 November 2010 by Davidmbrooke (Talk | contribs) (Populated "Configure your Editor" with content from http://leaf.sourceforge.net/doc/buci-editor3.html)

Jump to: navigation, search

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!


Configure your Timezone

Copy from http://leaf.sourceforge.net/doc/buci-tz3.html