Tuesday, June 11, 2013

Custom regions in Unix screen

My preferred Unix screen layout looks like this:

##########################
#                 #      #
#                 #      #
#                 ########
#                 #      #
#                 #      #
#                 ########
#                 #      #
#                 #      #
##########################


These are the .screenrc settings required:

# region 0 (width = max - 80; height = max)
screen -t 'LARGE LEFT REGION'
split -v

# region 1 (width = 80; height = max / 3)
focus
resize 80
screen -t 'RIGHT COLUMN: UPPER SCREEN'

# region 2 (width = 80; height = max / 3)
split
focus
screen -t 'RIGHT COLUMN: MIDDLE SCREEN'

# region 3 (width = 80; height = max / 3)
split
focus
screen -t 'RIGHT COLUMN: LOWER SCREEN'

No comments: