This website recently got a major rebuild; if you're missing something, let Lorna know.

Colourful Tabs in Screen



A while ago I posted about screen, and included my .screenrc file. I got some teasing for this, since the tabs show up pink. In fact this .screenrc file is one I stole from somewhere a few years ago and didn't really think much about the colours. Since then I've fiddled with the colours and now use different colours on different servers, which is a nice little addition.

Its really easy to do - using the .screenrc from my previous post - just replace all the M and m characters in the last line with the colour you'd like. I started off with something like this:

image1

Y is for Yellow

replacing m with y and M with Y I get:

image2

Green and Cyan

I've also used g/G and c/C codes for other servers, which looks something like this:

image3 image4

Titles

I seem to be keen on subtitles in blog posts, but I've not labelled many of my screen tabs in these examples (I have no idea why, I usually do). The yellow example has one where one of the tabs is named and this is really helpful once you get past about three tabs and start losing which one was tailing the apache logs! To label a tab in screen, go to that tab and then ctrl+a, shift+a and you are typing in the box. Enjoy :)


In: tech
Tags: #linux #tech