LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   making 9 tabs in screenrc (https://www.linuxquestions.org/questions/linux-software-2/making-9-tabs-in-screenrc-840681/)

jamesbon 10-27-2010 01:42 AM

making 9 tabs in screenrc
 
A friend showed me in his server he logged via ssh and
then type screen on that screen session used to open he showed me 9 tabs within same terminal in screen session.
If any one is understanding what I am asking can you tell me how can this be done?
If I remember correctly he modified .screenrc and wrote some thing in it which made this possible and he used to press
Alt+1 ,Alt+2 .......Alt+n to switch in different terminals.

evo2 10-27-2010 01:48 AM

With the default keybindings Ctrl-a Ctrl-c will make a new terminal. Do that eight times and you'll have nine terminals. Ctrl-a Ctrl-n will move you to the next terminal.

The "tabs" are just a display configuration. For example in my .screenrc I have:

Code:

caption always "%?%F%{-b bc}%:%{-b bb}%?%c|%D|%M %d|%H%?%F%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f*%t%{-}%+Lw%-0<"
This will display the time and date, the host name and a "tab" for each screen terminal.

HTH,

Evo2.

PS. If you find screen a PITA to learn and configure, consider using tmux instead. I switched a few months ago and am very glad I did.


All times are GMT -5. The time now is 04:35 PM.