IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Significantly...
This single biggest reason I don't use OSX for my primary machine.

Remapping Keys only seems to work globally... and therefore "breaks everything else"* when you configure it to work in a terminal for you.

There is also another key set (home-end) that do not work as expected for me and seems to "break everything else"* when I re-define the keymap.



* "break everything else" == complaints from the female majority of the house hold that things aren't working as expected and is a PITA to change behavior.
New Greg... get iTerm
Then do this:

1) Run the program, then exit.
2) cd ~/Library/Preferences
3) cp net.sourceforge.iTerm.plist net.sourceforge.iTerm.plist.bak
4) plutil -convert xml1 net.sourceforge.iTerm.plist
5) edit the plist file, and find this section:

<key>Global Profile</key>
<string>Yes</string>
<key>Key Mappings</key>
<dict>

6) Insert the following after the <dict> (I wrote this with an Emacs macro after doing the first three by hand in the keyboard profile editor...) :

<key>0x61-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>a</string>
</dict>
<key>0x62-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>b</string>
</dict>
<key>0x63-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>c</string>
</dict>
<key>0x64-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>d</string>
</dict>
<key>0x65-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>e</string>
</dict>
<key>0x66-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>f</string>
</dict>
<key>0x67-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>g</string>
</dict>
<key>0x68-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>h</string>
</dict>
<key>0x69-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>i</string>
</dict>
<key>0x6A-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>j</string>
</dict>
<key>0x6B-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>k</string>
</dict>
<key>0x6C-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>l</string>
</dict>
<key>0x6D-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>m</string>
</dict>
<key>0x6E-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>n</string>
</dict>
<key>0x6F-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>o</string>
</dict>
<key>0x70-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>p</string>
</dict>
<key>0x71-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>q</string>
</dict>
<key>0x72-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>r</string>
</dict>
<key>0x73-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>s</string>
</dict>
<key>0x74-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>t</string>
</dict>
<key>0x75-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>u</string>
</dict>
<key>0x76-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>v</string>
</dict>
<key>0x77-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>w</string>
</dict>
<key>0x78-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>x</string>
</dict>
<key>0x79-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>y</string>
</dict>
<key>0x7A-0x100000</key>
<dict>
<key>Action</key>
<integer>10</integer>
<key>Priority</key>
<true/>
<key>Text</key>
<string>z</string>
</dict>

7. Save the file, then restart iTerm. All Command keys will now be remapped to their Alt equivalents. This has the side effect of completely disabling all the menu commands, but if you're like me you really won't give a rat's ass. :-)
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Dude...
I put in on the Dell...

I think I might have to goto the Apple Store and check out a Mac Pro or something...

and a MacBook Pro.

Damn. I just wish I had about $10K laying around.... I'd blow it on those two things.
New I'll probably end up doing 00 through FF
That XML only covers letters.

Man, this is nice. Emacs in a remote ssh to my work machine Just Works.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New What, no Dvorak version?
     Keyboards for Apple; key-mapping angles? - (Ashton) - (20)
         Adding to that: - (malraux) - (16)
             Significantly... - (folkert) - (4)
                 Greg... get iTerm - (malraux) - (3)
                     Dude... - (folkert) - (2)
                         I'll probably end up doing 00 through FF - (malraux) - (1)
                             What, no Dvorak version? -NT - (Another Scott)
             Use ZOC? - (Another Scott) - (10)
                 I'll give it a try, but dang, $100 for a terminal program? -NT - (malraux) - (9)
                     Yeah, it's spendy. But very good. - (Another Scott) - (8)
                         brings back memories, porting 7bit kermit to 8bit - (boxley) - (1)
                             C-Kermit is amazing. - (Another Scott)
                         Nope, no worky. BUT... - (malraux) - (5)
                             Excellent! -NT - (Another Scott)
                             Re: Nope, no worky. BUT... - (folkert) - (3)
                                 :-) - (malraux) - (2)
                                     It was my single reason... - (folkert) - (1)
                                         Re: It was my single reason... - (Steve Lowe)
         No personal experience. - (Another Scott) - (1)
             Thanks; neglected to mention I used that option - (Ashton)
         Re: Keyboards for Apple; key-mapping angles? - (Bman)

Worth getting into a flame war on the New York Times crossword blog.
47 ms