<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1787</id>
	<title>Nabble - Gnu - Screen</title>
	<updated>2009-12-20T21:53:23Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Screen-f1787.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Screen-f1787.html" />
	<subtitle type="html">Discuss Gnu Screen. Gnu Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26870191</id>
	<title>Re: String escape for total number of windows?</title>
	<published>2009-12-20T21:53:23Z</published>
	<updated>2009-12-20T21:53:23Z</updated>
	<author>
		<name>Pandurangan R S</name>
	</author>
	<content type="html">May be you need to run autogen.sh or your autoconf is too old.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.mail-archive.com/screen-users@gnu.org/msg02475.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/screen-users@.../msg02475.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 21, 2009 at 11:03 AM, John Magolske &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;listmail@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Thor Andreassen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870191&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ta@...&lt;/a&gt;&amp;gt; [091218 08:36]:
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Dec 10, 2009 at 10:25:11PM -0800, John Magolske wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Is there a string escape sequence that will display the total number
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; of windows (just a single number, not all window numbers and names)?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt; I've attached a patch that copies some of the functionality of the '%w'
&lt;br&gt;&amp;gt;&amp;gt; handling, and should be applied to the newest source on savannah. It
&lt;br&gt;&amp;gt;&amp;gt; seems to produce the correct result, although someone more familiar with
&lt;br&gt;&amp;gt;&amp;gt; the code should check it for any unwanted consequences.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the patch, this should be very useful.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For some reason I'm getting an error when running configure:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % git clone git://git.savannah.gnu.org/screen.git
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % cd /screen/src
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % cp ~/number_of_windows.patch .
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % patch -i number_of_windows.patch
&lt;br&gt;&amp;gt;  patching file extern.h
&lt;br&gt;&amp;gt;  patching file process.c
&lt;br&gt;&amp;gt;  Hunk #1 succeeded at 5342 (offset 25 lines).
&lt;br&gt;&amp;gt;  patching file screen.c
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % autoconf
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  % ./configure
&lt;br&gt;&amp;gt;   ...
&lt;br&gt;&amp;gt;   ...
&lt;br&gt;&amp;gt;  config.status: error: cannot find input file: config.h.in
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; John Magolske
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://B79.net/contact&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://B79.net/contact&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; screen-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870191&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870191&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/String-escape-for-total-number-of-windows--tp26739323p26870191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26870105</id>
	<title>Re: String escape for total number of windows?</title>
	<published>2009-12-20T21:33:08Z</published>
	<updated>2009-12-20T21:33:08Z</updated>
	<author>
		<name>John Magolske</name>
	</author>
	<content type="html">* Thor Andreassen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870105&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ta@...&lt;/a&gt;&amp;gt; [091218 08:36]:
&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 10:25:11PM -0800, John Magolske wrote:
&lt;br&gt;&amp;gt; &amp;gt; Is there a string escape sequence that will display the total number
&lt;br&gt;&amp;gt; &amp;gt; of windows (just a single number, not all window numbers and names)?
&lt;br&gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; I've attached a patch that copies some of the functionality of the '%w'
&lt;br&gt;&amp;gt; handling, and should be applied to the newest source on savannah. It
&lt;br&gt;&amp;gt; seems to produce the correct result, although someone more familiar with
&lt;br&gt;&amp;gt; the code should check it for any unwanted consequences.
&lt;br&gt;&lt;br&gt;Thanks for the patch, this should be very useful.
&lt;br&gt;&lt;br&gt;For some reason I'm getting an error when running configure:
&lt;br&gt;&lt;br&gt;&amp;nbsp; % git clone git://git.savannah.gnu.org/screen.git
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; % cd /screen/src
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; % cp ~/number_of_windows.patch .
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; % patch -i number_of_windows.patch
&lt;br&gt;&amp;nbsp; patching file extern.h
&lt;br&gt;&amp;nbsp; patching file process.c
&lt;br&gt;&amp;nbsp; Hunk #1 succeeded at 5342 (offset 25 lines).
&lt;br&gt;&amp;nbsp; patching file screen.c
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; % autoconf
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; % ./configure
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; config.status: error: cannot find input file: config.h.in
&lt;br&gt;&lt;br&gt;&lt;br&gt;John
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;John Magolske
&lt;br&gt;&lt;a href=&quot;http://B79.net/contact&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://B79.net/contact&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26870105&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/String-escape-for-total-number-of-windows--tp26739323p26870105.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26869886</id>
	<title>Re: terminal capability problem when login therough screen</title>
	<published>2009-12-20T20:36:00Z</published>
	<updated>2009-12-20T20:36:00Z</updated>
	<author>
		<name>Erik Osheim</name>
	</author>
	<content type="html">On Mon, Dec 21, 2009 at 09:31:38AM +0530, J. Bakshi wrote:
&lt;br&gt;&amp;gt; But #1 actually set the TERM environment in local box. Is not there any
&lt;br&gt;&amp;gt; command option in screen to set TERM just for screen session and not
&lt;br&gt;&amp;gt; globally ? I have tried with &amp;quot;screen -T xterm&amp;quot; but found the cursor is
&lt;br&gt;&amp;gt; not working properly with vim; where setting TERM environment locally
&lt;br&gt;&amp;gt; solved the issue. Any workaround with &amp;quot;screen -T&amp;quot; ?
&lt;br&gt;&lt;br&gt;From the point of view of screen, these two things should be the same.
&lt;br&gt;&lt;br&gt;# first
&lt;br&gt;$ export TERM=xterm
&lt;br&gt;$ screen
&lt;br&gt;&lt;br&gt;# second
&lt;br&gt;$ TERM=xterm screen
&lt;br&gt;&lt;br&gt;You could create an alias to screen that does the second thing.
&lt;br&gt;&lt;br&gt;-- Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869886&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26869886.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26869766</id>
	<title>Re: terminal capability problem when login therough screen</title>
	<published>2009-12-20T20:01:38Z</published>
	<updated>2009-12-20T20:01:38Z</updated>
	<author>
		<name>jb12</name>
	</author>
	<content type="html">Erik Osheim wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, Dec 18, 2009 at 12:38:58PM -0500, Pia Mikeal wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; I usually just put something like the following in my .profile on remote 
