<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://www.osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/26325/Linux_Screen_tutorial_and_how-to</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2013, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Sat, 25 May 2013 22:22:10 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Comment by Sodki</title>
			<link>http://www.osnews.com/thread?533340</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533340</guid>
			<description>I swear by it. It's a _really_ powerful tool and easy to use if you just want basic functionality.</description>
			<pubDate>Thu, 30 Aug 2012 23:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (Sodki)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Personally, I like tmux better.</title>
			<link>http://www.osnews.com/thread?533343</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533343</guid>
			<description>But they are both awesome tools. I always recommend them to people new to cli.</description>
			<pubDate>Thu, 30 Aug 2012 23:17:00 GMT</pubDate>
			<author>donotreply@osnews.com (beowuff)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>tmux</title>
			<link>http://www.osnews.com/thread?533344</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533344</guid>
			<description>If you like screen you might want to have a look at tmux. It's like screen only with a modern design and actively maintained. I find it to work much better in general.</description>
			<pubDate>Thu, 30 Aug 2012 23:19:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Screen Mandatory Rails Tool</title>
			<link>http://www.osnews.com/thread?533347</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533347</guid>
			<description>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?</description>
			<pubDate>Thu, 30 Aug 2012 23:25:00 GMT</pubDate>
			<author>donotreply@osnews.com (jburnett)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Screen Mandatory Rails Tool</title>
			<link>http://www.osnews.com/thread?533348</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533348</guid>
			<description>Yes!<br />
<br />
From <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&amp;sektion=1" rel="nofollow">http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&amp;sektion=1</a><br />
<br />
,           Rename the current window.</description>
			<pubDate>Thu, 30 Aug 2012 23:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (beowuff)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Screen Mandatory Rails Tool</title>
			<link>http://www.osnews.com/thread?533350</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533350</guid>
			<description><div class="cquote">Does tmux have naming? </div><br />
<br />
Yes, it does but tmux also shows the current command next to each window number in the status bar.</description>
			<pubDate>Thu, 30 Aug 2012 23:52:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>This is the kind of thing that pisses RMS off</title>
			<link>http://www.osnews.com/thread?533353</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533353</guid>
			<description>Yes, RMS has tired everyone out by arguing that people could say GNU/Linux, but come on. It's not the Linux screen tool.<br />
<br />
It is GNU Screen, originally done on the BSD platform and integrated with the GNU project in 1990, before Linus released his first kernel.  People have been using it for more than two decades on all kinds of Unix flavors, as well as on Windows and OSX.<br />
<br />
Linux is great, but it's just a kernel, and that kernel was designed originally to run all the cool GNU and BSD code that already existed.</description>
			<pubDate>Fri, 31 Aug 2012 00:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (JoeBuck)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Screen Mandatory Rails Tool</title>
			<link>http://www.osnews.com/thread?533355</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533355</guid>
			<description>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 &quot; (double quote) to list all the screen names/numbers.</description>
			<pubDate>Fri, 31 Aug 2012 00:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (JoeBuck)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Personally, I like tmux better.</title>
			<link>http://www.osnews.com/thread?533361</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533361</guid>
			<description>tmux really is better... I've used it extensively to keep the sessions on my sparcstation open even if the ssh connection craps out. <br />
  <br />
  It would be nice if it were a bit more integrated into ssh so that it could resume connections automatic ie when on a cellular or intermittent wifi connection.<br />
 <br />
 The keyboard usage on tmux seems a bit more polished to me I suppose thats the main thing.Edited 2012-08-31 01:03 UTC</description>
			<pubDate>Fri, 31 Aug 2012 01:02:00 GMT</pubDate>
			<author>donotreply@osnews.com (cb88)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Used it all the time for admin tasks</title>
			<link>http://www.osnews.com/thread?533370</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533370</guid>
			<description>Excellent tool. As a sysadm, I used to use this all the time for remote connections, esp. for night work. These days connection reliability is so improved it's not the issue it once was.</description>
			<pubDate>Fri, 31 Aug 2012 01:41:00 GMT</pubDate>
			<author>donotreply@osnews.com (benali72)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: This is the kind of thing that pisses RMS off</title>
			<link>http://www.osnews.com/thread?533373</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533373</guid>
			<description><div class="cquote">Yes, RMS has tired everyone out by arguing that people could say GNU/Linux, but come on. It's not the Linux screen tool. </div><br />
