From: Ivan Zakharyaschev <imz@altlinux.org> To: devel-kernel@altlinux.ru Subject: [d-kernel] patches: Unicode console (2.4 & 2.6) Date: Mon, 26 Apr 2004 02:08:04 +0400 (MSD) Message-ID: <Pine.LNX.4.58L.0404260113420.16975@lrn.ru> (raw) [-- Attachment #1: Type: TEXT/PLAIN, Size: 1929 bytes --] Hello! Предлагаю включить в основные ядра (и во все другие тоже) набор патчей kernel-feat-drivers-console-unicode. Я их подготовил в процессе работы над console-tools/kbd, преследуя такие цели: - позволить удобно использовать UTF-8 в linux console (а также во всех других терминалах); - конфигурировать консоль (а точнее, устанавливать раскладки клавиатур) в терминах Unicode -- пусть даже и используется она в какой-то 8-мибитной кодировке. К первому относится использование selection (gpm) с UTF-8 и подобные вещи. Второе позволяет использовать совместно разные языки/кодировки проще, без необходимости перезагрузки раскладки клавиатуры. При этом Unicode-раскладка становится полноценной в том, что касается обработки ядром (раньше, без патчей, Unicode-расклдкам не доставало по сравнению с 8-мибитными важных свойств, например, поведения CapsLock, и это мешало бы их нормальному использованию). В общем-то, многое из этого -- внутреннее дело ядра и console-tools/kbd. Изменённое ядро остаётся совместимым со старыми console-tools, а новые возможности доступны новым console-tools (0.2.3-ipl25mdk). И они будут важны в дальнейшем. С этими патчами я собирал ядра 2.4 и 2.6, тестировал все введённые возможности и уже несколько недель на таком ядре и работаю. Я отталкивался от патчей, предложенных Bruno Haible; они упомянуты и в Unicode HOWTO. (Кстати, один из патчей, самый общий, т.е. важный для всех терминалов, после нескольких лет игнорирования был недавно включён в 2.6.5.) Там в самом пакете ещё что-то можно прочитать. Пакет kernel-feat-drivers-console-unicode-1999.08.09-alt3 был сегодня выложен на basalt вместе и с могущими использовать новые возможности console-tools-0.2.3-ipl25mdk. Как я менял kernel-*std{,26}-up.spec, показано в приложенных патчах (очень просто). Если есть вопросы, возражения, готов ответить. -- С наилучшими пожеланиями, Иван Захарьящев, Москва :: JabberID: imz at altlinux.org [-- Attachment #2: for 2.4.25-alt6 --] [-- Type: TEXT/PLAIN, Size: 1383 bytes --] --- kernel-std-up.spec.orig 2004-04-22 18:23:32 +0700 +++ kernel-std-up.spec 2004-04-26 00:44:26 +0700 @@ -7,7 +7,7 @@ # 0.X.0 -- rcX # 1.0.0 -- release %define kernel_extra_version_numeric 1.0.0 -%define krelease alt6 +%define krelease alt6.imz1 %define base_flavour std %define subflavour up @@ -68,6 +68,12 @@ %add_patch_list kernel-feat-drivers-libata %add_patch_list kernel-feat-drivers-net-pcnet32-old +# imz: Unicode support in VT/console +%add_patch_list kernel-feat-drivers-console-unicode +# Although this patch changes the interface between the kernel and loadkeys, +# I do not put a Conflicts for the old console-tools here, +# because the old loadkeys works fine the new kernel interface. + ## Don't edit below this line ################################## %define kversion %kernel_base_version @@ -373,6 +379,12 @@ %endif %changelog +* Sun Apr 25 2004 Ivan Zakharyaschev <imz@altlinux.ru> 2.4.25-alt6.imz1 +- Added kernel-feat-drivers-console-unicode: + fixes the imperfectness of Linux VT/console Unicode support + (involves a change of the kernel interface used by loadkeys, + but mainly is compatible with old loadkeys). + * Thu Apr 22 2004 Sergey Vlasov <vsu@altlinux.ru> 2.4.25-alt6 - Updated kernel-fix-security: + fixed MCAST_MSFILTER error handling to return -EINVAL correctly [-- Attachment #3: for 2.6.5-alt1 --] [-- Type: TEXT/PLAIN, Size: 1364 bytes --] --- kernel-image-std26-up.spec.orig 2004-04-05 21:57:02 +0700 +++ kernel-image-std26-up.spec 2004-04-24 23:01:28 +0700 @@ -10,7 +10,7 @@ # 0.X.0 -- rcX # 1.0.0 -- release %define kernel_extra_version_numeric 1.0.0 -%define krelease alt1 +%define krelease alt1.imz1 %define base_flavour std26 %define flavour %base_flavour-up @@ -34,6 +34,12 @@ %add_patch_list kernel-feat-drivers-lirc %add_patch_list kernel-feat-fs-squashfs +# imz: Unicode support in VT/console +%add_patch_list kernel-feat-drivers-console-unicode +# Although this patch changes the interface between the kernel and loadkeys, +# I do not put a Conflicts for the old console-tools here, +# because the old loadkeys works fine the new kernel interface. + ## Don't edit below this line ################################## %define kversion %kernel_base_version%kernel_extra_version @@ -332,6 +338,12 @@ %endif %changelog +* Mon Apr 19 2004 Ivan Zakharyaschev <imz@altlinux.ru> 2.6.5-alt1.imz1 +- Added kernel-feat-drivers-console-unicode: + fixes the imperfectness of Linux VT/console Unicode support + (involves a change of the kernel interface used by loadkeys, + but mainly is compatible with old loadkeys). + * Mon Apr 05 2004 Anton Farygin <rider@altlinux.ru> 2.6.5-alt1 - 2.6.5 - added squashfs patch
next reply other threads:[~2004-04-25 22:08 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-25 22:08 Ivan Zakharyaschev [this message] 2004-04-26 10:24 ` Aleksey Novodvorsky 2004-04-26 12:26 ` Anton Farygin 2004-05-02 11:32 ` Ivan Zakharyaschev 2004-05-02 11:41 ` Ivan Zakharyaschev 2004-05-11 17:52 ` Anton Farygin 2004-05-02 14:34 ` Dmitry V. Levin 2004-05-17 12:17 ` Dmitry V. Levin 2004-05-17 13:08 ` Sergey Vlasov 2004-05-17 15:37 ` Ivan Zakharyaschev 2004-05-17 19:51 ` Sergey Vlasov 2004-05-17 21:14 ` Ivan Zakharyaschev 2004-05-18 5:01 ` Anton Farygin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=Pine.LNX.4.58L.0404260113420.16975@lrn.ru \ --to=imz@altlinux.org \ --cc=devel-kernel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git