Linked by Thom Holwerda on Thu 30th Aug 2012 23:11 UTC, submitted by MOS6510
Linux "You are logged into your remote server via SSH and happily plucking along at your keyboard and then it happens. Suddenly, the characters stop moving and then you get the dreaded 'Connection Closed' message. You have just lost your session. You were halfway through some task and now you have to start over. Ugh. Well you can prevent this from happening by using screen. The Linux screen tool can not only save you from disconnection disasters, but it also can increase your productivity by using multiple windows within one SSH session. I use this tool all of the time in our server management work." An older tutorial, and even though I have little to no knowledge about screen, I know one thing: lots of people swear by it.
Thread beginning with comment 533347
To read all comments associated with this story, please click here.
Screen Mandatory Rails Tool
by jburnett on Thu 30th Aug 2012 23:25 UTC
jburnett
Member since:
2012-03-29

As a rails developer screen is a mandatory part of my toolkit. My only complaint is that I cannot seem to name the screens, so I have to remember which number is the server, console, vi session, etc... Does tmux have naming?

Reply Score: 1

RE: Screen Mandatory Rails Tool
by beowuff on Thu 30th Aug 2012 23:33 in reply to "Screen Mandatory Rails Tool"
beowuff Member since:
2006-07-26

Yes!

From http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1

, Rename the current window.

Reply Parent Score: 2

Soulbender Member since:
2005-08-18

Does tmux have naming?


Yes, it does but tmux also shows the current command next to each window number in the status bar.

Reply Parent Score: 4

RE: Screen Mandatory Rails Tool
by JoeBuck on Fri 31st Aug 2012 00:24 in reply to "Screen Mandatory Rails Tool"
JoeBuck Member since:
2006-01-11

screen can already do what you want. Enter C-a A to give the current window a name. Enter C-a ' (quote) to prompt for a window name to switch to. Enter C-a " (double quote) to list all the screen names/numbers.

Reply Parent Score: 5