LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2010, 02:42 AM   #1
jamesbon
Member
 
Registered: Jun 2010
Posts: 147

Rep: Reputation: 9
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.
 
Old 10-27-2010, 02:48 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,218

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt as escape modifier in .screenrc? lucmove Linux - Software 6 09-14-2009 10:34 PM
making Firefox save my tabs before I quit newbiesforever Linux - Software 1 08-21-2009 02:55 PM
Screenrc disable CTRL-X for Lockscreen sadarax Linux - General 0 05-21-2009 06:18 PM
Reload screenrc without restarting screen? gejr Linux - Software 2 09-13-2007 09:14 AM
making the tabs transparent liljhand Linux - General 9 02-04-2005 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration