Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 00:08
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
GNU Screen with vertical division enabled
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Rattlehead


Joined: 11 Sep 2008
Posts: 215
Location: Madrid, Spain

PostPosted: Thu 15 Mar 2012, 20:52    Post subject:  GNU Screen with vertical division enabled  

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.
screen-4.0.3-i486.pet
Description 
pet

 Download 
Filename  screen-4.0.3-i486.pet 
Filesize  514.79 KB 
Downloaded  283 Time(s) 
gnu_screen_vertical.png
Description 
png

 Download 
Filename  gnu_screen_vertical.png 
Filesize  143.58 KB 
Downloaded  340 Time(s) 
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: Sat 14 Apr 2012, 10:42    Post subject:  

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.) Smile

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Sat 14 Apr 2012, 11:16    Post subject:  

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

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 14 Apr 2012, 11:20    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: Sun 15 Apr 2012, 06:44    Post subject:  

aragon, jemimah,

Thanks for your explanations.

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Sun 15 Apr 2012, 07:48    Post subject:  

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.php?p=559558&sid=4e0899a3800efcdbcba22f301c89995f#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! Cool

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0542s ][ Queries: 13 (0.0040s) ][ GZIP on ]