Re: [DNG] Fwd: [kbd] [ANNOUNCE] kbd-2.3.0
il devuanizzato terryc il 12-07-20 05:59:45 ha scritto: On Sat, 11 Jul 2020 16:14:44 +0200 viverna wrote: Swapping the order of your comments. Only I think pure console in Linux should be better treated (for example 16M colors (if framebuffer is enabled it is possible), support for very large font, better support for SGR parameters in ANSI escape code, maybe Sixel. Err, AFAIK, the console is just a minimmal text based output to provide information in the event of error in the intial boot up and yes, ever since 1920x1024(?) capable screen became common place, you might have to quIck with a magnifying glass if you need to see those initial few lines. For me console is more than a minimal text based output to provide information in the event of error until X11 login manager ask you password. Console and text based shell is the core of the system. My workflow is the following: - start pc - grub (heavly configurated) launch 3 different configuration of framebuffer (KMS,uvesafb,none) (maybe in the future with different init system). - init system do the job - no X at startup - getty manage CLI login - using pure console for: * internet (read email, browsing simple site, instant messaging, * and so on...) * programming * read most document (maybe with framebuffer) * watch photo and simple video (with framebuffer) * almost everything else - launch X with WM/DE that I want at that moment with "ax" and exit - halt the system I'm not young man and my preferred Human-computer interaction is TUI. Various interfaces in the DOS era and modern software TUI for Linux are the best. WIMP it's not for me. Technically speaking: - 16M colors (if framebuffer is enabled it is possible, without is not possible because of hardware limitations of VGA consoles, 2 byte for character and color). I read commit in linux: https://github.com/torvalds/linux/commit/cec5b2a97a11ade56a701e83044d0a2a984c67b4 "Because of hardware limitations of VGA consoles, colours are downgraded to 16 foregrounds and 8 backgrounds. On fbdev consoles it would be possible to support them without quality loss, but adding that would require quite a large amount of code." I wonder how large code could be. - support for very large font "Due to kernel limitations, this is suitable only for 16x16 or smaller fonts." Where are in the kernel these limitations? Swapping from the default of 640x460 to 1024x768 enabled me to clearly read the boot up text on the console after the initial few lines. Lowering the resolution enlarge me the font. But I don't know how change resolution in console with KMS framebuffer (fbset don't work). With uvesafb fbset work well. The the solution of course has always been to have a simpler monitor to pug in to sort out the initial book problems. Should I buy a new large monitor with lower resolution (for "lower" intend Full HD not likely "lower")? -- _ < Viverna > - \^/^ \ / \ // \ \ |\___/| / \// .\ \ /0 0 \__ /// | \ \ ** / / \/_/// | \ \ \ | @_^_@`/ \/_ //| \ \ \/\ \ //_^_/ \/_ // |\\ \ \ ( //) |\/// | \ \ | | ( / /) | // | \ _\ | / ( // /) | ; -.|_ _\.-~ / / (( / / )) |_ *-.|.-~-. .~~ (( // / ))\ / ~-. _ .-~ / (( /// )) `. }{ / (( / )) .~-.\\-` .~ ///...<\ _ -~ ///-._ _ _ _ _ _ _{^ - - - - ~ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Fwd: [kbd] [ANNOUNCE] kbd-2.3.0
On Sat, 11 Jul 2020 16:14:44 +0200 viverna wrote: Swapping the order of your comments. > Only I think pure console in Linux should be better treated (for > example 16M colors (if framebuffer is enabled it is possible), > support for very large font, better support for SGR parameters in > ANSI escape code, maybe Sixel. Err, AFAIK, the console is just a minimmal text based output to provide information in the event of error in the intial boot up and yes, ever since 1920x1024(?) capable screen became common place, you might have to quIck with a magnifying glass if you need to see those initial few lines. However, there are options in grub.cfg(?) to improve stuff where you can set certain parameters to improve how messages are displayed. Being no expert on this and just crawling through my current grub.cfb which is the result of hacking to fix similar problems in the past, there are settings to do with font and gfxmode, then you can invoke gfxterm and switch the display to that. ...extract ... if loadfont $font ; then set gfxmode=1024x768 load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_AU insmod gettext fi terminal_output gfxterm end of extract.. Swapping from the default of 640x460 to 1024x768 enabled me to clearly read the boot up text on the console after the initial few lines. In another section, it has the option of loading a video driver or two(mods in i386 section), which might help. The the solution of course has always been to have a simpler monitor to pug in to sort out the initial book problems. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Fwd: [kbd] [ANNOUNCE] kbd-2.3.0
il devuanizzato Clarke Sideroad via Dng il 11-07-20 05:52:30 ha scritto: I thought this might be of interest to some. Clarke Forwarded Message Subject:[kbd] [ANNOUNCE] kbd-2.3.0 Date: Fri, 10 Jul 2020 20:18:30 +0200 From: Alexey Gladkov Reply-To: Linux console tools development discussion To: Linux console tools development discussion kbd 2.3.0 Release Notes === Changes === + Added option -d to double size of font (setfont). Wonderful! I don't buy until now 4K monitor because fonts in console are too small! https://man7.org/linux/man-pages/man8/setfont.8.html "Doubles the size of the font, by replicating all of its pixels vertically and horizontally. This is suitable for high pixel density (e.g. "4k") displays on which the standard fonts are too small to be easily legible." But: "Due to kernel limitations, this is suitable only for 16x16 or smaller fonts." But if I want a very large console fonts 64x64 or 128x128 and so on I obtain an error: "incorrect height" if I manually enlarge character. It is possibile to have a very VERY large console fonts in pure linux console (with fbterm is very simple)? Where are in the kernel these limitations? Only I think pure console in Linux should be better treated (for example 16M colors (if framebuffer is enabled it is possible), support for very large font, better support for SGR parameters in ANSI escape code, maybe Sixel. -- _ < Viverna > - \^/^ \ / \ // \ \ |\___/| / \// .\ \ /0 0 \__ /// | \ \ ** / / \/_/// | \ \ \ | @_^_@`/ \/_ //| \ \ \/\ \ //_^_/ \/_ // |\\ \ \ ( //) |\/// | \ \ | | ( / /) | // | \ _\ | / ( // /) | ; -.|_ _\.-~ / / (( / / )) |_ *-.|.-~-. .~~ (( // / ))\ / ~-. _ .-~ / (( /// )) `. }{ / (( / )) .~-.\\-` .~ ///...<\ _ -~ ///-._ _ _ _ _ _ _{^ - - - - ~ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] Fwd: [kbd] [ANNOUNCE] kbd-2.3.0
I thought this might be of interest to some. Clarke Forwarded Message Subject:[kbd] [ANNOUNCE] kbd-2.3.0 Date: Fri, 10 Jul 2020 20:18:30 +0200 From: Alexey Gladkov Reply-To: Linux console tools development discussion To: Linux console tools development discussion kbd 2.3.0 Release Notes === The kbd-2.3.0 is available at https://kernel.org/pub/linux/utils/kbd/kbd-2.3.0.tar.xz Changes === - New: + Added libkfont library (internal yet). - Keymaps: + Added Canadian Multilingual Standard keyboard map. + Added us1 that maps Right Alt to AltGr and Shift+Tab to Alt+Tab. + The dead_macron is used instead of macron in fi.map. - Utilities: + Added retries when switching to the console (chvt, openvt). + Added option -d to double size of font (setfont). + Added long options, help messages. - Fonts: + Added solar24x32 font. + Updated eurlatgr font. - Docs: + Fixed problems with formatting man pages. Git repository == git://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git git://git.altlinux.org/people/legion/packages/kbd.git https://github.com/legionus/kbd.git Feedback and bug reports, as always, are welcomed. Changelog = Alex Gladkov (4): Use __attribute__ if __GNUC__ is defined Fix build warining: expected 'char **' but argument is of type 'const char **' Limit the size of PIO_UNISCRNMAP argument to E_TABSZ Use autoconf variables Alexander Kanavin (1): analyze.l: add missing string format Alexey Gladkov (74): libkbdfile: Do not stop on the first error libkbdfile: Check compression suffix even if the suffix is part of filename Add newline for error message without errno Use autotest Add e2e tests for some utilities libkeymap: Fix the compatibility with the busybox's loadkmap chvt: Add deadline to change virtual terminal chvt: Fix build with musl Fix more warnings from -Wdiscarded-qualifiers Add --enable-werror to turn some warnings into errors Travis: add arm64, ppc64le, s390x arches libtswrap: fix -Wsign-conversion Revert "chvt: Add deadline to change virtual terminal" Add retries when switching to the console libkeymap: Fix mk_mapname for the plain map Add dead_macron Update eurlatgr font Update eurlatgr font Move addpair and addseq to separate source Add kfont_context Make readpsffont() always return a code Make writepsffont() always return a code Make loadnewmap() always return a code Make saveoldmap() always return a code Make saveunicodemap() always return a code Make loadunicodemap() always return a code Make appendunicodemap() always return a code Drop redefinition of MAXFONTSIZE Functions saveoldfont, saveoldfontplusunicodemap, do_saveoldfont always return a code Function do_loadfont always return a code Functions loadnewfonts, loadnewfont, do_loadtable always return a code Add "kfont_" prefix Add verbose field into kfont_context Function readnewmapfromfile should close the mapfile before return Function saveoldmap should close the mapfile before return Drop memory helpers Move font locations to kfont_context loadunicodemap: Do not use global variables Add overflow check when parsing a unsigned short Add options for kfont Move kernel font related functions to separate library Add kfont_ prefix to all external functions Split external and internal kfont functions Add to kfont function to manipulate unicode tables Check overflow in unicode parser kfont: Drop obsolete header Make kfont logging functions private Make kfont_context private showconsolefont: Fix -Wsign-conversion warnings setkeycodes: Fix -Wsign-conversion, -Wconversion warnings setlogcons: Add more checks for argument getunimap: Use system wctomb by default Fix -Wconversion wanings kfont: Move into a separate function the part responsible for reading the font kfont: Add copyright information Replace kfont_saveoldfont and kfont_saveoldfontplusunicodemap by kfont_save_font Rename kfont functions for better readability Split different methods of getting a font into different functions Split different methods of loading a font into different functions Add long options, help messages Refactor setleds utility Fix problems with formatting man pages Improve and unify error some messages Update po v2.2.90 Fix kbd_mode output Upgrade gettext infrastructure Remove autogenerated files tests: Verify that dumpkeys generates a loadable keymap Fix problems with formatting man pages man: Update title line po: Update translations (from translationproject.org) Add us1 that maps Right Alt to AltGr and Shift+Tab to Alt+Tab v2.3.0 Anthony Perkins (1): Add Canadian Multilingual Standard keyboard map Aristo Grenelle (1): Add solar24x32 font Ben Pfaff (1): setfont: Add option -d to double size of font. Bjarni Ingi Gislason (5): docs/man/man5: Fix warnings from "groff" docs/man/man1misc: Fix a warning from "groff" and spaces docs/man/man1: Fix warnings from "groff" and some other formatting docs/man/man8: Fix a warning from "groff", fonts and a trailing s