cygwin AtlGr+pipe key not working as a pipe but as a split vertical bar

0

In cygwin with Windows 7, when I type AltGr+backtick key, I expect a | pipe sign to be typed, but instead I get a pipe that is split in the middle ¦, which won't act as a pipe sign in cygwin.

How can I reconfigure this to be a pipe sign instead? This doesn't happen anywhere else in the system, where I do get the | sign (browser, terminal via a VM, etc.). Any ideas?

719016

Posted 2013-04-22T09:04:50.137

Reputation: 2 899

1Which language and keyboard layout are you using? – ak2 – 2013-04-22T11:16:39.240

I believe it's en_UK – 719016 – 2013-04-22T14:16:07.303

Answers

2

On a UK keyboard, you can type the pipe symbol with Shift+backslash. AltGr+backtick does indeed yield the broken pipe symbol, but for me that's the same in any other Windows program such as Notepad, Firefox or the Command Prompt.

You could load the UK keyboard layout into Microsoft's Keyboard Layout Creator and modify it. Or you could use AutoHotKey to create the appropriate mapping.

ak2

Posted 2013-04-22T09:04:50.137

Reputation: 3 387

And is there an easy way to change that behaviour in the keyboard map? My brain seems to be wired to go straight to AltGr+backtick – 719016 – 2013-04-22T16:39:47.783

Not sure about easy, but see updated answer. – ak2 – 2013-04-22T21:52:44.870

I downloaded AutoHotKey but I am not sure how to remap the key. It seems like it's all about key combos for different purposes, but couldn't find the remapping section in the tutorial. Any ideas? – 719016 – 2013-04-24T10:26:05.133

Nope, sorry. Maybe a new question specifically about AutoHotKey is in order. – ak2 – 2013-04-24T11:26:33.440