<br />
If that kind of thing pisses you off, you probably need to get out more. Seriously. Especially if you didn't even write the f**king thing.</description>
			<pubDate>Fri, 31 Aug 2012 01:50:00 GMT</pubDate>
			<author>donotreply@osnews.com (WorknMan)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Personally, I like tmux better.</title>
			<link>http://www.osnews.com/thread?533374</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533374</guid>
			<description>I do this with screen, but I'm sure the same thing would probably work with tmux. Here's how, <a href="http://taint.org/wk/RemoteLoginAutoScreen" rel="nofollow">http://taint.org/wk/RemoteLoginAutoScreen</a><br />
<br />
edit:<br />
Someone already seems to have modified the above to work with tmux, <a href="http://william.shallum.net/random-notes/automatically-start-tmux-on-ssh-login" rel="nofollow">http://william.shallum.net/random-notes/automatically-start-tmux-on...</a> Edited 2012-08-31 02:11 UTC</description>
			<pubDate>Fri, 31 Aug 2012 01:53:00 GMT</pubDate>
			<author>donotreply@osnews.com (broken_symlink)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Screen...</title>
			<link>http://www.osnews.com/thread?533381</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533381</guid>
			<description>As far as I've seen, the primary use of Screen is to run TinyFugue while you're at work.</description>
			<pubDate>Fri, 31 Aug 2012 02:45:00 GMT</pubDate>
			<author>donotreply@osnews.com (Almafeta)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>I prefer tmux</title>
			<link>http://www.osnews.com/thread?533383</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533383</guid>
			<description>I switched from GNU Screen to tmux a few years back because I use vertical splits quite a lot and Screen didn't have that feature built in yet.<br />
<br />
The first two things that I install on a new server are tmux and Vim.</description>
			<pubDate>Fri, 31 Aug 2012 02:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (Shane)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Screen...</title>
			<link>http://www.osnews.com/thread?533385</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533385</guid>
			<description>12 or so years ago, I got introduced to Screen because I wanted to leave my nickname connected to IRC 24/7. Screened BitchX sessions, Eggdrop bots, riding netsplits to wage channel wars. Fun days.</description>
			<pubDate>Fri, 31 Aug 2012 02:53:00 GMT</pubDate>
			<author>donotreply@osnews.com (Shane)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: I prefer tmux</title>
			<link>http://www.osnews.com/thread?533388</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533388</guid>
			<description>Same for me, basically. Switched to tmux after years with screen. Was much easier to get into; partly due to prior experience with screen, mostly because it had clear documentation and didn't require me to be fluent in Klingon to configure it.</description>
			<pubDate>Fri, 31 Aug 2012 03:07:00 GMT</pubDate>
			<author>donotreply@osnews.com (gan17)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: I prefer tmux</title>
			<link>http://www.osnews.com/thread?533392</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533392</guid>
			<description>Another vote for tmux as well.</description>
			<pubDate>Fri, 31 Aug 2012 04:28:00 GMT</pubDate>
			<author>donotreply@osnews.com (diegoviola)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Used it all the time for admin tasks</title>
			<link>http://www.osnews.com/thread?533393</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533393</guid>
			<description>Actually, it is more a problem now than it has ever been before (maybe except for times of dial-up connections). I tend to work mostly on laptops, and switching between networks, suspending/waking up the machine, or simply losing a wireless connection happens all the time, often on purpose. Generally, relying on a TCP connection for holding the application state is a poor design decision these days.<br />
