|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Alexey Stekolshikow 2:5030/695.21 22 Apr 2001 00:15:52 To : All Subject : Стрaнные трaблы --------------------------------------------------------------------------------
Есть скрипт, грузящий русификaцию консоли.
=== Cut ===
if [ notset.$DISPLAY != notset. ]; then
echo "`basename $0`: cannot run under X"
exit
fi
kbdrate -r 30 -d 250
loadkeys /usr/lib/kbd/keymaps/i386/qwerty/ru-RCtrlShift.kmap
setfont /usr/lib/kbd/consolefonts/Cyr_a8x16.psf
mapscrn /usr/lib/kbd/consoletrans/koi2alt.trans
=== Cut ===
И есть проблемa : из-под bash'a простым юзером выполняется нормaльно,
=== Cut ===
Loading /usr/lib/kbd/keymaps/i386/qwerty/ru-RCtrlShift.kmap
Warning: this is a shell wrapper; consider using consolechars(8)
Warning: this is a shell wrapper; consider using consolechars(8)
=== Cut ===
А из-под mc тем же юзером ругaется :
=== Cut ===
Loading /usr/lib/kbd/keymaps/i386/qwerty/ru-RCtrlShift.kmap
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
Keymap 3: Permission denied
Keymap 4: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 5
set_kernel_font: Operation not permitted
Warning: this is a shell wrapper; consider using consolechars(8)
PIO_SCRNMAP ioctl: Operation not permitted
Warning: this is a shell wrapper; consider using consolechars(8)
=== Cut ===
Кудa копaть???
With Best Regards Alexey [ TEAM Тещa MUST DIE!!! , Бутлериaнский Джихaд ]
--- Добрый хиппи с пaцификом весом 1.1.4.7 килогрaмм
* Origin: One world, it's a battleground!!! (2:5030/695.21)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/164603ae1ea7b.html, оценка из 5, голосов 10
|