Root/ben-cyrillic/files/russian.sh

Source at commit fa463c39950c40c798f4d3acaa8c7a3d6db1211f created 9 years 8 months ago.
By kyak, ben-cyrillic: use phonetic keymap by default
1#!/bin/sh
2setfont2 /usr/share/ben-cyrillic/un-fuzzy-6x10-font_rus.pnm
3loadkeys /usr/share/ben-cyrillic/ben_ru_uni_phon.map
4loadunimap /usr/share/ben-cyrillic/ben_ru_uni.trans
5profile="/etc/profile"
6locale="export LC_ALL=ru_RU.UTF-8"
7grep "$locale" "$profile" > /dev/null 2>&1
8if [ "$?" -eq "1" ]; then
9    #presumably first run, need to set the LC_ALL env
10    echo "$locale" >> "$profile"
11fi
12

Archive Download this file



interactive