ITerm 2
sites.google.com
sites.google.com
Surely that is best left as a shell feature...
EDIT: if the author is reading this, you link to a page which describes the incorrect way of enabling 256 colors in Vim (http://kevin.colyar.net/2011/01/pretty-vim-color-schemes-in-...). It suggests using `:set t_Co=256`, but that is generally considered by the Vim community (#vim on freenode) as the improper way of doing it. The correct way to do it is to just set your TERM env variable correctly (iterm does come with or support terminfo that indicates 256 color support, right?).
Just copy over your shell config file if you're really in a poor situation like that often, and it's pretty trivial to make a script that'll automate it.
I'm not convinced auto-completion is one of them though. But hey, if you like GUI popups better it's certainly hackable!
EDIT: The way you'd do this is to provide additional functionality to the shell, not to the terminal.
> It's certainly something that could be done, but also something that shouldn't be done.
I was just thinking out loud how it could be done, so I don't see any disagreement here.
> You would have to make modifications to every possible shell the user might want to use, and these would only be a feature usable in a very select few terminal emulators.
Well, it'd be optional addition. Furthermore...
> It creates way more work because, in short, it's a violation of the Unix design philosophy.
Already shells attempt to detect if your terminal support color output, scrolling etc.
Your shell would still go around its usual business (e.g. auto-completion), the only thing that changes is how you're going to present that functionality to the user. And if terminal you're outputting to is happy to provide a popup, then why not use it? I don't see how that violates Unix design philosophy.
> EDIT: The way you'd do this is to provide additional functionality to the shell, not to the terminal.
Yes, that seems to be more accurate. The shell would make use of the additional capabilities provided by terminal.
I think you meant terminal emulator.
Xterm: xterm-256color, Putty: putty-256color, Gnome Terminal: gnome-256color, Konsole: konsole-256color, Screen/Tmux: screen-256color
And for anyone interested, the best TERM for Terminal.app is dtterm.
I'm interested because the home and end key don't work for me, but when I use this, I get
Error opening terminal: dtterm.
when running a curses app after logging into a Fedora 14 box.One of the handiest SIMBL's I've ever found.
Biggest wins?
* 256 color
* xterm mouse reporting
* more configurable - why do I need scrollbars when I always use screen/tmux?
* split panes - as good as screen :)
My reasons :
* 99% of what I need is there by default (ex: the 4 features here are not important to me)
* stable
* shipped by default, no need to spend time downloading yet another application, following the upgrades etc
* when I need some very special shortcut that terminal.app won't allow me to remap, ex ctrl-numbers, that's a job I can do within controllermate.
Ex: while reading about iterm2 features, I thought this visor key stuff seemed potentially usefull. I did that with CM, mapping the insert key to bring terminal.app to the front, or option-tab to the previous application if it is already focused.
CM is not mandatory : option-arrows can be remapped directly in terminal.app (and there's alwarys esc-b esc-f I know, but when you alt-tab between osx apps to your terminal, sometimes muscle memory sets in)
But some other sequences just can't be done in terminal.app, while they could be useful. Ex: alt delete is esc-d, option-delete is ctrl-k, alt-backspace is ctrl-w, option-backspace is ctrl-u : then bash works just like the OSX default shortcuts
Another one : want to move between tabs? I have been using applescripts in CM (mapped to Ctrl-number, my caps key is the ctrl key) :
tell front window of application "Terminal" to set selected tab to tab 1
To me CM is the best thing since sliced bread.
If you want it in the OSX pasteboard, you need to use cmd-c.
I've never understood the able of screen, yet I've seen its benefits championed over and over, could somebody please God for once enlighten me. Thx!
edit: Oh, and I should say that I can't recall it crashing even once in this period, and I started out using my own build from git head. So I'd say it at least feels very stable.
"BUT iTerm2 IS IN ALPHA! The stability of iTerm2 varies from release to release. Major features that are planned for the first full release haven't been implemented yet, and until that day it will not receive Beta status. That said, many (hundreds to thousands) of people use iTerm2 every day. While some versions are more stable than others, there have been several trouble-free versions released. It's at least worth a try!"
ie: beginning of line -> command + left arrow.
I realize that people are probably used to it, but personally I like minimizing the difference between any context switches I have to make.
Maybe there is an option somewhere I can't yet find.
C-k / C-y is weird in Gmail, though. Anyone know why? Try replying to an email, C-k'ing a line, going to the top, and C-y. I can't make heads or tails of the gibberish that ensues!
fn + left/right acts as home/end
The terminal just needs to communicate the keys pressed.
command i
type new name
hit return
command w
thats the old version, not sure about this new versionexample: ^+left-arrow is easy to configure correctly!
Mac OS X
To install Terminator on Mac OS X you will need to be using the Fink project, and have it configured to allow unstable software. With those requirements satisfied, in a terminal run:
fink install terminator
port info terminator terminator @0.95, Revision 1 (sysutils)
Description: terminator lets you open multiple terminal emulators in a single window. Homepage: http://www.tenshu.net/terminator/
Library Dependencies: python26, vte, hicolor-icon-theme Platforms: darwin License: GPL-2 Maintainers: ryandesign@macports.org, openmaintainer@macports.org
What would I get by using Terminator that I wouldn't get by using iTerm2? One of the first things I did just now after installing it was create a window that looks almost exactly like the one in the Terminator example screen. Except I use 3 shells rather than 4. A full height shell on the left and 2 half height shells on the right.