platform/upstream/kbd.git
12 years agoopenvt: Add --exec option to usage
Alexey Gladkov [Tue, 6 Dec 2011 20:54:13 +0000 (00:54 +0400)]
openvt: Add --exec option to usage

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
12 years agoMerge branch 'vlock'
Alexey Gladkov [Tue, 6 Dec 2011 20:46:31 +0000 (00:46 +0400)]
Merge branch 'vlock'

12 years agoUse more devices in getfd() function
Alexey Gladkov [Tue, 6 Dec 2011 20:18:02 +0000 (00:18 +0400)]
Use more devices in getfd() function

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
12 years agovlock: Add manpage
Alexey Gladkov [Mon, 5 Dec 2011 22:36:28 +0000 (02:36 +0400)]
vlock: Add manpage

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agodvorak-ru.map: uncompress file
Mike Frysinger [Sun, 30 Oct 2011 23:36:00 +0000 (03:36 +0400)]
dvorak-ru.map: uncompress file

This shouldn't be gzipped in git.

Reported-by: Ilia Pozhilov <ilyapoz@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoignore all files ending in ~
Mike Frysinger [Sun, 30 Oct 2011 23:36:00 +0000 (03:36 +0400)]
ignore all files ending in ~

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoDon't read stdin if -d specified
Alexey Gladkov [Mon, 24 Oct 2011 00:04:19 +0000 (04:04 +0400)]
Don't read stdin if -d specified

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoFix -d option
Alexey Gladkov [Fri, 21 Oct 2011 10:15:54 +0000 (14:15 +0400)]
Fix -d option

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
Reported-by: Jaroslav Skarvada <jskarvad@redhat.com>
13 years agoChange default keymap
Alexey Gladkov [Fri, 21 Oct 2011 10:15:14 +0000 (14:15 +0400)]
Change default keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoChange the handling of -C option
Alexey Gladkov [Thu, 20 Oct 2011 22:58:30 +0000 (02:58 +0400)]
Change the handling of -C option

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoRegenerate loadkeys.c
Alexey Gladkov [Wed, 12 Oct 2011 10:51:53 +0000 (14:51 +0400)]
Regenerate loadkeys.c

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years ago[PATCH kbd] fix double free
Ludwig Nussel [Wed, 5 Oct 2011 13:33:46 +0000 (15:33 +0200)]
[PATCH kbd] fix double free

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years ago[keymaps] Add dvorak-ca-fr keymap
Vitezslav Crhonek [Mon, 10 Oct 2011 20:41:56 +0000 (00:41 +0400)]
[keymaps] Add dvorak-ca-fr keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years ago[keymaps] Add dvorak-uk keymap
Joe MacMahon [Sat, 6 Aug 2011 21:53:02 +0000 (01:53 +0400)]
[keymaps] Add dvorak-uk keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years ago[keymaps] Add dvorak-es keymap
Alexey Gladkov [Wed, 25 May 2011 20:26:15 +0000 (00:26 +0400)]
[keymaps] Add dvorak-es keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Read from stdin, when no keymaps specified in command line
Alexey Gladkov [Wed, 25 May 2011 11:33:20 +0000 (15:33 +0400)]
loadkeys: Read from stdin, when no keymaps specified in command line

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoAdd vlock sources
Alexey Gladkov [Wed, 18 May 2011 18:59:43 +0000 (22:59 +0400)]
Add vlock sources

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoFix "make distcheck"
Alexey Gladkov [Tue, 17 May 2011 12:27:27 +0000 (16:27 +0400)]
Fix "make distcheck"

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoFix translations
Alexey Gladkov [Mon, 16 May 2011 22:11:08 +0000 (02:11 +0400)]
Fix translations

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoFix extra files
Alexey Gladkov [Mon, 16 May 2011 21:59:34 +0000 (01:59 +0400)]
Fix extra files

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoSet 1.15.3 version
Alexey Gladkov [Mon, 16 May 2011 21:56:14 +0000 (01:56 +0400)]
Set 1.15.3 version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agopo: Update translations (from translationproject.org)
Alexey Gladkov [Sat, 14 May 2011 21:22:57 +0000 (01:22 +0400)]
po: Update translations (from translationproject.org)

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoUpdate distribution files
Alexey Gladkov [Sat, 7 May 2011 21:09:24 +0000 (01:09 +0400)]
Update distribution files

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoUpdate kbd.pot file
Alexey Gladkov [Sat, 7 May 2011 21:08:35 +0000 (01:08 +0400)]
Update kbd.pot file

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoMerge branch 'openvt'
Alexey Gladkov [Sun, 1 May 2011 23:19:19 +0000 (03:19 +0400)]
Merge branch 'openvt'

