Hi list, On 2025-11-24 at 16:14 -0500, Nicolas Pitre <[email protected]> wrote: > On Mon, 24 Nov 2025, Sébastien Hinderer wrote: > > It seems the virtual consoles do not (yet?) have the capacity to > > distinguish e.g. Enter from Contro-Enter,
> It does. Try this: > $ cat > ~/ctrl-enter.map << EOF > control keycode 28 = F100 > string F100 = "foobar" > EOF > $ sudo loadkeys ~/ctrl-enter.map I think the problem is more comp/lex than this. If I run the above commands, CTRL+Enter really is mapped to function key F100, which produces "foobar", but "foobar" will not be recognized by any application as a press of CTRL+Enter. Would you mind taking a look at this: http://www.leonerd.org.uk/hacks/fixterms/ It is a non-comprehensive description of the "CSI u" mode which many modern terminal emulators, like xterm, kitty, alacritty and iTerm2 support. If Linux console supported this mode, it would make a huge number of new key combinations available to users, mostly without any configuration. -- Aura _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