&lt;br&gt;&amp;gt;&amp;gt; servers
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; export TERM=vt100
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alternately you can do this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (within screen on local box)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; user@local$ terminfo &amp;gt; SOMEFILE
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; user@local$ scp SOMEFILE user@remote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (then on remote)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; user@remote$ tic SOMEFILE
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This will copy the terminal definition your local box is using onto the
&lt;br&gt;&amp;gt; server. If you only have a small number of servers I like this
&lt;br&gt;&amp;gt; approach--if you have tons it can be tedious to make sure they all have
&lt;br&gt;&amp;gt; the corect TERM setting and I might be more tempted to do something
&lt;br&gt;&amp;gt; like what Pia suggests.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- Erik
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Hello Pia and Erik,
&lt;br&gt;&lt;br&gt;Thanks for your responses. I am searching some technique where I don't
&lt;br&gt;need to do any modification on remote server as I have to maintain a no.
&lt;br&gt;of remote server. I got 2 solution.
&lt;br&gt;&lt;br&gt;#1. &amp;nbsp;In local box
&lt;br&gt;----------------------
&lt;br&gt;&lt;br&gt;` ` `
&lt;br&gt;TERM=xterm
&lt;br&gt;` ` `
&lt;br&gt;&lt;br&gt;#2.
&lt;br&gt;------
&lt;br&gt;&lt;br&gt;In debian lenny box the screen version does not have the problem.
&lt;br&gt;&lt;br&gt;But #1 actually set the TERM environment in local box. Is not there any
&lt;br&gt;command option in screen to set TERM just for screen session and not
&lt;br&gt;globally ? I have tried with &amp;quot;screen -T xterm&amp;quot; but found the cursor is
&lt;br&gt;not working properly with vim; where setting TERM environment locally
&lt;br&gt;solved the issue. Any workaround with &amp;quot;screen -T&amp;quot; ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;জয়দীপ বক্সী
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26869766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26869585</id>
	<title>Re: Ping Packagers</title>
	<published>2009-12-20T19:18:04Z</published>
	<updated>2009-12-20T19:18:04Z</updated>
	<author>
		<name>Dustin Kirkland-4</name>
	</author>
	<content type="html">On Sat, Dec 19, 2009 at 1:51 PM, Sadrul Habib Chowdhury
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869585&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;imadil@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Dustin Kirkland had this to say on [09 Dec 2009, 10:37:17 -0800]:
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Dec 9, 2009 at 10:23 AM, Dustin Kirkland &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869585&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kirkland@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Wed, Dec 9, 2009 at 10:19 AM, Sadrul Habib Chowdhury
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869585&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;imadil@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Hello everyone. Are there any screen packagers on this list? I am
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; contemplating a sort of a beta-release somewhat soon-ish (still
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; non-trivial amount of work to do, though, so no ETA yet), and was
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; thinking if this list is the best place to reach the packagers.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hello-
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I maintain (along with some others) the screen package in Ubuntu, and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I do follow this list.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; We (Ubuntu) as well as Debian are carrying a stack of patches against
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Screen.  Could we see about getting as many of these as possible into
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; your next upstream release?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; FYI, you can see the patches we're carrying at:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/karmic/screen/karmic/files/head%3A/debian/patches/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/karmic/screen/karmic/files/head%3A/debian/patches/&lt;/a&gt;&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I looked at a number of them:
&lt;/div&gt;&lt;br&gt;Great, thanks!
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 17manpage_sessionname_warning.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied after slight modification.
&lt;br&gt;&amp;gt; (855b8e7b98894e8f94033945720714c235911262)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 18manpage_maxwin_limit.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied after removing the note about debian.
&lt;br&gt;&amp;gt; (04005670529085ef8527608c0ec34b06569f0bd8)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 20defmonitor.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Already in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 21manpage_nethack_activation.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied. (3b19a1d343e72e4fa786e9ab514d80303902a2c1)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 25allow_symlink_sockdir.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied. (1e450254e75877b6bb5cacedd5466245dbb54576)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 27doc_sty_noenvpassing.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied. (f6c4b82)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 28blankerprg_callsemantics.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied in 52efeb8 after some change. Instead of unsetting blankerprg on
&lt;br&gt;&amp;gt; no argument, it will show the currently set blankerprg. To unset, use ''
&lt;br&gt;&amp;gt; as the argument. I have updated the man/info page accordingly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 31upstream_cherries.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Already in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 32misc_minor_fixes.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; eh, I like that message :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 33increase_max_winmsg_renditions.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think 256 is a bit too excessive. I am going to increase it to 128
&lt;br&gt;&amp;gt; instead, which I honestly think should be more than enough.
&lt;/div&gt;&lt;br&gt;Hmm, what's the actual cost? &amp;nbsp;Some memory? &amp;nbsp;How much? &amp;nbsp;Would it be
&lt;br&gt;realistic to make this dynamically allocated?
&lt;br&gt;&lt;br&gt;I maintain a project that provides a layer on top of Screen called
&lt;br&gt;Byobu. &amp;nbsp;We make heavy use of the hard status formatting with a series
&lt;br&gt;of several dozen toggle on/off status scripts. &amp;nbsp;With 1920x1080
&lt;br&gt;displays, and an 8 pitch font, there's a lot of room across the bottom
&lt;br&gt;of the screen.
&lt;br&gt;&lt;br&gt;See for an example this screenshot (with almost everything toggled on):
&lt;br&gt;&lt;a href=&quot;http://rookery.canonical.com/~kirkland/Byobu.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rookery.canonical.com/~kirkland/Byobu.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;For each color change, I also use \005{-} to &amp;quot;undo&amp;quot; it, and bring it
&lt;br&gt;back to the native color. &amp;nbsp;This means that each color change costs 2
&lt;br&gt;against that 128 or 256 number. &amp;nbsp;They add up quickly.
&lt;br&gt;&lt;br&gt;I appreciate your bumping it up to 128. &amp;nbsp;We will probably continue to
&lt;br&gt;carry a patch for 256 in Ubuntu. &amp;nbsp;Assuming it's not too expensive, it
&lt;br&gt;would be nice if you would reconsider. &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;&amp;gt; I am also considering increasing the oft requested window limit. That
&lt;br&gt;&amp;gt; will probably require a bit more work than just changing the define.
&lt;br&gt;&lt;br&gt;Definitely would be nice. &amp;nbsp;I'm currently hitting the limit at 40
&lt;br&gt;windows. &amp;nbsp;What are you thinking for a limit? &amp;nbsp;Again, a dynamic malloc
&lt;br&gt;would be nice (haven't looked at the code to judge the feasibility,
&lt;br&gt;though).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 40cjk_eastasian.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Already in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 45suppress_remap.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think this is incorrect. What keybindings are broken now? I think
&lt;br&gt;&amp;gt; 17b43961982caa5132d98544addc4de3f89103db fixes at least part of the bug
&lt;br&gt;&amp;gt; this patch tries to fix. I need to know if keys other than the end-key
&lt;br&gt;&amp;gt; are broken.
&lt;/div&gt;&lt;br&gt;Checking with Loic, on CC.
&lt;br&gt;&lt;br&gt;Loic- the upstream Screen maintainer is helping review the stack of
&lt;br&gt;patches Debian and Ubuntu are carrying and there's a question (above)
&lt;br&gt;about the current applicability of your patch. &amp;nbsp;Care to comment?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 50EXP_tilde_expansion.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Already in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 51EXP_session_creation_time.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Need to take a closer look. The idea sounds nice. But it doesn't look
&lt;br&gt;&amp;gt; like the implementation is very portable. I think it would be simpler to
&lt;br&gt;&amp;gt; add the timestamp of the session creation in the socket name, like we now
&lt;br&gt;&amp;gt; add just the PID.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 56-source-file-not-found-warning.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I disagree with this change. I think the error message is appropriate.
&lt;/div&gt;&lt;br&gt;Understood. &amp;nbsp;Would you support an additional, new directive that would
&lt;br&gt;source-if-found, but throw no warning if not? &amp;nbsp;Something like
&lt;br&gt;&amp;quot;-source&amp;quot; or &amp;quot;@source&amp;quot; a la Makefile syntax?
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 58-show-encoding-hardstatus.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't like this patch. I wouldn't want more string escapes unless they
&lt;br&gt;&amp;gt; are really useful. In this case, I am not convinced that showing the
&lt;br&gt;&amp;gt; encoding in the caption is all that useful. This information is available
&lt;br&gt;&amp;gt; in 'info'. Is there a use case where that's not enough?
&lt;br&gt;&lt;br&gt;I'm not sure. &amp;nbsp;An Ubuntu user complained about this, and provided a
&lt;br&gt;patch that seemed to work for me. &amp;nbsp;It didn't bother me as a packager,
&lt;br&gt;so I included it. &amp;nbsp;If it's ill-advised, or evil somehow, I can drop it
&lt;br&gt;and inform the user that upstream rejected it.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 59-no-beep-on-write-acl.dpatch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Applied. (84b8ef5)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't get the rest of them at the moment, setting an &amp;quot;Internal Server
&lt;br&gt;&amp;gt; Error&amp;quot; from launchpad.
&lt;br&gt;&lt;br&gt;Sorry about that. &amp;nbsp;There was a Launchpad maintenance window recently,
&lt;br&gt;maybe you hit that.
&lt;br&gt;&lt;br&gt;Thanks for going over these!
&lt;br&gt;&lt;br&gt;In the future, what's the currently preferred mechanism for patch
&lt;br&gt;submission? &amp;nbsp;Devel mailing list, bug tracker, or otherwise?
&lt;br&gt;&lt;br&gt;:-Dustin
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869585&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ping-Packagers-tp26714896p26869585.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26860261</id>
	<title>Re: Cannot set $TERM in screen -- it always defaults to xterm</title>
	<published>2009-12-19T17:30:27Z</published>
	<updated>2009-12-19T17:30:27Z</updated>
	<author>
		<name>dnquark-2</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What shell are you using, and does the problem persist if you start your
&lt;br&gt;&amp;gt; shell without config files?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;That seemed to be the problem -- by .bashrc had export TERM=xterm. &amp;nbsp;I still
&lt;br&gt;don't understand why that would override trying to set TERM directly in screen,
&lt;br&gt;but after I had removed the line from bashrc and toyed around with $TERM
&lt;br&gt;setting, I was able to get 256 color support under xterm.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cannot-set-%24TERM-in-screen----it-always-defaults-to-xterm-tp26813187p26860261.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26859958</id>
	<title>Re: Ping Packagers</title>
	<published>2009-12-19T16:21:21Z</published>
	<updated>2009-12-19T16:21:21Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Miroslav Lichvar had this to say on [10 Dec 2009, 10:35:00 +0100]:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Dec 09, 2009 at 01:19:00PM -0500, Sadrul Habib Chowdhury wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hello everyone. Are there any screen packagers on this list? I am
