One feature I really wish iTerm2 2.0 would have introduced was better session restoration support. With Terminal.app, you can issue a command like 'ls' and then quit and re-open Terminal.app and the previous output from 'ls' shows up. This is incredibly useful when you have to restart or if your system crashes and you have some output that you wanted to preserve. I see from the changelog that some type of restoration…
You can get session management by using tmux integration. Terminal.app almost certainly does not do what you're describing by default.
ITerm2 2.0
61–70 of 237 posts
Re: ITerm2 2.0
#62One feature I really wish iTerm2 2.0 would have introduced was better session restoration support. With Terminal.app, you can issue a command like 'ls' and then quit and re-open Terminal.app and the previous output from 'ls' shows up. This is incredibly useful when you have to restart or if your system crashes and you have some output that you wanted to preserve. I see from the changelog that some type of restoration…
Re: ITerm2 2.0
#63Re: ITerm2 2.0
#64to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.
I use Terminal almost exclusively in full-screen mode, and iTerm allows me to do just that. And no, Terminal.app does not have full-screen mode that is useful. Lion-style fullscreen apps are absolutely useless to me, since you can't bind them to ctrl-[1-9] hotkeys to switch between spaces.
Re: ITerm2 2.0
#65to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.
That's reason enough for me...
Re: ITerm2 2.0
#66The tmux integration is a really interesting piece of work. https://docs.google.com/document/d/1ABI0kqUUxoAjxhWW3AsWFis6... http://code.google.com/p/iterm2/wiki/TmuxIntegration
Yes it's technically interesting but am I alone in thinking that it sort of defeats the purpose of using tmux in the first place? I use tmux partly because I come from a background of low resources, but also because I want my essential tools to use as little resources as possible so that they always work as well as possible on any system. Yet iTerm proposes that you use their GUI tabs, split their GUI terminals inste…
Re: ITerm2 2.0
#67The tmux integration is a really interesting piece of work. https://docs.google.com/document/d/1ABI0kqUUxoAjxhWW3AsWFis6... http://code.google.com/p/iterm2/wiki/TmuxIntegration
Does tmux integrate with itself? That is, does this solve the problem of needing different prefix keys when nesting tmux sessions (whether using iTerm2, or using a terminal emulator that doesn't itself integrate with tmux)?
For me personally, I use ctrl-a instead of ctrl-b so I have this line in my ~/.tmux.conf:
#send prefix to nested sessions with C-a
bind-key C-a send-prefix
Lastly, iterm2 uses it's own keystrokes for it's tmux integration. (i.e.: cmd-D to split vertically)Re: ITerm2 2.0
#68First, thanks for releasing this! Second, silly question, but what is the recommended way to navigate long commands? Is there a way to click my cursor to a specific point, or a keyboard shortcut to navigate large blocks of words? I tried OPTION+LEFT-CLICK, but sometimes it will have the effect of moving my history to the current command.
I have Alt + Left and Alt + Right set to send `^[ b` and `^[ f` which are set to move backwards one word in most readline-based apps (IIRC).
Re: ITerm2 2.0
#69Earlier quoted context omitted.
You can get session management by using tmux integration. Terminal.app almost certainly does not do what you're describing by default.
tmux doesn't help you in this scenario, because the tmux process is lost during a system reboot. I concur with the parent - Terminal.App's ability to restore the previous sessions output after a system crash (which on my macbook Air ranges from daily to weekly - FTDI USB Drivers and Display Port cable being to the two major reason) really make me appreciate that feature.
Re: ITerm2 2.0
#70to HN: What changed you from "terminal.app is good enough" to "I prefer iTerm"? Because that's what I'm asking myself.