Re: [O] terminal emulators
Gregor Zattler writes: I never used a terminal emulator which would let me use Shift-Control key combos. Actually I would be very interested in working Shift-Ctrl key combos. I'm not sure when and where I've had that working or I may be misremembering another combination. In any case, in konsole Ctrl-Shift-. is a Hotkey and can be mapped to Ctrl-:, so whatever application uses the terminal never gets to see that combo anyway. Similarly in GNOME a lot of the Ctrl-Shift plane is taken up by standard shortcuts (which you will have to disable first). In any case, to make it work you'd need to switch the terminal mode so that it communicates the modifier keys out-of-band (as CSI escape sequences AFAIK) to the application. There's no way to have it in normal mode and be able to send Ctrl-Shift anything since there simply aren't any codings for this. In XTerm this can be controlled via the modifyKeys resource IIRC. There are other modes like the old X10 terminal mode that synthesize key events, too. You are able to type C-: in an emacs running in a terminal emulator? Right now, no. I haven't configured this in years and thankfully it has been even longer I've had to program through an actual serial line (at 1200baud Emacs isn't going to work well and you're very thankful for a vi, BTW). Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
Re: [O] terminal emulators
Gregor Zattler telegr...@gmx.net writes: Hi Achim, * Achim Gratz strom...@nexgo.de [10. Feb. 2014]: You cannot enter C-: in some terminals because it would require simultaneous processing of shift and control (these terminals ignore shift while control is pressed). this is true for xterm, rxvt-unicode, gnome-terminal, konsole and the linux console. This terminal feature surprised me so I checked a few terminals I have here. xterm on Debian (278-4) does pass the C-:. Testing with C-c C-: after starting emacs -nw -q in that xterm I get the expected: C-c C-: is undefined But, I confirm that mate-terminal (1.6.1-1.1+7.wheezy) and rxvt (1:2.6.4-14) strip off the Ctrl. There the test produces: C-c : is undefined I note that mate-terminal does process Ctrl+Shift as some of its shortcuts use this combo. So, it's actively stripping the Ctrl away. -Brett. pgpE3DkoflQIp.pgp Description: PGP signature
Re: [O] terminal emulators
Gregor Zattler writes: You cannot enter C-: in some terminals because it would require simultaneous processing of shift and control (these terminals ignore shift while control is pressed). this is true for xterm, rxvt-unicode, gnome-terminal, konsole and the linux console. Terminal emulators and certainly all of those you've listed usually pass this on correctly unless they are explicitly configured (by the user or the application using them) not to (at least when in an UTF-8 locale). Since Emacs tries to use the full terminal capabilities you must have configured something that prevents this from being enabled by Emacs if it doesn't work for you. Note that some X kbd configurations take over Shift+Control (usually just for left or right) to emulate hyper or super, but that would cause Emacs to recognize these events instead, I'd think. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] terminal emulators
Hi Achim, * Achim Gratz strom...@nexgo.de [11. Feb. 2014]: Gregor Zattler writes: You cannot enter C-: in some terminals because it would require simultaneous processing of shift and control (these terminals ignore shift while control is pressed). this is true for xterm, rxvt-unicode, gnome-terminal, konsole and the linux console. Terminal emulators and certainly all of those you've listed usually pass this on correctly unless they are explicitly configured (by the user or the application using them) not to (at least when in an UTF-8 locale). Huh? I added a new user account to my debian/testing system with no further customization whatsoever and renamed xorg.conf and /etc/default/keyboard. Then I started X as this new user, opened a xterm and a rxtv-unicode, started emacs -Q -nw, did C-h k (describe key) and hit C-: which is Shift-Control-. on a german qwertz keyboard. It says : runs the command self-insert-command, which is an interactive built-in function in `C source code'. I never used a terminal emulator which would let me use Shift-Control key combos. Actually I would be very interested in working Shift-Ctrl key combos. Since Emacs tries to use the full terminal capabilities you must have configured something that prevents this from being enabled by Emacs if it doesn't work for you. Note that some X kbd configurations take over Shift+Control (usually just for left or right) ATM I can't test with different (left, right) control keys since I'm at a MacBook, there sadly is only one control key. to emulate hyper or super, but that would cause Emacs to recognize these events instead, I'd think. You are able to type C-: in an emacs running in a terminal emulator? Ciao; Gregor