Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way in say a .screenrc file to simulate the following commands?

screen
(ctrl + a) + :split
(ctrl + a) + tab
(ctrl + a) + c
(ctrl + a) + tab
(ctrl + a) + :resize 10

Basically what it does is opens up screen, splits the window in half, creates a new shell in the split window and then resizes the new split to 10 lines.

share|improve this question

migrated from stackoverflow.com Dec 13 '12 at 13:55

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

This got it:

startup_message off
screen
split
focus
screen
resize 10
focus
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.