<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Screen: Tips &#038; Tricks</title>
	<link>http://polishlinux.org/howtos/screen-tips-tricks/</link>
	<description>All About GNU/Linux and BSD - reviews, comparisons, articles</description>
	<pubDate>Sun, 06 Jul 2008 02:38:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: bigmomma</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-119823</link>
		<dc:creator>bigmomma</dc:creator>
		<pubDate>Tue, 15 Apr 2008 08:13:19 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-119823</guid>
		<description>Figured it out myself..
If you have the same question, here is the answer:

To get the divider bars, do NOT use the vertical split patch which can be found here: http://fungi.yuggoth.org/vsp4s/

But instead use the CVS snapshot of the current development version of screen. Here is the link:
http://fungi.yuggoth.org/debian/</description>
		<content:encoded><![CDATA[<p>Figured it out myself..<br />
If you have the same question, here is the answer:</p>
<p>To get the divider bars, do NOT use the vertical split patch which can be found here: <a href="http://fungi.yuggoth.org/vsp4s/" rel="nofollow" class="extlink">http://fungi.yuggoth.org/vsp4s/</a></p>
<p>But instead use the CVS snapshot of the current development version of screen. Here is the link:<br />
<a href="http://fungi.yuggoth.org/debian/" rel="nofollow" class="extlink">http://fungi.yuggoth.org/debian/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bigmomma</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-119645</link>
		<dc:creator>bigmomma</dc:creator>
		<pubDate>Fri, 11 Apr 2008 21:44:32 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-119645</guid>
		<description>How did you get the vertical white bars that divide the different screen windows?</description>
		<content:encoded><![CDATA[<p>How did you get the vertical white bars that divide the different screen windows?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimpleSimon</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-61358</link>
		<dc:creator>SimpleSimon</dc:creator>
		<pubDate>Fri, 28 Sep 2007 05:38:58 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-61358</guid>
		<description>I've tried having screen start automatically at login, but it ends up creating a whole bunch of screens.

What is the proper way to configure my system to have screen start automatically (and reconnect to any pre-existing sessions if there are any running) ???</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried having screen start automatically at login, but it ends up creating a whole bunch of screens.</p>
<p>What is the proper way to configure my system to have screen start automatically (and reconnect to any pre-existing sessions if there are any running) ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo Costa Lisboa</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44532</link>
		<dc:creator>Eduardo Costa Lisboa</dc:creator>
		<pubDate>Sat, 21 Jul 2007 13:01:05 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44532</guid>
		<description>Now it's about time to talk about copy &#38; paste:


To enter Copy mode:

C-a [
or
C-a Esc
or even
C-a C-[

Then you can use the direction arrows, as well as pg up/down to navigate accross the pages of a screen. To begin selecting a text, press space, and then go to the end of your selection. Then, press space again.

You will see something like:

Copied 6 characters into buffer.

Now, try changing your window and press:

C-a ]

You will be pasting your buffer directly to the standard input of your other window. Pay attention, as it is very important: Paste pastes into your standard input, not standard output. Thus, it is like you have really typed what you have pasted.

Instead, if you want to paste it to a file, say, a log, or something, just do like this:

C-a &#62;

Screen will create a file under /tmp with a name like screen-exchange containing exactly what you have copied into the buffer.


While yet in Copy mode, you can use it just to search for a pattern. It's like less and vi:

/pattern

searches for a pattern from the point you are to the end of the page, while:

?pattern

searches backwards for a pattern.</description>
		<content:encoded><![CDATA[<p>Now it&#8217;s about time to talk about copy &amp; paste:</p>
<p>To enter Copy mode:</p>
<p>C-a [<br />
or<br />
C-a Esc<br />
or even<br />
C-a C-[</p>
<p>Then you can use the direction arrows, as well as pg up/down to navigate accross the pages of a screen. To begin selecting a text, press space, and then go to the end of your selection. Then, press space again.</p>
<p>You will see something like:</p>
<p>Copied 6 characters into buffer.</p>
<p>Now, try changing your window and press:</p>
<p>C-a ]</p>
<p>You will be pasting your buffer directly to the standard input of your other window. Pay attention, as it is very important: Paste pastes into your standard input, not standard output. Thus, it is like you have really typed what you have pasted.</p>
<p>Instead, if you want to paste it to a file, say, a log, or something, just do like this:</p>
<p>C-a &gt;</p>
<p>Screen will create a file under /tmp with a name like screen-exchange containing exactly what you have copied into the buffer.</p>
<p>While yet in Copy mode, you can use it just to search for a pattern. It&#8217;s like less and vi:</p>
<p>/pattern</p>
<p>searches for a pattern from the point you are to the end of the page, while:</p>
<p>?pattern</p>
<p>searches backwards for a pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AntEater</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44386</link>
		<dc:creator>AntEater</dc:creator>
		<pubDate>Fri, 20 Jul 2007 16:12:49 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44386</guid>
		<description>Another tip I'd like to add is that you can change screen from using C-a for it's command prefix to C-z.  I tend to use emacs most of the time and the C-a key binding conflicts with the editor's key bindings.  You can do this by adding the following to your .screenrc:

escape ^zz

Since C-z is normally used to suspend a process if I forget where I am and use C-z in a non-screen terminal I can easily recover using "fg".

Cool article.  I've been using screen for about 5 years and I learned a couple of useful tricks here.</description>
		<content:encoded><![CDATA[<p>Another tip I&#8217;d like to add is that you can change screen from using C-a for it&#8217;s command prefix to C-z.  I tend to use emacs most of the time and the C-a key binding conflicts with the editor&#8217;s key bindings.  You can do this by adding the following to your .screenrc:</p>
<p>escape ^zz</p>
<p>Since C-z is normally used to suspend a process if I forget where I am and use C-z in a non-screen terminal I can easily recover using &#8220;fg&#8221;.</p>
<p>Cool article.  I&#8217;ve been using screen for about 5 years and I learned a couple of useful tricks here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blackhole</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44043</link>
		<dc:creator>blackhole</dc:creator>
		<pubDate>Wed, 18 Jul 2007 11:19:07 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44043</guid>
		<description>&lt;i&gt;Is it possible to start screen automatically when I log in?&lt;/i&gt;

On my system, adding the following two lines at the end of ~/.bash_profile worked:

screen
logout

In any case, if you are worried about infinite recursion, you can always test against $SHLVL.  At login it is 1.  After starting screen, it will be 2, etc.</description>
		<content:encoded><![CDATA[<p><i>Is it possible to start screen automatically when I log in?</i></p>
<p>On my system, adding the following two lines at the end of ~/.bash_profile worked:</p>
<p>screen<br />
logout</p>
<p>In any case, if you are worried about infinite recursion, you can always test against $SHLVL.  At login it is 1.  After starting screen, it will be 2, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taco Buitenhuis</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44039</link>
		<dc:creator>Taco Buitenhuis</dc:creator>
		<pubDate>Wed, 18 Jul 2007 10:38:58 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44039</guid>
		<description>Is it possible to start screen automatically when I log in?

I think adding it to my .bashrc will lead to infinite recursion since screen will launch bash which then will launch screen etc etc.

Making screen my shell won't work either, because then it will try to start itself.

So how do I avoid having to type "screen" (or "control-r sc" :) ) every time I log in?

By the way, you don't need to type "control-a :screen somecommand" to run somecommand in a new window, "screen somecommand" from the shell will work too.</description>
		<content:encoded><![CDATA[<p>Is it possible to start screen automatically when I log in?</p>
<p>I think adding it to my .bashrc will lead to infinite recursion since screen will launch bash which then will launch screen etc etc.</p>
<p>Making screen my shell won&#8217;t work either, because then it will try to start itself.</p>
<p>So how do I avoid having to type &#8220;screen&#8221; (or &#8220;control-r sc&#8221; <img src='http://polishlinux.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) every time I log in?</p>
<p>By the way, you don&#8217;t need to type &#8220;control-a :screen somecommand&#8221; to run somecommand in a new window, &#8220;screen somecommand&#8221; from the shell will work too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Bahathir Hashim</title>
		<link>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44023</link>
		<dc:creator>Mohammad Bahathir Hashim</dc:creator>
		<pubDate>Wed, 18 Jul 2007 08:48:35 +0000</pubDate>
		<guid>http://polishlinux.org/howtos/screen-tips-tricks/#comment-44023</guid>
		<description>GNU Screen is my favorite tool, and cannot live without it.

In latest/CVS version of GNU screen, you able to 'VERTICAL SPLIT' (using key 'C-a &#124;' (left&#124;right) , too.</description>
		<content:encoded><![CDATA[<p>GNU Screen is my favorite tool, and cannot live without it.</p>
<p>In latest/CVS version of GNU screen, you able to &#8216;VERTICAL SPLIT&#8217; (using key &#8216;C-a |&#8217; (left|right) , too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