&lt;br&gt;&amp;gt; &amp;gt; contemplating a sort of a beta-release somewhat soon-ish (still
&lt;br&gt;&amp;gt; &amp;gt; non-trivial amount of work to do, though, so no ETA yet), and was
&lt;br&gt;&amp;gt; &amp;gt; thinking if this list is the best place to reach the packagers.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm the maintainer for Fedora. You can see the patches we
&lt;br&gt;&amp;gt; are currently using here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://cvs.fedoraproject.org/viewvc/devel/screen/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cvs.fedoraproject.org/viewvc/devel/screen/&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Thanks for the link. I looked at a number of them:
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.1-args.patch
&lt;br&gt;&lt;br&gt;Applied after some change (7ac593d74dfd2243cd60c5d848547ebd9971a8b0).
&lt;br&gt;&lt;br&gt;I didn't include the change in ansi.c: w_NumArgs should never be
&lt;br&gt;negative. If something is causing is to be set to a negative number, then
&lt;br&gt;that's a bug and we need to figure where/why/how that happens, so the
&lt;br&gt;real bug can be fixed.
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.2-maxstr.patch
&lt;br&gt;&lt;br&gt;It looks like MAXSTR has been increased to 512. It can still be increased
&lt;br&gt;more, of course. Is there a bug-report somewhere that requested for this
&lt;br&gt;change? I would like to know exactly what problems the limitations
&lt;br&gt;caused.
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.3-libs.patch
&lt;br&gt;&lt;br&gt;I plan to take a look at &lt;a href=&quot;https://savannah.gnu.org/bugs/?27318&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.gnu.org/bugs/?27318&lt;/a&gt;&amp;nbsp;first.
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.3-resize.patch
&lt;br&gt;&lt;br&gt;Already in.
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.3-ipv6.patch
&lt;br&gt;&lt;br&gt;Need to take a closer look.
&lt;br&gt;&lt;br&gt;&amp;gt; screen-4.0.3-stropts.patch
&lt;br&gt;&lt;br&gt;I believe e3b1d2c50a5cc84a0985dbf608b9ee47996b7e47 takes care of this?
&lt;br&gt;(i.e. using HAVE_STROPTS_H)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26859958&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ping-Packagers-tp26714896p26859958.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26857954</id>
	<title>Re: Ping Packagers</title>
	<published>2009-12-19T11:44:13Z</published>
	<updated>2009-12-19T11:44:13Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Dustin Kirkland had this to say on [09 Dec 2009, 10:37:17 -0800]:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Dec 9, 2009 at 10:23 AM, Dustin Kirkland &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26857954&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kirkland@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Dec 9, 2009 at 10:19 AM, Sadrul Habib Chowdhury
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26857954&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;imadil@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hello everyone. Are there any screen packagers on this list? I am
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; contemplating a sort of a beta-release somewhat soon-ish (still
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; non-trivial amount of work to do, though, so no ETA yet), and was
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; thinking if this list is the best place to reach the packagers.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hello-
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I maintain (along with some others) the screen package in Ubuntu, and
&lt;br&gt;&amp;gt; &amp;gt; I do follow this list.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; We (Ubuntu) as well as Debian are carrying a stack of patches against
&lt;br&gt;&amp;gt; &amp;gt; Screen.  Could we see about getting as many of these as possible into
&lt;br&gt;&amp;gt; &amp;gt; your next upstream release?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; FYI, you can see the patches we're carrying at:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/karmic/screen/karmic/files/head%3A/debian/patches/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/karmic/screen/karmic/files/head%3A/debian/patches/&lt;/a&gt;&lt;/div&gt;[snip]
&lt;br&gt;&lt;br&gt;I looked at a number of them:
&lt;br&gt;&lt;br&gt;&amp;gt; 17manpage_sessionname_warning.dpatch
&lt;br&gt;&lt;br&gt;Applied after slight modification.
&lt;br&gt;(855b8e7b98894e8f94033945720714c235911262)
&lt;br&gt;&lt;br&gt;&amp;gt; 18manpage_maxwin_limit.dpatch
&lt;br&gt;&lt;br&gt;Applied after removing the note about debian.
&lt;br&gt;(04005670529085ef8527608c0ec34b06569f0bd8)
&lt;br&gt;&lt;br&gt;&amp;gt; 20defmonitor.dpatch
&lt;br&gt;&lt;br&gt;Already in.
&lt;br&gt;&lt;br&gt;&amp;gt; 21manpage_nethack_activation.dpatch
&lt;br&gt;&lt;br&gt;Applied. (3b19a1d343e72e4fa786e9ab514d80303902a2c1)
&lt;br&gt;&lt;br&gt;&amp;gt; 25allow_symlink_sockdir.dpatch
&lt;br&gt;&lt;br&gt;Applied. (1e450254e75877b6bb5cacedd5466245dbb54576)
&lt;br&gt;&lt;br&gt;&amp;gt; 27doc_sty_noenvpassing.dpatch
&lt;br&gt;&lt;br&gt;Applied. (f6c4b82)
&lt;br&gt;&lt;br&gt;&amp;gt; 28blankerprg_callsemantics.dpatch
&lt;br&gt;&lt;br&gt;Applied in 52efeb8 after some change. Instead of unsetting blankerprg on
&lt;br&gt;no argument, it will show the currently set blankerprg. To unset, use ''
&lt;br&gt;as the argument. I have updated the man/info page accordingly.
&lt;br&gt;&lt;br&gt;&amp;gt; 31upstream_cherries.dpatch
&lt;br&gt;&lt;br&gt;Already in.
&lt;br&gt;&lt;br&gt;&amp;gt; 32misc_minor_fixes.dpatch
&lt;br&gt;&lt;br&gt;eh, I like that message :)
&lt;br&gt;&lt;br&gt;&amp;gt; 33increase_max_winmsg_renditions.dpatch
&lt;br&gt;&lt;br&gt;I think 256 is a bit too excessive. I am going to increase it to 128
&lt;br&gt;instead, which I honestly think should be more than enough.
&lt;br&gt;&lt;br&gt;I am also considering increasing the oft requested window limit. That
&lt;br&gt;will probably require a bit more work than just changing the define.
&lt;br&gt;&lt;br&gt;&amp;gt; 40cjk_eastasian.dpatch
&lt;br&gt;&lt;br&gt;Already in.
&lt;br&gt;&lt;br&gt;&amp;gt; 45suppress_remap.dpatch
&lt;br&gt;&lt;br&gt;I think this is incorrect. What keybindings are broken now? I think
&lt;br&gt;17b43961982caa5132d98544addc4de3f89103db fixes at least part of the bug
&lt;br&gt;this patch tries to fix. I need to know if keys other than the end-key
&lt;br&gt;are broken.
&lt;br&gt;&lt;br&gt;&amp;gt; 50EXP_tilde_expansion.dpatch
&lt;br&gt;&lt;br&gt;Already in.
&lt;br&gt;&lt;br&gt;&amp;gt; 51EXP_session_creation_time.dpatch
&lt;br&gt;&lt;br&gt;Need to take a closer look. The idea sounds nice. But it doesn't look
&lt;br&gt;like the implementation is very portable. I think it would be simpler to
&lt;br&gt;add the timestamp of the session creation in the socket name, like we now
&lt;br&gt;add just the PID.
&lt;br&gt;&lt;br&gt;&amp;gt; 56-source-file-not-found-warning.dpatch
&lt;br&gt;&lt;br&gt;I disagree with this change. I think the error message is appropriate.
&lt;br&gt;&lt;br&gt;&amp;gt; 58-show-encoding-hardstatus.dpatch
&lt;br&gt;&lt;br&gt;I don't like this patch. I wouldn't want more string escapes unless they
&lt;br&gt;are really useful. In this case, I am not convinced that showing the
&lt;br&gt;encoding in the caption is all that useful. This information is available
&lt;br&gt;in 'info'. Is there a use case where that's not enough?
&lt;br&gt;&lt;br&gt;&amp;gt; 59-no-beep-on-write-acl.dpatch
&lt;br&gt;&lt;br&gt;Applied. (84b8ef5)
&lt;br&gt;&lt;br&gt;I can't get the rest of them at the moment, getting an &amp;quot;Internal Server
&lt;br&gt;Error&amp;quot; from launchpad.
&lt;br&gt;&lt;br&gt;I plan to start looking at the fedora patches next, and the rest of the
&lt;br&gt;debian/ubuntu patches.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26857954&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ping-Packagers-tp26714896p26857954.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26854574</id>
	<title>Re: String escape for total number of windows?</title>
	<published>2009-12-19T04:08:23Z</published>
	<updated>2009-12-19T04:08:23Z</updated>
	<author>
		<name>A S-14</name>
	</author>
	<content type="html">Thanks for the patch. I was looking for this functionality.
&lt;br&gt;&lt;br&gt;2009/12/18, Thor Andreassen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854574&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ta@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 10, 2009 at 10:25:11PM -0800, John Magolske wrote:
&lt;br&gt;&amp;gt;&amp;gt; Is there a string escape sequence that will display the total number
&lt;br&gt;&amp;gt;&amp;gt; of windows (just a single number, not all window numbers and names)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There does not seem to be.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For example, if I were in the 7th window and 23 windows were open,
&lt;br&gt;&amp;gt;&amp;gt; I'd like to see something like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 7 / 23 : vim ~/.mutt/temp/mutt-1000-25786-33
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; by setting hardstatus to something like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; hardstatus alwayslastline &amp;quot;%n / %x : %t&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Of course %x is not an escape for anything, I'm just using it here as
&lt;br&gt;&amp;gt;&amp;gt; a placeholder...there doesn't seem to be an escape for total number of
&lt;br&gt;&amp;gt;&amp;gt; windows. Might it be possible to achieve this by truncating the output
&lt;br&gt;&amp;gt;&amp;gt; of %w or some such thing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Looking at the code, at least with my eyes, truncation seems difficult
&lt;br&gt;&amp;gt; and will probably end up as a hack.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've attached a patch that copies some of the functionality of the '%w'
&lt;br&gt;&amp;gt; handling, and should be applied to the newest source on savannah. It
&lt;br&gt;&amp;gt; seems to produce the correct result, although someone more familiar with
&lt;br&gt;&amp;gt; the code should check it for any unwanted consequences.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; HTH
&lt;br&gt;&amp;gt; Thor
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Artur Skonecki
&lt;br&gt;&lt;a href=&quot;http://adb.cba.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://adb.cba.pl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854574&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/String-escape-for-total-number-of-windows--tp26739323p26854574.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26852091</id>
	<title>Re: Detached screens disappear - help debugging?</title>
	<published>2009-12-18T18:05:52Z</published>
	<updated>2009-12-18T18:05:52Z</updated>
	<author>
		<name>Pandurangan R S</name>
	</author>
	<content type="html">May be this another possible reason then.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Q:	If I leave screen too long detached it mysteriously disappears,
