ruby tricks and terminal multiplexer