GNU Screen with vertical division enabled

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
Rattlehead
Posts: 368
Joined: Thu 11 Sep 2008, 11:40

GNU Screen with vertical division enabled

#1 Post by Rattlehead »

I applied the patch for vertical divisions in Screen, and made a pet (my first one). Tested in 4.3.1.

The preassigned key to create a vertical division is ctrl+a and then V (caps+v).

There seems to be a minor flaw, for Vim users: you can use Vim screens that have been opened in full screen, and then create divisions and navigate between them without problems. But if you open Vim from console within a divided screen (typing 'vim enter'), it will greedily open full screen, screwing divisions and creating further disarrangement. Nothing serious, you can redo the existing divisions and everything will be ok again, but it is a bit of a fuzz until you discover it.

I don't know if there is much intersection between those who use Screen and those who do not know how to apply a patch, but I was one of them until very recently, so I thought maybe it was worth to post this.
Attachments
gnu_screen_vertical.png
(143.58 KiB) Downloaded 772 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello, Rattlehead.

I've considered using it, it's interesting, as it is done in a console.

But how is this different from putting consoles next to one another in a tiling wm, echinus, for example? Is this more practical, more efficient?

Thanks in advance. (And of course, thanks for your contribution.) :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#3 Post by aragon »

hi christian,

the difference is, that screen is a sort of windowmanager for the console, without running x. so in times when you don't want or can't (e.g. ssh-session on a server) screen or tmux are the way to go to easy have multible screens/windows/or whatever you call it. if you're running x, the benefits of screen are not that great, but if you're used to work this way, it's very handy to have everything in one terminal.

aragon

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#4 Post by jemimah »

The best benefit of screen is to install it on systems that you remote into - like suppose you're a sysadmin patching a server.

You ssh into the server, start screen, then start your patching job. That way, if you lose your network connection, the patching job continues instead of being killed when you disconnect. Then you can reconnect later and resume where you left off. It's like remote desktop for the command line.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post by musher0 »

aragon, jemimah,

Thanks for your explanations.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#6 Post by sc0ttman »

jemimah wrote:The best benefit of screen is to install it on systems that you remote into - like suppose you're a sysadmin patching a server.
If anyone is interested, I have posted on this forum a little util which supposedly is basically the same as the 'detach' function in screen, which I believe is what is being referred to above...

The util is called 'dtach'.. I have tested the 'detach' functionality, and it works fine... not sure if you can use it to ssh into a server, as described above, though: http://murga-linux.com/puppy/viewtopic. ... 95f#559558

The only reason I even looked at screen, other than wanting to play with it for a bit, was the 'detach' feature... Then I found dtach - which eventually led me back to screen, because another very cool feature of screen is that it can emulate UTF-8 in a non-UTF8 enabled terminal! 8)
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply