Oh yeah, I don't mean manually changing the title. I mean having emerge show what its emerging automatically in the title. I actually edited it (slight bug if package name ends in an r or a). Portage/Emerge also does this, but uses the wrong escape sequence for the "screen" terminal type. Its done through an ANSI escape sequence, the same way it does colors, but in this case its not portable to all terminal types. I actually plan on making another change. Both Compiling and Cleaning start with the same letter, so just having C isn't descriptive and I don't have enough room for the whole word. I'll have to make the hack a little more involved.
Speaking of neat hacks. Open a terminal and type
I'm sure a lot of people have seen it, but perhaps you haven't. Little Easter Egg.
My terminal set-up:
I'm actually using a dual layered approach. I use byobu which is a layer over tmux which is based on screen. This is a standard text application, not graphical. Yeah, sounds complicated, but this has a number of features:
- It can multiplex your terminal, so that you can have multiple shells running on the same screen. Yes you can do this with your GUI terminal, but this works even over SSH and can do split screens and such. There is a lot of flexibility - you can even cut-n-paste without a mouse (mouse is still optional).
- It does session management. If I log in to SSH, I get the same shells that are on my desktop. I can even log in with my phone and the byobu terminal size will change as I rotate the phone. Session management means I can log in remotely (by phone) to check on the status of a long compile, or log out of my desktop and log in to a new one ... and my shells are uninterrupted - compile still running.
- The status line tells me system information such as how hot my CPU is, CPU speed, etc.
- For some odd reason, the termcap entry is "screen", not "xterm"
And since I do a lot of work in the shell I need access to it instantly, but I don't want to open a new window since I really only need a single window. Byobu is multiplexing the contents of the window, so I don't need tabs. In fact, most terminals have a tendency to take up too much space and its easy to lose a couple of them.
Tilda is a pop-up terminal. I configure it to get rid of all the things I don't use. No tabs, no title, no scrollbar. You hit a hot key and it appears (all workspaces). Hit the key again, and its gone. And you can configure what "shell" it runs, so I have it running byobu. ssh runs a "login shell", so it gets byobu. All other terminals (if I run on) are normal bash (bypassing byobu).