Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
- gcc
- wget
| 1455924832.332243 PTYTextView.m:1900 (-[PTYTextView mouseDown:]): Mouse Down on <PTYTextView: 0x7fdc6020a620 frame=NSRect: {{0, 2}, {1096, 952538}} visibleRect=NSRect: {{0, 951538}, {1096, 1000}} dataSource=<VT100Screen: 0x7fdc602068f0 grid:<VT100Grid: 0x7fdc60206a40 size=181 x 83, cursor @ (31,81)>> window=<PTYWindow: 0x7fdc5b544a20 frame=NSRect: {{680, 0}, {1112, 1045}} title=1. [email protected] (ssh) alpha=1.000000 isMain=1 isKey=1 isVisible=1 delegate=0x7fdc5b42c530>> with event NSEvent: type=LMouseDown loc=(224.355,750.559) time=730586.2 flags=0x100 win=0x7fdc5b544a20 winNum=16933 ctxt=0x0 evNum=26468 click=1 buttonNumber=0 pressure=1 deviceID:0x300000014400000 subtype=NSTouchEventSubtype, num touches=0 | |
| 1455924832.332255 PTYTextView.m:1943 (-[PTYTextView mouseDownImpl:]): mouseDownImpl: called | |
| 1455924832.332269 PTYTextView.m:1979 (-[PTYTextView mouseDownImpl:]): mouseDownImpl - set mouseDownIsThreeFingerClick=NO | |
| 1455924832.332291 PTYTextView.m:2042 (-[PTYTextView mouseDownImpl:]): Set mouseDown=Y |
| diff --git a/sources/iTermProfilePreferences.m b/sources/iTermProfilePreferences.m | |
| index 2561f5b..a74debb 100644 | |
| --- a/sources/iTermProfilePreferences.m | |
| +++ b/sources/iTermProfilePreferences.m | |
| @@ -12,6 +12,8 @@ | |
| #import "NSColor+iTerm.h" | |
| #import "PreferencePanel.h" | |
| +#define BLOCK(x) [[^id() { return [self x]; } copy] autorelease] | |
| + |
| First, install XCode from the app store. It takes a while to download so be patient. | |
| At the command prompt: | |
| git clone https://github.com/gnachman/iTerm2.git | |
| cd iTerm2 | |
| open iTerm2.xcodeproj | |
| XCode will open. Do this: | |
| Long click on the "play" right arrow button in the top left of XCode |
| #!/bin/bash | |
| CD_CMD="cd "\\\"$(pwd)\\\"" && clear" | |
| if echo "$SHELL" | grep -E "/fish$" &> /dev/null; then | |
| CD_CMD="cd "\\\"$(pwd)\\\""; and clear" | |
| fi | |
| VERSION=$(sw_vers -productVersion) | |
| OPEN_IN_TAB=0 | |
| while [ "$1" != "" ]; do |
| - (id)retain { | |
| if (_debug) { | |
| NSLog(@"retain %@ rc->%d", self, (int)self.retainCount + 1); | |
| NSLog(@"%@", [NSThread callStackSymbols]); | |
| } | |
| return [super retain]; | |
| } | |
| - (oneway void)release { | |
| if (_debug) { |
Based on this: http://blennd.com/post/the-pains-of-installing-tmux-on-a-shared-server/ Script forked from https://gist.github.com/shime/5706655/
| { | |
| "kind" : "projecthosting#user", | |
| "id" : "@VRdVRFRUBRFGXgB6", | |
| "projects" : [ { | |
| "kind" : "projecthosting#project", | |
| "name" : "testprojectgn", | |
| "externalId" : "testprojectgn", | |
| "htmlLink" : "/p/testprojectgn/", | |
| "summary" : "teswt", | |
| "description" : "test", |
| on write_to_file(this_data, target_file, append_data) | |
| try | |
| set the target_file to the target_file as string | |
| set the open_target_file to open for access file target_file with write permission | |
| if append_data is false then set eof of the open_target_file to 0 | |
| write this_data to the open_target_file starting at eof | |
| close access the open_target_file | |
| return true | |
| on error | |
| try |
| <key>LoadPrefsFromCustomFolder</key> | |
| <true/> | |
| <key>PrefsCustomFolder</key> | |
| <string>path to folder with com.googlecode.iterm2.plist file, or URL of plist file</string> |
| - (void)setRectDirtyFromX:(int)fromX Y:(int)fromY toX:(int)toX Y:(int)toY | |
| { | |
| assert(fromX >= 0); | |
| assert(fromX < WIDTH); | |
| assert(toX >= 0); | |
| assert(toX <= WIDTH); // <= because not inclusive of toX. | |
| assert(fromY >= 0); | |
| assert(fromY < HEIGHT); | |
| assert(toY >= 0); | |
| assert(toY < HEIGHT); |