13 years agoopenvt: Update man-page
Alexey Gladkov [Sun, 1 May 2011 13:16:37 +0000 (17:16 +0400)]
openvt: Update man-page

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Add --exec option
Alexey Gladkov [Sun, 1 May 2011 13:15:38 +0000 (17:15 +0400)]
openvt: Add --exec option

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Use long options
Alexey Gladkov [Thu, 28 Apr 2011 22:29:33 +0000 (02:29 +0400)]
openvt: Use long options

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Change authenticate_user() and usage() declaration
Alexey Gladkov [Thu, 28 Apr 2011 10:09:39 +0000 (14:09 +0400)]
openvt: Change authenticate_user() and usage() declaration

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Remove openvt.h
Alexey Gladkov [Thu, 28 Apr 2011 07:50:24 +0000 (11:50 +0400)]
openvt: Remove openvt.h

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Move copyright information to COPYING
Alexey Gladkov [Thu, 28 Apr 2011 07:38:58 +0000 (11:38 +0400)]
openvt: Move copyright information to COPYING

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Add -V option
Alexey Gladkov [Thu, 28 Apr 2011 06:51:51 +0000 (10:51 +0400)]
openvt: Add -V option

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Change error messages and error handling
Alexey Gladkov [Wed, 27 Apr 2011 23:03:24 +0000 (03:03 +0400)]
openvt: Change error messages and error handling

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Use xmalloc
Alexey Gladkov [Wed, 27 Apr 2011 12:44:07 +0000 (16:44 +0400)]
openvt: Use xmalloc

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Fix verbose message
Alexey Gladkov [Wed, 27 Apr 2011 12:30:24 +0000 (16:30 +0400)]
openvt: Fix verbose message

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Fix -C option
Lucas De Marchi [Thu, 21 Apr 2011 21:40:04 +0000 (01:40 +0400)]
loadkeys: Fix -C option

The latest version of loadkeys has a small problem that it is not
honoring the console passed in -C option to check whether keyboard is in
unicode mode.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
13 years agoopenvt: Fixed race condition between the two run the utility
Alexey Gladkov [Tue, 19 Apr 2011 08:06:26 +0000 (12:06 +0400)]
openvt: Fixed race condition between the two run the utility

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoUpdate changelog and increase version (1.15.3wip)
Alexey Gladkov [Tue, 12 Apr 2011 22:16:25 +0000 (02:16 +0400)]
Update changelog and increase version (1.15.3wip)

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoUpdate translations
Alexey Gladkov [Tue, 12 Apr 2011 21:40:38 +0000 (01:40 +0400)]
Update translations

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agokbdinfo: Change help message
Alexey Gladkov [Tue, 12 Apr 2011 11:14:01 +0000 (15:14 +0400)]
kbdinfo: Change help message

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoRemove AC_PROG_YACC dup
Alexey Gladkov [Tue, 12 Apr 2011 10:56:50 +0000 (14:56 +0400)]
Remove AC_PROG_YACC dup

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoMerge branch 'loadkeys'
Alexey Gladkov [Tue, 12 Apr 2011 10:36:33 +0000 (14:36 +0400)]
Merge branch 'loadkeys'

13 years agoColor scheme of the console in Ubuntu
Dustin Kirkland [Sat, 9 Apr 2011 20:27:22 +0000 (00:27 +0400)]
Color scheme of the console in Ubuntu

Signed-off-by: Dustin Kirkland <kirkland@ubuntu.com>
13 years ago[keymaps] Add dvorak-ru keymap
Alexey Gladkov [Thu, 7 Apr 2011 20:52:31 +0000 (00:52 +0400)]
[keymaps] Add dvorak-ru keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Fix -w option
Robert White [Thu, 7 Apr 2011 20:35:01 +0000 (00:35 +0400)]
openvt: Fix -w option

The openvt command, when using option -w needs to close the file descriptor
attached to the allocated vt or it will always return an error because the vt
is "still in use" by openvt.

