I've gotten used to having the Ctrl key being located below the Shift key instead of above.
I occasionally hit the CapsLock by mistake and would like to map to act like another Shift key.
Searching the web, I see plenty of postings on how to map it to a Ctrl key, or swap the CapsLock <-> Ctrl, so please don't tell me how to do these.
Also I only want to know the parameters for setxkbmap not xmod. I've looked at system configuration files but still haven't figured out which names I need to use.
Related
As described in this answer is possible to map keystrokes to commands in a terminal. And to do this, there is a specific bash syntax for describes each key, as \e[11~ for F1 or Control-o for ControlO
How not everyone is deductible, I would like to find a way to discover each key associated string. If I just press it in terminal nothing happens for most of non-alphanumeric keys
I think you can alternatively install expect, start autoexpect and see what are the codes for your key strokes in generated file.
I read for a few hours on different threads for this issue without any results. Every time I was doing searches for something like
"lwindow" meta
I was always getting into EmacsWin32 code which appears to be code developed in 2006.
So, here I am to ask the question:
Is it possible to remap the Meta key, for Emacs, in Windows to something else than Alt?
I would prefer to remap it to the Windows key, but I don't think it is possible. Then the Fn (function) key would be a good alternative.
I need my Alt key operational in Emacs since it is used for all kind of things on a French keyboard.
I know nothing about Windows, but w32-pass-alt-to-system, w32-alt-is-meta, w32-lwindow-modifier, and w32-rwindow-modifier seem like good candidates (maybe combined with w32-pass-lwindow-to-system and friends).
Finally the only thing that worked for me is to use the
(require 'iso-transl)
That is making sure that the mapping of my (Canadian) French keyboard is working properly.
Then I started to use the right Alt instead of the left one. That way, I can do everything that I was doing with Ctrl+Alt.
I would like to use arrow keys to move some points in a QuickWin plot in my console applications. Is there a library out there providing support for something like that?
There are quite a few function calls supported by quickwin: try incharqq, getcharqq or peekcharqq. You'll have to write a noddy program to find out what the key sequences for the arrow keys are.
The call that you may be missing is passdirkeysqq with the parameter PASS_DIR_TRUE. This will enable you to see the direction keys. Each one comes out as 2 keys with the lead character being 224.
If you are not getting any success with this, try using the numeric keypad.
I just wrote a "on start up" script for Mac OS X and want it to NOT fire if I hold down a key, e.g. the shift key.
Anyone know how to check if the shift key is down from a bash script?
You need to interface with a Mac-OS-X-specific API that has this "hold down a key" concept. There's no such thing in bash, nor in related Unix/POSIX APIs. Doubly so with the modifier keys like Shift or Control.
I'm trying to save a macro to the file I'm editing.
All goes well until I close and reopen the file. When I reopen the file, the pasted macro
<80><fc>^B Setup^M<80>
has become
■üSetup^M■
I assume this is encoding related but it's beyond me on how to resolve it.
Following are some settings that might be relevant:
fileformat=dos
fileformats=dos,unix
fileencoding=latin1
fileencodings=ucs-bom,utf-8,latin1
encoding=utf-8
Does anyone have an idea what I need to change to make it work?
Edit
I had no idea where the <80><fc>^B sequence was coming from.
It appears to be inserted into the macro when I type //***** Setup with the SHIFT key pressed up until the S from setup. The macro gets pasted as //*****<80><fc>^B Setup
Note 1: I use an Azerty keyboard. For the keys / and *, I need to press the shift key.
Note 2: A solution is to not hold the SHIFT key when typing the space character between //***** and Setup. Holding the shift key mearly has become an automatism when typing that pretty much used sequence.
you are using the gui with -W option? Then read that question. It is really related to it.