<br />
BTW, this is also the main reason I don't use X for remote work nowadays. It was simply designed for a different use case (a server with <i>fixed</i> terminals). Another reason is that X with its networking performance issues, and without properly configured NFS/NIS, forwarded sound recording/playback, DBUS services, printers, CD-ROMs, card readers etc., is no longer network transparent but it still pretends to be (by mixing up local and remote windows).</description>
			<pubDate>Fri, 31 Aug 2012 04:29:00 GMT</pubDate>
			<author>donotreply@osnews.com (ndrw)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: This is the kind of thing that pisses RMS off</title>
			<link>http://www.osnews.com/thread?533396</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533396</guid>
			<description>No, he's absolutely correct. The name of the software is &quot;GNU screen&quot;, not &quot;screen&quot;. So while the whole GNU/Linux issue is debatable, calling &quot;GNU screen&quot; &quot;Linux screen&quot; is miss-attribution and wrong.</description>
			<pubDate>Fri, 31 Aug 2012 05:47:00 GMT</pubDate>
			<author>donotreply@osnews.com (Moonbuzz)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Comment by MOS6510</title>
			<link>http://www.osnews.com/thread?533403</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533403</guid>
			<description>When I started out on the Internet it was all text and UNIX prompts for me. So when I discovered screen it was great.<br />
<br />
TinyFugue<br />
Pine (private)<br />
Pine (work)<br />
Tin<br />
ircii<br />
&amp; a couple of shells to different servers.<br />
<br />
My 'screen' ran at work, but as it was such a great tool more and more coworkers started using it causing system admins to get annoyed and we had to move server a few times. If you didn't a kill script would kill you (well, your screen session).</description>
			<pubDate>Fri, 31 Aug 2012 06:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (MOS6510)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: This is the kind of thing that pisses RMS off</title>
			<link>http://www.osnews.com/thread?533409</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533409</guid>
			<description><div class="cquote">If that kind of thing pisses you off, you probably need to get out more. Seriously. Especially if you didn't even write the f**king thing. </div><br />
Pardon me for the intrusion, but from were I stand it would appear that you are the one who's pissed off?<br />
 <br />
The O.P. is right and I was disappointed to see that, at least initially, he had been modded down just for putting things into perspective. And yes, I used (or rather, had to use) &quot;screen&quot; in the very early 90s... on SCO UNIX, no less! ;-)<br />
<br />
Oh, and &quot;screen&quot; was great for TIA, aka The Internet Adapter (<a href="http://en.wikipedia.org/wiki/The_Internet_Adapter" rel="nofollow">http://en.wikipedia.org/wiki/The_Internet_Adapter</a>).  Anyone remember that?<br />
<br />
 <br />
RT.Edited 2012-08-31 07:48 UTC</description>
			<pubDate>Fri, 31 Aug 2012 07:29:00 GMT</pubDate>
			<author>donotreply@osnews.com (karunko)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: tmux</title>
			<link>http://www.osnews.com/thread?533410</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533410</guid>
			<description>I'm another Tmux user as well.<br />
<br />
Used to run GNU Screen heavily, then discovered Tmux and never looked back.</description>
			<pubDate>Fri, 31 Aug 2012 07:44:00 GMT</pubDate>
			<author>donotreply@osnews.com (Laurence)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>.screenrc</title>
			<link>http://www.osnews.com/thread?533434</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533434</guid>
			<description>hardstatus alwayslastline<br />
hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR} (%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}] %{=b C}[ %m/%d %c ]%{W}'<br />
<br />
<br />
An then, you are good to go <img src="/images/emo/smile.gif" alt=";)" /></description>
			<pubDate>Fri, 31 Aug 2012 11:23:00 GMT</pubDate>
			<author>donotreply@osnews.com (Risthel)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Comment by OSbunny</title>
			<link>http://www.osnews.com/thread?533437</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533437</guid>
			<description>Isn't screen obsolete now that we have GUIs everywhere? It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection. If you are using Windows you just open up another putty window.</description>
			<pubDate>Fri, 31 Aug 2012 12:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (OSbunny)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Comment by OSbunny</title>
			<link>http://www.osnews.com/thread?533440</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533440</guid>
			<description><div class="cquote">Isn't screen obsolete now that we have GUIs everywhere? It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection. If you are using Windows you just open up another putty window. </div><br />
