瀏覽代碼

doc/notes.txt : Added some notest on OSX installation.

master
Kevin Larke 9 年之前
父節點
當前提交
3ecc39f089
共有 1 個文件被更改,包括 19 次插入3 次删除
  1. 19
    3
      doc/notes.txt

+ 19
- 3
doc/notes.txt 查看文件

@@ -740,24 +740,40 @@ OSX - Install Notes
740 740
 -------------------------------------------------------------------------------
741 741
 1. Install XQuartz (from xquartz.macosforge.org)
742 742
 0. Install Xcode
743
-1. Install macports
743
+1. Install macports  (export PATH="/opt/local/bin:/opt/local/sbin:$PATH")
744 744
 2. sudo port install autoconf
745 745
 3. sudo port install automake
746 746
 4. sudo port install libtool
747 747
 5. sudo port install fftw-3
748
-6. sudo port install fftw-3--single
748
+6. sudo port install fftw-3-single
749 749
 7. port select --list gcc (which gcc is active)
750 750
 8. sudo port install gcc47
751 751
 9. sudo port --set gcc mp-gcc47
752
+   sudo port intsall gdb  (then edit /System/Library/LaunchDaemons/com.apple.taskgated.plist <string>s<string> to <string>sp<string>.
752 753
 10. sudo port install fltk
753 754
 11. sudo port install xorg-libX11 
754
-12.sudo port install git-core 
755
+12.sudo port install git
755 756
 13.sudo port install emacs +x11
756 757
 14 install ~/Library/Preferences/org.larke.kc.txt (is this required?)
757 758
 15 create ~/Library/Preferences/kc
758 759
 16 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv
759 760
 
760 761
 
762
+A. In System Preferences | Keyboard | Shortcuts replace Ctl-<left> with Ctl-Alt-Left in the
763
+Spaces shortcut. This allows emacs to use C-<left> for word-back.
764
+
765
+B. Set keycodes in xmod_apple_keymap to force 'Alt' to be emacs meta key.
766
+
767
+keycode <Cmd> = Super_L NoSymbol Super_L NoSymbol
768
+keycode <Alt> = Alt_L Meta_L Alt_L Meta_l
769
+
770
+Replace <Cmd> with command code of Command key.
771
+replace <Alt> with command code of Alt key.
772
+Use 'xev' to get the keycodes.
773
+
774
+
775
+C. Uncheck enable key equivalents under X11 to prevent Cmd-W from closing window in emacs.
776
+
761 777
 -------------------------------------------------------------------------------
762 778
 Linux - Install Notes
763 779
 -------------------------------------------------------------------------------

Loading…
取消
儲存