&lt;br&gt;although I feel that this is not a flaw in the program but rather my
&lt;br&gt;system being 'cleaned' of stray jobs.
&lt;br&gt;A:	Check the output of &amp;quot;screen -ls&amp;quot;. If there is no session, your
&lt;br&gt;shells inside screen possibly have set an autologout. This kills the
&lt;br&gt;processes after a certain time of inactivity. Such a feature is often
&lt;br&gt;installed per default in the users account, as it helps to keep
&lt;br&gt;intruders off on terminals where you forgot to log out. But it is not
&lt;br&gt;a good idea for shells running under screen.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ivorde.ro/Secure_Unix_shell_account_with_auto_logout_after_seconds_of_inactivity__Idle_TMOUT-42.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ivorde.ro/Secure_Unix_shell_account_with_auto_logout_after_seconds_of_inactivity__Idle_TMOUT-42.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Pandu
&lt;br&gt;&lt;br&gt;On Sat, Dec 19, 2009 at 1:38 AM, Leinartas, Michael
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MICHAEL.LEINARTAS@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My screen sockets are actually in /var/run/screen/S-&amp;lt;user&amp;gt;/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't find anything that would be clearing it (checked crons, logrotate, etc).  When these screens disappear, both the SCREEN process and the socket are gone. It seems almost like screen shuts itself down for some reason. If it were shutting down uncleanly (say a crash or a kill -9) it'd leave behind a socket, right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Pandurangan R S [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pandurangan.r.s@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, December 16, 2009 9:29 PM
&lt;br&gt;&amp;gt; To: Leinartas, Michael
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: Detached screens disappear - help debugging?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; After detaching, my screen session will disappear some time after.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is the screen process dead (check using ps) or you are not just able
&lt;br&gt;&amp;gt; to attach to the screen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the screen process is alive and &amp;quot;screen -ls&amp;quot; tells &amp;quot;No sockets found&amp;quot;
&lt;br&gt;&amp;gt; then it may the case that your sockdir (usually /tmp/uscreens/&amp;lt;user&amp;gt;)
&lt;br&gt;&amp;gt; is getting cleaned up!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My admin was wiping off the entire /tmp when diskspace was low and
&lt;br&gt;&amp;gt; this was causing me a similar issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Pandu
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Dec 16, 2009 at 11:06 AM, Leinartas, Michael
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MICHAEL.LEINARTAS@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I've had a problem with screen on my home computer for quite some time
&lt;br&gt;&amp;gt;&amp;gt; that's been driving me crazy.  After detaching, my screen session will
&lt;br&gt;&amp;gt;&amp;gt; disappear some time after.  Sometimes an hour later it's there, sometimes
&lt;br&gt;&amp;gt;&amp;gt; it's not.  It's nearly always gone if I leave it overnight.  I never have
&lt;br&gt;&amp;gt;&amp;gt; any problems if I'm attached - if I say, leave a screen session on the
&lt;br&gt;&amp;gt;&amp;gt; console open for 3 days, it'll be fine. It also doesn't seem to matter how
&lt;br&gt;&amp;gt;&amp;gt; many terminals are in the session or whether they're idle at a prompt or
&lt;br&gt;&amp;gt;&amp;gt; running something.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So where can I start figuring out what's causing these sessions to die?  It
&lt;br&gt;&amp;gt;&amp;gt; doesn't  seem to be anything obvious like an oom killer (nothing in dmesg).
&lt;br&gt;&amp;gt;&amp;gt;  I've checked the system crons in /etc/cron.* and it doesn't look like
&lt;br&gt;&amp;gt;&amp;gt; there's anything wiping stuff in /var/run or anything.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Some system details incase it matters to anyone:
&lt;br&gt;&amp;gt;&amp;gt; Screen 4.0.3
&lt;br&gt;&amp;gt;&amp;gt; Debian squeeze (same problem when I was on lenny) amd64 arch
&lt;br&gt;&amp;gt;&amp;gt; linux-2.6.32 (vanilla)
&lt;br&gt;&amp;gt;&amp;gt; AMD quad core (Phenom II)
&lt;br&gt;&amp;gt;&amp;gt; 4gb ram
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'd appreciate any help on this because it's driving me nuts.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; michael
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; screen-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852091&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Detached-screens-disappear---help-debugging--tp26813376p26852091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26851352</id>
	<title>Re: hstatus?</title>
	<published>2009-12-18T15:54:46Z</published>
	<updated>2009-12-18T15:54:46Z</updated>
	<author>
		<name>Thor Andreassen-2</name>
	</author>
	<content type="html">On Mon, Dec 14, 2009 at 12:59:24PM -0500, Aaron Davies wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Screen 4.00.02, running on RHEL AS 4.5 (and possibly further
&lt;br&gt;&amp;gt; customized by my employer, I'm not sure) sets the PuTTY window title
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [screen %n: %t]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Those are screen escapes, e.g. a literal title might be &amp;quot;[screen 0:
&lt;br&gt;&amp;gt; -ksh]&amp;quot;.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any change I make to hstatus is *appended* to this, rather than
&lt;br&gt;&amp;gt; replacing it. 
&lt;/div&gt;&lt;br&gt;Does changing hardstatus instead work better?
&lt;br&gt;&lt;br&gt;&amp;gt; Where does it come from, and how can I change it? 
&lt;br&gt;&lt;br&gt;Don't know, I can't reproduce said behavior here.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;HTH
&lt;br&gt;Thor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851352&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/hstatus--tp26782178p26851352.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26849037</id>
	<title>RE: Detached screens disappear - help debugging?</title>
	<published>2009-12-18T12:08:55Z</published>
	<updated>2009-12-18T12:08:55Z</updated>
	<author>
		<name>Leinartas, Michael</name>
	</author>
	<content type="html">My screen sockets are actually in /var/run/screen/S-&amp;lt;user&amp;gt;/
&lt;br&gt;&lt;br&gt;I can't find anything that would be clearing it (checked crons, logrotate, etc). &amp;nbsp;When these screens disappear, both the SCREEN process and the socket are gone. It seems almost like screen shuts itself down for some reason. If it were shutting down uncleanly (say a crash or a kill -9) it'd leave behind a socket, right?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Pandurangan R S [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pandurangan.r.s@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, December 16, 2009 9:29 PM
&lt;br&gt;To: Leinartas, Michael
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849037&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Detached screens disappear - help debugging?
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; After detaching, my screen session will disappear some time after.
&lt;br&gt;&lt;br&gt;Is the screen process dead (check using ps) or you are not just able
&lt;br&gt;to attach to the screen.
&lt;br&gt;&lt;br&gt;If the screen process is alive and &amp;quot;screen -ls&amp;quot; tells &amp;quot;No sockets found&amp;quot;
&lt;br&gt;then it may the case that your sockdir (usually /tmp/uscreens/&amp;lt;user&amp;gt;)
&lt;br&gt;is getting cleaned up!
&lt;br&gt;&lt;br&gt;My admin was wiping off the entire /tmp when diskspace was low and
&lt;br&gt;this was causing me a similar issue.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Pandu
&lt;br&gt;&lt;br&gt;On Wed, Dec 16, 2009 at 11:06 AM, Leinartas, Michael
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849037&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MICHAEL.LEINARTAS@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've had a problem with screen on my home computer for quite some time
&lt;br&gt;&amp;gt; that's been driving me crazy.  After detaching, my screen session will
&lt;br&gt;&amp;gt; disappear some time after.  Sometimes an hour later it's there, sometimes
&lt;br&gt;&amp;gt; it's not.  It's nearly always gone if I leave it overnight.  I never have
&lt;br&gt;&amp;gt; any problems if I'm attached - if I say, leave a screen session on the
&lt;br&gt;&amp;gt; console open for 3 days, it'll be fine. It also doesn't seem to matter how
&lt;br&gt;&amp;gt; many terminals are in the session or whether they're idle at a prompt or
&lt;br&gt;&amp;gt; running something.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So where can I start figuring out what's causing these sessions to die?  It
&lt;br&gt;&amp;gt; doesn't  seem to be anything obvious like an oom killer (nothing in dmesg).
&lt;br&gt;&amp;gt;  I've checked the system crons in /etc/cron.* and it doesn't look like
&lt;br&gt;&amp;gt; there's anything wiping stuff in /var/run or anything.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Some system details incase it matters to anyone:
&lt;br&gt;&amp;gt; Screen 4.0.3
&lt;br&gt;&amp;gt; Debian squeeze (same problem when I was on lenny) amd64 arch
&lt;br&gt;&amp;gt; linux-2.6.32 (vanilla)
&lt;br&gt;&amp;gt; AMD quad core (Phenom II)
&lt;br&gt;&amp;gt; 4gb ram
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd appreciate any help on this because it's driving me nuts.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; michael
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; screen-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849037&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849037&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Detached-screens-disappear---help-debugging--tp26813376p26849037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26847784</id>
	<title>Re: terminal capability problem when login therough screen</title>
	<published>2009-12-18T10:22:12Z</published>
	<updated>2009-12-18T10:22:12Z</updated>
	<author>
		<name>Erik Osheim</name>
	</author>
	<content type="html">On Fri, Dec 18, 2009 at 12:38:58PM -0500, Pia Mikeal wrote:
&lt;br&gt;&amp;gt; I usually just put something like the following in my .profile on remote 
&lt;br&gt;&amp;gt; servers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; export TERM=vt100
&lt;br&gt;&lt;br&gt;Alternately you can do this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (within screen on local box)
&lt;br&gt;&amp;nbsp; &amp;nbsp; user@local$ terminfo &amp;gt; SOMEFILE
&lt;br&gt;&amp;nbsp; &amp;nbsp; user@local$ scp SOMEFILE user@remote:
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; (then on remote)
&lt;br&gt;&amp;nbsp; &amp;nbsp; user@remote$ tic SOMEFILE
&lt;br&gt;&lt;br&gt;This will copy the terminal definition your local box is using onto the
&lt;br&gt;server. If you only have a small number of servers I like this
&lt;br&gt;approach--if you have tons it can be tedious to make sure they all have
&lt;br&gt;the corect TERM setting and I might be more tempted to do something
&lt;br&gt;like what Pia suggests.
&lt;br&gt;&lt;br&gt;-- Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26847784&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26847784.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26847330</id>
	<title>Re: terminal capability problem when login therough screen</title>
	<published>2009-12-18T09:38:58Z</published>
	<updated>2009-12-18T09:38:58Z</updated>
	<author>
		<name>Pia Mikeal</name>
	</author>
	<content type="html">I usually just put something like the following in my .profile on remote 
&lt;br&gt;servers
&lt;br&gt;&lt;br&gt;export TERM=vt100
&lt;br&gt;&lt;br&gt;because your problem is that the remote box does not know about the 
&lt;br&gt;terminal type that your local screen sets it to. &amp;nbsp;The reason I do this on 
&lt;br&gt;a case by case basis rather than putting it in the local .screenrc is 
&lt;br&gt;because I usually want to take advantage of the terminal settings I have 
&lt;br&gt;in my local screen, but some of my servers only support vt100
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;Pia
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 17 Dec 2009, J. Bakshi wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello list,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A strange issue which I encounter during ssh through screen. If I ssh to
&lt;br&gt;&amp;gt; my remote servers ( one debian and one suse) I have no problem at all to
&lt;br&gt;&amp;gt; use vim. But if I &amp;nbsp;*ssh through screen* then the vim on remote debian
&lt;br&gt;&amp;gt; box reports
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt; E558: Terminal entry not found in terminfo
&lt;br&gt;&amp;gt; 'screen.rxvt' not known. Available builtin terminals are:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_riscos
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_amiga
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_beos-ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_pcansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_win32
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_vt320
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_vt52
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_xterm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_iris-ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_debug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;builtin_dumb
&lt;br&gt;&amp;gt; defaulting to 'ansi'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ` `
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where the remote suse box reports
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt; E437: terminal capability &amp;quot;cm&amp;quot; required
&lt;br&gt;&amp;gt; Press ENTER or type command to continue
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can I add some code in &amp;nbsp;my .screenrc to resolve this problem ?
&lt;br&gt;&amp;gt; Please suggest.
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; screen-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26847330&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Pia Mikeal
&lt;br&gt;System Administrator
&lt;br&gt;Markey Center for Structural Biology
&lt;br&gt;Purdue University
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26847330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmikeal@...&lt;/a&gt;
&lt;br&gt;(765)496-6781
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26847330&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26847330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845265</id>
	<title>Re: String escape for total number of windows?</title>
	<published>2009-12-18T07:38:04Z</published>
	<updated>2009-12-18T07:38:04Z</updated>
	<author>
		<name>Thor Andreassen-2</name>
	</author>
	<content type="html">On Thu, Dec 10, 2009 at 10:25:11PM -0800, John Magolske wrote:
&lt;br&gt;&amp;gt; Is there a string escape sequence that will display the total number
&lt;br&gt;&amp;gt; of windows (just a single number, not all window numbers and names)?
&lt;br&gt;&lt;br&gt;There does not seem to be.
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; For example, if I were in the 7th window and 23 windows were open,
&lt;br&gt;&amp;gt; I'd like to see something like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; 7 / 23 : vim ~/.mutt/temp/mutt-1000-25786-33
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; by setting hardstatus to something like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; hardstatus alwayslastline &amp;quot;%n / %x : %t&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Of course %x is not an escape for anything, I'm just using it here as
&lt;br&gt;&amp;gt; a placeholder...there doesn't seem to be an escape for total number of
&lt;br&gt;&amp;gt; windows. Might it be possible to achieve this by truncating the output
&lt;br&gt;&amp;gt; of %w or some such thing?
&lt;/div&gt;&lt;/div&gt;Looking at the code, at least with my eyes, truncation seems difficult
&lt;br&gt;and will probably end up as a hack.
&lt;br&gt;&lt;br&gt;I've attached a patch that copies some of the functionality of the '%w'
&lt;br&gt;handling, and should be applied to the newest source on savannah. It
&lt;br&gt;seems to produce the correct result, although someone more familiar with
&lt;br&gt;the code should check it for any unwanted consequences.
&lt;br&gt;&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;HTH
&lt;br&gt;Thor
&lt;br&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff --git a/src/extern.h b/src/extern.h
&lt;br&gt;index 0eb811a..a0c0249 100644
&lt;br&gt;--- a/src/extern.h
&lt;br&gt;+++ b/src/extern.h
&lt;br&gt;@@ -207,6 +207,7 @@ extern int &amp;nbsp; IsNumColon __P((char *, int, char *, int));
&lt;br&gt;&amp;nbsp;extern void &amp;nbsp;ShowWindows __P((int));
&lt;br&gt;&amp;nbsp;extern char *AddWindows __P((char *, int, int, int));
&lt;br&gt;&amp;nbsp;extern char *AddWindowFlags __P((char *, int, struct win *));
&lt;br&gt;+extern int &amp;nbsp; NumberOfWindows __P((int));
&lt;br&gt;&amp;nbsp;extern char *AddOtherUsers __P((char *, int, struct win *));
&lt;br&gt;&amp;nbsp;extern int &amp;nbsp; WindowByNoN __P((char *));
&lt;br&gt;&amp;nbsp;extern struct win *FindNiceWindow __P((struct win *, char *));
&lt;br&gt;diff --git a/src/process.c b/src/process.c
&lt;br&gt;index 0e835f0..eb625dc 100644
&lt;br&gt;--- a/src/process.c
&lt;br&gt;+++ b/src/process.c
&lt;br&gt;@@ -5317,6 +5317,26 @@ int where;
&lt;br&gt;&amp;nbsp; &amp;nbsp;return ss;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+int
&lt;br&gt;+NumberOfWindows(flags)
&lt;br&gt;+int flags;
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp;int number_of_windows = 1;
&lt;br&gt;+ &amp;nbsp;struct win **pp, *p;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;for (pp = wtab; pp &amp;lt; wtab + MAXWIN; pp++)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((p = *pp) == 0)
&lt;br&gt;+	continue;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((flags &amp; 1) &amp;&amp; display &amp;&amp; p == D_fore)
&lt;br&gt;+	continue;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (D_fore &amp;&amp; D_fore-&amp;gt;w_group != p-&amp;gt;w_group)
&lt;br&gt;+	continue;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;number_of_windows++;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp;return number_of_windows;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;char *
&lt;br&gt;&amp;nbsp;AddWindowFlags(buf, len, p)
&lt;br&gt;&amp;nbsp;char *buf;
&lt;br&gt;diff --git a/src/screen.c b/src/screen.c
&lt;br&gt;index edec34a..38b512a 100644
&lt;br&gt;--- a/src/screen.c
&lt;br&gt;+++ b/src/screen.c
&lt;br&gt;@@ -2955,6 +2955,13 @@ int rec;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;numpad++;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'x':
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int number_of_windows = NumberOfWindows((*s == 'w' ? 0 : 1) | (longflg ? 0 : 2) | (plusflg ? 4 : 0) | (minusflg ? 8 : 0));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sprintf(p, &amp;quot;%d&amp;quot;, number_of_windows);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p += strlen(p) - 1;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;	case 'n':
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;s++;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;/* FALLTHROUGH */
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845265&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/String-escape-for-total-number-of-windows--tp26739323p26845265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26843560</id>
	<title>Re: search in copy/scrollback mode when using vertical split</title>
	<published>2009-12-18T05:40:31Z</published>
	<updated>2009-12-18T05:40:31Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Jacob Alexandersson had this to say on [18 Dec 2009, 14:28:42 +0100]:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 17, 2009 at 6:16 PM, Sadrul Habib Chowdhury &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843560&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;imadil@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; * Jacob Alexandersson had this to say on [15 Dec 2009, 10:02:18 +0100]:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hello all,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm using screen from the ubuntu repositories which has the
&lt;br&gt;&amp;gt; &amp;gt; vertical-screen
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; patch. I just noticed that when I've got the screen in vertical-split
&lt;br&gt;&amp;gt; &amp;gt; mode,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the search function (/ and ?) doesn't work properly. The searches find
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; nothing even though matches are there [snip]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Does screen tell you that 'Pattern not found' even when there are
&lt;br&gt;&amp;gt; &amp;gt; matches? Or does it not do anything at all?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It does _not_ tell me &amp;quot;Pattern not found&amp;quot;; it says nothing. When I hit &amp;quot;n&amp;quot;,
&lt;br&gt;&amp;gt; it will find the next match.... but it doesnt work like that when I'm not in
&lt;br&gt;&amp;gt; &amp;quot;split mode&amp;quot;; then it matches right away after doing / &amp;lt;search&amp;gt; .....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The cursor never moves (even if there is a match) after doing / &amp;lt;search&amp;gt; ...
&lt;br&gt;&amp;gt; even when there is a match.
&lt;/div&gt;&lt;br&gt;Yes, this is the same behaviour as I had described in my mail. It has
&lt;br&gt;been fixed (commit 71cd5c06c6).
&lt;br&gt;&lt;br&gt;Thanks for the bug report.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843560&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/search-in-copy-scrollback-mode-when-using-vertical-split-tp26813215p26843560.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26843408</id>
	<title>Re: search in copy/scrollback mode when using vertical split</title>
	<published>2009-12-18T05:28:42Z</published>
	<updated>2009-12-18T05:28:42Z</updated>
	<author>
		<name>Jacob Alexandersson</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Dec 17, 2009 at 6:16 PM, Sadrul Habib Chowdhury &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843408&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;imadil@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
* Jacob Alexandersson had this to say on [15 Dec 2009, 10:02:18 +0100]:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; Hello all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m using screen from the ubuntu repositories which has the vertical-screen&lt;br&gt;
&amp;gt; patch. I just noticed that when I&amp;#39;ve got the screen in vertical-split mode,&lt;br&gt;
&amp;gt; the search function (/ and ?) doesn&amp;#39;t work properly. The searches find&lt;br&gt;
&lt;/div&gt;&amp;gt; nothing even though matches are there [snip]&lt;br&gt;
&lt;br&gt;
Does screen tell you that &amp;#39;Pattern not found&amp;#39; even when there are&lt;br&gt;
matches? Or does it not do anything at all?&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;It does _not_ tell me &amp;quot;Pattern not found&amp;quot;; it says nothing. When I hit &amp;quot;n&amp;quot;, it will find the next match.... but it doesnt work like that when I&amp;#39;m not in &amp;quot;split mode&amp;quot;; then it matches right away after doing / &amp;lt;search&amp;gt; .....&lt;br&gt;
&lt;br&gt;The cursor never moves (even if there is a match) after doing / &amp;lt;search&amp;gt; ... even when there is a match.&lt;br&gt;&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; Anyone seen this? Any workaround?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I see that screen does not update the cursor properly for the first match&lt;br&gt;
in vertical mode (although the cursor is moved there, as can be seen by&lt;br&gt;
using the cursor-movement keys). I am investigating why this happens.&lt;br&gt;
For the subsequent searches (pressing &amp;#39;n&amp;#39;/&amp;#39;N&amp;#39;), the cursor is updated&lt;br&gt;
properly and everything works as it should.&lt;br&gt;
&lt;br&gt;
Note that I am using the development version of screen (from&lt;br&gt;
&lt;a href=&quot;https://savannah.gnu.org/git/?group=screen&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://savannah.gnu.org/git/?group=screen&lt;/a&gt;).&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Sadrul&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843408&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/search-in-copy-scrollback-mode-when-using-vertical-split-tp26813215p26843408.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26841097</id>
	<title>Re: Cannot set $TERM in screen -- it always defaults to xterm</title>
	<published>2009-12-18T01:36:37Z</published>
	<updated>2009-12-18T01:36:37Z</updated>
	<author>
		<name>Thor Andreassen-2</name>
	</author>
	<content type="html">On Tue, Dec 15, 2009 at 05:15:22AM +0000, Leo Alekseyev wrote:
&lt;br&gt;&amp;gt; On Ubuntu 9.10, GNU screen ignores any attempt to set the TERM variable --
&lt;br&gt;&amp;gt; either by setting term=&amp;quot;xterm-256color&amp;quot; in .screenrc, or using :term command in
&lt;br&gt;&amp;gt; screen itself, or using a -T command line switch. Whatever I do, $TERM is stuck
&lt;br&gt;&amp;gt; at xterm. Somehow screen is able to display 256 colors under gnome-terminal, but
&lt;br&gt;&amp;gt; under xterm it defaults to 8. &amp;nbsp;I tried reinstalling from the repositories and
&lt;br&gt;&amp;gt; compiling from source, and I still see this behavior. &amp;nbsp;Can someone explain what
&lt;br&gt;&amp;gt; is going on and how to fix it? &amp;nbsp;TIA.
&lt;br&gt;&lt;br&gt;What shell are you using, and does the problem persist if you start your
&lt;br&gt;shell without config files?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26841097&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cannot-set-%24TERM-in-screen----it-always-defaults-to-xterm-tp26813187p26841097.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26832795</id>
	<title>Re: search in copy/scrollback mode when using vertical split</title>
	<published>2009-12-17T10:31:21Z</published>
	<updated>2009-12-17T10:31:21Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Sadrul Habib Chowdhury had this to say on [17 Dec 2009, 12:16:50 -0500]:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Jacob Alexandersson had this to say on [15 Dec 2009, 10:02:18 +0100]:
&lt;br&gt;&amp;gt; &amp;gt; Hello all,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I'm using screen from the ubuntu repositories which has the vertical-screen
&lt;br&gt;&amp;gt; &amp;gt; patch. I just noticed that when I've got the screen in vertical-split mode,
&lt;br&gt;&amp;gt; &amp;gt; the search function (/ and ?) doesn't work properly. The searches find
&lt;br&gt;&amp;gt; &amp;gt; nothing even though matches are there [snip]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does screen tell you that 'Pattern not found' even when there are
&lt;br&gt;&amp;gt; matches? Or does it not do anything at all?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Anyone seen this? Any workaround?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I see that screen does not update the cursor properly for the first match
&lt;br&gt;&amp;gt; in vertical mode (although the cursor is moved there, as can be seen by
&lt;br&gt;&amp;gt; using the cursor-movement keys).
&lt;/div&gt;&lt;br&gt;First, this particular glitch shows up with any kind of splits, i.e. it
&lt;br&gt;will happen even if you have horizontal splits only.
&lt;br&gt;&lt;br&gt;Second, I have pushed a fix for this (revision 71cd5c06c).
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26832795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/search-in-copy-scrollback-mode-when-using-vertical-split-tp26813215p26832795.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26831621</id>
	<title>Re: search in copy/scrollback mode when using vertical split</title>
	<published>2009-12-17T09:16:50Z</published>
	<updated>2009-12-17T09:16:50Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Jacob Alexandersson had this to say on [15 Dec 2009, 10:02:18 +0100]:
&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using screen from the ubuntu repositories which has the vertical-screen
&lt;br&gt;&amp;gt; patch. I just noticed that when I've got the screen in vertical-split mode,
&lt;br&gt;&amp;gt; the search function (/ and ?) doesn't work properly. The searches find
&lt;br&gt;&amp;gt; nothing even though matches are there [snip]
&lt;br&gt;&lt;br&gt;Does screen tell you that 'Pattern not found' even when there are
&lt;br&gt;matches? Or does it not do anything at all?
&lt;br&gt;&lt;br&gt;&amp;gt; Anyone seen this? Any workaround?
&lt;br&gt;&lt;br&gt;I see that screen does not update the cursor properly for the first match
&lt;br&gt;in vertical mode (although the cursor is moved there, as can be seen by
&lt;br&gt;using the cursor-movement keys). I am investigating why this happens.
&lt;br&gt;For the subsequent searches (pressing 'n'/'N'), the cursor is updated
&lt;br&gt;properly and everything works as it should.
&lt;br&gt;&lt;br&gt;Note that I am using the development version of screen (from
&lt;br&gt;&lt;a href=&quot;https://savannah.gnu.org/git/?group=screen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.gnu.org/git/?group=screen&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26831621&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/search-in-copy-scrollback-mode-when-using-vertical-split-tp26813215p26831621.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26830530</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-17T08:10:10Z</published>
	<updated>2009-12-17T08:10:10Z</updated>
	<author>
		<name>Gerald Young</name>
	</author>
	<content type="html">On Thursday 17 December 2009 3:24:20 am Chris Jones wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Dec 17, 2009 at 01:28:50AM EST, Alexander Steinert wrote:
&lt;br&gt;&amp;gt; &amp;gt; Chris Jones, Tue 2009-12-15 23:45 CET:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Maybe the new feature was not necessary after all, since it's quite
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; possible to acquire the habit of hitting '^A m' when coming back to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; one's screen session, as in &amp;quot;now, let's see.. where was I&amp;quot;..
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ^G is much more helpful, IMHO, assuming that you don't have an
&lt;br&gt;&amp;gt; &amp;gt; application running where that could be &amp;quot;harmful&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I agree.. although I can't think of any applications I run on a regular
&lt;br&gt;&amp;gt; basis taking 'g' as a command, apart from ELinks, where it pops up a
&lt;br&gt;&amp;gt; dialog prompting you for a URL, it feels like an accident to happen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Unless you go through all your favorite applications and remap 'g' to
&lt;br&gt;&amp;gt; displaying a message such as &amp;quot;no.. you are not in screen's copy mode&amp;quot;,
&lt;br&gt;&amp;gt; naturally :-)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Doing '^A [' should either get you into copy mode (which can be promptly 
&lt;br&gt;exited with '[') or, if already on copy mode, tells you &amp;quot;Must be on a window 
&lt;br&gt;layer&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26830530&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26830530.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846879</id>
	<title>Re: terminal capability problem when login therough screen</title>
	<published>2009-12-17T01:25:05Z</published>
	<updated>2009-12-17T01:25:05Z</updated>
	<author>
		<name>jb12</name>
	</author>
	<content type="html">J. Bakshi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello list,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A strange issue which I encounter during ssh through screen. If I ssh to
&lt;br&gt;&amp;gt; my remote servers ( one debian and one suse) I have no problem at all to
&lt;br&gt;&amp;gt; use vim. But if I &amp;nbsp;*ssh through screen* then the vim on remote debian
&lt;br&gt;&amp;gt; box reports
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt; E558: Terminal entry not found in terminfo
&lt;br&gt;&amp;gt; 'screen.rxvt' not known. Available builtin terminals are:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_riscos
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_amiga
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_beos-ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_pcansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_win32
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_vt320
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_vt52
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_xterm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_iris-ansi
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_debug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; builtin_dumb
&lt;br&gt;&amp;gt; defaulting to 'ansi'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;` `
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where the remote suse box reports
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt; E437: terminal capability &amp;quot;cm&amp;quot; required
&lt;br&gt;&amp;gt; Press ENTER or type command to continue
&lt;br&gt;&amp;gt; ` ` `
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can I add some code in &amp;nbsp;my .screenrc to resolve this problem ?
&lt;br&gt;&amp;gt; Please suggest.
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;I get one clue. No problem if I use urxvt &amp;nbsp;as terminal &amp;nbsp;but &amp;nbsp;mrxvt
&lt;br&gt;produces the above error.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;জয়দীপ বক্সী
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26846879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846901</id>
	<title>terminal capability problem when login therough screen</title>
	<published>2009-12-17T01:02:01Z</published>
	<updated>2009-12-17T01:02:01Z</updated>
	<author>
		<name>jb12</name>
	</author>
	<content type="html">Hello list,
&lt;br&gt;&lt;br&gt;A strange issue which I encounter during ssh through screen. If I ssh to
&lt;br&gt;my remote servers ( one debian and one suse) I have no problem at all to
&lt;br&gt;use vim. But if I &amp;nbsp;*ssh through screen* then the vim on remote debian
&lt;br&gt;box reports
&lt;br&gt;&lt;br&gt;` ` `
&lt;br&gt;E558: Terminal entry not found in terminfo
&lt;br&gt;'screen.rxvt' not known. Available builtin terminals are:
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_riscos
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_amiga
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_beos-ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_pcansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_win32
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_vt320
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_vt52
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_xterm
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_iris-ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_debug
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_dumb
&lt;br&gt;defaulting to 'ansi'
&lt;br&gt;&lt;br&gt;&amp;nbsp;` `
&lt;br&gt;&lt;br&gt;where the remote suse box reports
&lt;br&gt;&lt;br&gt;` ` `
&lt;br&gt;E437: terminal capability &amp;quot;cm&amp;quot; required
&lt;br&gt;Press ENTER or type command to continue
&lt;br&gt;` ` `
&lt;br&gt;&lt;br&gt;Can I add some code in &amp;nbsp;my .screenrc to resolve this problem ?
&lt;br&gt;Please suggest.
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26846901p26846901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26825008</id>
	<title>terminal capability problem when login therough screen</title>
	<published>2009-12-17T00:56:40Z</published>
	<updated>2009-12-17T00:56:40Z</updated>
	<author>
		<name>jb12</name>
	</author>
	<content type="html">Hello list,
&lt;br&gt;&lt;br&gt;A strange issue which I encounter during ssh through screen. If I ssh to my remote servers ( one debian and one suse) I have no problem at all to use vim. But if I &amp;nbsp;*ssh through screen* then the vim on remote debian box reports
&lt;br&gt;&lt;br&gt;` ` `
&lt;br&gt;E558: Terminal entry not found in terminfo
&lt;br&gt;'screen.rxvt' not known. Available builtin terminals are:
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_riscos
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_amiga
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_beos-ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_pcansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_win32
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_vt320
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_vt52
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_xterm
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_iris-ansi
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_debug
&lt;br&gt;&amp;nbsp; &amp;nbsp; builtin_dumb
&lt;br&gt;defaulting to 'ansi'
&lt;br&gt;&lt;br&gt;&amp;nbsp;` `
&lt;br&gt;&lt;br&gt;where the remote suse box reports
&lt;br&gt;&lt;br&gt;` ` `
&lt;br&gt;E437: terminal capability &amp;quot;cm&amp;quot; required
&lt;br&gt;Press ENTER or type command to continue
&lt;br&gt;` ` `
&lt;br&gt;&lt;br&gt;Can I add some code in &amp;nbsp;my .screenrc to resolve this problem ?
&lt;br&gt;Please suggest.
&lt;br&gt;Thanks</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/terminal-capability-problem-when-login-therough-screen-tp26825008p26825008.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26824788</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-17T00:24:20Z</published>
	<updated>2009-12-17T00:24:20Z</updated>
	<author>
		<name>Chris Jones-44</name>
	</author>
	<content type="html">On Thu, Dec 17, 2009 at 01:28:50AM EST, Alexander Steinert wrote:
&lt;br&gt;&amp;gt; Chris Jones, Tue 2009-12-15 23:45 CET:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Maybe the new feature was not necessary after all, since it's quite
&lt;br&gt;&amp;gt; &amp;gt; possible to acquire the habit of hitting '^A m' when coming back to
&lt;br&gt;&amp;gt; &amp;gt; one's screen session, as in &amp;quot;now, let's see.. where was I&amp;quot;..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note that lastmsg does not necessarily refer to the window that is
&lt;br&gt;&amp;gt; currently selected.
&lt;br&gt;&lt;br&gt;Ah, good point..! 
&lt;br&gt;&lt;br&gt;I wondered about that after posting, but I was already in bed and by the
&lt;br&gt;morrow I had forgotten about it.
&lt;br&gt;&lt;br&gt;&amp;gt; ^G is much more helpful, IMHO, assuming that you don't have an
&lt;br&gt;&amp;gt; application running where that could be &amp;quot;harmful&amp;quot;.
&lt;br&gt;&lt;br&gt;I agree.. although I can't think of any applications I run on a regular
&lt;br&gt;basis taking 'g' as a command, apart from ELinks, where it pops up a
&lt;br&gt;dialog prompting you for a URL, it feels like an accident to happen.
&lt;br&gt;&lt;br&gt;Unless you go through all your favorite applications and remap 'g' to
&lt;br&gt;displaying a message such as &amp;quot;no.. you are not in screen's copy mode&amp;quot;,
&lt;br&gt;naturally :-)
&lt;br&gt;&lt;br&gt;CJ
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26824788&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26824788.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823808</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-16T22:28:50Z</published>
	<updated>2009-12-16T22:28:50Z</updated>
	<author>
		<name>Alexander Steinert</name>
	</author>
	<content type="html">Chris Jones, Tue 2009-12-15 23:45 CET:
&lt;br&gt;&amp;gt; Maybe the new feature was not necessary after all, since it's quite
&lt;br&gt;&amp;gt; possible to acquire the habit of hitting '^A m' when coming back to
&lt;br&gt;&amp;gt; one's screen session, as in &amp;quot;now, let's see.. where was I&amp;quot;..
&lt;br&gt;&lt;br&gt;Note that lastmsg does not necessarily refer to the window that is
&lt;br&gt;currently selected.
&lt;br&gt;&lt;br&gt;^G is much more helpful, IMHO, assuming that you don't have an
&lt;br&gt;application running where that could be &amp;quot;harmful&amp;quot;.
&lt;br&gt;&lt;br&gt;Stony
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26823808&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26823808.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26822565</id>
	<title>Re: Detached screens disappear - help debugging?</title>
	<published>2009-12-16T19:29:17Z</published>
	<updated>2009-12-16T19:29:17Z</updated>
	<author>
		<name>Pandurangan R S</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; After detaching, my screen session will disappear some time after.
&lt;br&gt;&lt;br&gt;Is the screen process dead (check using ps) or you are not just able
&lt;br&gt;to attach to the screen.
&lt;br&gt;&lt;br&gt;If the screen process is alive and &amp;quot;screen -ls&amp;quot; tells &amp;quot;No sockets found&amp;quot;
&lt;br&gt;then it may the case that your sockdir (usually /tmp/uscreens/&amp;lt;user&amp;gt;)
&lt;br&gt;is getting cleaned up!
&lt;br&gt;&lt;br&gt;My admin was wiping off the entire /tmp when diskspace was low and
&lt;br&gt;this was causing me a similar issue.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Pandu
&lt;br&gt;&lt;br&gt;On Wed, Dec 16, 2009 at 11:06 AM, Leinartas, Michael
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MICHAEL.LEINARTAS@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've had a problem with screen on my home computer for quite some time
&lt;br&gt;&amp;gt; that's been driving me crazy.  After detaching, my screen session will
&lt;br&gt;&amp;gt; disappear some time after.  Sometimes an hour later it's there, sometimes
&lt;br&gt;&amp;gt; it's not.  It's nearly always gone if I leave it overnight.  I never have
&lt;br&gt;&amp;gt; any problems if I'm attached - if I say, leave a screen session on the
&lt;br&gt;&amp;gt; console open for 3 days, it'll be fine. It also doesn't seem to matter how
&lt;br&gt;&amp;gt; many terminals are in the session or whether they're idle at a prompt or
&lt;br&gt;&amp;gt; running something.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So where can I start figuring out what's causing these sessions to die?  It
&lt;br&gt;&amp;gt; doesn't  seem to be anything obvious like an oom killer (nothing in dmesg).
&lt;br&gt;&amp;gt;  I've checked the system crons in /etc/cron.* and it doesn't look like
&lt;br&gt;&amp;gt; there's anything wiping stuff in /var/run or anything.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Some system details incase it matters to anyone:
&lt;br&gt;&amp;gt; Screen 4.0.3
&lt;br&gt;&amp;gt; Debian squeeze (same problem when I was on lenny) amd64 arch
&lt;br&gt;&amp;gt; linux-2.6.32 (vanilla)
&lt;br&gt;&amp;gt; AMD quad core (Phenom II)
&lt;br&gt;&amp;gt; 4gb ram
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd appreciate any help on this because it's driving me nuts.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; michael
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; screen-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822565&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822565&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Detached-screens-disappear---help-debugging--tp26813376p26822565.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26813376</id>
	<title>Detached screens disappear - help debugging?</title>
	<published>2009-12-15T21:36:18Z</published>
	<updated>2009-12-15T21:36:18Z</updated>
	<author>
		<name>Leinartas, Michael</name>
	</author>
	<content type="html">&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;Detached screens disappear - help debugging?&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;FONT FACE=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;SPAN STYLE='font-size:11pt'&gt;I've had a problem with screen on my home computer for quite some time that's been driving me crazy. &amp;nbsp;After detaching, my screen session will disappear some time after. &amp;nbsp;Sometimes an hour later it's there, sometimes it's not. &amp;nbsp;It's nearly always gone if I leave it overnight. &amp;nbsp;I never have any problems if I'm attached - if I say, leave a screen session on the console open for 3 days, it'll be fine. It also doesn't seem to matter how many terminals are in the session or whether they're idle at a prompt or running something. &lt;BR&gt;
&lt;BR&gt;
So where can I start figuring out what's causing these sessions to die? &amp;nbsp;It doesn't &amp;nbsp;seem to be anything obvious like an oom killer (nothing in dmesg). &amp;nbsp;I've checked the system crons in /etc/cron.* and it doesn't look like there's anything wiping stuff in /var/run or anything.&lt;BR&gt;
&lt;BR&gt;
Some system details incase it matters to anyone:&lt;BR&gt;
Screen 4.0.3&lt;BR&gt;
Debian squeeze (same problem when I was on lenny) amd64 arch&lt;BR&gt;
linux-2.6.32 (vanilla)&lt;BR&gt;
AMD quad core (Phenom II)&lt;BR&gt;
4gb ram&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
I'd appreciate any help on this because it's driving me nuts. &lt;BR&gt;
&lt;BR&gt;
michael&lt;BR&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26813376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Detached-screens-disappear---help-debugging--tp26813376p26813376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26803211</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T14:45:33Z</published>
	<updated>2009-12-15T14:45:33Z</updated>
	<author>
		<name>Chris Jones-44</name>
	</author>
	<content type="html">On Tue, Dec 15, 2009 at 05:13:57PM EST, Sadrul Habib Chowdhury wrote:
&lt;br&gt;&amp;gt; * Chris Jones had this to say on [15 Dec 2009, 16:22:07 -0500]:
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Although what I had in mind was something that would display permanently
&lt;br&gt;&amp;gt; &amp;gt; and that would refresh itself automatically when the cursor is moved,
&lt;br&gt;&amp;gt; &amp;gt; similar to Vim's 'statusline' items 'l' and 'v'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There's nothing in the existing code that will make that happen. From the
&lt;br&gt;&amp;gt; earlier mail:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	A vim-like caption could indeed be useful. It can be done by, for
&lt;br&gt;&amp;gt; 	example, interpreting the escape sequences differently when in
&lt;br&gt;&amp;gt; 	copy/mode. &amp;nbsp;But I really really don't want that to happen. I think
&lt;br&gt;&amp;gt; 	it'd be much better to leave that kind of thing to scripts (when the
&lt;br&gt;&amp;gt; 	support for that gets a bit more mature).
&lt;/div&gt;&lt;br&gt;Yes, I noticed that. 
&lt;br&gt;&lt;br&gt;Maybe the new feature was not necessary after all, since it's quite
&lt;br&gt;possible to acquire the habit of hitting '^A m' when coming back to
&lt;br&gt;one's screen session, as in &amp;quot;now, let's see.. where was I&amp;quot;..
&lt;br&gt;&lt;br&gt;CJ
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26803211&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26803211.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26802658</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T14:06:09Z</published>
	<updated>2009-12-15T14:06:09Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Chris Jones had this to say on [15 Dec 2009, 16:22:07 -0500]:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Dec 15, 2009 at 04:10:42PM EST, Sadrul Habib Chowdhury wrote:
&lt;br&gt;&amp;gt; &amp;gt; * Chris Jones had this to say on [15 Dec 2009, 15:08:57 -0500]:
&lt;br&gt;&amp;gt; &amp;gt; [snip]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Without additional changes to the code, is there any way I could
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; display the x,y coordinates of the cursor position as the transient
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; message does? 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Something like:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Copy-mode Column xxx, Line yyy
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Useful in contexts where the cursor is difficult to spot. I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; sometimes have this problem on some web pages with the ELinks web
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; browser.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Naturally, what I mean is the x,y within the page that's displayed
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; in the view port, not relative to the entire scroll-back buffer.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Pressing Ctrl+G in copy-mode will show that.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Oh, very useful, and vim-like as well.. very nice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Although what I had in mind was something that would display permanently
&lt;br&gt;&amp;gt; and that would refresh itself automatically when the cursor is moved,
&lt;br&gt;&amp;gt; similar to Vim's 'statusline' items 'l' and 'v'.
&lt;/div&gt;&lt;br&gt;There's nothing in the existing code that will make that happen. From the
&lt;br&gt;earlier mail:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A vim-like caption could indeed be useful. It can be done by, for
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; example, interpreting the escape sequences differently when in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; copy/mode. &amp;nbsp;But I really really don't want that to happen. I think
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; it'd be much better to leave that kind of thing to scripts (when the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; support for that gets a bit more mature).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26802658&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26802658.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26802033</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T13:22:07Z</published>
	<updated>2009-12-15T13:22:07Z</updated>
	<author>
		<name>Chris Jones-44</name>
	</author>
	<content type="html">On Tue, Dec 15, 2009 at 04:10:42PM EST, Sadrul Habib Chowdhury wrote:
&lt;br&gt;&amp;gt; * Chris Jones had this to say on [15 Dec 2009, 15:08:57 -0500]:
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Without additional changes to the code, is there any way I could
&lt;br&gt;&amp;gt; &amp;gt; display the x,y coordinates of the cursor position as the transient
&lt;br&gt;&amp;gt; &amp;gt; message does? 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Something like:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Copy-mode Column xxx, Line yyy
&lt;br&gt;&amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Useful in contexts where the cursor is difficult to spot. I
&lt;br&gt;&amp;gt; &amp;gt; sometimes have this problem on some web pages with the ELinks web
&lt;br&gt;&amp;gt; &amp;gt; browser.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Naturally, what I mean is the x,y within the page that's displayed
&lt;br&gt;&amp;gt; &amp;gt; in the view port, not relative to the entire scroll-back buffer.
&lt;/div&gt;&lt;br&gt;&amp;gt; Pressing Ctrl+G in copy-mode will show that.
&lt;br&gt;&lt;br&gt;Oh, very useful, and vim-like as well.. very nice.
&lt;br&gt;&lt;br&gt;Although what I had in mind was something that would display permanently
&lt;br&gt;and that would refresh itself automatically when the cursor is moved,
&lt;br&gt;similar to Vim's 'statusline' items 'l' and 'v'.
&lt;br&gt;&lt;br&gt;Since I already use Ctrl-G as my screen escape key, I need to do a
&lt;br&gt;Ctrl-g g, of course. &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;gt; Also, thanks for testing the patch.
&lt;br&gt;&lt;br&gt;You're welcome. 
&lt;br&gt;&lt;br&gt;CJ
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26802033&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26802033.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26801725</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T13:02:44Z</published>
	<updated>2009-12-15T13:02:44Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Chris Jones had this to say on [15 Dec 2009, 15:08:57 -0500]:
&lt;br&gt;[snip]
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Without additional changes to the code, is there any way I could display
&lt;br&gt;&amp;gt; the x,y coordinates of the cursor position as the transient message
&lt;br&gt;&amp;gt; does? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Something like:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; Copy-mode Column xxx, Line yyy 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Useful in contexts where the cursor is difficult to spot. I sometimes
&lt;br&gt;&amp;gt; have this problem on some web pages with the ELinks web browser.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Naturally, what I mean is the x,y within the page that's displayed in
&lt;br&gt;&amp;gt; the view port, not relative to the entire scroll-back buffer.
&lt;/div&gt;&lt;br&gt;Pressing Ctrl+G in copy-mode will show that.
&lt;br&gt;&lt;br&gt;Also, thanks for testing the patch.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26801725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26801725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26800965</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T12:08:57Z</published>
	<updated>2009-12-15T12:08:57Z</updated>
	<author>
		<name>Chris Jones-44</name>
	</author>
	<content type="html">On Tue, Dec 15, 2009 at 12:19:09PM EST, Sadrul Habib Chowdhury wrote:
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&lt;br&gt;&amp;gt; I haven't committed the changes yet, still testing (patch attached,
&lt;br&gt;&amp;gt; should someone want to try it out). Opinions?
&lt;br&gt;&lt;br&gt;Does a very nice job like so:
&lt;br&gt;&lt;br&gt;caption always &amp;quot;%?%P%{+u kw} copy-mode %{+u wk} %:%{+u wk} %?&amp;quot;
&lt;br&gt;hardstatus alwayslastline &amp;quot;[%H]%L=%=%-w%45L&amp;gt;(%n-%t)%+w%=%-13=[%d/%m %c]&amp;quot; 
&lt;br&gt;&lt;br&gt;The caption duplicates the beginning of the 'copy-mode' message.
&lt;br&gt;&lt;br&gt;Anyway, since my caption line was an empty that I use it as a separator
&lt;br&gt;it was easy to fit into my setup.
&lt;br&gt;&lt;br&gt;The only possible problem with this approach might be for users who
&lt;br&gt;already have a very long caption/status line who would end up with
&lt;br&gt;something really huge. 
&lt;br&gt;&lt;br&gt;Without additional changes to the code, is there any way I could display
&lt;br&gt;the x,y coordinates of the cursor position as the transient message
&lt;br&gt;does? 
&lt;br&gt;&lt;br&gt;Something like:
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;Copy-mode Column xxx, Line yyy 
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Useful in contexts where the cursor is difficult to spot. I sometimes
&lt;br&gt;have this problem on some web pages with the ELinks web browser.
&lt;br&gt;&lt;br&gt;Naturally, what I mean is the x,y within the page that's displayed in
&lt;br&gt;the view port, not relative to the entire scroll-back buffer.
&lt;br&gt;&lt;br&gt;In any event, thanks much for the patch, works for me.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;CJ
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26800965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26800965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26813293</id>
	<title>Unable to set $TERM in screen (always defaults to xterm)</title>
	<published>2009-12-15T09:34:26Z</published>
	<updated>2009-12-15T09:34:26Z</updated>
	<author>
		<name>dnquark-2</name>
	</author>
	<content type="html">On Ubuntu 9.10, GNU screen ignores any attempt to set the TERM
&lt;br&gt;variable -- either by setting term=&amp;quot;xterm-256color&amp;quot; in .screenrc, or
&lt;br&gt;using :term command in screen itself, or using a -T command line
&lt;br&gt;switch. Whatever I do, $TERM is stuck at xterm. Somehow screen is able
&lt;br&gt;to display 256 colors under gnome-terminal, but under xterm it
&lt;br&gt;defaults to 8. &amp;nbsp;I tried reinstalling from the repositories and
&lt;br&gt;compiling from source, and I still see this behavior. &amp;nbsp;Can someone
&lt;br&gt;explain what is going on and how to fix it? &amp;nbsp;TIA.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26813293&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-set-%24TERM-in-screen-%28always-defaults-to-xterm%29-tp26813293p26813293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26798288</id>
	<title>Re: Copy-scrollback mode -- VIsual feedback in window caption?</title>
	<published>2009-12-15T09:14:31Z</published>
	<updated>2009-12-15T09:14:31Z</updated>
	<author>
		<name>Sadrul Habib Chowdhury</name>
	</author>
	<content type="html">* Hugo Heden had this to say on [15 Dec 2009, 11:03:39 +0100]:
&lt;br&gt;[snip]
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Not sure this sounds like an obscure use case.. But I would love it if
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I could configure some visual feedback for when being in
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; copy-scroll-back-mode.)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Otherwise, if you really feel visual feedback is a good idea, I guess a
&lt;br&gt;&amp;gt; &amp;gt; permanent blinking message in reverse video in the current status area
&lt;br&gt;&amp;gt; &amp;gt; would probably do the trick and cover all the bases, even for thos who
&lt;br&gt;&amp;gt; &amp;gt; do no use a caption/status line (?)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, that sounds reasonable, though I *think* it'd be enough with something
&lt;br&gt;&amp;gt; that isn't actually blinking.
&lt;/div&gt;&lt;/div&gt;Something configurable sounds like a good idea to me. That way, users who
&lt;br&gt;don't want to don't need to adapt to a change.
&lt;br&gt;&lt;br&gt;So, I decided to go with adding cruft to the caption string (sigh*). I
&lt;br&gt;have added 'P' flag, which will set '%?' to true if the current window is
&lt;br&gt;in copy/paste mode. So, if you want to simply change the color etc. of
&lt;br&gt;your caption, prepend '%?%P%{XXX}%?' to your caption and you're set ('XXX'
&lt;br&gt;stands for the usual attribute/color modifier). If, on the other hand,
&lt;br&gt;you want to change the caption string in copy mode, change your caption
&lt;br&gt;string to '%?%PCaption for copy mode%:Your usual caption%?'
&lt;br&gt;&lt;br&gt;* I sigh because (1) I really didn't want to add more cruft to the
&lt;br&gt;&amp;nbsp; already-too-complicated caption string, and (2) this fix doesn't help
&lt;br&gt;&amp;nbsp; someone who doesn't have a caption string.
&lt;br&gt;&lt;br&gt;&amp;gt; Something Vim like perhaps (as suggested by
&lt;br&gt;&amp;gt; Dustin Kirkland elsewhere in this thread)? (Though I'm not sure what the
&lt;br&gt;&amp;gt; &amp;quot;line number&amp;quot; would be helpful for.. Should the lines be counted from the
&lt;br&gt;&amp;gt; top or the bottom of the scrollback buffer?)
&lt;br&gt;&lt;br&gt;A vim-like caption could indeed be useful. It can be done by, for
&lt;br&gt;example, interpreting the escape sequences differently when in copy/mode.
&lt;br&gt;But I really really don't want that to happen. I think it'd be much
&lt;br&gt;better to leave that kind of thing to scripts (when the support for that
&lt;br&gt;gets a bit more mature).
&lt;br&gt;&lt;br&gt;I haven't committed the changes yet, still testing (patch attached,
&lt;br&gt;should someone want to try it out). Opinions?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Sadrul
&lt;br&gt;&lt;br&gt;&lt;br /&gt;diff --git a/src/mark.c b/src/mark.c
&lt;br&gt;index ce94293..83eaed1 100644
&lt;br&gt;--- a/src/mark.c
&lt;br&gt;+++ b/src/mark.c
&lt;br&gt;@@ -1035,6 +1035,7 @@ processchar:
&lt;br&gt;&amp;nbsp;		 &amp;nbsp;LAY_CALL_UP(LRefreshAll(flayer, 0));
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;ExitOverlayPage();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;WindowChanged(fore, 'P');
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;if (append_mode)
&lt;br&gt;&amp;nbsp;		LMsg(0, &amp;quot;Appended %d characters to buffer&amp;quot;,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp;newcopylen);
&lt;br&gt;@@ -1277,6 +1278,7 @@ MarkAbort()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rem(markdata-&amp;gt;x1, markdata-&amp;gt;y1, markdata-&amp;gt;cx, markdata-&amp;gt;cy, redisp, (char *)0, yend);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;ExitOverlayPage();
&lt;br&gt;+ &amp;nbsp;WindowChanged(fore, 'P');
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/src/process.c b/src/process.c
&lt;br&gt;index 2874e7e..0e835f0 100644
&lt;br&gt;--- a/src/process.c
&lt;br&gt;+++ b/src/process.c
&lt;br&gt;@@ -2231,6 +2231,7 @@ int key;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MarkRoutine();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;WindowChanged(fore, 'P');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;case RC_HISTORY:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;diff --git a/src/screen.c b/src/screen.c
&lt;br&gt;index e8f4cac..10819c9 100644
&lt;br&gt;--- a/src/screen.c
&lt;br&gt;+++ b/src/screen.c
&lt;br&gt;@@ -118,6 +118,8 @@ int VBellWait, MsgWait, MsgMinWait, SilenceWait;
&lt;br&gt;&amp;nbsp;extern struct acluser *users;
&lt;br&gt;&amp;nbsp;extern struct display *displays, *display; 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern struct LayFuncs MarkLf;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;extern int visual_bell;
&lt;br&gt;&amp;nbsp;#ifdef COPY_PASTE
&lt;br&gt;@@ -2804,6 +2806,16 @@ int rec;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;if (minusflg)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;qmflag = 1;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;break;
&lt;br&gt;+	case 'P':
&lt;br&gt;+	 &amp;nbsp;p--;
&lt;br&gt;+	 &amp;nbsp;if (display &amp;&amp; ev &amp;&amp; ev != &amp;D_hstatusev)	/* Hack */
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Is the layer in the current canvas in copy mode? */
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;struct canvas *cv = (struct canvas *)ev-&amp;gt;data;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;if (ev == &amp;cv-&amp;gt;c_captev &amp;&amp; cv-&amp;gt;c_layer-&amp;gt;l_layfn == &amp;MarkLf)
&lt;br&gt;+		qmflag = 1;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+	 &amp;nbsp;break;
&lt;br&gt;&amp;nbsp;	case '&amp;gt;':
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;truncpos = p - winmsg_buf;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;truncper = num &amp;gt; 100 ? 100 : num;
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;screen-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26798288&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;screen-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/screen-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/screen-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Copy-scrollback-mode----VIsual-feedback-in-window-caption--tp22564603p26798288.html" />
</entry>

</feed>
