summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002545.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-February/002545.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002545.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-February/002545.html681
1 files changed, 681 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002545.html b/zarb-ml/mageia-sysadm/2011-February/002545.html
new file mode 100644
index 000000000..fa178bcf8
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-February/002545.html
@@ -0,0 +1,681 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [415] Import cleaned numlock
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B415%5D%20Import%20cleaned%20numlock&In-Reply-To=%3C20110203223852.C83453FF13%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002551.html">
+ <LINK REL="Next" HREF="002552.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [415] Import cleaned numlock</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B415%5D%20Import%20cleaned%20numlock&In-Reply-To=%3C20110203223852.C83453FF13%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [415] Import cleaned numlock">root at mageia.org
+ </A><BR>
+ <I>Thu Feb 3 23:38:52 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002551.html">[Mageia-sysadm] [414] Use msgmerge on the po files
+</A></li>
+ <LI>Next message: <A HREF="002552.html">[Mageia-sysadm] [416] Import cleaned system-config-printer
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2545">[ date ]</a>
+ <a href="thread.html#2545">[ thread ]</a>
+ <a href="subject.html#2545">[ subject ]</a>
+ <a href="author.html#2545">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 415
+Author: dmorgan
+Date: 2011-02-03 23:38:52 +0100 (Thu, 03 Feb 2011)
+Log Message:
+-----------
+Import cleaned numlock
+
+Added Paths:
+-----------
+ numlock/
+ numlock/CLEANUP_PROGRESS.txt
+ numlock/trunk/
+ numlock/trunk/Makefile
+ numlock/trunk/enable_X11_numlock.c
+ numlock/trunk/man/
+ numlock/trunk/man/C/
+ numlock/trunk/man/C/enable_X11_numlock.1
+ numlock/trunk/man/cs/
+ numlock/trunk/man/cs/enable_X11_numlock.1
+ numlock/trunk/man/et/
+ numlock/trunk/man/et/enable_X11_numlock.1
+ numlock/trunk/man/eu/
+ numlock/trunk/man/eu/enable_X11_numlock.1
+ numlock/trunk/man/fi/
+ numlock/trunk/man/fi/enable_X11_numlock.1
+ numlock/trunk/man/fr/
+ numlock/trunk/man/fr/enable_X11_numlock.1
+ numlock/trunk/man/it/
+ numlock/trunk/man/it/enable_X11_numlock.1
+ numlock/trunk/man/nl/
+ numlock/trunk/man/nl/enable_X11_numlock.1
+ numlock/trunk/man/ru/
+ numlock/trunk/man/ru/enable_X11_numlock.1
+ numlock/trunk/man/uk/
+ numlock/trunk/man/uk/enable_X11_numlock.1
+ numlock/trunk/numlock.init
+ numlock/trunk/numlock.sh
+ numlock/trunk/numlock.xinit
+
+Added: numlock/CLEANUP_PROGRESS.txt
+===================================================================
+--- numlock/CLEANUP_PROGRESS.txt (rev 0)
++++ numlock/CLEANUP_PROGRESS.txt 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,3 @@
++- License is GPL according to the relevant rpm spec written by Mandriva
++- Occurances of &quot;Linux Mandrake Manual&quot; (with slight variations) in the bundles
++ manpages
+
+
+Property changes on: numlock/CLEANUP_PROGRESS.txt
+___________________________________________________________________
+Added: svn:eol-style
+ + native
+
+Added: numlock/trunk/Makefile
+===================================================================
+--- numlock/trunk/Makefile (rev 0)
++++ numlock/trunk/Makefile 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,42 @@
++NAME = numlock
++VERSION = 2.1.2
++
++TOP=
++CFLAGS=-g -O2 -Wall
++CC=gcc
++FLAGS=-lX11 -lXtst
++
++enable_X11_numlock: enable_X11_numlock.c
++ $(CC) $(CFLAGS) $(FLAGS) -o $@ $&lt;
++
++all: enable_X11_numlock
++
++clean:
++ rm -f enable_X11_numlock core *.o
++
++install: all
++ install -d $(TOP)/usr/{bin,share/man/man1}/
++ install -d $(TOP)/etc/profile.d
++ install -d $(TOP)/$(INITRDDIR)
++ install -d $(TOP)/etc/X11/xinit.d
++
++ install -m755 enable_X11_numlock $(TOP)/usr/bin
++ install -m755 man/C/enable_X11_numlock.1 $(TOP)/usr/share/man/man1/
++ for i in man/??* ; do \
++ install -d $(TOP)/usr/share/man/`basename $$i`/man1 ; \
++ install -m 644 $$i/*.1 $(TOP)/usr/share/man/`basename $$i`/man1 ; \
++ done
++
++ install -m755 numlock.init $(TOP)/$(INITRDDIR)/$(NAME)
++ install -m755 numlock.sh $(TOP)/etc/profile.d/
++ install -m755 numlock.xinit $(TOP)/etc/X11/xinit.d/numlock
++
++dis: clean
++ rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
++ mkdir -p $(NAME)-$(VERSION)
++ find . -not -name &quot;$(NAME)-$(VERSION)&quot;|cpio -pd $(NAME)-$(VERSION)/
++ find $(NAME)-$(VERSION) -type d -name .svn -o -name unused |xargs rm -rf
++ tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
++ bzip2 -9f ../$(NAME)-$(VERSION).tar
++ chmod 644 ../$(NAME)-$(VERSION).tar.bz2
++ rm -rf $(NAME)-$(VERSION)
+
+
+Property changes on: numlock/trunk/Makefile
+___________________________________________________________________
+Added: svn:eol-style
+ + native
+
+Added: numlock/trunk/enable_X11_numlock.c
+===================================================================
+--- numlock/trunk/enable_X11_numlock.c (rev 0)
++++ numlock/trunk/enable_X11_numlock.c 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,119 @@
++/****************************************************************************
++
++ NumlockX - (C) 2000 Lubos Lunak &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">l.lunak at email.cz</A>&gt;
++ Released under the terms of the GNU General Public License
++
++ main.c -
++
++ $Id: enable_X11_numlock.c 158725 2001-03-29 11:17:40Z gc $
++
++****************************************************************************/
++
++/* The NumLock state detection code is originally from KLeds by
++ Hans Matzen &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">hans at tm.informatik.uni-frankfurt.de</A>&gt; */
++
++#define __main_C
++
++#ifdef HAVE_CONFIG_H
++#include &lt;config.h&gt;
++#endif
++
++#include &lt;X11/extensions/XTest.h&gt;
++#include &lt;X11/keysym.h&gt;
++#include &lt;stdio.h&gt;
++#include &lt;string.h&gt;
++#include &lt;stdlib.h&gt;
++
++#define HAS_XKB 1
++#ifdef HAS_XKB
++#include &lt;X11/XKBlib.h&gt;
++#endif
++
++void usage( const char* argv0 )
++ {
++ printf( &quot;NumlockX - (C) 2000 Lubos Lunak &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">l.lunak at email.cz</A>&gt;\n\n&quot;
++#ifdef HAS_XKB
++ &quot;Usage : %s [on|off|switch]\n&quot;
++ &quot;on - sets NumLock on in X (default)\n&quot;
++ &quot;off - sets NumLock off in X\n&quot;
++ &quot;switch - changes NumLock state in X\n&quot;
++#else
++ &quot;Usage : %s\n&quot;
++ &quot;Changes NumLock state in X\n&quot;
++ &quot;( NumLock state detection not available,&quot;
++ &quot; compiled without XKB )\n&quot;
++#endif
++ &quot;\n&quot;
++ , argv0 );
++ }
++
++Display* disp;
++
++#ifdef HAS_XKB
++int get_numlock_state()
++ {
++ unsigned int states;
++ if( XkbGetIndicatorState( disp, XkbUseCoreKbd, &amp;states) != Success )
++ {
++ printf(&quot;Error while reading Indicator status\n&quot;);
++ XCloseDisplay( disp );
++ exit( 3 );
++ }
++ return states &amp; 0x02; /* NumLock appears to be bit1 */
++ }
++#endif
++
++void change_numlock()
++ {
++ XTestFakeKeyEvent( disp, XKeysymToKeycode( disp, XK_Num_Lock ), True, CurrentTime );
++ XTestFakeKeyEvent( disp, XKeysymToKeycode( disp, XK_Num_Lock ), False, CurrentTime );
++ }
++
++#ifdef HAS_XKB
++void set_on()
++ {
++ if( !get_numlock_state())
++ change_numlock();
++ }
++
++void set_off()
++ {
++ if( get_numlock_state())
++ change_numlock();
++ }
++#endif
++
++int main( int argc, char* argv[] )
++ {
++ if( argc &gt; 2 )
++ {
++ usage( argv[ 0 ] );
++ return 1;
++ }
++ disp = XOpenDisplay( NULL );
++ if( disp == NULL )
++ {
++ printf( &quot;Error opening display\n&quot; );
++ return 2;
++ }
++ if( argc == 1 )
++#if HAS_XKB
++ set_on();
++ else if( strncmp( argv[ 1 ], &quot;on&quot;, 2 ) == 0 )
++ set_on();
++ else if( strncmp( argv[ 1 ], &quot;of&quot;, 2 ) == 0 )
++ set_off();
++#else
++ change_numlock(); /* if( argc == 1 ) */
++#endif
++ else if( strncmp( argv[ 1 ], &quot;switch&quot;, 6 ) == 0 )
++ change_numlock();
++ else
++ {
++ usage( argv[ 0 ] );
++ XCloseDisplay( disp );
++ return 1;
++ }
++ XCloseDisplay( disp );
++ return 0;
++ }
+
+
+Property changes on: numlock/trunk/enable_X11_numlock.c
+___________________________________________________________________
+Added: svn:eol-style
+ + native
+
+Added: numlock/trunk/man/C/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/C/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/C/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,17 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot; Mageia Manual&quot;
++.SH NAME
++enable_X11_numlock \- Enable X11 numlock
++.SH SYNOPSIS
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH DESCRIPTION
++The command
++.B enable_X11_numlock
++turns on, off, or switches the numlock under X. Default behaviour (e.g.
++when no option is given) is to turn it on.
++
++.SH &quot;SEE ALSO&quot;
++
++.BR X (1).
+
+Added: numlock/trunk/man/cs/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/cs/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/cs/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,16 @@
++.TH Enable_X11_Numlock &quot;9 Led 2001&quot; &quot;Manu&#225;l Mageia &quot;
++.SH N&#193;ZEV
++enable_X11_numlock \- Zapne kl&#225;vesu kl&#225;vesu NumLock v syst&#233;mu X11
++.SH SYNAPSE
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH POPIS
++P&#345;&#237;kaz
++.B enable_X11_numlock
++zapne, vypne, nebo p&#345;epne kl&#225;vesu NumLock v syst&#233;mu X. V&#253;choz&#237; chov&#225;n&#237; (pokud nen&#237; zad&#225;n &#382;&#225;dn&#253; parametr) je kl&#225;vesu NumLock zapnout.
++
++.SH &quot;VIZ TAK&#201;&quot;
++
++.BR X(1).
+
+Added: numlock/trunk/man/et/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/et/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/et/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,14 @@
++.TH &quot;Enable_X11_Numlock&quot; &quot;9. jaanuar 2001&quot; &quot;Mageia i k&#228;siraamat&quot; &quot;&quot; &quot;&quot;
++.SH &quot;NIMI&quot;
++enable_X11_numlock \- X11 numlocki lubamine
++.SH &quot;KOKKUV&#213;TE&quot;
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH &quot;KIRJELDUS&quot;
++K&#228;sk
++.B enable_X11_numlock
++l&#252;litab numlock\-i X\-i all sisse, v&#228;lja v&#245;i l&#252;litab vastavalt &#252;mber. Vaikimisi (st ilma v&#245;tmeta) l&#252;litatakse see sisse.
++.SH &quot;VAATA KA&quot;
++.BR X (1).
+
+Added: numlock/trunk/man/eu/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/eu/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/eu/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,18 @@
++.TH Enable_X11_Numlock &quot;2001eko urtarrilak 9&quot; &quot; Mageia-ren eskuliburua&quot;
++.SH IZENA
++enable_X11_numlock \- X11 zenbaki-blokeoa gaitzen du
++.SH LABURPENA
++.BI enable_X11_numlock
++[aktibatu]
++[desaktibatu]
++[aldatu]
++.SH AZALPENA
++Komando honek,
++.BI enable_X11_numlock,
++Xren araberako zenbaki-blokeoa aktibatu, desaktibatu edo aldatu egiten du. Lehenetsita dagoen jokabidea
++(inolako aukerarik egiten ez denean) aktibatuta egotea da.
++
++.SH &quot;IKUSI BAITA ERE&quot;
++
++.BR X (1).
++
+
+Added: numlock/trunk/man/fi/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/fi/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/fi/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,15 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot;Mageia Manual&quot;
++.SH NIMI
++enable_X11_numlock \- Ota X11 numlock k&#228;ytt&#246;&#246;n
++.SH YLEISKATSAUS
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH KUVAUS
++Komento
++.B enable_X11_numlock
++kytkee p&#228;&#228;lle/pois p&#228;&#228;lt&#228; tai vaihtaa numlock:in tilaa X:&#228;n alla.
++Oletustoiminto (jos optiota ei annettu) on numlock:in p&#228;&#228;llekytkeminen.
++.SH &quot;KATSO MY&#214;S&quot;
++.BR X (1).
+
+Added: numlock/trunk/man/fr/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/fr/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/fr/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,18 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot; Mageia Manual&quot;
++.SH NAME
++enable_X11_numlock \- Active la fonction &#171;&#160;numlock&#160;&#187; dans X11
++.SH SYNOPSIS
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH DESCRIPTION
++La commande
++.B enable_X11_numlock
++active, d&#233;sactive, ou commute la fonction &#171;&#160;numlock&#160;&#187; dans X, respectivement.
++Le comportement par d&#233;faut (par ex. quand aucune option n'est sp&#233;cifi&#233;e) est
++de l'activer.
++
++.SH &quot;VOIR AUSSI&quot;
++
++.BR X (1).
+
+Added: numlock/trunk/man/it/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/it/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/it/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,17 @@
++.TH Enable_X11_Numlock &quot;9 gen 2001&quot; &quot; Mageia Manual&quot;
++.SH NOME
++enable_X11_numlock \- Abilita il numlock in X11
++.SH SINTASSI
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH DESCRIZIONE
++Il comando
++.B enable_X11_numlock
++attiva, disattiva o scambia lo stato del numlock sotto X. Il comportamento predefinito (per es.
++se non si specifica un opzione) &#232; di attivarlo.
++
++.SH &quot;VEDI ANCHE&quot;
++
++.BR X (1).
+
+Added: numlock/trunk/man/nl/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/nl/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/nl/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,17 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot; Mageia Manual&quot;
++.SH NAME
++enable_X11_numlock \- schakelt numlock onder X11 in en uit
++.SH SYNOPSIS
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH BESCHRIJVING
++De opdracht
++.B enable_X11_numlock
++schakelt numlock onder X in, uit of om. Standaard (dat wil zeggen:
++zonder opgegeven optie) wordt numlock ingeschakeld.
++
++.SH &quot;ZIE OOK&quot;
++
++.BR X (1).
+
+Added: numlock/trunk/man/ru/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/ru/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/ru/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,20 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot; Mageia Manual&quot;
++.SH &#1053;&#1040;&#1047;&#1042;&#1040;&#1053;&#1048;&#1045;
++enable_X11_numlock \- &#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1090; X11 numlock
++.SH &#1057;&#1048;&#1053;&#1058;&#1040;&#1050;&#1057;&#1048;&#1057;
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH &#1054;&#1055;&#1048;&#1057;&#1040;&#1053;&#1048;&#1045;
++&#1050;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072;
++.B enable_X11_numlock
++&#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1090;, &#1074;&#1099;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1090; &#1080;&#1083;&#1080; &#1087;&#1077;&#1088;&#1077;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1090; numlock &#1087;&#1086;&#1076; &#1048;&#1082;&#1089;&#1072;&#1084;&#1080;. &#1044;&#1077;&#1081;&#1089;&#1090;&#1074;&#1080;&#1077;&#1084; &#1087;&#1086;
++&#1091;&#1084;&#1086;&#1083;&#1095;&#1072;&#1085;&#1080;&#1102; (&#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, &#1082;&#1086;&#1075;&#1076;&#1072; &#1086;&#1087;&#1094;&#1080;&#1080; &#1085;&#1077; &#1079;&#1072;&#1076;&#1072;&#1085;&#1099;) &#1103;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &#1074;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;&#1080;&#1077;.
++
++.SH &quot;&#1057;&#1052;. &#1058;&#1040;&#1050;&#1046;&#1045;&quot;
++
++.BR X (1).
++
++.SH &#1055;&#1045;&#1056;&#1045;&#1042;&#1054;&#1044;
++&#1055;&#1072;&#1074;&#1077;&#1083; &#1052;&#1072;&#1088;&#1100;&#1103;&#1085;&#1086;&#1074; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">acid_jack at ukr.net</A>&gt;
+
+Added: numlock/trunk/man/uk/enable_X11_numlock.1
+===================================================================
+--- numlock/trunk/man/uk/enable_X11_numlock.1 (rev 0)
++++ numlock/trunk/man/uk/enable_X11_numlock.1 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,22 @@
++.TH Enable_X11_Numlock &quot;9 Jan 2001&quot; &quot; Mageia Manual&quot;
++.SH &#1053;&#1040;&#1047;&#1042;&#1040;
++enable_X11_numlock \- &#1044;&#1086;&#1079;&#1074;&#1086;&#1083;&#1080;&#1090;&#1080; &#1092;&#1110;&#1082;&#1089;&#1072;&#1094;&#1110;&#1102; &#1094;&#1080;&#1092;&#1088;&#1086;&#1074;&#1086;&#1111; &#1082;&#1083;&#1072;&#1074;&#1110;&#1072;&#1090;&#1091;&#1088;&#1080; &#1074; X11
++.SH &#1042;&#1048;&#1050;&#1054;&#1056;&#1048;&#1057;&#1058;&#1040;&#1053;&#1053;&#1071;
++.BI enable_X11_numlock
++[on]
++[off]
++[switch]
++.SH &#1054;&#1055;&#1048;&#1057;
++&#1050;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072;
++.B enable_X11_numlock
++&#1074;&#1084;&#1080;&#1082;&#1072;&#1108;, &#1074;&#1080;&#1084;&#1080;&#1082;&#1072;&#1108; &#1095;&#1080; &#1087;&#1077;&#1088;&#1077;&#1084;&#1080;&#1082;&#1072;&#1108; &#1092;&#1110;&#1082;&#1089;&#1072;&#1090;&#1086;&#1088; &#1094;&#1080;&#1092;&#1088;&#1086;&#1074;&#1086;&#1111; &#1076;&#1086;&#1076;&#1072;&#1090;&#1082;&#1086;&#1074;&#1086;&#1111; &#1082;&#1083;&#1072;&#1074;&#1110;&#1072;&#1090;&#1091;&#1088;&#1080; &#1074;
++X. &#1057;&#1090;&#1072;&#1085;&#1076;&#1072;&#1088;&#1090;&#1085;&#1080;&#1081; &#1088;&#1077;&#1078;&#1080;&#1084; &#1088;&#1086;&#1073;&#1086;&#1090;&#1080; (&#1090;&#1086;&#1073;&#1090;&#1086; &#1082;&#1086;&#1083;&#1080; &#1085;&#1077; &#1074;&#1082;&#1072;&#1079;&#1072;&#1085;&#1080;&#1081; &#1078;&#1086;&#1076;&#1077;&#1085; &#1079; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1110;&#1074;)
++\- &#1074;&#1074;&#1110;&#1084;&#1082;&#1085;&#1091;&#1090;&#1080; &#1092;&#1110;&#1082;&#1089;&#1072;&#1090;&#1086;&#1088;.
++
++.SH &quot;&#1044;&#1048;&#1042;. &#1058;&#1040;&#1050;&#1054;&#1046;&quot;
++
++.BR X (1).
++.SH
++&#1055;&#1045;&#1056;&#1045;&#1050;&#1051;&#1040;&#1044;
++.br
++&#1044;&#1084;&#1080;&#1090;&#1088;&#1086; &#1050;&#1086;&#1074;&#1072;&#1083;&#1100;&#1086;&#1074;, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">kov at tokyo.emai.ne.jp</A>&gt;
+
+Added: numlock/trunk/numlock.init
+===================================================================
+--- numlock/trunk/numlock.init (rev 0)
++++ numlock/trunk/numlock.init 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,69 @@
++#!/bin/sh
++#
++# Startup script for NumLock
++#
++# description: Locks NumLock key at init runlevel change
++# chkconfig: 3457 29 15
++#
++### BEGIN INIT INFO
++# Provides: numlock
++# Default-Start: 3 4 5 7
++# Short-Description: Locks NumLock key at init runlevel change
++# Description: Locks NumLock key at init runlevel change
++### END INIT INFO
++
++# Source function library.
++. /etc/rc.d/init.d/functions
++
++# The following file make bash to relock the numlock key when logging
++# since login unlock it.
++SYSCONF_FILE=/var/lock/subsys/numlock
++#SYSCONF_FILE=/etc/sysconfig/numlock
++
++# See how we were called.
++case &quot;$1&quot; in
++ start)
++ echo -n &quot;Starting numlock: &quot;
++ echo_success
++ echo
++ touch $SYSCONF_FILE
++
++ for tty in /dev/tty[1-8]; do
++ setleds -D +num &lt; $tty
++ done
++
++ ;;
++ stop)
++ echo -n &quot;Disabling numlocks on ttys: &quot;
++ for tty in /dev/tty[1-8]; do
++ setleds -D -num &lt; $tty
++ done
++ echo_success
++ echo
++ rm -f $SYSCONF_FILE
++ ;;
++ status)
++# status NumLock
++# echo &quot;dead status as reported is normal since NumLock doesn't need to daemonize&quot;
++ if [ -f $SYSCONF_FILE ]
++ then
++ echo &quot;numlock is enabled&quot;
++ else
++ echo &quot;numlock is disabled&quot;
++ fi
++ ;;
++ restart)
++ $0 stop
++ $0 start
++ ;;
++ reload)
++ echo -n &quot;Reloading numlock: &quot;
++ $0 start
++ echo
++ ;;
++ *)
++ echo &quot;Usage: $0 {start|stop|restart|reload|status}&quot;
++ exit 1
++esac
++
++exit 0
+
+
+Property changes on: numlock/trunk/numlock.init
+___________________________________________________________________
+Added: svn:executable
+ + *
+
+Added: numlock/trunk/numlock.sh
+===================================================================
+--- numlock/trunk/numlock.sh (rev 0)
++++ numlock/trunk/numlock.sh 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,9 @@
++# Mageia configuration.
++# ReLock the NumLock key if /etc/rc.d/init.d/numlock has been run.
++# This is needed because login resets the tty.
++
++MY_TTY=`tty`
++case $MY_TTY in
++ /dev/tty[0-9]*) [ -f /var/lock/subsys/numlock ] &amp;&amp; setleds -D +num &lt; $MY_TTY;;
++esac
++unset MY_TTY
+
+
+Property changes on: numlock/trunk/numlock.sh
+___________________________________________________________________
+Added: svn:executable
+ + *
+Added: svn:eol-style
+ + native
+
+Added: numlock/trunk/numlock.xinit
+===================================================================
+--- numlock/trunk/numlock.xinit (rev 0)
++++ numlock/trunk/numlock.xinit 2011-02-03 22:38:52 UTC (rev 415)
+@@ -0,0 +1,28 @@
++#!/bin/sh
++#---------------------------------------------------------------
++# Project : Mandrake
++# Module : numlock
++# File : numlock.xinit
++# Version : $Id: numlock.xinit 241829 2008-04-03 04:15:25Z blino $
++# Author : Frederic Lepied
++# Created On : Wed Apr 12 08:39:24 2000
++#---------------------------------------------------------------
++
++#
++# The following code used to execute enable_numlock if numlock was enabled
++# on this host. This screwed hosts which did not use numlock (laptops)
++# but which tried to create XDMCP sessions to this host, as numlock would
++# be turned on unconditionally.
++#
++# The following code detects a $DISPLAY host other than what would be
++# expected for a local X session on this host, and exempts it from the
++# automatic execution of numlock.
++#
++DISPHOST=${DISPLAY%%:*}
++if [ &quot;$DISPHOST&quot; = &quot;&quot; -o &quot;$DISPHOST&quot; = &quot;localhost&quot; -o &quot;$DISPHOST&quot; = &quot;$HOSTNAME&quot; ]; then
++ if [ -f /var/lock/subsys/numlock -a -x /usr/bin/enable_X11_numlock ]; then
++ /usr/bin/enable_X11_numlock
++ fi
++fi
++
++# numlock ends here
+
+
+Property changes on: numlock/trunk/numlock.xinit
+___________________________________________________________________
+Added: svn:executable
+ + *
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110203/118bc66c/attachment-0001.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002551.html">[Mageia-sysadm] [414] Use msgmerge on the po files
+</A></li>
+ <LI>Next message: <A HREF="002552.html">[Mageia-sysadm] [416] Import cleaned system-config-printer
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2545">[ date ]</a>
+ <a href="thread.html#2545">[ thread ]</a>
+ <a href="subject.html#2545">[ subject ]</a>
+ <a href="author.html#2545">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>