<br />
Aside from terminals not having support for detaching and re-attaching sessions the way screen and tmux do, my responsive, lightweight terminals of choice (uxterm and urxvt) don't always do tabs.<br />
<br />
(urxvt does, but it's basically a Perl script that does textual tabs in a manner inferior to screen or tmux)<br />
<br />
Also, terminal tabs are less than ideal if you have to open a new SSH connection every time you <i>Ctrl+Shift+T</i> rather than just running screen on the remote system and doing <i>Ctrl+a c</i>.</description>
			<pubDate>Fri, 31 Aug 2012 12:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (ssokolow)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Comment by OSbunny</title>
			<link>http://www.osnews.com/thread?533459</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533459</guid>
			<description><div class="cquote">Isn't screen obsolete now that we have GUIs everywhere? </div><br />
<br />
No.<br />
<br />
<div class="cquote">It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection. </div><br />
<br />
Pressing Ctrl-b+c is a lot quicker and easier than opening a new tab and making a new connection. Not to mention that the screen/tmux session survives disconnects.</description>
			<pubDate>Fri, 31 Aug 2012 14:56:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Is mosh not an option here?</title>
			<link>http://www.osnews.com/thread?533461</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533461</guid>
			<description>I hear it's pretty good.</description>
			<pubDate>Fri, 31 Aug 2012 15:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Gaius_Maximus)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Less-than-three screen</title>
			<link>http://www.osnews.com/thread?533499</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533499</guid>
			<description>Started using screen after an OSNews article/link a few years ago, now I find it absolutely indispensable. Though it can get a bit disorienting sometimes, especially when working via remote desktop session running PuttyCM, with 3 or 4 tabs/connections open, each with at least 2 or 3 screens open.<br />
<br />
My favourite trick with screen is using my smartphone to monitor a long-running process (E.g. rsync'ing a few GB of data from one server to another). I just start the process in a screen session via my desktop/laptop, then connect to the same account through SSH, and use &quot;screen -x [session id]&quot; to connect to the same session. The same strategy also works well for doing remote support/training via SSH (and much easier to setup that most desktop-sharing solutions I've used).</description>
			<pubDate>Fri, 31 Aug 2012 20:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (StephenBeDoper)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Comment by marcp</title>
			<link>http://www.osnews.com/thread?533500</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533500</guid>
			<description>I prefer to use TMUX. It's much more responsive, cleaner and generally better. Screen is kinda sluggish and old.</description>
			<pubDate>Fri, 31 Aug 2012 20:40:00 GMT</pubDate>
			<author>donotreply@osnews.com (marcp)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Personally, I like tmux better.</title>
			<link>http://www.osnews.com/thread?533507</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533507</guid>
			<description><a href="http://mosh.mit.edu/" rel="nofollow">http://mosh.mit.edu/</a><br />
<br />
That might be exactly what you're looking for.</description>
			<pubDate>Sat, 01 Sep 2012 02:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (tidux)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Is mosh not an option here?</title>
			<link>http://www.osnews.com/thread?533509</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533509</guid>
			<description>mosh is a replacement for ssh, not for tmux/screen. Well, it's an SSH replacement that, uh, uses SSH to work.</description>
			<pubDate>Sat, 01 Sep 2012 03:49:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Byobu, better screen</title>
			<link>http://www.osnews.com/thread?533580</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533580</guid>
			<description>I use Byobu<br />
 <br />
<a href="http://en.wikipedia.org/wiki/Byobu_(software" rel="nofollow">http://en.wikipedia.org/wiki/Byobu_(software</a>)<br />
 <br />
 Install and try it now, in 5 minutes you'll have forgotten the name ;-).<br />
<br />
(copy paste the url, there is an osnews bug where last paren is stripped)Edited 2012-09-02 05:57 UTC</description>
			<pubDate>Sun, 02 Sep 2012 05:54:00 GMT</pubDate>
			<author>donotreply@osnews.com (vivainio)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Comment by OSbunny</title>
			<link>http://www.osnews.com/thread?533603</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?533603</guid>
			<description>Say you run apt/yum from command line, using a konsole tab or putty and suddenly, gasp, you lose connection / your X session dies / SSH dies, etc. Recovery, if possible, will be -very- painful.<br />
<br />
I never, never, never, never run anything destructive from a normal command prompt - I always use screen.<br />
<br />
- Gilboa</description>
			<pubDate>Sun, 02 Sep 2012 16:29:00 GMT</pubDate>
			<author>donotreply@osnews.com (gilboa)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