Signed-off-by: Robert White <rwhite@pobox.com>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoopenvt: Indent code
Alexey Gladkov [Tue, 5 Apr 2011 16:23:13 +0000 (20:23 +0400)]
openvt: Indent code

indent -linux -cli8 -psl openvt.c

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agosetvtrgb: New utility to set the virtual terminal RGB colors
Alexey Gladkov [Sun, 3 Apr 2011 00:34:20 +0000 (04:34 +0400)]
setvtrgb: New utility to set the virtual terminal RGB colors

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agokbdinfo: Add new utility to obtain information about console
Alexey Gladkov [Tue, 29 Mar 2011 22:20:56 +0000 (02:20 +0400)]
kbdinfo: Add new utility to obtain information about console

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoRemove debug messages
Alexey Gladkov [Tue, 29 Mar 2011 22:01:39 +0000 (02:01 +0400)]
Remove debug messages

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Add LOADKEYS_KEYMAP_PATH env variable
Alexey Gladkov [Tue, 15 Mar 2011 01:12:42 +0000 (04:12 +0300)]
loadkeys: Add LOADKEYS_KEYMAP_PATH env variable

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Reorganize code
Alexey Gladkov [Wed, 9 Mar 2011 11:50:54 +0000 (14:50 +0300)]
loadkeys: Reorganize code

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Use EXIT_FAILURE and EXIT_SUCCESS
Alexey Gladkov [Mon, 28 Feb 2011 23:48:40 +0000 (02:48 +0300)]
loadkeys: Use EXIT_FAILURE and EXIT_SUCCESS

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Use Linux coding style
Alexey Gladkov [Mon, 28 Feb 2011 23:43:36 +0000 (02:43 +0300)]
loadkeys: Use Linux coding style

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: fatal errors - change to varargs
Alexey Gladkov [Tue, 22 Feb 2011 17:43:28 +0000 (20:43 +0300)]
loadkeys: fatal errors - change to varargs

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: redesign parser
Alexey Gladkov [Mon, 21 Feb 2011 22:59:07 +0000 (01:59 +0300)]
loadkeys: redesign parser

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Fix some memory leaks
Alexey Gladkov [Sat, 5 Feb 2011 14:40:34 +0000 (17:40 +0300)]
loadkeys: Fix some memory leaks

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agofindfile: Reduce memory usage and simplify code
Alexey Gladkov [Wed, 2 Feb 2011 23:20:45 +0000 (02:20 +0300)]
findfile: Reduce memory usage and simplify code

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoMove search by fullname into separate function
Alexey Gladkov [Tue, 25 Jan 2011 07:20:02 +0000 (10:20 +0300)]
Move search by fullname into separate function

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
13 years agofindfile(): Remove duplicate declarations
Alexey Gladkov [Tue, 25 Jan 2011 00:31:42 +0000 (03:31 +0300)]
findfile(): Remove duplicate declarations

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agofindfile: Simplify loop code
Alexey Gladkov [Mon, 24 Jan 2011 22:37:03 +0000 (01:37 +0300)]
findfile: Simplify loop code

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoAdd xstrndup()
Alexey Gladkov [Mon, 24 Jan 2011 21:32:42 +0000 (00:32 +0300)]
Add xstrndup()

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoloadkeys: Fix some memory leaks
Alexey Gladkov [Sun, 23 Jan 2011 01:34:33 +0000 (04:34 +0300)]
loadkeys: Fix some memory leaks

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoAdd LatGrkCyr fonts
Alexey Gladkov [Sun, 23 Jan 2011 01:31:12 +0000 (04:31 +0300)]
Add LatGrkCyr fonts

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoUse MAXPATHLEN constant
Alexey Gladkov [Mon, 10 Jan 2011 19:28:25 +0000 (22:28 +0300)]
Use MAXPATHLEN constant

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
13 years agoDrop klibc support
Alexey Gladkov [Fri, 7 Jan 2011 21:37:45 +0000 (00:37 +0300)]
Drop klibc support

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoFix "compose as usual" for Unicode diacritics
Michael Schutte [Wed, 13 Oct 2010 15:07:26 +0000 (17:07 +0200)]
Fix "compose as usual" for Unicode diacritics

