The 1/8 canary build has been promoted to a testing build and will
auto-update beginning now.
Release notes:
iTerm2 1.0.0.20120108
You'd better sit down for this one.
Marquee Features
- Deep tmux integration!
Have you ever had an ssh session lost because you had to reboot, had a
network failure, or the power went out? Are you tired of giving up a
keystroke to tmux or screen? Suffer no longer! iTerm2 and tmux are now
deeply integrated. By installing a special version of tmux, it gains
the ability to speak directly to iTerm2. When you run tmux with -C,
iTerm2 will open real, native windows or tabs for each tmux window.
The whole state of your tmux session is reflected in native iTerm2
windows. As you interact with a window, your typing is sent back to
tmux. Any time you resize a window, add a split pane, close a split
pane, close a window, or open a window (with Shell->tmux->new
window), that action happens in tmux as well as in iTerm2. Even your
window positions and tabs are saved from session to session. For more
advanced tmux users, there is a "tmux dashboard" that lets you manage
you windows and sessions graphically.
Download the tmux code here:
http://code.google.com/p/iterm2/downloads/detail?name=tmux-for-iTerm2-20120108.tar.gz
A tmux build already compiled for Mac OS 10.7 is also available here:
http://code.google.com/p/iterm2/downloads/detail?name=tmux-for-iTerm2-20120108-precompiled.tar.gz
Enhancements
- Add title bars to split panes that show the title. You can drag
panes by their titles, and there is a menu and a close button in it as
well.
- Support Lion's Restore functionality.
- "Find" continues to search as new text appears.
- Add option to always copy preferences to prefs stored in a custom folder.
- Add "Always Run Command..." option to semantic history, which runs a
command even if you don't cmd-click on a filename.
- Add a new panel to prefs to make mouse actions configurable.
- Add option to make triple-click select a whole wrapped line rather
than just one row.
- Add 'New Window (Default Profile)' to dock menu.
- Allow users to add context menu actions through
Prefs->Profiles->Advanced->Smart Selection->Edit Actions.
When you right-click on text matching a a smart selection, the actions
are added to the context menu.
- Add hidden option AutocompleteMaxOptions to adjust number of
autocomplete entries.
- Add hidden option PasteHistoryMaxOptions to adjust number of paste
history entries.
- Add a new trigger action called "Silent Coprocess" that mutes the
session while running (ideal for rz/sz).
- Add \5 as a macro in Semantic History commands to pass the PWD.
- Make growl alerts clickable (thanks, soul.cake.tuesday.duck and bauerb).
- Add hidden variable URLCharacterSet that defines characters that are
part of a URL.
- Expand tildes in custom prefs folder
- Add blend option to profile window prefs to adjust how much of the
background image shows through.
- Fix bug where mouse cursor was often wrong
- Keep the close button visible when only one item is in the toolbelt
and have it hide the toolbelt.
- Change shortcut to set font size to normal to cmd-0
- The coprocess field now remembers the last 20 entries.
- Add tmux prefs to general prefs pane.
- Use tmux profile's size for tmux windows.
- Add hide after open option to window profile prefs.
- Tweak smart cursor threshold to be a bit more aggressive about
making the character white or black. Add hidden options
SmartCursorColorFgThreshold/SmartCursorColorBgThreshold to allow the
user to tweak it.
- Respect line number setting in tmux profile.
Bug fixes:
- Growl notifications were off by default. Should work with Growl 1.3 now.
- Fixed display of different-sized screens in window arrangements tab
of prefs (thanks, 0xae).
- Add | to legal URL characters.
- Run triggers on CR, not just LF.
- Fix toolbelt support in Lion fullscreen.
- Ignore sigpipe from coprocesses.
- Show all tabs in Window->Select Tab.
- Fix number-of-scrollback-line field in Lion, which wouldn't allow
you to go over 1000.
- Fix bug where scrolling the window while making a selection didn't
work sometimes.
- Fix bug with window size changing badly when switching monitors.
- Fix bug where move tab to new window command in tab's context menu
creates a session with all black.
- Preserve window number when toggling traditional fullscreen.
- Respect "dim inactive split panes setting" when restoring window
arrangements and broadcasting input.
- Remove excess logging from hotkey window code
- Don't set LC_CTYPE to unsupported locales
- Remove most of the disallowed function calls between fork and exec.
- Fix bug where closing a window would sometimes crash.
- Revert to old-style blur code for 10.6 to avoid window server crashes.
- Fix bugs where windows weren't properly dimmed/undimmed (1664)
- Fix bug where choosing the home directory option in advanced prefs
did not run login.
- Fix assertion with highlighting trigger.
- Fix assertion with certain kinds of clicks on splitters.
I just upgraded and found a small bug. When iTerm2 is not running,
clicking on a Dock icon to start it does not open a default session. I
remember this being broken before and was fixed. Perhaps I'm missing a
configuration knob somewhere?
-Marko.
-Marko.
-Marko.
Saving a default window arrangement solved both of the issues I had.
It's a bit counter intuitive (IMHO) and perhaps should be made the
default behavior. I found the solution to my problem, so no big deal
for me at this point. Thanks for the pointer!
-Marko.
On Sun, Jan 22, 2012 at 14:18, George Nachman <gnac...@llamas.org> wrote:
When I save the window arrangement, iTerm2 also saves the profile used
for the windows. I sometimes have the need to change the "default"
profile depending on what I'm doing (when I'm teaching I have a
different high-contrast profile). However, with this solution,
starting iTerm2 will open the saved profile and not the one that was
marked "default" in the profiles, defeating the whole idea of the
default profile.
-Marko.
After my iTerm2 updated, it blew up trying to reopen and every time I
try to start it thereafter. This is the exception I get:
----
Process: iTerm [31173]
Path: /Applications/iTerm.app/Contents/MacOS/iTerm
Identifier: com.googlecode.iterm2
Version: 1.0.0.20120108 (1.0.0.20120108)
Code Type: X86-64 (Native)
Parent Process: launchd [140]
Date/Time: 2012-01-23 08:17:27.371 -0500
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 2862358 sec
Crashes Since Last Report: 4
Per-App Crashes Since Last Report: 4
Anonymous UUID: E06BFF2F-6833-4B79-B56F-C7A3AEC30E6B
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded:
@loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Applications/iTerm.app/Contents/MacOS/iTerm
Reason: image not found
Binary Images:
0x100000000 - 0x10018dfe7 +com.googlecode.iterm2
(1.0.0.20120108 - 1.0.0.20120108)
<441499C8-B358-BFFE-2AC9-A64E596A2779>
/Applications/iTerm.app/Contents/MacOS/iTerm
0x7fff6d60f000 - 0x7fff6d643ac7 dyld (195.5 - ???)
<B372EB7D-DCD8-30CE-9342-E06CADD7CACA> /usr/lib/dyld
0x7fff8f6da000 - 0x7fff902dbff7 com.apple.AppKit (6.7.2 -
1138.23) <5CD2C850-4F52-3BA2-BA11-3107DFD2D23C>
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff96933000 - 0x7fff96b35fff libicucore.A.dylib (46.1.0 -
compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101>
/usr/lib/libicucore.A.dylib
Model: iMac12,2, BootROM IM121.0047.B1D, 4 processors, Intel Core i5,
2.7 GHz, 4 GB, SMC 1.72f1
Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE,
0x45424A3231554538424655302D444A2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE,
0x45424A3231554538424655302D444A2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A),
Atheros 9380: 4.0.58.4-P2P
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b,
0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: hub_device, 0x2001 (D-Link Corporation), 0xf103, 0xfa120000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215,
0xfa111000 / 6
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: FreeAgent, 0x0bc2 (Seagate LLC), 0x3001, 0xfd140000 / 6
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd130000 / 5
USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0xfd132000 / 7
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
FireWire Device: LaCie d2 Extreme LUN 0, LaCie Group SA, 800mbit_speed
--
Christopher Patti - Geek At Large | GTalk: cpa...@gmail.com | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
@david That option moved to the view menu, and is cmd-0 or cmd-opt-0
@Chris There's an occasional bug in the auto-updater that causes that.
Reinstall and you'll be good.
> Marquee Features
> - Deep tmux integration!
> Have you ever had an ssh session lost because you had to reboot, had a
> network failure, or the power went out? Are you tired of giving up a
> keystroke to tmux or screen? Suffer no longer! iTerm2 and tmux are now
> deeply integrated. By installing a special version of tmux, it gains
> the ability to speak directly to iTerm2. When you run tmux with -C,
> iTerm2 will open real, native windows or tabs for each tmux window.
I hope this isn't a silly question, but is this expected to work through
SSH?
I regularly develop on my linux box because it's identical to the
deployment environment. I use iterm2 on my Mac, create a shell, ssh to
the linux box, tmux attach, and off we go. However, it would be
fantastic to have integration between the tmux tabs and the iterms tabs,
so effectively once I ssh in and attach, the local iterm would gain
extra tabs?
Is this expected to ever work?
Many thanks!
Ed W
Cheers,
Matteo Castelli
That's exactly how it works now. I run tmux on a remote system. When I
ssh in and attach, all my previous tabs and windows pop open. It's very
nice. A little buggy still, and you need to compile the special iTerm2
version of tmux, but all in all it's a very promising start.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
ssh -t username@hostname tmux -C attach
It's configured to hide immediately (under prefs->profiles->window).
When I open a new window with that profile, it immediately
miniaturizes into the dock and my tmux windows open up.
Another handy trick, not directly related to iTerm but very convenient
for this mode of use... Instead of running tmux directly, use a wrapper
script to first reset the SSH_AUTH_SOCK variable. That way, you still
have ssh-agent support after you've attached.
(on my Mac)
ssh -t username@hostname bin/tmux-iterm
(~/bin/tmux-iterm on the remote machine)
#!/bin/bash
# Reattach to (or spawn new if does not exist)
# tmux session "$1"
BIN="$HOME/bin/tmux -C"
if [ -z "$TMUX" ]; then
if [ ! -z "$SSH_TTY" ]; then
if [ ! -z "SSH_AUTH_SOCK" ]; then
ln -sf "$SSH_AUTH_SOCK" "$HOME/.wrap_auth_sock"
fi
export SSH_AUTH_SOCK="$HOME/.wrap_auth_sock"
export STY="tmux-iterm"
if $BIN has-session -t "iterm"; then
exec $BIN attach-session -t "iterm"
else
exec $BIN new-session -s "iterm"
fi
fi
fi