Multi-Tab SSH Client Using Screen

Is there an SSH client that can represent a client-side GUI for screen * program?

I'm thinking of an SSH program that will connect to a screen session processing session and actions on the client side of the card (clicking on a tab, ctrl-tab, scrolling, possibly even displaying multiple tabs at the same time) is all that is required to make the screen on the other end , do it.

* The screen program, which allows you to use several virtual consoles under one terminal session, for example, you can run several applications in a single SSH connection and the transition between them, as well as other interesting things.

+4
source share
4 answers

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!

+2
source

Interesting idea. I use the screen every day, both on my local computer and in SSH sessions. I think your biggest problem is that I suspect that most screen users are the same command-line addicts as I, who simply don’t see the benefits of creating gui for tabs. In fact, I have all my terminals in one gnome-terminal window under different tabs, and having text-based on-screen tabs is a great way not to confuse the two.

I suspect that this can be done, but you would write a specialized terminal emulator that analyzes the output screen (custom.screenrc) and modifies gui.

Great job for minimal payoff.

+1
source

ctrl + shift + '

.. gui front-end to the screen? what are you talking about?

also, because my representative is so low, and I cannot comment, id likes LOL @geoffc for his comment in the question

+1
source

I have never seen him, but the following may help you. Add to your .screenrc

To show the row of tabs at the bottom caption always "% {. BW}% - Lw% {. RW}% n% t% {-}% + Lw% =% {.. G}% {.. Y}% m /% d "

To show the current program as the screen name [assuming you are using bash and your prompt ends with a default value of $; other shells are the same idea]

shelltitle "$ | sh"

0
source

All Articles