struct ccc in compose_as_usua[() uses three char members of unspecified
signedness; in case the compiler decides that they should be signed,
negative integers will end up in the accent table for c3 > 127.

Avoid the problem by explicitly using unsigned chars.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
14 years ago[consolefonts]: Add unicode spaces
Nicolas Delvaux [Wed, 8 Sep 2010 21:01:00 +0000 (01:01 +0400)]
[consolefonts]: Add unicode spaces

This was only a partial fix, because fonts that don't have a build-in
Unicode map were still defective.
So I made a patch to update all unimaps files (so the 'data/unimaps'
folder).

You can get it here: http://malaria.perso.sfr.fr/kbd/unimaps.patch

I also made a tar.gz with an updated 'data/consolefonts' folder (thanks
to my script). You can download it here:
http://malaria.perso.sfr.fr/kbd/updated_consolefonts.tar.gz

So, basically, if you apply this patch and replace all fonts by their
updated version, then your KBD will support all Unicode spaces (and so
the 'narrow no-break space' which is the one I primarily want).

You can test with "/usr/bin/printf '\uCODEx\n'" where 'CODE' can be
0020, 00a0, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
200a or 202f.
(Yes, all are different kinds of Unicode spaces. See this site if you
want more details about each char:
http://www.fileformat.info/info/unicode/char/search.htm )

Signed-off-by: Nicolas Delvaux <nicolas.delvaux@gmx.com>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoReplace index() and rindex() with strchr() and strrchr()
Maarten ter Huurne [Sun, 25 Jul 2010 13:06:42 +0000 (17:06 +0400)]
Replace index() and rindex() with strchr() and strrchr()

Hi Alexey,

Attached is a patch for kbd-1.15.2. It replaces index() and rindex() with
strchr() and strrchr().

The man page of rindex says:
4.3BSD; marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the
specifications of index() and rindex(), recommending strchr(3) and
strrchr(3) instead.

I tried to compile kbd for a uClibc based embedded system. First I got
compile errors about missing prototypes for index() and rindex(), which were
fixed by adding an include of <strings.h> (not <string.h> which was already
included). However, this only lead to a link error on index and rindex. It
seems uClibc, depending on some #defines, can either have no definition for
(r)index, a prototype (extern) declaration or a macro definition
substituting (r)index by str(r)chr.

I figured it was simpler to just replace index() and rindex() with strchr()
and strrchr() in the source code than to figure out what #defines are needed
to make it work. Most likely it is also more future proof. If you agree,
please apply the attached patch.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoDo not set prefer_unicode for iso-8859-1
Alexey Gladkov [Mon, 5 Jul 2010 21:44:00 +0000 (01:44 +0400)]
Do not set prefer_unicode for iso-8859-1

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoloadkeys -a: Switch to ASCII mode
Alexey Gladkov [Wed, 30 Jun 2010 13:56:16 +0000 (17:56 +0400)]
loadkeys -a: Switch to ASCII mode

This change is introduced in order to be forced to stay
in ASCII mode to Unicode console, see http://bugs.gentoo.org/324351.

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoDon't open console on --bkeymap
Olivier Mehani [Sun, 25 Apr 2010 07:12:08 +0000 (17:12 +1000)]
Don't open console on --bkeymap

Check that -b hasn't specified, similarly to -m, before loadkeys tries to open
the console. As for --mktable, --bkeymap doesn't need it. This allows to dump
binary keymaps in a larger range of situations where ownership of the console
device is not guarranteed e.g., when running from an Xterm.

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoRemove obsolete file
Alexey Gladkov [Sat, 10 Apr 2010 21:32:24 +0000 (01:32 +0400)]
Remove obsolete file

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoChange automake behavior
Alexey Gladkov [Sat, 10 Apr 2010 21:21:46 +0000 (01:21 +0400)]
Change automake behavior

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoUpdate po/ directory
Alexey Gladkov [Sat, 10 Apr 2010 21:19:59 +0000 (01:19 +0400)]
Update po/ directory

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoMakefile.am: Add ACLOCAL_AMFLAGS variable to handle m4/ directory
Alexey Gladkov [Thu, 8 Apr 2010 16:50:03 +0000 (20:50 +0400)]
Makefile.am: Add ACLOCAL_AMFLAGS variable to handle m4/ directory

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoUpdate changelog and increase version
Alexey Gladkov [Fri, 2 Apr 2010 01:09:40 +0000 (05:09 +0400)]
Update changelog and increase version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years ago[keymaps] Fix colemak installation
Alexey Gladkov [Sun, 28 Feb 2010 14:14:59 +0000 (17:14 +0300)]
[keymaps] Fix colemak installation

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years ago[keymaps] Add "mobii" specific keymap
Richard Zidlicky [Sun, 28 Feb 2010 13:51:34 +0000 (16:51 +0300)]
[keymaps] Add "mobii" specific keymap

I have a modified keymap for my "Mobii Point of View" Netbook (1st generation).
It is a i386/qwertz/de-latin1* keyboard with some switched keys, my changes are
this:

keycode  43 =  less greater bar
keycode  126 = Find
keycode  102 = numbersign apostrophe

Signed-off-by: Richard Zidlicky <rz@linux-m68k.org>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agovcstime: Fix build warning
Alexey Gladkov [Sun, 3 Jan 2010 00:17:38 +0000 (03:17 +0300)]
vcstime: Fix build warning

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agovcstime: Use either /dev/vcs[a] or /dev/vcs[a]0
Michael Schutte [Sat, 2 Jan 2010 16:34:41 +0000 (17:34 +0100)]
vcstime: Use either /dev/vcs[a] or /dev/vcs[a]0

Make vcstime work on all systems by considering both /dev/vcs and
/dev/vcs0 to hold the console memory for the current VT.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agopsffontop: Fix possible alignment issues, wrt -Wcast-align
Alexey Gladkov [Wed, 2 Dec 2009 23:48:07 +0000 (02:48 +0300)]
psffontop: Fix possible alignment issues, wrt -Wcast-align

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoAdd georgian font
Alexey Gladkov [Sat, 28 Nov 2009 22:55:25 +0000 (01:55 +0300)]
Add georgian font

Font content is same as for LatArCyrHeb font, but georgian one is added
instead of "Ar". Font created by Levani Shoshiashvili <shoshia@hotmail.com>

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoRegenerate loadkeys.c
Alexey Gladkov [Sun, 22 Nov 2009 19:25:42 +0000 (22:25 +0300)]
Regenerate loadkeys.c

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agopo: update indonesian translation
Alexey Gladkov [Sun, 22 Nov 2009 19:24:01 +0000 (22:24 +0300)]
po: update indonesian translation

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years agoFix translation
Alexey Gladkov [Sun, 22 Nov 2009 19:17:55 +0000 (22:17 +0300)]
Fix translation

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years ago[build] Use automake to build translations
Alexey Gladkov [Fri, 20 Nov 2009 00:21:35 +0000 (03:21 +0300)]
[build] Use automake to build translations

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
14 years ago[kbd] [PATCH] loadkeys -u: Switch to Unicode mode, if necessary
Michael Schutte [Sun, 15 Nov 2009 15:34:16 +0000 (16:34 +0100)]
[kbd] [PATCH] loadkeys -u: Switch to Unicode mode, if necessary

Make defkeys() KDSKBMODE to K_UNICODE before it starts to do KDSKBENT
ioctls. Switch back to the preceding keyboard mode after defining keys.

This change is introduced for compatibility reasons, see
http://bugs.gentoo.org/289265. As a minor difference, the warning
message telling users to run "kbd_mode -u" is printed whenever
"loadkeys -u" is used, not only when actual Unicode keysyms are loaded.

Signed-off-by: Michael Schutte <michi@uiae.at>
15 years agopo: update translations
Alexey Gladkov [Fri, 9 Oct 2009 13:36:06 +0000 (17:36 +0400)]
po: update translations

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
15 years ago[keymaps] Add Tajik keymap
Alexey Gladkov [Mon, 21 Sep 2009 11:09:24 +0000 (15:09 +0400)]
[keymaps] Add Tajik keymap

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
15 years agoUpdate changelog and increase version
Alexey Gladkov [Sun, 13 Sep 2009 10:21:26 +0000 (14:21 +0400)]
Update changelog and increase version

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
15 years agoAdd depcomp
Alexey Gladkov [Sun, 13 Sep 2009 09:42:55 +0000 (13:42 +0400)]
Add depcomp

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
15 years ago[BUILD] Fix problems at cross-compiling
Alexey Gladkov [Mon, 24 Aug 2009 11:19:22 +0000 (15:19 +0400)]
[BUILD] Fix problems at cross-compiling

Hello,

I'm trying to cross-compile kbd-1.14. I configured it with the following arguments:

--prefix=/usr --build=i686-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --disable-nls

I get the following error message:

configure: error: cannot check setpgrp when cross compiling

I can fix it by adding ac_cv_func_setpgrp_void=yes to the configure arguments list,
but I wonder if this is the normal and recommended way to proceed or if it is a bug.

Also, I cannot run "make" successfully because of the following error message:

mapscrn-xmalloc.o: In function `xrealloc':
xmalloc.c:(.text+0x67): undefined reference to `rpl_realloc'
mapscrn-xmalloc.o: In function `xmalloc':
xmalloc.c:(.text+0xa7): undefined reference to `rpl_malloc'
mapscrn-kdmapop.o: In function `getunimap':
kdmapop.c:(.text+0x248): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status

I can fix it by adding ac_cv_func_malloc_0_nonnull=yes and ac_cv_func_realloc_0_nonnull=yes
to the configure arguments list. I have the same doubt as before.

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
15 years agoEnable UNUMBERs in compose definitions
Michael Schutte [Fri, 24 Jul 2009 10:28:27 +0000 (12:28 +0200)]
Enable UNUMBERs in compose definitions

As always, auto-conversion applies in case of XLATE mode (or no
KDSKBDIACRUC support).

Since 18eadfe…, loadkeys supports the composition of two Unicode keysyms
to another Unicode keysym.  Whereas the resulting char could already be
specified as U+…, diacr and base had to be given as 8-bit characters,
which is ugly with today’s Unicode support.  Since it isn’t realistic to
make keymaps capable of UTF-8, I was asked by a Debian developer to at
least make it possible to specify Unicode codepoints.  rvalue is
unsuitable at this point (because it does some trickery with KT_LATIN
vs. KT_LETTER which is not applicable here), I decided to add this to a
new expression just for compose.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
15 years agoNever handle plain ASCII characters as Unicode
Michael Schutte [Fri, 24 Jul 2009 11:55:20 +0000 (13:55 +0200)]
Never handle plain ASCII characters as Unicode

This doesn’t seem to work for compose: The Unicode keysym representing
an ASCII char gets inserted and the kernel waits for another keypress to
be “dead”.

Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
15 years agoAdd support for Brl_dot9 and Brl_dot10
Michael Schutte [Wed, 17 Jun 2009 18:05:08 +0000 (20:05 +0200)]
Add support for Brl_dot9 and Brl_dot10

The keysyms have been supported by Linux kernels since 2.6.23.

This patch was submitted by Samuel Thibault <sthibault@debian.org>.

Signed-off-by: Michael Schutte <michi@uiae.at>
15 years ago[keymaps] Add French keymap Dvorak
Alexey Gladkov [Sat, 13 Jun 2009 13:16:38 +0000 (17:16 +0400)]
[keymaps] Add French keymap Dvorak

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
15 years ago[keymaps] Add UK keymap for the Sun Type-6 keyboard
Alexey Gladkov [Sat, 13 Jun 2009 12:37:42 +0000 (16:37 +0400)]
[keymaps] Add UK keymap for the Sun Type-6 keyboard

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
15 years ago[keymaps] Add keymap for German Intel based Macs
Alexey Gladkov [Sat, 13 Jun 2009 12:34:54 +0000 (16:34 +0400)]
[keymaps] Add keymap for German Intel based Macs

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
15 years agoUpdate setkeycodes manpage information about hardwired keycodes
Michael Schutte [Thu, 11 Jun 2009 18:38:25 +0000 (20:38 +0200)]
Update setkeycodes manpage information about hardwired keycodes

At least newer kernels don’t use hardwired scancode-keycode mappings.
Rephrase the affected part of the setkeycodes(8) manpage.

Signed-off-by: Michael Schutte <michi@uiae.at>
15 years agoReplace “-” by “\-” in some manpages when options are mentioned
Michael Schutte [Thu, 11 Jun 2009 18:38:17 +0000 (20:38 +0200)]
Replace “-” by “\-” in some manpages when options are mentioned

“-” is treated as a hyphen (U+2010) by groff.  “\-” is the intended
ASCII minus sign.

Signed-off-by: Michael Schutte <michi@uiae.at>