An interesting idea, and it is quite possible (vim7 tabs show how the GUI tab clicks in the gnome terminal), but I do not see the benefits of this.
Using the following ~/.screenrc , graphical tabs are displayed:
startup_message off vbell off hardstatus alwayslastline hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=y C}[%d/%m %c]%{W}'
.. that look like this (after renaming the tabs with ctrl+a,a :
x http://img216.imageshack.us/img216/9401/picture4myi.png
You can scroll through the screen session using the "copy mode" by doing ctrl+a,[ and using the cursor keys (press Esc or ctrl+c to exit it)
You can also connect to the same screen session several times using the screen -x (rather than -r ) flag, so you can use any tabbed emulator and open one tab for each screen window.
If you really want to start implementing this, one option would be to study the gnome-terminal modification in order to copy the vim-tabbed behavior for the screen. Or write your own on-screen client - you donβt need to do anything, like fragile sound, like cleaning the terminal - there is a FIFO file (usually) /tmp/uscreens/S-$USER/$PID.sessionname , which I think is how the screen works and remembers the open-source screen!
source share