ahmac

ahmac


CONTENTS

-------- BOOTSTRAP MACPORTS HOMEBREW X11_COPY_PASTE SEE_ALL_FILES_IN_FINDER

BOOTSTRAP

-- install xcode. Seach for it in apple store. Free download. Takes about a day to download -- install macports. www.macports.org Download the installer and run it. -- install cvs, wget export PATH=/opt/local/bin:/opt/local/sbin:$PATH sudo port install cvs sudo port install wget -- get and build mybin cd ~ wget www.rawbw.com/~acorn/bootstrap.bash bash ./bootstrap.bash -- install X11 Running xterm should bring up a dialog that points you to how to install X11. If that does not work, follow instructions to download and install here: http://xquartz.macosforge.org/landing/ -- use macports to install other SW -- optionally install homebrew. Compatible with and separate from macports. http://brew.sh/ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

MACPORTS

All files installed under /opt/local/... Updgrade macports and get latest package info sudo port selfupdate Updgrade all packages sudo port upgrade outdated Search for a package (by name or partial name) port search <partial-pkg-name> Install a package sudo port install <pkg-name> See what is installed port installed See what is available (all packages) port list Info on a package (installed or not) port info <pkg-name>

HOMEBREW

All files installed under /usr/local/... Update meta info (NOTE: sudo not needed! Do not use it!) brew update troubleshoot brew doctor https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md see what is out of date brew outdated upgrade installed packages brew upgrade install package foo brew install foo help brew help

X11_COPY_PASTE

option-click is middle mouse button (for paste in xterm) To get copy paste working between xterm and regular mac apps: Edit ~/.Xdefaults and add this line: *VT100.translations: #override Meta <KeyPress> V: insert-selection(PRIMARY, CUT_BUFFER0) n Then Quit X11 Then run X11 (or run xterm). In X11 preferences: Input tab: check "Emulate 3-button mouse" uncheck "Follow system keyboard layout" check "enable key equivalents under X11" uncheck "Option keys send Atl_L and Alt_R" Pasteboard tab: check "enable syncing" check "update pasteboard when CLIPBOARD changes" check "Update CLIPBOARD when Pasteboard changes" check "Update PRIMARY (middle-click) when pasteboard changes" check "update pasteboard immediately when new text is selected"

SEE_ALL_FILES_IN_FINDER

To see all files/dirs in finder window, type this in terminal: defaults write com.apple.finder AppleShowAllFiles TRUE killall Terminal