From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 2 15:22:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B5FE374161B for ; Wed, 2 Jul 2008 15:22:16 -0400 (EDT) Received: from localhost ([127.0.0.1]:51073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE7u9-0006LJ-Ug for erik@plastic-idolatry.com; Wed, 02 Jul 2008 15:22:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE7ts-0006L4-7U for screen-users@gnu.org; Wed, 02 Jul 2008 15:21:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE7tr-0006Kh-0g for screen-users@gnu.org; Wed, 02 Jul 2008 15:21:55 -0400 Received: from [199.232.76.173] (port=58345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE7tq-0006Ke-Qw for screen-users@gnu.org; Wed, 02 Jul 2008 15:21:54 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58851) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KE7tq-0000DZ-Hv for screen-users@gnu.org; Wed, 02 Jul 2008 15:21:54 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 25ADA3C8A984; Wed, 2 Jul 2008 12:21:53 -0700 (PDT) Message-ID: <486BD550.7070809@cowan.name> Date: Wed, 02 Jul 2008 12:21:52 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: David Chanters References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: rxvt-unicode@lists.schmorp.de, screen-users@gnu.org Subject: Re: Blinking text: %{+B} attribute. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4248 Lines: 117 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adding the rxvt-unicode mailing list back in. I'm guessing your thread had a different title, sorry about the chopped thread, rxvt guys. David Chanters wrote: > However, and this is the crucial part (for those of you playing along > at home :P), if we set the background color of the hardstatus, as in: > > hardstatus alwayslastline '%{= Gb}%-w %{+B}%n %t %+w' > > Then the blinking stops entirely under urxvt. > > Repeating the exact same tests above running under XTerm instead, > yields correct behaviour; the title and number of all windows flashes. > > Now, i said to you i asked about this on the rxvt-unicode mailing > list. the reply i got from the author was quite useful. a relevant > part of that conversation is here (my initial question is prefixed > with ">"): > > > So my question is: how does rxvt-unicode and XTerm compare in terms > > of how they're told to implement blinking text, and is there anything > > i can do to make them the same in order to fix my problem? > > They implement blinking text effectively identically (i.e. same command > sequence etc. but different blinking frequency and of course it is > implemented differently, but from a suer standpoint they work identically). > > Your problem is gnu screen not outputting the sequence, and that's likely > a configuration issue. That's incorrect. GNU Screen does in fact output the correct sequence. You can test the issue directly by trying the following commands: $ tput blink; echo foo; tput sgr0 which blinks, and $ tput setab 4; tput blink; echo foo; tput sgr0 which has a blue background, and doesn't blink. I also checked using the direct escape sequences from ECMA-48, and still get the same results: $ printf '\033[44m\033[5mfoo\033[m\n' $ printf '\033[44m\033[6mfoo\033[m\n' (those use the two different possible blinking frequencies.) I noticed that my terminfo has the following definitions for rxvt-unicode: setab=\E[48;5;%p1%dm A parameter value of "48" means to set the background color according to CCITT Recommendation T.416 (aka ISO 8613-6). A "5" as a parameter of SGR (denoted by the final "m") normally means blinking text, but when it follows a 48, it means to use a certain indexed color for the background (given by the parameter that follows). My first guess was that perhaps rxvt-unicode confuses the "5" that would activate blinking text: Esc [ 5 m ^ with the 5 that activates indexed color mode: Esc [ 48 ; 5 ; 4 m ^ (spaces added for clarity) But that guess is probably incorrect, as \E[7m doesn't induce blinking either when a background color is set, and 7 has no meaning in T.416 that I'm aware of. So, I don't have answers to why this is the case, but it seems quite clear to me that the problem lies with rxvt-unicode, and not with screen (screen isn't even involved in any of the above tests). > There's obviously something gone awry in screen since xterm is the > only terminal emulator to properly handle the blinking escape > sequences screen sends it. Running the same tests above under > XFCE4-termina, gnome-terminal, rox-terminal, eterm, all yield the same > result as urxvt does --- change the color of the hardstatus away from > reverse video and no more blinking text. gnome-terminal (at least, for me) never respects blinking at all. xfce4-terminal uses the same terminal emulation code that gnome-terminal does, so its lack of support doesn't surprise me. Eterm and rox-terminal I'm not very familiar with, but I suspect that there is an explicit decision not to support blinking in some terminals, as it is considered by many to be evil. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIa9VP7M8hyUobTrERAof9AJ0bXEuPyYiuDuv3ybxTTP1kaza1owCfW6lU Po1Jz8IOEhLiOPjdDodYsaI= =AxtO -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 2 16:22:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 46EE674138B for ; Wed, 2 Jul 2008 16:22:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:47662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE8qR-0004mB-SG for erik@plastic-idolatry.com; Wed, 02 Jul 2008 16:22:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE8po-0004dD-5F for screen-users@gnu.org; Wed, 02 Jul 2008 16:21:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE8pm-0004bf-7H for screen-users@gnu.org; Wed, 02 Jul 2008 16:21:47 -0400 Received: from [199.232.76.173] (port=42385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE8pm-0004bX-0N for screen-users@gnu.org; Wed, 02 Jul 2008 16:21:46 -0400 Received: from el-out-1112.google.com ([209.85.162.181]:29678) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KE8pl-0003Rz-Nm for screen-users@gnu.org; Wed, 02 Jul 2008 16:21:45 -0400 Received: by el-out-1112.google.com with SMTP id n30so87416elf.12 for ; Wed, 02 Jul 2008 13:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zWgsaGafAyLkNMW2Iu1++fREaCoDr83TeaPykaIx4hA=; b=ANvl92O5HpaV0JqaRzwbGuhH8d3p39W9fjffLBfdTf1Rz6pnCt3b/3NrHnpmNt5Sql l0GxuTGISZP52de1ZjVXCMg/+iltOKETQXMyi2xTMBSjVNIBP5vkb6BJkokAnN1zvLnp UoFZzeh9ejeKmlNoiekxeJUH2tfRxqx5bWa/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LYIVLuBhHpXQTDxtA/3z2w1IL0v60JJUBh/kYmLJxnJLQV/25i4jCPxdnnSQ335v4O 92XOEQu0r2yv9DTFrgsxeXjWE5bPLJg1FtBDfkasq93xk7dCYEZrBjePEwtIu+TZoQnr kdZwWlsoqeAtfClFK03dRr7Oy61AnVbSi3BcQ= Received: by 10.150.197.8 with SMTP id u8mr13835825ybf.159.1215030104131; Wed, 02 Jul 2008 13:21:44 -0700 (PDT) Received: by 10.150.220.14 with HTTP; Wed, 2 Jul 2008 13:21:44 -0700 (PDT) Message-ID: <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> Date: Wed, 2 Jul 2008 21:21:44 +0100 From: davidcollins001@gmail.com To: "Samir Unni" In-Reply-To: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1175 Lines: 28 I use screen -x to attach to an attached session, have you tried this? On 02/07/2008, Samir Unni wrote: > Hi, > > I was using screen, and my session was disconnected while outputting a lot > of text (presumably due to a router choking---the upwidth for the remote box > is pretty low, only about 13 kB/s). When the line was back up, I attempted > to resume my screen session, but it was already attached (presumably because > the connection was dropped unexpectedly). However, none of the commands I > try, including screen -r [pid], screen -d [pid], screen -R [pid], screen -D > [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen -Rd > [pid] will reattach this session. I tried running an strace on the pid, and > it says that it's still outputting text. After waiting a while, I somehow > managed to get the sesion to reattach---I'm not sure how. The problem > occured again shortly afterwards, and I can't figure out how to actually fix > it. Any ideas? > > Thanks, > > Samir Unni > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 2 16:23:40 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 858DC74138B for ; Wed, 2 Jul 2008 16:23:39 -0400 (EDT) Received: from localhost ([127.0.0.1]:48266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE8rY-0005H4-Oe for erik@plastic-idolatry.com; Wed, 02 Jul 2008 16:23:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE8qz-00058X-2V for screen-users@gnu.org; Wed, 02 Jul 2008 16:23:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE8qx-00057J-4x for screen-users@gnu.org; Wed, 02 Jul 2008 16:23:00 -0400 Received: from [199.232.76.173] (port=42418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE8qw-00057B-TW for screen-users@gnu.org; Wed, 02 Jul 2008 16:22:58 -0400 Received: from el-out-1112.google.com ([209.85.162.182]:30073) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KE8qw-0003ot-Fd for screen-users@gnu.org; Wed, 02 Jul 2008 16:22:58 -0400 Received: by el-out-1112.google.com with SMTP id n30so87610elf.12 for ; Wed, 02 Jul 2008 13:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=pgNpCfhNeDX48F5asNGu3wmga/hc6BEYNroTe3RvMjw=; b=Z5q3cnTPJxESHqyM/+obbYMb+7/ENUVWjX/NL+BWiIDm8BhZ5xw11jLLbh21CmRVW1 OZ6KJU0mSsVSlJvL2w1O+RpGaTtKMzJtMv8grs/+NBLbRBS9oemuZ26dzObRPKbcBaoh Zu9AFY2USEOuCfGOmRxIjRIJ/ZOGX+G0n7Scs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Ml8hL3EiF3X5GwWhuTESol9RxcSO6hgWNv83KiJY5f4dEjAoq7IPJ1eFbaId5vYAe0 HPmy6GO00z5WfhmrQlbw/+kXxXwlqflmWry6H0lxM7JNoLGZ8RYCTO/Kt/UCkRHPRkp4 mObgsly7EfmXGa/StA1XJQOuUscpyKReGz3j4= Received: by 10.151.154.12 with SMTP id g12mr13800582ybo.165.1215030177737; Wed, 02 Jul 2008 13:22:57 -0700 (PDT) Received: by 10.151.106.5 with HTTP; Wed, 2 Jul 2008 13:22:57 -0700 (PDT) Message-ID: <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> Date: Wed, 2 Jul 2008 15:22:57 -0500 From: "Samir Unni" To: davidcollins001@gmail.com In-Reply-To: <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> MIME-Version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0429468155==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3848 Lines: 93 --===============0429468155== Content-Type: multipart/alternative; boundary="----=_Part_7655_12974088.1215030177734" ------=_Part_7655_12974088.1215030177734 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, I haven't. I'll try it the next time I encounter this problem. Turns out that when I let it sit for about 10 minutes, the session finally appears. On Wed, Jul 2, 2008 at 3:21 PM, wrote: > I use screen -x to attach to an attached session, have you tried this? > > On 02/07/2008, Samir Unni wrote: > > Hi, > > > > I was using screen, and my session was disconnected while outputting a > lot > > of text (presumably due to a router choking---the upwidth for the remote > box > > is pretty low, only about 13 kB/s). When the line was back up, I > attempted > > to resume my screen session, but it was already attached (presumably > because > > the connection was dropped unexpectedly). However, none of the commands I > > try, including screen -r [pid], screen -d [pid], screen -R [pid], screen > -D > > [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen > -Rd > > [pid] will reattach this session. I tried running an strace on the pid, > and > > it says that it's still outputting text. After waiting a while, I somehow > > managed to get the sesion to reattach---I'm not sure how. The problem > > occured again shortly afterwards, and I can't figure out how to actually > fix > > it. Any ideas? > > > > Thanks, > > > > Samir Unni > > > ------=_Part_7655_12974088.1215030177734 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, I haven't. I'll try it the next time I encounter this problem. Turns out that when I let it sit for about 10 minutes, the session finally appears.

On Wed, Jul 2, 2008 at 3:21 PM, <davidcollins001@gmail.com> wrote:
I use screen -x to attach to an attached session, have you tried this?

On 02/07/2008, Samir Unni <srunni@gmail.com> wrote:
> Hi,
>
> I was using screen, and my session was disconnected while outputting a lot
> of text (presumably due to a router choking---the upwidth for the remote box
> is pretty low, only about 13 kB/s). When the line was back up, I attempted
> to resume my screen session, but it was already attached (presumably because
> the connection was dropped unexpectedly). However, none of the commands I
> try, including screen -r [pid], screen -d [pid], screen -R [pid], screen -D
> [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen -Rd
> [pid] will reattach this session. I tried running an strace on the pid, and
> it says that it's still outputting text. After waiting a while, I somehow
> managed to get the sesion to reattach---I'm not sure how. The problem
> occured again shortly afterwards, and I can't figure out how to actually fix
> it. Any ideas?
>
> Thanks,
>
> Samir Unni
>

------=_Part_7655_12974088.1215030177734-- --===============0429468155== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0429468155==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 3 05:30:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 27F56740F3D for ; Thu, 3 Jul 2008 05:30:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:43363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEL8o-0003jm-7o for erik@plastic-idolatry.com; Thu, 03 Jul 2008 05:30:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEL73-0002n0-4N for screen-users@gnu.org; Thu, 03 Jul 2008 05:28:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEL6z-0002j9-Uq for screen-users@gnu.org; Thu, 03 Jul 2008 05:28:23 -0400 Received: from [199.232.76.173] (port=33917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEL6z-0002iY-Eb for screen-users@gnu.org; Thu, 03 Jul 2008 05:28:21 -0400 Received: from gmp-eb-inf-2.sun.com ([192.18.6.24]:45868) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KEL6x-0001vW-LI for screen-users@gnu.org; Thu, 03 Jul 2008 05:28:20 -0400 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m639S6UU027011 for ; Thu, 3 Jul 2008 09:28:16 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K3F0070193YQZ00@fe-emea-09.sun.com> (original mail from Vladimir.Marek@Sun.COM) for screen-users@gnu.org; Thu, 03 Jul 2008 10:28:06 +0100 (BST) Received: from @ ([129.157.18.82]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K3F00L36BM4TU00@fe-emea-09.sun.com> for screen-users@gnu.org; Thu, 03 Jul 2008 10:27:41 +0100 (BST) Date: Thu, 03 Jul 2008 11:27:36 +0200 From: Vladimir Marek In-reply-to: <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org Message-id: <20080703092736.GE6661@pub> MIME-version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-06-02) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0479667534==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1208 Lines: 51 --===============0479667534== Content-type: multipart/signed; boundary="q/pEX8mWBr1bFlcC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline --q/pEX8mWBr1bFlcC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > No, I haven't. I'll try it the next time I encounter this problem. Turns = out > that when I let it sit for about 10 minutes, the session finally appears. This also happened to me several times, unfortunately I never was ready with debugger. --=20 Vlad --q/pEX8mWBr1bFlcC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (SunOS) iEYEARECAAYFAkhsm4gACgkQqVN0MVP42YwOFACgo7UpLs8PyIEKmIecPI9dZQib +mMAoMMzHYZsE6rhKnTq/Z/l395H/8mR =B6su -----END PGP SIGNATURE----- --q/pEX8mWBr1bFlcC-- --===============0479667534== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0479667534==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 3 09:26:02 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9FB0074269D for ; Thu, 3 Jul 2008 09:26:02 -0400 (EDT) Received: from localhost ([127.0.0.1]:51844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEOox-0001nQ-S5 for erik@plastic-idolatry.com; Thu, 03 Jul 2008 09:25:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEOod-0001mH-7a for screen-users@gnu.org; Thu, 03 Jul 2008 09:25:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEOoc-0001lW-47 for screen-users@gnu.org; Thu, 03 Jul 2008 09:25:38 -0400 Received: from [199.232.76.173] (port=51181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEOob-0001lQ-VB for screen-users@gnu.org; Thu, 03 Jul 2008 09:25:38 -0400 Received: from hs-out-0708.google.com ([64.233.178.240]:36995) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEOob-0005D3-KM for screen-users@gnu.org; Thu, 03 Jul 2008 09:25:37 -0400 Received: by hs-out-0708.google.com with SMTP id 55so214223hsc.10 for ; Thu, 03 Jul 2008 06:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=bcnAbPy68ITa8kofG4nsDtoCgO+ZPnWoFcd2ZOPp/AM=; b=mK3d9re57uq014VtpLq7xgJMJwMhBkg94aqKoJEGy3Y5aqMJ2FSb8LpjdDpxniTV3M fsSkgwg2urPtE07kSOpNS66bFBeqjZOFRV61ICYzfWccXHrmHzPZOmJI9Y2W7qS7Xosa /T25QReIXNr5Yu06F8zKi4Xc+KKp8Kd312E+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=WnypLxHEFnryBVDiTtt4UKyDukxs5qUqogLh5Dj5D1YXkXkVyvMkNPw0aW5t+BZixh m/5mLHl4MR8D6p7ACHQnoIx+KFsIcMAV45313/HWqyzpgAelZMmjW/TCxMvGkpEuU65I NAy1onbG5q0OiHJRB0GAocdadGxMClgw9bGcQ= Received: by 10.142.231.7 with SMTP id d7mr8757wfh.264.1215091535383; Thu, 03 Jul 2008 06:25:35 -0700 (PDT) Received: by 10.142.185.6 with HTTP; Thu, 3 Jul 2008 06:25:35 -0700 (PDT) Message-ID: <383524a00807030625l369abb5q4ea563670d5f8eae@mail.gmail.com> Date: Thu, 3 Jul 2008 15:25:35 +0200 From: "dark wolf" To: screen-users@gnu.org In-Reply-To: <20080703092736.GE6661@pub> MIME-Version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> <20080703092736.GE6661@pub> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1692386158==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2428 Lines: 69 --===============1692386158== Content-Type: multipart/alternative; boundary="----=_Part_8006_18631722.1215091535389" ------=_Part_8006_18631722.1215091535389 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline just kill the last ssh session that was used to attach your screen session then try again. 2008/7/3 Vladimir Marek : > > No, I haven't. I'll try it the next time I encounter this problem. Turns > out > > that when I let it sit for about 10 minutes, the session finally appears. > > This also happened to me several times, unfortunately I never was ready > with debugger. > > -- > Vlad > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > > ------=_Part_8006_18631722.1215091535389 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline just kill the last ssh session that was used to attach your screen session then try again.

2008/7/3 Vladimir Marek <Vladimir.Marek@sun.com>:
> No, I haven't. I'll try it the next time I encounter this problem. Turns out
> that when I let it sit for about 10 minutes, the session finally appears.

This also happened to me several times, unfortunately I never was ready
with debugger.

--
       Vlad

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users


------=_Part_8006_18631722.1215091535389-- --===============1692386158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1692386158==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 3 09:36:57 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 52A3E39B252 for ; Thu, 3 Jul 2008 09:36:57 -0400 (EDT) Received: from localhost ([127.0.0.1]:36538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEOzW-0005WG-Oq for erik@plastic-idolatry.com; Thu, 03 Jul 2008 09:36:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEOzB-0005Vs-TB for screen-users@gnu.org; Thu, 03 Jul 2008 09:36:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEOzA-0005VV-Bc for screen-users@gnu.org; Thu, 03 Jul 2008 09:36:33 -0400 Received: from [199.232.76.173] (port=52577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEOzA-0005VR-6g for screen-users@gnu.org; Thu, 03 Jul 2008 09:36:32 -0400 Received: from gmp-eb-inf-2.sun.com ([192.18.6.24]:59653) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KEOz9-0007Gr-GB for screen-users@gnu.org; Thu, 03 Jul 2008 09:36:31 -0400 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m63DaKHT002297 for ; Thu, 3 Jul 2008 13:36:29 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K3F00C01MUYE700@fe-emea-09.sun.com> (original mail from Vladimir.Marek@Sun.COM) for screen-users@gnu.org; Thu, 03 Jul 2008 14:36:20 +0100 (BST) Received: from @ ([129.157.18.82]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K3F00MJ2N4CWX60@fe-emea-09.sun.com> for screen-users@gnu.org; Thu, 03 Jul 2008 14:36:13 +0100 (BST) Date: Thu, 03 Jul 2008 15:36:08 +0200 From: Vladimir Marek In-reply-to: <383524a00807030625l369abb5q4ea563670d5f8eae@mail.gmail.com> To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org Message-id: <20080703133608.GB22928@pub> MIME-version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> <20080703092736.GE6661@pub> <383524a00807030625l369abb5q4ea563670d5f8eae@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-07-02) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0668650172==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1162 Lines: 52 --===============0668650172== Content-type: multipart/signed; boundary=x4pBfXISqBoDm8sr; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline --x4pBfXISqBoDm8sr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > just kill the last ssh session that was used to attach your screen session > then try again. I think that the screen was local, but I might be wrong. I'll remember it though. Thank you for the tip --=20 Vlad --x4pBfXISqBoDm8sr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (SunOS) iEYEARECAAYFAkhs1cgACgkQqVN0MVP42Yz0QQCgy3bM8EcwcPI7Aacuig72JeuQ yYYAoJgqcxCLwWkXt99sFzw1qYwdD4yi =GRxY -----END PGP SIGNATURE----- --x4pBfXISqBoDm8sr-- --===============0668650172== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0668650172==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 3 12:30:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C55097423D0 for ; Thu, 3 Jul 2008 12:30:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:33245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KERhX-0006Da-SI for erik@plastic-idolatry.com; Thu, 03 Jul 2008 12:30:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KERJ1-0006Z2-6r for screen-users@gnu.org; Thu, 03 Jul 2008 12:05:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KERIt-0006Ra-TH for screen-users@gnu.org; Thu, 03 Jul 2008 12:05:06 -0400 Received: from [199.232.76.173] (port=33021 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KERIs-0006Pm-7j for screen-users@gnu.org; Thu, 03 Jul 2008 12:05:02 -0400 Received: from rn-out-0910.google.com ([64.233.170.185]:6900) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KERIq-0002Ff-U9 for screen-users@gnu.org; Thu, 03 Jul 2008 12:05:01 -0400 Received: by rn-out-0910.google.com with SMTP id k32so297112rnd.7 for ; Thu, 03 Jul 2008 09:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=zHpAGJrJSOv2BXkMn/ItEqwlKy1nSxDswrQzXQoll0s=; b=VBJYIvjeml+KG3dueknvZJHsnExcpF1BjxO05cjOhpBt1EzVEvciAnxtJRXceNQppm eDfEgvN9AWJd0CTQOorY6dhWNw4TRKuBFyobZx8vVYyO+QTVDb21igvvELsS9iLKLtwP sXCGJhyBmqg6dVZmassU3vxzYxsFVsxfTFxn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=xX6vJUap0RKoqTxf+IbPLamcI2KfYqk62V7YjjOsZOfj5OjAa9sfzQws5b9XllmPkQ JqPnJVUtzit23IgvOrvEhVr4acDnmsTYFI0ByVDr+QDBkvnzxCAG9rCbReOdY4b10Odj YUYROtWvPVmulcsauam3WOZWAcWHz0NoY9wlc= Received: by 10.150.156.20 with SMTP id d20mr545526ybe.230.1215101091832; Thu, 03 Jul 2008 09:04:51 -0700 (PDT) Received: by 10.151.106.5 with HTTP; Thu, 3 Jul 2008 09:04:51 -0700 (PDT) Message-ID: <283efb240807030904n51443d65yb626a2406a300fa@mail.gmail.com> Date: Thu, 3 Jul 2008 11:04:51 -0500 From: "Samir Unni" To: davidcollins001@gmail.com In-Reply-To: <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> MIME-Version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1458634227==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4554 Lines: 107 --===============1458634227== Content-Type: multipart/alternative; boundary="----=_Part_11642_19786061.1215101091817" ------=_Part_11642_19786061.1215101091817 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I just ran into the same issue, and 'screen -x [session name]' worked perfectly. Thanks for the tip! On Wed, Jul 2, 2008 at 3:22 PM, Samir Unni wrote: > No, I haven't. I'll try it the next time I encounter this problem. Turns > out that when I let it sit for about 10 minutes, the session finally > appears. > > > On Wed, Jul 2, 2008 at 3:21 PM, wrote: > >> I use screen -x to attach to an attached session, have you tried this? >> >> On 02/07/2008, Samir Unni wrote: >> > Hi, >> > >> > I was using screen, and my session was disconnected while outputting a >> lot >> > of text (presumably due to a router choking---the upwidth for the remote >> box >> > is pretty low, only about 13 kB/s). When the line was back up, I >> attempted >> > to resume my screen session, but it was already attached (presumably >> because >> > the connection was dropped unexpectedly). However, none of the commands >> I >> > try, including screen -r [pid], screen -d [pid], screen -R [pid], screen >> -D >> > [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen >> -Rd >> > [pid] will reattach this session. I tried running an strace on the pid, >> and >> > it says that it's still outputting text. After waiting a while, I >> somehow >> > managed to get the sesion to reattach---I'm not sure how. The problem >> > occured again shortly afterwards, and I can't figure out how to actually >> fix >> > it. Any ideas? >> > >> > Thanks, >> > >> > Samir Unni >> > >> > > ------=_Part_11642_19786061.1215101091817 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I just ran into the same issue, and 'screen -x [session name]' worked perfectly. Thanks for the tip!

On Wed, Jul 2, 2008 at 3:22 PM, Samir Unni <srunni@gmail.com> wrote:
No, I haven't. I'll try it the next time I encounter this problem. Turns out that when I let it sit for about 10 minutes, the session finally appears.


On Wed, Jul 2, 2008 at 3:21 PM, <davidcollins001@gmail.com> wrote:
I use screen -x to attach to an attached session, have you tried this?

On 02/07/2008, Samir Unni <srunni@gmail.com> wrote:
> Hi,
>
> I was using screen, and my session was disconnected while outputting a lot
> of text (presumably due to a router choking---the upwidth for the remote box
> is pretty low, only about 13 kB/s). When the line was back up, I attempted
> to resume my screen session, but it was already attached (presumably because
> the connection was dropped unexpectedly). However, none of the commands I
> try, including screen -r [pid], screen -d [pid], screen -R [pid], screen -D
> [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen -Rd
> [pid] will reattach this session. I tried running an strace on the pid, and
> it says that it's still outputting text. After waiting a while, I somehow
> managed to get the sesion to reattach---I'm not sure how. The problem
> occured again shortly afterwards, and I can't figure out how to actually fix
> it. Any ideas?
>
> Thanks,
>
> Samir Unni
>


------=_Part_11642_19786061.1215101091817-- --===============1458634227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1458634227==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 3 15:05:54 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 23202740ED1 for ; Thu, 3 Jul 2008 15:05:54 -0400 (EDT) Received: from localhost ([127.0.0.1]:44507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEU7p-0001B8-6Q for erik@plastic-idolatry.com; Thu, 03 Jul 2008 15:05:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEU7U-0001Aw-9B for screen-users@gnu.org; Thu, 03 Jul 2008 15:05:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEU7S-0001Ag-P8 for screen-users@gnu.org; Thu, 03 Jul 2008 15:05:26 -0400 Received: from [199.232.76.173] (port=47405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEU7S-0001Ad-K1 for screen-users@gnu.org; Thu, 03 Jul 2008 15:05:26 -0400 Received: from hs-out-0708.google.com ([64.233.178.245]:28009) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEU7S-0002zY-3m for screen-users@gnu.org; Thu, 03 Jul 2008 15:05:26 -0400 Received: by hs-out-0708.google.com with SMTP id 55so289435hsc.10 for ; Thu, 03 Jul 2008 12:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=diLUujAeeR29olIqdLWDP4FVDfXjWS9mCLZpm7inzdc=; b=U8VNjRuy6fSmbqdMg1cXkH2CMdzl/aQWJblG1Rw2zf6HJ9JH4fevy9a+1IYAUZTmDA R8x2vOT738sxmXp5dAWh3Jn16+iIU/iNhFp14mz43Ib5xYDY/3OzfAGzXGcXO5gqvbCU 4Mi9ukl+piMRMitcYYYi23VFPgdceQnHl4Oqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=qpu8ZUrWkCE4gbkDgj2puSv2kOwxljC7auYNTNsdYud4vmdgawsolf9mOrEysUfFUo UuWc4Qjvmf7YPHXeg8YxyxDpPl4kUqpdO3N3/uTfkI9Q7NiytBDrau3P5ynKGnLDqioS zOKrnEzlaFJ0ZlYa+QflEuoyYJfQ38NFev5ls= Received: by 10.151.155.21 with SMTP id h21mr853141ybo.143.1215111924898; Thu, 03 Jul 2008 12:05:24 -0700 (PDT) Received: by 10.151.106.5 with HTTP; Thu, 3 Jul 2008 12:05:24 -0700 (PDT) Message-ID: <283efb240807031205t595a0619q533d95592a56cd2@mail.gmail.com> Date: Thu, 3 Jul 2008 14:05:24 -0500 From: "Samir Unni" To: davidcollins001@gmail.com In-Reply-To: <283efb240807030904n51443d65yb626a2406a300fa@mail.gmail.com> MIME-Version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> <283efb240807030904n51443d65yb626a2406a300fa@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1602393711==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 5415 Lines: 120 --===============1602393711== Content-Type: multipart/alternative; boundary="----=_Part_12410_10389532.1215111924870" ------=_Part_12410_10389532.1215111924870 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually, when it happened to me a second time a little while later, 'screen -x [session name]' would not work. I just had to wait for something (don't know exactly what) to time out. On Thu, Jul 3, 2008 at 11:04 AM, Samir Unni wrote: > I just ran into the same issue, and 'screen -x [session name]' worked > perfectly. Thanks for the tip! > > > On Wed, Jul 2, 2008 at 3:22 PM, Samir Unni wrote: > >> No, I haven't. I'll try it the next time I encounter this problem. Turns >> out that when I let it sit for about 10 minutes, the session finally >> appears. >> >> >> On Wed, Jul 2, 2008 at 3:21 PM, wrote: >> >>> I use screen -x to attach to an attached session, have you tried this? >>> >>> On 02/07/2008, Samir Unni wrote: >>> > Hi, >>> > >>> > I was using screen, and my session was disconnected while outputting a >>> lot >>> > of text (presumably due to a router choking---the upwidth for the >>> remote box >>> > is pretty low, only about 13 kB/s). When the line was back up, I >>> attempted >>> > to resume my screen session, but it was already attached (presumably >>> because >>> > the connection was dropped unexpectedly). However, none of the commands >>> I >>> > try, including screen -r [pid], screen -d [pid], screen -R [pid], >>> screen -D >>> > [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen >>> -Rd >>> > [pid] will reattach this session. I tried running an strace on the pid, >>> and >>> > it says that it's still outputting text. After waiting a while, I >>> somehow >>> > managed to get the sesion to reattach---I'm not sure how. The problem >>> > occured again shortly afterwards, and I can't figure out how to >>> actually fix >>> > it. Any ideas? >>> > >>> > Thanks, >>> > >>> > Samir Unni >>> > >>> >> >> > ------=_Part_12410_10389532.1215111924870 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually, when it happened to me a second time a little while later, 'screen -x [session name]' would not work. I just had to wait for something (don't know exactly what) to time out.

On Thu, Jul 3, 2008 at 11:04 AM, Samir Unni <srunni@gmail.com> wrote:
I just ran into the same issue, and 'screen -x [session name]' worked perfectly. Thanks for the tip!


On Wed, Jul 2, 2008 at 3:22 PM, Samir Unni <srunni@gmail.com> wrote:
No, I haven't. I'll try it the next time I encounter this problem. Turns out that when I let it sit for about 10 minutes, the session finally appears.


On Wed, Jul 2, 2008 at 3:21 PM, <davidcollins001@gmail.com> wrote:
I use screen -x to attach to an attached session, have you tried this?

On 02/07/2008, Samir Unni <srunni@gmail.com> wrote:
> Hi,
>
> I was using screen, and my session was disconnected while outputting a lot
> of text (presumably due to a router choking---the upwidth for the remote box
> is pretty low, only about 13 kB/s). When the line was back up, I attempted
> to resume my screen session, but it was already attached (presumably because
> the connection was dropped unexpectedly). However, none of the commands I
> try, including screen -r [pid], screen -d [pid], screen -R [pid], screen -D
> [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen -Rd
> [pid] will reattach this session. I tried running an strace on the pid, and
> it says that it's still outputting text. After waiting a while, I somehow
> managed to get the sesion to reattach---I'm not sure how. The problem
> occured again shortly afterwards, and I can't figure out how to actually fix
> it. Any ideas?
>
> Thanks,
>
> Samir Unni
>



------=_Part_12410_10389532.1215111924870-- --===============1602393711== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1602393711==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 4 03:40:01 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 925A6740EDE for ; Fri, 4 Jul 2008 03:40:01 -0400 (EDT) Received: from localhost ([127.0.0.1]:38710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEftc-000224-KG for erik@plastic-idolatry.com; Fri, 04 Jul 2008 03:39:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEftB-00021p-9G for screen-users@gnu.org; Fri, 04 Jul 2008 03:39:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEft9-00021R-Fz for screen-users@gnu.org; Fri, 04 Jul 2008 03:39:28 -0400 Received: from [199.232.76.173] (port=55658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEft9-00021N-C7 for screen-users@gnu.org; Fri, 04 Jul 2008 03:39:27 -0400 Received: from gmp-eb-inf-1.sun.com ([192.18.6.21]:45107) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KEft8-0001gq-Q0 for screen-users@gnu.org; Fri, 04 Jul 2008 03:39:27 -0400 Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m647dOXe023591 for ; Fri, 4 Jul 2008 07:39:24 GMT Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K3H003010QMZ100@fe-emea-10.sun.com> (original mail from Vladimir.Marek@Sun.COM) for screen-users@gnu.org; Fri, 04 Jul 2008 08:39:24 +0100 (BST) Received: from @ ([129.157.18.82]) by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K3H0083219KK130@fe-emea-10.sun.com> for screen-users@gnu.org; Fri, 04 Jul 2008 08:39:21 +0100 (BST) Date: Fri, 04 Jul 2008 09:39:16 +0200 From: Vladimir Marek In-reply-to: <283efb240807031205t595a0619q533d95592a56cd2@mail.gmail.com> To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org Message-id: <20080704073916.GG23177@pub> MIME-version: 1.0 References: <283efb240807020927h68275bdajd63e32ee2b9a05e8@mail.gmail.com> <1b30fd140807021321w78e40958oe4e3a4e1ed77773f@mail.gmail.com> <283efb240807021322j6e88d1c4s10220a6f6f3ad9ea@mail.gmail.com> <283efb240807030904n51443d65yb626a2406a300fa@mail.gmail.com> <283efb240807031205t595a0619q533d95592a56cd2@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-07-02) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Unable to resume screen session following accidental disconnection X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1384809043==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1234 Lines: 52 --===============1384809043== Content-type: multipart/signed; boundary=GoZzJvFfKjxI3RhA; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline --GoZzJvFfKjxI3RhA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Actually, when it happened to me a second time a little while later, 'scr= een > -x [session name]' would not work. I just had to wait for something (don't > know exactly what) to time out. Exactly, I found out that screen -x helped few times, bug was hung other times. --=20 Vlad --GoZzJvFfKjxI3RhA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (SunOS) iEYEARECAAYFAkht06QACgkQqVN0MVP42YwI7ACdE3F7tk5/heqD2QtZgl9JEUWh j7cAoNZ07a5DSp8/veVV7IID/gcFngrG =yt2h -----END PGP SIGNATURE----- --GoZzJvFfKjxI3RhA-- --===============1384809043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1384809043==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Jul 6 14:19:10 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 526B2740D5E for ; Sun, 6 Jul 2008 14:19:10 -0400 (EDT) Received: from localhost ([127.0.0.1]:56456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFYpH-00038W-6x for erik@plastic-idolatry.com; Sun, 06 Jul 2008 14:19:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFYoy-00038P-8g for screen-users@gnu.org; Sun, 06 Jul 2008 14:18:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFYow-00038D-OQ for screen-users@gnu.org; Sun, 06 Jul 2008 14:18:47 -0400 Received: from [199.232.76.173] (port=32779 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFYow-00038A-Ji for screen-users@gnu.org; Sun, 06 Jul 2008 14:18:46 -0400 Received: from qb-out-1314.google.com ([72.14.204.168]:27540) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFYow-00065O-Bu for screen-users@gnu.org; Sun, 06 Jul 2008 14:18:46 -0400 Received: by qb-out-1314.google.com with SMTP id c5so6655764qbc.2 for ; Sun, 06 Jul 2008 11:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=vOTVYsZbfH3pRnqOaq6F3AsH3V1eXY7oa7DNbFFcGmA=; b=Kv+KoGpSsadFetMrD+j+4IQMJQI9cIV62OxFG2EkgYSfL+3pydBqOEf59hbWiD4yYe IbyY++jrcrn3HGFakoJ3pyX/f+tcpGCc0Y6drrrx5mrax4iijZjCfFazGgAgSpQUygSV k2ekVm1UTeHAnJ7IDg6YICDnSCRkpy4LF1awM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=W0FR9lF2sWcpM4l4jZZuIHWS+cmp3EMVdqCkBWev0kAkrPr9K48iaMbRGjM1pu6GPj UhXenwIFiuFZQFXOINJ2bv7hV++r6gK66RYagpRzMXRO5MZ/MfxF256ynpvPEBjCir9S UrqUgZ0L5c9skvE+SsKuYwnWeFAm9TSwedjtE= Received: by 10.142.135.16 with SMTP id i16mr992638wfd.286.1215368321358; Sun, 06 Jul 2008 11:18:41 -0700 (PDT) Received: by 10.142.171.17 with HTTP; Sun, 6 Jul 2008 11:18:41 -0700 (PDT) Message-ID: Date: Sun, 6 Jul 2008 19:18:41 +0100 From: "David Chanters" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Hardstatus format question X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 603 Lines: 23 Hi all, This should be simple, hopefully. :) I'm wanting to produce a hardstatus line which looks like this: | 1 | 2 | 3 | *4 | Where "*4" in this instance refers to the window with focus. But I can't work out how to do it. I note from the documentation that "w" refers to both the window number *and* title, but in the hardstatus i just want the number --- i have a separate caption string to display other information. Thanks in advance. David _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 8 14:41:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 55A10E2E7 for ; Tue, 8 Jul 2008 14:41:53 -0400 (EDT) Received: from localhost ([127.0.0.1]:53221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGI8J-00063j-Tm for erik@plastic-idolatry.com; Tue, 08 Jul 2008 14:41:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGI6o-0005R9-1H for screen-users@gnu.org; Tue, 08 Jul 2008 14:40:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGI6l-0005Ps-C4 for screen-users@gnu.org; Tue, 08 Jul 2008 14:40:13 -0400 Received: from [199.232.76.173] (port=40272 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGI6j-0005Oe-Ks; Tue, 08 Jul 2008 14:40:09 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:33542) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGI6j-0000LI-8T; Tue, 08 Jul 2008 14:40:09 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 080EC3C8A92E; Tue, 8 Jul 2008 11:40:07 -0700 (PDT) Message-ID: <4873B485.8050903@cowan.name> Date: Tue, 08 Jul 2008 11:40:05 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development , screen-users@gnu.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Subject: Hardstatus issue with current screen, gnome-terminal X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2275 Lines: 54 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There's a bug I've been looking into, where the hardstatus line at the bottom of the screen isn't updating properly when using the "autoaka" ("SEARCH|NAME") feature of the shelltitle command (and appropriate escapes in the shell prompt). This only occurs for gnome-terminal and xfce4-terminal (both based on the VTE widgit), and only with the current repo sources, not in existing releases. The bug is tracked at https://savannah.gnu.org/bugs/index.php?23699 There are a couple of scripts there that can be used to produce the problem. After spending some significant time analyzing what's going on, it looks like some combination of the use of CSR ("change scroll region") to set up the hardstatus line, and then interspersing scrolls of the upper N-1 lines with updates of the final hardstatus line, causes the problem. Screen is clearly not doing anything wrong, so the bug is VTE's. However, the fact remains that previous versions of Screen would work, whereas the current one doesn't. It turns out that the difference is, release versions of Screen have always sent an "Erase Line" sequence before re-drawing the status line, whereas the current source no longer does that. This was probably to minimize any "flashing" that might be seen as the status line is redrawn. However, despite the fact that this is not our bug, it's still kind of our problem, in that if we don't work around it, we'll have to direct anyone who bumps into it how to deal with it (it can be worked around by disabling scroll regions, forcing screen to use other means to handle scrolls: "terminfo xterm* cs@"). So, I'm inclined to put the line-erasure back in, to address this problem. Any comments, thoughts? - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIc7SF7M8hyUobTrERApwuAJ9ULk/ccmeMEMFldFGQGPhIrDmekACghpQ8 wDK6QbUteR9m++FXQylM/pE= =+mBB -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 14 09:49:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8A63810776 for ; Mon, 14 Jul 2008 09:49:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:37483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIOQv-00014j-88 for erik@plastic-idolatry.com; Mon, 14 Jul 2008 09:49:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHSgi-0006Ur-Fb for screen-users@gnu.org; Fri, 11 Jul 2008 20:10:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHSgh-0006U7-Pt for screen-users@gnu.org; Fri, 11 Jul 2008 20:10:07 -0400 Received: from [199.232.76.173] (port=48455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHSgh-0006Tu-Ic for screen-users@gnu.org; Fri, 11 Jul 2008 20:10:07 -0400 Received: from tapir.cclub.metu.edu.tr ([144.122.71.113]:44368) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KHSgh-00013K-0d for screen-users@gnu.org; Fri, 11 Jul 2008 20:10:07 -0400 Received: from localhost (localhost [127.0.0.1]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id 90D95B7DE for ; Sat, 12 Jul 2008 03:10:04 +0300 (EEST) X-Virus-Scanned: amavisd-new at cclub.metu.edu.tr Received: from tapir.cclub.metu.edu.tr ([127.0.0.1]) by localhost (tapir.cclub.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRxyLcTXdn0r for ; Sat, 12 Jul 2008 03:10:00 +0300 (EEST) Received: from [10.0.0.6] (unknown [85.98.132.224]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id C02813E1A for ; Sat, 12 Jul 2008 03:10:00 +0300 (EEST) Message-ID: <4877F658.9050203@gmail.com> Date: Sat, 12 Jul 2008 03:10:00 +0300 From: Gokdeniz Karadag User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users@gnu.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 14 Jul 2008 09:48:04 -0400 Subject: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3139 Lines: 72 Hi, This is more like a story, I am trying to automatically set "GNU screen window title" equal to the hostname that is connected by ssh. I am using the following for hardstatus, which presents a list of all open windows hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" Also my .screenrc connects to some machines, screen -t hostname stuff "ssh hostname\015 .... Sometimes I logout of the connected machine and connect to another. I don't want to set title each time I do this. If there is no screen in the way, the following bash variable shows the hostname in xterm title. PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}\007"' If I use this, and change %t->%h in hardstatus string, the hostname shows in the "currently selected window only", but not the others. As there is no equivalent of "-w" "+w" for xterm title(which is an actual "hard" status), this path was blocked. Setting the following in all machines achieves what I want, it sets screen title to hostname, PROMPT_COMMAND='echo -n -e "\033k${HOSTNAME}\033\\"' but when I connect to the machine out of screen, It prints the hostname literally, so the prompt becomes like "hostname user@hostname $ " , which is ugly and redundant. To ensure that only ssh sessions within a GNU screen get the "title setter prompt command", environment variables are useful, I can use the TERM variable, but in stable debian, the default TERM=screen breaks vim editor, it goes crazy when you press home, or pageup buttons. Using TERM=xterm fixes this, so I cannot check for TERM being equal to "screen". I put "setenv INSCREEN yes" into .screenrc, and in the target shell, I set PROMPT_COMMAND if this variable is set, but then,(surprise, surprise!) ssh would not pass variables to target machine. At least, does not pass unless you use AcceptEnv in ssh server config, but I don't want to use it for security reasons. Ok, maybe not because of security, but changing "ssh server configuration" for only setting screen's window title seems absurd. A solution that I imagined was to extend the "stuff" line; it does the ssh connection, then puts the PROMPT_COMMAND to set GNU screen window title. escaping this correctly was a chore, but I managed after some experimentation. stuff "ssh hostname\015export PROMPT_COMMAND='echo -n -e "\\033k\${HOSTNAME}\\033\\\\\"'\015" But of course, the connections made after these do not set the title. If only there was a way to set GNU screen window title to the "hard status" set by the escape sequences in PROMPT_COMMAND of bash ... [[ rant: Why, why, why this great software gets the most generic name of "screen" ? What's next, "computer", which is a shell that works by reading your mind, and "earth" which gives the answer to life, the universe, and everything; and does not only say '42' ? So that you search the web for them and find nothing :-/ Please use "GNU screen" all the time, to be search engine friendly, like I did in this message :-S /rant ]] -- Gokdeniz Karadag _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 14 19:47:00 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DBE6843B11A for ; Mon, 14 Jul 2008 19:46:59 -0400 (EDT) Received: from localhost ([127.0.0.1]:49864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIXku-0000O7-LO for erik@plastic-idolatry.com; Mon, 14 Jul 2008 19:46:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIXka-0000Nm-4F for screen-users@gnu.org; Mon, 14 Jul 2008 19:46:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIXkX-0000Na-M1 for screen-users@gnu.org; Mon, 14 Jul 2008 19:46:34 -0400 Received: from [199.232.76.173] (port=38068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIXkX-0000NX-Ec for screen-users@gnu.org; Mon, 14 Jul 2008 19:46:33 -0400 Received: from bld-mail02.adl2.internode.on.net ([203.16.214.66]:54038 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIXkW-0007D3-Hs for screen-users@gnu.org; Mon, 14 Jul 2008 19:46:33 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 333317326-1927428 for ; Tue, 15 Jul 2008 09:16:24 +0930 (CST) Date: Tue, 15 Jul 2008 09:46:22 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080714234619.GA2522@Clio.twb.ath.cx> References: <4877F658.9050203@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4877F658.9050203@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3936 Lines: 100 On Sat, Jul 12, 2008 at 03:10:00AM +0300, Gokdeniz Karadag wrote: > This is more like a story, I am trying to automatically set "GNU > screen window title" equal to the hostname that is connected by ssh. In my .profile, which exists on all my machines and is evaluated for all interactive logins (i.e. "ssh fooserv", but not "ssh fooserv pwd"), I have type uname >/dev/null 2>&1 && test -n "${HOSTNAME:=`uname -n`}" && case "$TERM" in screen*) printf %bk%s%b%b \\033 "${HOSTNAME%%.*}" \\033 \\0134;; esac Note that the "type" builtin isn't portable, if you use .bash_profile you can instead just use case "$TERM" in screen*) printf %bk%s%b%b \\033 "${HOSTNAME%%.*}" \\033 \\0134;; esac I use this in preference to doing it inside screen because I couldn't work out how to have an "alias" or "function" in screen such that C-a x fooserv RET would expand to something like C-a :screen -t fooserv ssh fooserv If anyone knows how to do that, I'd prefer it (since customer machines don't have my .profile installed). > Sometimes I logout of the connected machine and connect to another. > I don't want to set title each time I do this. If there is no > screen in the way, the following bash variable shows the hostname in > xterm title. PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}\007"' Oh, have a screen window with a shell, and you run "ssh fooserv" in the shell. I *think* my approach still works in that case. > If I use this, and change %t->%h in hardstatus string, the hostname > shows in the "currently selected window only", but not the > others. As there is no equivalent of "-w" "+w" for xterm title(which > is an actual "hard" status), this path was blocked. I didn't understand any of that paragraph. > To ensure that only ssh sessions within a GNU screen get the "title > setter prompt command", environment variables are useful, I can use > the TERM variable, but in stable debian, the default TERM=screen > breaks vim editor, it goes crazy when you press home, or pageup > buttons. Using TERM=xterm fixes this, so I cannot check for TERM > being equal to "screen". Then you should fix vim, not train Screen to work with the wrong settings. Does vim work correctly (with TERM screen) if you tell it not to evaluate your .vimrc and such? If so, then the problem is with your .vimrc, not with vim itself. > I put "setenv INSCREEN yes" into .screenrc, and in the target shell, > I set PROMPT_COMMAND if this variable is set, but then,(surprise, > surprise!) ssh would not pass variables to target machine. At > least, does not pass unless you use AcceptEnv in ssh server config, > but I don't want to use it for security reasons. You need to configure ssh to do so with the SendEnv directive in ~/.ssh/config. See ssh_config(5) manpage. Dunno about AcceptEnv, I guess you've tried it more than I have. > Ok, maybe not because of security, but changing "ssh server > configuration" for only setting screen's window title seems absurd. I agree. > A solution that I imagined was to extend the "stuff" line; it does the ssh > connection, then puts the PROMPT_COMMAND to set GNU screen window title. > escaping this correctly was a chore, but I managed after some experimentation. > stuff "ssh hostname\015export PROMPT_COMMAND='echo -n -e "\\033k\${HOSTNAME}\\033\\\\\"'\015" Instead of using :stuff, why not just set the title when you create the screen window, running ssh instead of the default shell? C-a :screen -t fooserv ssh fooserv > But of course, the connections made after these do not set the title. In the approach I propose, each subsequent ssh would get a fresh window, so this would work. > [[ rant: Why, why, why this great software gets the most generic > name of "screen" ? I agree. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 15 05:27:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 297D8307688 for ; Tue, 15 Jul 2008 05:27:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:52095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIgou-0001BS-Ry for erik@plastic-idolatry.com; Tue, 15 Jul 2008 05:27:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIgmR-0000Nk-PT for screen-users@gnu.org; Tue, 15 Jul 2008 05:25:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIgmQ-0000N9-4T for screen-users@gnu.org; Tue, 15 Jul 2008 05:25:07 -0400 Received: from [199.232.76.173] (port=54076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIglA-0008Jr-KS for screen-users@gnu.org; Tue, 15 Jul 2008 05:23:48 -0400 Received: from mail.gmx.net ([213.165.64.20]:37944) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KIgJE-0000wG-6h for screen-users@gnu.org; Tue, 15 Jul 2008 04:54:56 -0400 Received: (qmail invoked by alias); 15 Jul 2008 08:54:53 -0000 Received: from cpc2-epso3-0-0-cust893.hers.cable.ntl.com (EHLO blacktrash.org) [86.2.171.126] by mail.gmx.net (mp008) with SMTP; 15 Jul 2008 10:54:53 +0200 X-Authenticated: #11198714 X-Provags-ID: V01U2FsdGVkX1+vCuAeIHmvfv1cNpwGPTTGgaoqWzQI76M71W6zX9 HGVKA8UCwHnTtt Date: Tue, 15 Jul 2008 09:54:46 +0100 From: Christian Ebert To: screen-users@gnu.org Message-ID: <20080715085446.GR11259@krille.blacktrash.org> Mail-Followup-To: screen-users@gnu.org References: <4877F658.9050203@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4877F658.9050203@gmail.com> Organization: Black Trash Productions X-Face: )&#alA:[x"-#%%./(nuC&8n;#gqM;=mfY&ivRz@Gnv|AD_0l1Uz{fnJ^BW~OX[d;/)z! yV User-Agent: Mutt/1.5.18 (2008-07-11) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1182 Lines: 32 * Gokdeniz Karadag on Saturday, July 12, 2008 at 03:10:00 +0300 > Setting the following in all machines achieves what I want, it sets > screen title to hostname, > PROMPT_COMMAND='echo -n -e "\033k${HOSTNAME}\033\\"' > but when I connect to the machine out of screen, It prints the hostname > literally, so the prompt becomes like "hostname user@hostname $ " , which is > ugly and redundant. > > To ensure that only ssh sessions within a GNU screen get the "title setter > prompt command", environment variables are useful, I can use the TERM variable, > but in stable debian, the default TERM=screen breaks vim editor, it goes crazy > when you press home, or pageup buttons. Using TERM=xterm fixes this, so I > cannot check for TERM being equal to "screen". Does checking for $STY work for your purposes? if [ -n "$STY" ] fi c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 15 12:55:34 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4446073E4B5 for ; Tue, 15 Jul 2008 12:55:34 -0400 (EDT) Received: from localhost ([127.0.0.1]:57564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KInoH-0002YS-BF for erik@plastic-idolatry.com; Tue, 15 Jul 2008 12:55:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KInnw-0002Y9-2m for screen-users@gnu.org; Tue, 15 Jul 2008 12:55:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KInnu-0002Xv-Jr for screen-users@gnu.org; Tue, 15 Jul 2008 12:55:07 -0400 Received: from [199.232.76.173] (port=44718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KInnu-0002Xs-F6 for screen-users@gnu.org; Tue, 15 Jul 2008 12:55:06 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]:25285) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KInnu-0007h0-1r for screen-users@gnu.org; Tue, 15 Jul 2008 12:55:06 -0400 Received: by ti-out-0910.google.com with SMTP id u5so2428607tia.10 for ; Tue, 15 Jul 2008 09:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=5mvTXMUo0DP9HZDdhIoDTfptWUeOHVzrIbSL+wk8/kM=; b=JtSWwKgDj9+kSW0Q97jDFpr3dPqUkwb2vdyWYOKzpyF2u2zLOaB2YKcjUAvGLRGaOk 7NbCIqzK73+7+QL+FBCdgHYrV7dikAEesCkS+7NvlK2SPG1dRioq/hiqUdMN5BdHOy2G +Rr7iAD3p1wjuJy4P8TsVmbNCxcMuL0baghl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BbQJdS5KofvwcsSE/dvu7gwQYk+RUyGj0gyn7VlObhupLWhwD7wIWXLq7l9VxqMl4y e2WkaZAXBgWnT1M1xwyUCt0C8KuXuxeQHi9ipqBUys07VEBV4I2HPvEOgxoi3ZjoT14b rs2zRaGxkv1IRI0YeIDEe2mOUXBBA4xgv632g= Received: by 10.150.136.6 with SMTP id j6mr571192ybd.126.1216140902742; Tue, 15 Jul 2008 09:55:02 -0700 (PDT) Received: by 10.151.66.1 with HTTP; Tue, 15 Jul 2008 09:55:02 -0700 (PDT) Message-ID: <45c43ef50807150955s6b01bf05k4320220455cdc80e@mail.gmail.com> Date: Tue, 15 Jul 2008 09:55:02 -0700 From: "Bruce Edge" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: format windowlist view with color. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1488072615==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1686 Lines: 47 --===============1488072615== Content-Type: multipart/alternative; boundary="----=_Part_59697_27389695.1216140902694" ------=_Part_59697_27389695.1216140902694 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a lot of stuff in my screen sessions. 30+ terminal sessions on a dozen or more machines. I've tries a lot of things to make it more readable at a glance, but it keeps coming back to wanting color to highlight sections of it. Does anyone know how to add color escape sequences to the windowlist view? I have RTFM'd and experimented a lot, but it just prints whatever escape seq I put in it. Thanks in advance -Bruce ------=_Part_59697_27389695.1216140902694 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a lot of stuff in my screen sessions. 30+ terminal sessions on a dozen or more machines.
I've tries a lot of things to make it more readable at a glance, but it keeps coming back to wanting color to highlight sections of it.

Does anyone know how to add color escape sequences to the windowlist view?

I have RTFM'd and experimented a lot, but it just prints whatever escape seq I put in it.

Thanks in advance
-Bruce
------=_Part_59697_27389695.1216140902694-- --===============1488072615== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1488072615==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 15 13:38:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6461873E500 for ; Tue, 15 Jul 2008 13:38:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:52212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIoUF-0006kG-0c for erik@plastic-idolatry.com; Tue, 15 Jul 2008 13:38:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIoTx-0006jb-5y for screen-users@gnu.org; Tue, 15 Jul 2008 13:38:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIoTs-0006hB-HR for screen-users@gnu.org; Tue, 15 Jul 2008 13:38:32 -0400 Received: from [199.232.76.173] (port=36608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIoTs-0006h7-EU for screen-users@gnu.org; Tue, 15 Jul 2008 13:38:28 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:47793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIoTs-0007Hs-82 for screen-users@gnu.org; Tue, 15 Jul 2008 13:38:28 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 90EAC3D88036; Tue, 15 Jul 2008 10:38:26 -0700 (PDT) Message-ID: <487CE070.5080403@cowan.name> Date: Tue, 15 Jul 2008 10:37:52 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Bruce Edge References: <45c43ef50807150955s6b01bf05k4320220455cdc80e@mail.gmail.com> In-Reply-To: <45c43ef50807150955s6b01bf05k4320220455cdc80e@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: format windowlist view with color. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2057 Lines: 59 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruce Edge wrote: > I have a lot of stuff in my screen sessions. 30+ terminal sessions on a > dozen or more machines. > I've tries a lot of things to make it more readable at a glance, but it > keeps coming back to wanting color to highlight sections of it. > > Does anyone know how to add color escape sequences to the windowlist view? > > I have RTFM'd and experimented a lot, but it just prints whatever escape > seq I put in it. "Put in it"? How have you put anything in the windowlist view? The windowlist is not modifiable, to my knowledge. A common technique is to use the hardstatus to keep track of windows (see the bottom of the "String Escapes" section for a handy example of this). Not sure if that'll help a ton with 30+ terminal sessions... You may find the "group" functionality of the current development sources to be handy; you can create a group window with C-a : screen -t my-group //group and then any windows you create from the group window, or from a window that's part of the group, will be a part of that group. When in a window that's part of a group, only other windows of that group will show up in the windowlist or hardstatus %w/%W escapes (you can get a full list by giving windowlist the -m option). You can also change the group a window is in with C-a : group my-group The feature's currently got some glitches (Killing a group window seems to freeze screen for me, but only sometimes). But it can be a useful organization tool. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfOBv7M8hyUobTrERAmFpAJ9KMTwIWSv1IptBEu3H0pyWxWWvVwCfdxCa g78yWK5xf33ieETVp+lzjzA= =Hh3l -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 15 13:56:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EE32E73E500 for ; Tue, 15 Jul 2008 13:56:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:52176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIolI-0007s2-0I for erik@plastic-idolatry.com; Tue, 15 Jul 2008 13:56:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIoka-0007Wy-Em for screen-users@gnu.org; Tue, 15 Jul 2008 13:55:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIokZ-0007Wm-Ud for screen-users@gnu.org; Tue, 15 Jul 2008 13:55:44 -0400 Received: from [199.232.76.173] (port=45220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIokZ-0007Wj-Ol for screen-users@gnu.org; Tue, 15 Jul 2008 13:55:43 -0400 Received: from qw-out-1920.google.com ([74.125.92.144]:60072) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIokZ-00024g-D8 for screen-users@gnu.org; Tue, 15 Jul 2008 13:55:43 -0400 Received: by qw-out-1920.google.com with SMTP id 5so197155qwf.24 for ; Tue, 15 Jul 2008 10:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=DZyasnoEUQYx4dpdBZ6RtH8dWH89lFsCmfhjjK5C0so=; b=rx1e1EoKnRIz08lqAXMZafblzxg4HJUB6JUdpu3weP3YXhhH+YHKVMuhQ/6kKEZa4R oBKCqdl/pt118YBJmViPW3RIZHN6kZMXdoN9jeyhCbyiAsbmRZyhRRXQonPuQsN//MDx bOJ8sy19tw/GtcoIuaVjOQIHh7k5i/IN/3Giw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=T1WLe2uaz0KszdWQSKQcYx+AUuJV8QrVbptyraMGhiUrbDgivoieTaH81EWvzzjtlh +VMh7R0N/WX/dekhoFjyCdsAKio+FxicMtOzoyGSd2ulEiAT9vUGS+BcVkYpSrUwKQEj l6J4J2K96181EhojsSMw/WbGb/gZ2E1NsdfXI= Received: by 10.151.155.21 with SMTP id h21mr652323ybo.143.1216144542243; Tue, 15 Jul 2008 10:55:42 -0700 (PDT) Received: by 10.151.66.1 with HTTP; Tue, 15 Jul 2008 10:55:42 -0700 (PDT) Message-ID: <45c43ef50807151055x17125beaof90b5fdea6a52f2b@mail.gmail.com> Date: Tue, 15 Jul 2008 10:55:42 -0700 From: "Bruce Edge" To: "Micah Cowan" In-Reply-To: <487CE070.5080403@cowan.name> MIME-Version: 1.0 References: <45c43ef50807150955s6b01bf05k4320220455cdc80e@mail.gmail.com> <487CE070.5080403@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: format windowlist view with color. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0906617666==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 7151 Lines: 157 --===============0906617666== Content-Type: multipart/alternative; boundary="----=_Part_60789_20719481.1216144542230" ------=_Part_60789_20719481.1216144542230 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Jul 15, 2008 at 10:37 AM, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bruce Edge wrote: > > I have a lot of stuff in my screen sessions. 30+ terminal sessions on a > > dozen or more machines. > > I've tries a lot of things to make it more readable at a glance, but it > > keeps coming back to wanting color to highlight sections of it. > > > > Does anyone know how to add color escape sequences to the windowlist > view? > > > > I have RTFM'd and experimented a lot, but it just prints whatever escape > > seq I put in it. > > "Put in it"? How have you put anything in the windowlist view? The > windowlist is not modifiable, to my knowledge. > OK, bad terminology. I'm setting the window's title. So, to rephrase, are there any color escape sequences that can be used in the window title? This would then show the same color for the title in the window list. I wanted to change the color of the title for any windows that were running a command, ie: not at a shell prompt. This would make it easier to pick out what windows had running commands. Currently I change the window title to to ">> command <<" to make them stand out a bit when they are running something. (using zsh preexec) Another would be to change the title color then the last shell command returned a non-zero status. This would be like an alert for when a command failed. Also, all my build/edit windows for a particular source branch would have the same color, etc... > > A common technique is to use the hardstatus to keep track of windows > (see the bottom of the "String Escapes" section for a handy example of > this). Not sure if that'll help a ton with 30+ terminal sessions... > Yeah, too much data. The window list is what I use as it can show more stuff. > > You may find the "group" functionality of the current development > sources to be handy; you can create a group window with > > C-a : screen -t my-group //group > > and then any windows you create from the group window, or from a window > that's part of the group, will be a part of that group. When in a window > that's part of a group, only other windows of that group will show up in > the windowlist or hardstatus %w/%W escapes (you can get a full list by > giving windowlist the -m option). > > You can also change the group a window is in with > > C-a : group my-group > > The feature's currently got some glitches (Killing a group window seems > to freeze screen for me, but only sometimes). But it can be a useful > organization tool. > That sounds very cool. I have to try that. What would also be nice is if you could re-order the window list. ie: move entries around so that you could group related shells together. -Bruce ------=_Part_60789_20719481.1216144542230 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Jul 15, 2008 at 10:37 AM, Micah Cowan <micah@cowan.name> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruce Edge wrote:
> I have a lot of stuff in my screen sessions. 30+ terminal sessions on a
> dozen or more machines.
> I've tries a lot of things to make it more readable at a glance, but it
> keeps coming back to wanting color to highlight sections of it.
>
> Does anyone know how to add color escape sequences to the windowlist view?
>
> I have RTFM'd and experimented a lot, but it just prints whatever escape
> seq I put in it.

"Put in it"? How have you put anything in the windowlist view? The
windowlist is not modifiable, to my knowledge.

OK, bad terminology. I'm setting the window's title.

So, to rephrase, are there any color escape sequences that can be used in the window title?
This would then show the same color for the title in the window list.

I wanted to change the color of the title for any windows that were running a command, ie: not at a shell prompt. This would make it easier to pick out what windows had running commands. Currently I change the window title to to  ">> command <<" to make them stand out a bit when they are running something. (using zsh preexec)

Another would be to change the title color then the last shell command returned a non-zero status. This would be like an alert for when a command failed.

Also, all my build/edit windows for a particular source branch would have the same color, etc...

 

A common technique is to use the hardstatus to keep track of windows
(see the bottom of the "String Escapes" section for a handy example of
this). Not sure if that'll help a ton with 30+ terminal sessions...

Yeah, too much data. The window list is what I use as it can show more stuff.

You may find the "group" functionality of the current development
sources to be handy; you can create a group window with

 C-a : screen -t my-group //group

and then any windows you create from the group window, or from a window
that's part of the group, will be a part of that group. When in a window
that's part of a group, only other windows of that group will show up in
the windowlist or hardstatus %w/%W escapes (you can get a full list by
giving windowlist the -m option).

You can also change the group a window is in with

 C-a : group my-group

The feature's currently got some glitches (Killing a group window seems
to freeze screen for me, but only sometimes). But it can be a useful
organization tool.

That sounds very cool. I have to try that.

What would also be nice is if you could re-order the window list. ie: move entries around so that you could group related shells together.

-Bruce
------=_Part_60789_20719481.1216144542230-- --===============0906617666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0906617666==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 15 14:14:38 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 950AB43B11A for ; Tue, 15 Jul 2008 14:14:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:48658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIp2o-0000YZ-0w for erik@plastic-idolatry.com; Tue, 15 Jul 2008 14:14:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIp2T-0000WA-GP for screen-users@gnu.org; Tue, 15 Jul 2008 14:14:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIp2R-0000Tz-66 for screen-users@gnu.org; Tue, 15 Jul 2008 14:14:12 -0400 Received: from [199.232.76.173] (port=32855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIp2Q-0000Tn-Sb for screen-users@gnu.org; Tue, 15 Jul 2008 14:14:10 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIp2Q-0005qT-Us for screen-users@gnu.org; Tue, 15 Jul 2008 14:14:11 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id BC7B23D88036; Tue, 15 Jul 2008 11:14:09 -0700 (PDT) Message-ID: <487CE8D1.20906@cowan.name> Date: Tue, 15 Jul 2008 11:13:37 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Bruce Edge References: <45c43ef50807150955s6b01bf05k4320220455cdc80e@mail.gmail.com> <487CE070.5080403@cowan.name> <45c43ef50807151055x17125beaof90b5fdea6a52f2b@mail.gmail.com> In-Reply-To: <45c43ef50807151055x17125beaof90b5fdea6a52f2b@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: format windowlist view with color. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2488 Lines: 69 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruce Edge wrote: > OK, bad terminology. I'm setting the window's title. > > So, to rephrase, are there any color escape sequences that can be used > in the window title? > This would then show the same color for the title in the window list. Not that I'm aware of :\ > I wanted to change the color of the title for any windows that were > running a command, ie: not at a shell prompt. This would make it easier > to pick out what windows had running commands. Currently I change the > window title to to ">> command <<" to make them stand out a bit when > they are running something. (using zsh preexec) > > Another would be to change the title color then the last shell command > returned a non-zero status. This would be like an alert for when a > command failed. > > Also, all my build/edit windows for a particular source branch would > have the same color, etc... Sounds like groups might be handy for that. That's the sort of thing I'm using them for lately (note, I myself just found out about groups this week). > You may find the "group" functionality of the current development > sources to be handy; you can create a group window with ... > That sounds very cool. I have to try that. > > What would also be nice is if you could re-order the window list. ie: > move entries around so that you could group related shells together. You can already do that with C-a : number . Also, Sadrul just pushed a change that allows you to give _relative_ numeric changes, so that C-a: number +1 can move a window from number 4 to number 5, etc. If you bind number +1 and number -1 to appropriate keys, you could probably find these to be useful as well. The numbers/ordering when you're using groups, though, appears kind of funky to me. Though it seems that they're by-group; they could be delineated/ordered better in that case, however. (I've just filed an issue for that.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfOjR7M8hyUobTrERAjuxAJ4nr5BWWgYAodwyRPOh9lcHB5LSggCgifpf fpws4isg2JM3dj/Kjj5tqaU= =foum -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:21:30 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5D57673DBF8 for ; Thu, 17 Jul 2008 09:21:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:58290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTQB-0000yb-Ev for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:21:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIQj8-0000JO-CQ for screen-users@gnu.org; Mon, 14 Jul 2008 12:16:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIQj6-0000J3-NP for screen-users@gnu.org; Mon, 14 Jul 2008 12:16:38 -0400 Received: from [199.232.76.173] (port=44302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIQj6-0000J0-Kn for screen-users@gnu.org; Mon, 14 Jul 2008 12:16:36 -0400 Received: from fk-out-0910.google.com ([209.85.128.184]:11441) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIQj6-0006cT-F1 for screen-users@gnu.org; Mon, 14 Jul 2008 12:16:36 -0400 Received: by fk-out-0910.google.com with SMTP id 18so2683084fkq.10 for ; Mon, 14 Jul 2008 09:16:34 -0700 (PDT) Received: by 10.187.198.4 with SMTP id a4mr1826211faq.0.1216052193957; Mon, 14 Jul 2008 09:16:33 -0700 (PDT) Received: from ?192.168.1.2? ( [84.0.34.71]) by mx.google.com with ESMTPS id s36sm2056651hub.9.2008.07.14.09.16.33 (version=SSLv3 cipher=RC4-MD5); Mon, 14 Jul 2008 09:16:33 -0700 (PDT) From: =?ISO-8859-1?Q?L=E1szl=F3?= Monda To: screen-users@gnu.org Date: Mon, 14 Jul 2008 18:16:32 +0200 Message-Id: <1216052192.30382.30.camel@whisper.dnsalias.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 17 Jul 2008 09:20:42 -0400 Subject: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0293321895==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1760 Lines: 74 --===============0293321895== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lGjQf8uKVRoKXix+KL1x" --=-lGjQf8uKVRoKXix+KL1x Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi List, I want to open new windows that run specific commands within interactive shells in a scriptable fashion. Let's say I want to run `du --max-depth=3D1 /` in a new screen window within an interactive shell and I want to do it from a script. Let's consider the following: $ screen screen bash -i -c du --max-depth=3D1 / I'd expect this to work, but it doesn't. On the other hand it works: $ =EF=BB=BFscreen screen bash -i -c read But bash closes right after pressing enter. =EF=BB=BFI guess bash has trou= ble handling -i and -c together and it behaves non-interactively in this case. Also, the status line showing the windows doesn't get updated, only after I explicitly change window. I'd really appreciate your insights. Thanks in advance! --=20 Laci --=-lGjQf8uKVRoKXix+KL1x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIe3vg5t2qLX5n7ZgRAg/gAJ48an74H/XeDamWcRoK9HfV4zaUZACeOlhM BEvEWv++1t+Pj4jW/sQQYAQ= =s6g8 -----END PGP SIGNATURE----- --=-lGjQf8uKVRoKXix+KL1x-- --===============0293321895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0293321895==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:22:21 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3423873DBF8 for ; Thu, 17 Jul 2008 09:22:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:58836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTR2-0001l3-TY for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:22:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIqbs-0005Dm-6G for screen-users@gnu.org; Tue, 15 Jul 2008 15:54:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIqbq-0005D6-MN for screen-users@gnu.org; Tue, 15 Jul 2008 15:54:51 -0400 Received: from [199.232.76.173] (port=55234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIqbq-0005D3-Ik for screen-users@gnu.org; Tue, 15 Jul 2008 15:54:50 -0400 Received: from tapir.cclub.metu.edu.tr ([144.122.71.113]:46892) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIqbp-0007rh-PA for screen-users@gnu.org; Tue, 15 Jul 2008 15:54:50 -0400 Received: from localhost (localhost [127.0.0.1]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id A799C9EF63 for ; Tue, 15 Jul 2008 22:54:41 +0300 (EEST) X-Virus-Scanned: amavisd-new at cclub.metu.edu.tr Received: from tapir.cclub.metu.edu.tr ([127.0.0.1]) by localhost (tapir.cclub.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FTaa-w4d1RYG for ; Tue, 15 Jul 2008 22:54:38 +0300 (EEST) Received: from [10.0.0.6] (unknown [81.214.147.84]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id C6F6F67169 for ; Tue, 15 Jul 2008 22:54:35 +0300 (EEST) Message-ID: <487D007D.30404@cclub.metu.edu.tr> Date: Tue, 15 Jul 2008 22:54:37 +0300 From: Gokdeniz Karadag User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users@gnu.org References: <4877F658.9050203@gmail.com> <20080714234619.GA2522@Clio.twb.ath.cx> In-Reply-To: <20080714234619.GA2522@Clio.twb.ath.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 17 Jul 2008 09:20:42 -0400 Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3988 Lines: 98 Hi, First of all thanks for your answer. I have solved the question -- or the question suddenly disappeared :) My replies are between quotations below. Trent W. Buck demis ki:: ....... > Note that the "type" builtin isn't portable, if you use .bash_profile > you can instead just use > > case "$TERM" in > screen*) printf %bk%s%b%b \\033 "${HOSTNAME%%.*}" \\033 \\0134;; > esac .... >> Sometimes I logout of the connected machine and connect to another. >> I don't want to set title each time I do this. If there is no >> screen in the way, the following bash variable shows the hostname in >> xterm title. PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}\007"' > > Oh, have a screen window with a shell, and you run "ssh fooserv" in > the shell. I *think* my approach still works in that case. > Yes, your approach is the proper solution to my problem, but another problem with "vim" made me use xterm as screen's $TERM during my previous attempts. >> If I use this, and change %t->%h in hardstatus string, the hostname >> shows in the "currently selected window only", but not the >> others. As there is no equivalent of "-w" "+w" for xterm title(which >> is an actual "hard" status), this path was blocked. > > I didn't understand any of that paragraph. This is not much important but, my screen's hardstatus was like this; hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" Example: 0$* machineA 1-$ machineB 2$ machineC I was able to set the "xterm title" using "xterm hardstatus" escapes "in the connected machine", while using TERM=xterm. PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}\007"' I could display this "xterm hardstatus text" in "screen hardstatus", by using "%h" in screen's hardstatus line. But, as you can see in my example ALL connected machine names can be seen, thanks to %-w and %+w in screen's hardstatus string. When "xterm hardstatus" is displayed using %h, there is no %-h and %+h to display all machines "xterm hardstatus" info on the last line. If I couldn't made myself clear, feel free to ignore this as the problem is solved now. > >> To ensure that only ssh sessions within a GNU screen get the "title >> setter prompt command", environment variables are useful, I can use >> the TERM variable, but in stable debian, the default TERM=screen >> breaks vim editor, it goes crazy when you press home, or pageup >> buttons. Using TERM=xterm fixes this, so I cannot check for TERM >> being equal to "screen". > > Then you should fix vim, not train Screen to work with the wrong > settings. Does vim work correctly (with TERM screen) if you tell it > not to evaluate your .vimrc and such? If so, then the problem is with > your .vimrc, not with vim itself. > My previus tests showed that setting TERM from "screen" to "xterm" solved problems with vim. Today, I intended to fix this issue once and for all, strangely, vim worked without problems using TERM=screen. As a result I can check TERM in servers and use screen specific escapes to set title. > >> A solution that I imagined was to extend the "stuff" line; it does the ssh >> connection, then puts the PROMPT_COMMAND to set GNU screen window title. >> escaping this correctly was a chore, but I managed after some experimentation. >> stuff "ssh hostname\015export PROMPT_COMMAND='echo -n -e "\\033k\${HOSTNAME}\\033\\\\\"'\015" > > Instead of using :stuff, why not just set the title when you create > the screen window, running ssh instead of the default shell? > > C-a :screen -t fooserv ssh fooserv > With stuff in screenrc, I can logout from the initially connected machine and that screen window does not close itself, just a convenience. Also, stuff can be extended to "cd" into relevant directory, run a non-login shell, etc. Thanks again for the answer. -- Gokdeniz Karadag _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:23:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EA43A73DBF8 for ; Thu, 17 Jul 2008 09:23:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:59331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTRv-0002FE-QB for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:23:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIqgO-0006YB-Rq for screen-users@gnu.org; Tue, 15 Jul 2008 15:59:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIqgN-0006Xz-B2 for screen-users@gnu.org; Tue, 15 Jul 2008 15:59:31 -0400 Received: from [199.232.76.173] (port=60635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIqgN-0006Xw-4T for screen-users@gnu.org; Tue, 15 Jul 2008 15:59:31 -0400 Received: from tapir.cclub.metu.edu.tr ([144.122.71.113]:44264) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIqgM-00007G-K7 for screen-users@gnu.org; Tue, 15 Jul 2008 15:59:30 -0400 Received: from localhost (localhost [127.0.0.1]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id 7CA179EF3C for ; Tue, 15 Jul 2008 22:59:27 +0300 (EEST) X-Virus-Scanned: amavisd-new at cclub.metu.edu.tr Received: from tapir.cclub.metu.edu.tr ([127.0.0.1]) by localhost (tapir.cclub.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHKHOoxpC4RO for ; Tue, 15 Jul 2008 22:59:24 +0300 (EEST) Received: from [10.0.0.6] (unknown [81.214.147.84]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id D3AC167169 for ; Tue, 15 Jul 2008 22:59:23 +0300 (EEST) Message-ID: <487D019E.6070809@cclub.metu.edu.tr> Date: Tue, 15 Jul 2008 22:59:26 +0300 From: Gokdeniz Karadag User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users@gnu.org References: <4877F658.9050203@gmail.com> <20080715085446.GR11259@krille.blacktrash.org> In-Reply-To: <20080715085446.GR11259@krille.blacktrash.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 17 Jul 2008 09:20:42 -0400 Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1518 Lines: 45 Christian Ebert demis ki:: > * Gokdeniz Karadag on Saturday, July 12, 2008 at 03:10:00 +0300 >> Setting the following in all machines achieves what I want, it sets >> screen title to hostname, >> PROMPT_COMMAND='echo -n -e "\033k${HOSTNAME}\033\\"' >> but when I connect to the machine out of screen, It prints the hostname >> literally, so the prompt becomes like "hostname user@hostname $ " , which is >> ugly and redundant. >> >> To ensure that only ssh sessions within a GNU screen get the "title setter >> prompt command", environment variables are useful, I can use the TERM variable, >> but in stable debian, the default TERM=screen breaks vim editor, it goes crazy >> when you press home, or pageup buttons. Using TERM=xterm fixes this, so I >> cannot check for TERM being equal to "screen". > > Does checking for $STY work for your purposes? > > if [ -n "$STY" ] > > fi > > c Hi, That works on the machine where screen is run, but my main use for screen is to connect to many machines using ssh. An environment var. does not get passed to the target shell, if *both* SendEnv in the client and AcceptEnv in the server is configured. When TERM is properly set to "screen", I can use it on the target server without extra configuration as I wrote in my answer to Trent Buck. Thank you for the answer. -- Gokdeniz Karadag _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:24:08 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id ECF0973DBF8 for ; Thu, 17 Jul 2008 09:24:07 -0400 (EDT) Received: from localhost ([127.0.0.1]:43355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTSm-0002o0-Uy for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:24:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJ5WP-0008Sw-7Y for screen-users@gnu.org; Wed, 16 Jul 2008 07:50:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJ5WN-0008Sk-Ga for screen-users@gnu.org; Wed, 16 Jul 2008 07:50:11 -0400 Received: from [199.232.76.173] (port=57311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJ5WN-0008Sh-B0 for screen-users@gnu.org; Wed, 16 Jul 2008 07:50:11 -0400 Received: from fk-out-0910.google.com ([209.85.128.189]:51387) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJ5WN-0001o7-Ln for screen-users@gnu.org; Wed, 16 Jul 2008 07:50:11 -0400 Received: by fk-out-0910.google.com with SMTP id 18so3168527fkq.10 for ; Wed, 16 Jul 2008 04:50:08 -0700 (PDT) Received: by 10.187.223.6 with SMTP id a6mr3251162far.45.1216209008043; Wed, 16 Jul 2008 04:50:08 -0700 (PDT) Received: from ?192.168.1.2? ( [84.0.34.71]) by mx.google.com with ESMTPS id 39sm1568586hug.5.2008.07.16.04.50.07 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Jul 2008 04:50:07 -0700 (PDT) From: =?ISO-8859-1?Q?L=E1szl=F3?= Monda To: screen-users@gnu.org Date: Wed, 16 Jul 2008 13:50:06 +0200 Message-Id: <1216209006.20329.2.camel@whisper.dnsalias.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 17 Jul 2008 09:20:42 -0400 Subject: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1597993238==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1904 Lines: 77 --===============1597993238== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Savfro8pFPsXF12/IJDg" --=-Savfro8pFPsXF12/IJDg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi List, I've already sent this mail to the list some days ago, but seeing the archives it seems to me that it hasn't arrived, so I resend it this time. I want to open new windows that run specific commands within interactive shells in a scriptable fashion. Let's say I want to run `du --max-depth=3D1 /` in a new screen window within an interactive shell and I want to do it from a script. Let's consider the following: $ screen screen bash -i -c du --max-depth=3D1 / I'd expect this to work, but it doesn't. On the other hand it works: $ =EF=BB=BFscreen screen bash -i -c read But bash closes right after pressing enter. =EF=BB=BFI guess bash has trou= ble handling -i and -c together and it behaves non-interactively in this case. Also, the status line showing the windows doesn't get updated, only after I explicitly change window. I'd really appreciate your insights. Thanks in advance! --=20 Laci --=-Savfro8pFPsXF12/IJDg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIfeBu5t2qLX5n7ZgRAq0pAKCNjX1YisF5F+mnvirKU3wAFz6blgCeLcsR 0lSFjcDMYaj3wmSURJr9LvU= =o4L4 -----END PGP SIGNATURE----- --=-Savfro8pFPsXF12/IJDg-- --===============1597993238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1597993238==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:25:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2A03673DBF8 for ; Thu, 17 Jul 2008 09:25:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:44005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTTu-0003o5-6F for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:25:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJ747-0007HO-VZ for screen-users@gnu.org; Wed, 16 Jul 2008 09:29:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJ746-0007Ei-0g for screen-users@gnu.org; Wed, 16 Jul 2008 09:29:07 -0400 Received: from [199.232.76.173] (port=38671 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJ745-0007ER-RJ for screen-users@gnu.org; Wed, 16 Jul 2008 09:29:05 -0400 Received: from hs-out-0708.google.com ([64.233.178.240]:54066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJ745-0004TS-IW for screen-users@gnu.org; Wed, 16 Jul 2008 09:29:05 -0400 Received: by hs-out-0708.google.com with SMTP id 55so1573313hsc.10 for ; Wed, 16 Jul 2008 06:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=o5NzlxAS6Wk+xGJMxEnHib0wc+TcaeSXVnmCrQQA3Xw=; b=JeD5T0dmx3I09IqY4ii1HYIld6ZfRbOIHTBZ5C7vzhGav0+4TywYKFaN2yc9SseLcp T2To/odj02g+iC3mYeIWt4+vGdkBlaFixVQnVeS8uLlEIJfi3Gluo33b/4ZxXDgceres gqCBL7CzcghGkiN6rI8akwJMF4G068rYeWvwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=DJMgnH8/L4uWWegn1mSAdUAGo4xmG8plF/7P/YjFCNRU+fjYo87d+3Fs1zc12M0dNi WwuDXqVt7VIcmj7AHSMfHFJP4XLoJvKpczZAWnqYqcUJkCZlX4FWtTG7HdKvw9jTtmMU 4qMSZr0LIF4VwxB4l755i2W3TsshUuW2EUMGM= Received: by 10.90.102.15 with SMTP id z15mr1583832agb.83.1216214944098; Wed, 16 Jul 2008 06:29:04 -0700 (PDT) Received: by 10.90.119.12 with HTTP; Wed, 16 Jul 2008 06:29:04 -0700 (PDT) Message-ID: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> Date: Wed, 16 Jul 2008 18:59:04 +0530 From: "Pandurangan R S" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 17 Jul 2008 09:20:42 -0400 Subject: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1270 Lines: 36 Hi, My screen looks to be frozen. screen -x (or screen -d) also gets stuck. I recently saw a thread which talks about accidentally locking the screen and thinking it is frozen. Is the case with my screen now? If so, how can i unlock it? If I strace the screen process, I observe the following. Any hints? Process 15342 attached - interrupt to quit pause() = ? ERESTARTNOHAND (To be restarted) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) alarm(0) = 0 kill(6866, SIG_0) = 0 rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 alarm(15) = 0 pause() = ? ERESTARTNOHAND (To be restarted) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() = ? (mask now []) alarm(0) = 0 kill(6866, SIG_0) = 0 rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 alarm(15) = 0 pause( Thanks Pandu _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:34:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D1FAA73DBF8 for ; Thu, 17 Jul 2008 09:34:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:55620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTcc-0006QE-AQ for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:34:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJTbE-0006AU-Kt for screen-users@gnu.org; Thu, 17 Jul 2008 09:32:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJTbE-0006AB-1n for screen-users@gnu.org; Thu, 17 Jul 2008 09:32:48 -0400 Received: from [199.232.76.173] (port=60633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTbD-0006A7-Tl for screen-users@gnu.org; Thu, 17 Jul 2008 09:32:47 -0400 Received: from qw-out-1920.google.com ([74.125.92.145]:45607) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJTbD-0005Dc-Dm for screen-users@gnu.org; Thu, 17 Jul 2008 09:32:47 -0400 Received: by qw-out-1920.google.com with SMTP id 5so466458qwf.24 for ; Thu, 17 Jul 2008 06:32:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=I009m5oJ3P/Dz64q7P8mtrFfaeLlcpQgqulhTfSKXvI=; b=v5ylBF2yjL3XGsTxN5ZtETRNhF3o6t8lTSgkWmXinqyF2TWEJfgo08nRrRz4455ywY 35NQyCwnbCroe6dbPt7lxjOj5SFyGSWwZQxuEAIdhSVZXVK2GZnlMSaPo6Ynb6GIl2sP lPsXUTNRY2sJUvUD0g7IkbkWC2ZAo/lgC+pFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=XkYc74dqOdeOzoXAR4aPqt4rcqGssJQ3PgCYvSbUxrlG1wqSni0Gvx2Nnt2lmxEsNE XrQma3oF1Tz7H1UeHJ/e9C29IYUhksS3wIc9F7/ykzKVBknJDSnfiIxIsJwsnM0iSUo0 qjBNKEQ1b1SYt3Nw8o1yVBK0UVRGmSSjKusGw= Received: by 10.150.92.12 with SMTP id p12mr429846ybb.236.1216301566083; Thu, 17 Jul 2008 06:32:46 -0700 (PDT) Received: by 10.150.190.6 with HTTP; Thu, 17 Jul 2008 06:32:46 -0700 (PDT) Message-ID: <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> Date: Thu, 17 Jul 2008 08:32:46 -0500 From: "Samir Unni" To: "Pandurangan R S" In-Reply-To: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> MIME-Version: 1.0 References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1863126342==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 5639 Lines: 127 --===============1863126342== Content-Type: multipart/alternative; boundary="----=_Part_332_30378889.1216301566076" ------=_Part_332_30378889.1216301566076 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Whenever this happens to me, I just run 'screen -x ' and wait for 10-15 minutes for it to successfully connect. The best thing to do would be to avoid sending too much data over a low bandwidth connection. I try to prevent this as often as possible, but sometimes I forget to filter the output or something. I don't know of any permanent solution. Thanks, Samir Unni On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S wrote: > Hi, > > My screen looks to be frozen. screen -x (or screen -d) also gets stuck. > > I recently saw a thread which talks about accidentally locking the > screen and thinking it is frozen. > Is the case with my screen now? If so, how can i unlock it? > > > If I strace the screen process, I observe the following. Any hints? > > Process 15342 attached - interrupt to quit > pause() = ? ERESTARTNOHAND (To be > restarted) > --- SIGALRM (Alarm clock) @ 0 (0) --- > sigreturn() = ? (mask now []) > alarm(0) = 0 > kill(6866, SIG_0) = 0 > rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > alarm(15) = 0 > pause() = ? ERESTARTNOHAND (To be > restarted) > --- SIGALRM (Alarm clock) @ 0 (0) --- > sigreturn() = ? (mask now []) > alarm(0) = 0 > kill(6866, SIG_0) = 0 > rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > alarm(15) = 0 > pause( > > Thanks > Pandu > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > ------=_Part_332_30378889.1216301566076 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

Whenever this happens to me, I just run 'screen -x <session name>' and wait for 10-15 minutes for it to successfully connect. The best thing to do would be to avoid sending too much data over a low bandwidth connection. I try to prevent this as often as possible, but sometimes I forget to filter the output or something. I don't know of any permanent solution.

Thanks,

Samir Unni


On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S <pandurangan.r.s@gmail.com> wrote:
Hi,

My screen looks to be frozen. screen -x (or screen -d) also gets stuck.

I recently saw a thread which talks about accidentally locking the
screen and thinking it is frozen.
Is the case with my screen now? If so, how can i unlock it?


If I strace the screen process, I observe the following. Any hints?

Process 15342 attached - interrupt to quit
pause()                                 = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
alarm(0)                                = 0
kill(6866, SIG_0)                       = 0
rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
alarm(15)                               = 0
pause()                                 = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
alarm(0)                                = 0
kill(6866, SIG_0)                       = 0
rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
alarm(15)                               = 0
pause(

Thanks
Pandu


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

------=_Part_332_30378889.1216301566076-- --===============1863126342== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1863126342==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:38:28 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1D0B773DBF8 for ; Thu, 17 Jul 2008 09:38:28 -0400 (EDT) Received: from localhost ([127.0.0.1]:57513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTgf-0007kh-3E for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:38:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJTfA-0007ML-7N for screen-users@gnu.org; Thu, 17 Jul 2008 09:36:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJTf8-0007Lh-MX for screen-users@gnu.org; Thu, 17 Jul 2008 09:36:51 -0400 Received: from [199.232.76.173] (port=57861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTf8-0007Lb-HF for screen-users@gnu.org; Thu, 17 Jul 2008 09:36:50 -0400 Received: from wr-out-0506.google.com ([64.233.184.232]:28514) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJTf8-0006kT-8J for screen-users@gnu.org; Thu, 17 Jul 2008 09:36:50 -0400 Received: by wr-out-0506.google.com with SMTP id c30so4563838wra.14 for ; Thu, 17 Jul 2008 06:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=e6ufUMEp8MH6kU/tY37WUIAWDh7C52HOkhZQKAMbBVE=; b=J/GH5X6z3h51+m8fl/ZB9VcX++GnxWaybc+fW7GIr2j+HSRrDc6sx9NF5qg1vERhlj hDOgBpSaD3jX8wO+R+oaL4pk0hSfhmz9ungnQva/5Z+o8GgMahWQuIrmZlEJOnM0EV+g 6H+QvJg8VOWtepOT2WEIbHKyP36dQxDgobfTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=exio2pJn0V5zzGtR75ZpU+2XTrryS3wSTL9/P1+Ui+qc3YMkoO295tKbUUx7W5T7OR aoDrNELeFut06bu2ovJYwShuvwGaLGAn9N3nFtIvaUclb4V8WLAPyfoCVRiU8OnUp3rY ZMBbk8LjVt7Rx+5QNBNBkQ8+xmNeuHpsapgS4= Received: by 10.90.78.10 with SMTP id a10mr3369826agb.108.1216301809286; Thu, 17 Jul 2008 06:36:49 -0700 (PDT) Received: by 10.90.119.12 with HTTP; Thu, 17 Jul 2008 06:36:49 -0700 (PDT) Message-ID: <5e744e3d0807170636tbc98ae0q86c7c3f9bc25a7e6@mail.gmail.com> Date: Thu, 17 Jul 2008 19:06:49 +0530 From: "Pandurangan R S" To: "Thomas Adam" In-Reply-To: <18071eea0807170627i6d9319d8h7ba8a66247b090cc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <18071eea0807170627i6d9319d8h7ba8a66247b090cc@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1186 Lines: 38 Thanks. I am not having any backtick commands in hardstatus. My screenrc has hardstatus string '%{= kc}[ %{C}%H %{c}]%{G}%= %{= kw}%?%-Lw%?%{g}%{G}%n*%f%t%?%u%?%{g}%{w}%?%+Lw%?%?%= %{G}%{c}[%{C} %d/%m %{C}%c %{c}]' Backticks are present only in the following line in my entire screenrc (and this will not be a problem) escape `` # Instead of Control-a, make the escape/command character be ` (backtick) I would also like to point out that I am able to start new screen sessions on the same host without any issues. Thanks Pandu On Thu, Jul 17, 2008 at 6:57 PM, Thomas Adam wrote: > > 2008/7/16 Pandurangan R S : > > Hi, > > > > My screen looks to be frozen. screen -x (or screen -d) also gets stuck. > > > > I recently saw a thread which talks about accidentally locking the > > screen and thinking it is frozen. > > Is the case with my screen now? If so, how can i unlock it? > > I don't suppose you've got some backtick commands in your hardstatus, have you? > > -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:43:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6F1CE73DBF8 for ; Thu, 17 Jul 2008 09:43:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:52005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTlw-0001XZ-D7 for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:43:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJTlU-0001Wx-NR for screen-users@gnu.org; Thu, 17 Jul 2008 09:43:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJTlR-0001Vm-U9 for screen-users@gnu.org; Thu, 17 Jul 2008 09:43:24 -0400 Received: from [199.232.76.173] (port=45398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTlR-0001VC-MS for screen-users@gnu.org; Thu, 17 Jul 2008 09:43:21 -0400 Received: from wr-out-0506.google.com ([64.233.184.227]:22292) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJTlQ-000150-0Q for screen-users@gnu.org; Thu, 17 Jul 2008 09:43:20 -0400 Received: by wr-out-0506.google.com with SMTP id c30so4565954wra.14 for ; Thu, 17 Jul 2008 06:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zxcgIJOmbXzk3GBIiVwlMCATct3IaBfJJbSnDexJIG4=; b=GTrpN04L3VdJmdcAfHz19BZPrcI4H/xDy8BpYIa98iQ1oFNdGOKwWynnCCzLnT18h3 c5GLOSwWyXmTHe29T9UpPv+Ve0qrCblLFT/SbGOkLasdn8tz0MB5CGDtgVNErXMfkSX2 Jzr0RxBxIMNueAvQVPB3ty4euNMlruHp5WyqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=E1AS9LKgzkPmDPNj3pCq1X5u2eDbTA0hzr1XFNXS524IUgcKHfaGiyQQ2D2wRAPgRM yTGc8wNs2bBQhgM+iA4P6XadKI4QbYNz1CssYLxsIX1MYGV4Y6GJ3Pon67+RKsnkz0qq R+4yFFozm/pbjqfaCGBcHwsOzfL4NfVMKK4G8= Received: by 10.90.84.2 with SMTP id h2mr3367320agb.119.1216302198115; Thu, 17 Jul 2008 06:43:18 -0700 (PDT) Received: by 10.90.119.12 with HTTP; Thu, 17 Jul 2008 06:43:18 -0700 (PDT) Message-ID: <5e744e3d0807170643ib7bd4b3v28491f60ddef8f73@mail.gmail.com> Date: Thu, 17 Jul 2008 19:13:18 +0530 From: "Pandurangan R S" To: "Samir Unni" In-Reply-To: <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2529 Lines: 78 > Whenever this happens to me, I just run 'screen -x ' and wait > for 10-15 minutes for it to successfully connect. I waited for around 30 mins hoping that i will get attached to the screen, but that didn't happen :( > The best thing to do would > be to avoid sending too much data over a low bandwidth connection. My desktop and the host on which i run screen are within a LAN. Thanks for the help. -- Pandu On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni wrote: > Hi, > > Whenever this happens to me, I just run 'screen -x ' and wait > for 10-15 minutes for it to successfully connect. The best thing to do would > be to avoid sending too much data over a low bandwidth connection. I try to > prevent this as often as possible, but sometimes I forget to filter the > output or something. I don't know of any permanent solution. > > Thanks, > > Samir Unni > > > On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S > wrote: >> >> Hi, >> >> My screen looks to be frozen. screen -x (or screen -d) also gets stuck. >> >> I recently saw a thread which talks about accidentally locking the >> screen and thinking it is frozen. >> Is the case with my screen now? If so, how can i unlock it? >> >> >> If I strace the screen process, I observe the following. Any hints? >> >> Process 15342 attached - interrupt to quit >> pause() = ? ERESTARTNOHAND (To be >> restarted) >> --- SIGALRM (Alarm clock) @ 0 (0) --- >> sigreturn() = ? (mask now []) >> alarm(0) = 0 >> kill(6866, SIG_0) = 0 >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 >> alarm(15) = 0 >> pause() = ? ERESTARTNOHAND (To be >> restarted) >> --- SIGALRM (Alarm clock) @ 0 (0) --- >> sigreturn() = ? (mask now []) >> alarm(0) = 0 >> kill(6866, SIG_0) = 0 >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 >> alarm(15) = 0 >> pause( >> >> Thanks >> Pandu >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users > > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 09:46:27 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id CB86973DBF8 for ; Thu, 17 Jul 2008 09:46:26 -0400 (EDT) Received: from localhost ([127.0.0.1]:59705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJToN-0002nv-N9 for erik@plastic-idolatry.com; Thu, 17 Jul 2008 09:46:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJTo2-0002n1-Tx for screen-users@gnu.org; Thu, 17 Jul 2008 09:46:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJTo1-0002mB-FL for screen-users@gnu.org; Thu, 17 Jul 2008 09:46:02 -0400 Received: from [199.232.76.173] (port=34697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJTo1-0002m5-6V for screen-users@gnu.org; Thu, 17 Jul 2008 09:46:01 -0400 Received: from el-out-1112.google.com ([209.85.162.182]:32731) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJTWD-00033q-3X for screen-users@gnu.org; Thu, 17 Jul 2008 09:27:37 -0400 Received: by el-out-1112.google.com with SMTP id n30so1223114elf.12 for ; Thu, 17 Jul 2008 06:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=XE4ukB6avcTAb/4wNUWmLn9jTQA6QbdyHzxudQ1/kpo=; b=PIECP70hCqRlQvcST4K9hpUq/C9uqOqF36Ln1GeZhUL9x+hWQYqfDVcD12DyYmRCmM tmfmNIB8JwKo/+6osnJ4odmgC5iU4SrlWLTCzjvZoDJmcwwgK0cQc0z/eG210M1Ied3y RbHX8GliNffEvMF7aWaQbP8yGErJWhBXwGHzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bpchw+NdssjnEV7rakm0vXuBGlgbYfEGdNmNNmveY1L1rgBaJIcBMu3f2nLcdTLsZH kdv+D1utBWGg72z02DW2VF/rAiEcvwZ7nTauC+adfRWMVA8iHsjiAU15VeCilxVQwLRR 3pzvH/CiX7BCH4EgIc2CLqq+pUnEnorRiWoJ4= Received: by 10.142.218.6 with SMTP id q6mr607360wfg.186.1216301250581; Thu, 17 Jul 2008 06:27:30 -0700 (PDT) Received: by 10.143.164.10 with HTTP; Thu, 17 Jul 2008 06:27:30 -0700 (PDT) Message-ID: <18071eea0807170627i6d9319d8h7ba8a66247b090cc@mail.gmail.com> Date: Thu, 17 Jul 2008 14:27:30 +0100 From: "Thomas Adam" To: "Pandurangan R S" In-Reply-To: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 551 Lines: 18 2008/7/16 Pandurangan R S : > Hi, > > My screen looks to be frozen. screen -x (or screen -d) also gets stuck. > > I recently saw a thread which talks about accidentally locking the > screen and thinking it is frozen. > Is the case with my screen now? If so, how can i unlock it? I don't suppose you've got some backtick commands in your hardstatus, have you? -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 12:40:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 37BA973DBF8 for ; Thu, 17 Jul 2008 12:40:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:40682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJWXB-0005Sf-Sb for erik@plastic-idolatry.com; Thu, 17 Jul 2008 12:40:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJWWg-0005He-H6 for screen-users@gnu.org; Thu, 17 Jul 2008 12:40:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJWWe-0005FO-NM for screen-users@gnu.org; Thu, 17 Jul 2008 12:40:18 -0400 Received: from [199.232.76.173] (port=57724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJWWe-0005FI-Ha for screen-users@gnu.org; Thu, 17 Jul 2008 12:40:16 -0400 Received: from silene.metacarta.com ([208.80.142.18]:41237) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJWWe-0000z6-8h for screen-users@gnu.org; Thu, 17 Jul 2008 12:40:16 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id EA0BF14C8096; Thu, 17 Jul 2008 12:40:14 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 00927-06; Thu, 17 Jul 2008 12:40:14 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 208EE14C8094; Thu, 17 Jul 2008 12:40:14 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1KJWWc-0004bN-ET; Thu, 17 Jul 2008 12:40:14 -0400 From: Mark Eichin To: =?iso-8859-1?Q?L=E1szl=F3?= Monda References: <1216209006.20329.2.camel@whisper.dnsalias.net> Date: Thu, 17 Jul 2008 12:40:14 -0400 In-Reply-To: <1216209006.20329.2.camel@whisper.dnsalias.net> (=?iso-8859-1?Q?L=E1szl=F3?= Monda's message of "Wed, 16 Jul 2008 13:50:06 +0200") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 298 Lines: 9 looks like you might want to use "stuff" to push the commands at a normal screen that has a shell open (so that it runs them, and stays interactive.) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 15:34:59 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8676873DBF8 for ; Thu, 17 Jul 2008 15:34:59 -0400 (EDT) Received: from localhost ([127.0.0.1]:50641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJZFc-0000E5-FA for erik@plastic-idolatry.com; Thu, 17 Jul 2008 15:34:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJZFI-0000E0-BO for screen-users@gnu.org; Thu, 17 Jul 2008 15:34:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJZFH-0000Do-RE for screen-users@gnu.org; Thu, 17 Jul 2008 15:34:32 -0400 Received: from [199.232.76.173] (port=36331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJZFH-0000Dl-Ki for screen-users@gnu.org; Thu, 17 Jul 2008 15:34:31 -0400 Received: from qw-out-1920.google.com ([74.125.92.150]:40499) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJZFH-0003az-Am for screen-users@gnu.org; Thu, 17 Jul 2008 15:34:31 -0400 Received: by qw-out-1920.google.com with SMTP id 5so44870qwf.24 for ; Thu, 17 Jul 2008 12:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=ecwaO6bXHdUoDSmzjElaK1PhrGWPJtLHbp/HxQOrEQY=; b=EPelZLgzOV82IsulZe2/nYKJ1ACKHUaJYJREvF8Q8SARSKW/eGuEXNUFgmaQh2FR1o vULyPF41xRbFzp41tVEPWvUxOY9ajx5HWQ198vGVHnu2qwZfXHLEYJGKyeniPszzw1Mq NlxK21XEsNwyp5TpG7PMOKikuT+jKedvQshpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Vz9pqrglpxNi919cgnBGVETdRPs3flK0EjICtWmrdfSFSgkQ+KZ6c+lSlpZNdQgjFf gX4sSVfY/7VnAIuHGkbtcrITXWTZMCX3wfG2jm4NL0+W4US54toA6KZkmJLLfK4YU4Iw A6eAXPCl79jQ9D9vSvCwJsDcBp+7gMUR0GnQQ= Received: by 10.151.155.9 with SMTP id h9mr967516ybo.130.1216323270291; Thu, 17 Jul 2008 12:34:30 -0700 (PDT) Received: by 10.150.190.6 with HTTP; Thu, 17 Jul 2008 12:34:30 -0700 (PDT) Message-ID: <283efb240807171234t706b6e48h844bd40d02e9e866@mail.gmail.com> Date: Thu, 17 Jul 2008 14:34:30 -0500 From: "Samir Unni" To: "Pandurangan R S" In-Reply-To: <5e744e3d0807170643ib7bd4b3v28491f60ddef8f73@mail.gmail.com> MIME-Version: 1.0 References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> <5e744e3d0807170643ib7bd4b3v28491f60ddef8f73@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1084055487==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 8330 Lines: 201 --===============1084055487== Content-Type: multipart/alternative; boundary="----=_Part_2633_32641254.1216323270272" ------=_Part_2633_32641254.1216323270272 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, It seems that you are having a different problem then. Do you ever actually use the locking feature? If not, then maybe you could just change the keybinding for that to something hard to type so you never accidentally activate it? Thanks, Samir On Thu, Jul 17, 2008 at 8:43 AM, Pandurangan R S wrote: > > Whenever this happens to me, I just run 'screen -x ' and > wait > > for 10-15 minutes for it to successfully connect. > > I waited for around 30 mins hoping that i will get attached to the > screen, but that didn't happen :( > > > The best thing to do would > > be to avoid sending too much data over a low bandwidth connection. > > My desktop and the host on which i run screen are within a LAN. > > Thanks for the help. > > -- Pandu > > On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni wrote: > > Hi, > > > > Whenever this happens to me, I just run 'screen -x ' and > wait > > for 10-15 minutes for it to successfully connect. The best thing to do > would > > be to avoid sending too much data over a low bandwidth connection. I try > to > > prevent this as often as possible, but sometimes I forget to filter the > > output or something. I don't know of any permanent solution. > > > > Thanks, > > > > Samir Unni > > > > > > On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S < > pandurangan.r.s@gmail.com> > > wrote: > >> > >> Hi, > >> > >> My screen looks to be frozen. screen -x (or screen -d) also gets stuck. > >> > >> I recently saw a thread which talks about accidentally locking the > >> screen and thinking it is frozen. > >> Is the case with my screen now? If so, how can i unlock it? > >> > >> > >> If I strace the screen process, I observe the following. Any hints? > >> > >> Process 15342 attached - interrupt to quit > >> pause() = ? ERESTARTNOHAND (To be > >> restarted) > >> --- SIGALRM (Alarm clock) @ 0 (0) --- > >> sigreturn() = ? (mask now []) > >> alarm(0) = 0 > >> kill(6866, SIG_0) = 0 > >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > >> alarm(15) = 0 > >> pause() = ? ERESTARTNOHAND (To be > >> restarted) > >> --- SIGALRM (Alarm clock) @ 0 (0) --- > >> sigreturn() = ? (mask now []) > >> alarm(0) = 0 > >> kill(6866, SIG_0) = 0 > >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > >> alarm(15) = 0 > >> pause( > >> > >> Thanks > >> Pandu > >> > >> > >> _______________________________________________ > >> screen-users mailing list > >> screen-users@gnu.org > >> http://lists.gnu.org/mailman/listinfo/screen-users > > > > > ------=_Part_2633_32641254.1216323270272 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

It seems that you are having a different problem then. Do you ever actually use the locking feature? If not, then maybe you could just change the keybinding for that to something hard to type so you never accidentally activate it?

Thanks,

Samir


On Thu, Jul 17, 2008 at 8:43 AM, Pandurangan R S <pandurangan.r.s@gmail.com> wrote:
> Whenever this happens to me, I just run 'screen -x <session name>' and wait
> for 10-15 minutes for it to successfully connect.

I waited for around 30 mins hoping that i will get attached to the
screen, but that didn't happen :(

> The best thing to do would
> be to avoid sending too much data over a low bandwidth connection.

My desktop and the host on which i run screen are within a LAN.

Thanks for the help.

-- Pandu

On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni <srunni@gmail.com> wrote:
> Hi,
>
> Whenever this happens to me, I just run 'screen -x <session name>' and wait
> for 10-15 minutes for it to successfully connect. The best thing to do would
> be to avoid sending too much data over a low bandwidth connection. I try to
> prevent this as often as possible, but sometimes I forget to filter the
> output or something. I don't know of any permanent solution.
>
> Thanks,
>
> Samir Unni
>
>
> On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S <pandurangan.r.s@gmail.com>
> wrote:
>>
>> Hi,
>>
>> My screen looks to be frozen. screen -x (or screen -d) also gets stuck.
>>
>> I recently saw a thread which talks about accidentally locking the
>> screen and thinking it is frozen.
>> Is the case with my screen now? If so, how can i unlock it?
>>
>>
>> If I strace the screen process, I observe the following. Any hints?
>>
>> Process 15342 attached - interrupt to quit
>> pause()                                 = ? ERESTARTNOHAND (To be
>> restarted)
>> --- SIGALRM (Alarm clock) @ 0 (0) ---
>> sigreturn()                             = ? (mask now [])
>> alarm(0)                                = 0
>> kill(6866, SIG_0)                       = 0
>> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
>> alarm(15)                               = 0
>> pause()                                 = ? ERESTARTNOHAND (To be
>> restarted)
>> --- SIGALRM (Alarm clock) @ 0 (0) ---
>> sigreturn()                             = ? (mask now [])
>> alarm(0)                                = 0
>> kill(6866, SIG_0)                       = 0
>> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
>> alarm(15)                               = 0
>> pause(
>>
>> Thanks
>> Pandu
>>
>>
>> _______________________________________________
>> screen-users mailing list
>> screen-users@gnu.org
>> http://lists.gnu.org/mailman/listinfo/screen-users
>
>

------=_Part_2633_32641254.1216323270272-- --===============1084055487== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1084055487==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 17 17:57:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EBB517D890C for ; Thu, 17 Jul 2008 17:57:28 -0400 (EDT) Received: from localhost ([127.0.0.1]:33793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJbTZ-0005rl-Ts for erik@plastic-idolatry.com; Thu, 17 Jul 2008 17:57:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJbP0-0001f5-NG for screen-users@gnu.org; Thu, 17 Jul 2008 17:52:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJbOy-0001cr-Ru for screen-users@gnu.org; Thu, 17 Jul 2008 17:52:42 -0400 Received: from [199.232.76.173] (port=52340 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJbOy-0001ca-MJ for screen-users@gnu.org; Thu, 17 Jul 2008 17:52:40 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:63261) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJbOy-0006Hf-GL for screen-users@gnu.org; Thu, 17 Jul 2008 17:52:40 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id CB0B65F0C4; Thu, 17 Jul 2008 23:52:36 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id XAA10530; Thu, 17 Jul 2008 23:52:36 +0200 (MEST) Date: Thu, 17 Jul 2008 23:52:36 +0200 From: Juergen Weigert To: Pandurangan R S Message-ID: <20080717215236.GX23749@faui40p> References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1372 Lines: 39 On Jul 16, 08 18:59:04 +0530, Pandurangan R S wrote: > Hi, > > My screen looks to be frozen. screen -x (or screen -d) also gets stuck. > > I recently saw a thread which talks about accidentally locking the > screen and thinking it is frozen. > Is the case with my screen now? If so, how can i unlock it? > > If I strace the screen process, I observe the following. Any hints? > > Process 15342 attached - interrupt to quit > pause() = ? ERESTARTNOHAND (To be restarted) > --- SIGALRM (Alarm clock) @ 0 (0) --- > sigreturn() = ? (mask now []) > alarm(0) = 0 > kill(6866, SIG_0) = 0 > rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > alarm(15) = 0 Process id 6866 is your screen master process. Please show a trace of this one. cheers, Jw. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 18 00:00:46 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A1E808D33 for ; Fri, 18 Jul 2008 00:00:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:48472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJh99-0006xb-G2 for erik@plastic-idolatry.com; Fri, 18 Jul 2008 00:00:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJh8h-0006wt-La for screen-users@gnu.org; Fri, 18 Jul 2008 00:00:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJh8f-0006vW-Gf for screen-users@gnu.org; Fri, 18 Jul 2008 00:00:15 -0400 Received: from [199.232.76.173] (port=58859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJh8f-0006vJ-A0 for screen-users@gnu.org; Fri, 18 Jul 2008 00:00:13 -0400 Received: from wr-out-0506.google.com ([64.233.184.237]:26743) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJh8e-0007bv-S8 for screen-users@gnu.org; Fri, 18 Jul 2008 00:00:13 -0400 Received: by wr-out-0506.google.com with SMTP id c30so142348wra.14 for ; Thu, 17 Jul 2008 21:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fDEHbCOPsNxm0cpEJbAk10fEhqRmSaxcoSaoS+k5qoQ=; b=CeKQKcT9NKn7J2jZfaZVceor/DWo15kzvRso7fDySiaLDhFUXFyJ42MoV2fuloXGkV eBD/pKMBOZZ0t1TXDAy7TfzG0A9BlvoIN0yYrVRMf6BkQcT7HhrIXxbqcT3dY14v4Iuh ie5Hrya2Otc+7sXLBeCAKjmCxBXoDgTEUKmy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jYivfLnCSf9viOINsX/Zr2DcrbdROkTXTsC540zQKzLXIHXQdM+Y+rvztU6Z5QwxZg uc4s13L6wmCydGD2igpSniDzqFSun9BnsN2MeMbvo+45COCcfyoOv4+m+jzHgEGVhz0Y 4EiD9zwKgapiY+zzYluUrZe0IJG4j0IIIj8Dg= Received: by 10.90.72.3 with SMTP id u3mr1748921aga.103.1216353612065; Thu, 17 Jul 2008 21:00:12 -0700 (PDT) Received: by 10.90.119.12 with HTTP; Thu, 17 Jul 2008 21:00:11 -0700 (PDT) Message-ID: <5e744e3d0807172100o21e27f84u1cb9f6a01b025890@mail.gmail.com> Date: Fri, 18 Jul 2008 09:30:11 +0530 From: "Pandurangan R S" To: "Samir Unni" In-Reply-To: <283efb240807171234t706b6e48h844bd40d02e9e866@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> <5e744e3d0807170643ib7bd4b3v28491f60ddef8f73@mail.gmail.com> <283efb240807171234t706b6e48h844bd40d02e9e866@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3302 Lines: 107 No. I never use the locking feature. How can i disable the corresponding keybinding? Thanks Pandu On Fri, Jul 18, 2008 at 1:04 AM, Samir Unni wrote: > Hi, > > It seems that you are having a different problem then. Do you ever actually > use the locking feature? If not, then maybe you could just change the > keybinding for that to something hard to type so you never accidentally > activate it? > > Thanks, > > Samir > > > On Thu, Jul 17, 2008 at 8:43 AM, Pandurangan R S > wrote: >> >> > Whenever this happens to me, I just run 'screen -x ' and >> > wait >> > for 10-15 minutes for it to successfully connect. >> >> I waited for around 30 mins hoping that i will get attached to the >> screen, but that didn't happen :( >> >> > The best thing to do would >> > be to avoid sending too much data over a low bandwidth connection. >> >> My desktop and the host on which i run screen are within a LAN. >> >> Thanks for the help. >> >> -- Pandu >> >> On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni wrote: >> > Hi, >> > >> > Whenever this happens to me, I just run 'screen -x ' and >> > wait >> > for 10-15 minutes for it to successfully connect. The best thing to do >> > would >> > be to avoid sending too much data over a low bandwidth connection. I try >> > to >> > prevent this as often as possible, but sometimes I forget to filter the >> > output or something. I don't know of any permanent solution. >> > >> > Thanks, >> > >> > Samir Unni >> > >> > >> > On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S >> > >> > wrote: >> >> >> >> Hi, >> >> >> >> My screen looks to be frozen. screen -x (or screen -d) also gets stuck. >> >> >> >> I recently saw a thread which talks about accidentally locking the >> >> screen and thinking it is frozen. >> >> Is the case with my screen now? If so, how can i unlock it? >> >> >> >> >> >> If I strace the screen process, I observe the following. Any hints? >> >> >> >> Process 15342 attached - interrupt to quit >> >> pause() = ? ERESTARTNOHAND (To be >> >> restarted) >> >> --- SIGALRM (Alarm clock) @ 0 (0) --- >> >> sigreturn() = ? (mask now []) >> >> alarm(0) = 0 >> >> kill(6866, SIG_0) = 0 >> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 >> >> alarm(15) = 0 >> >> pause() = ? ERESTARTNOHAND (To be >> >> restarted) >> >> --- SIGALRM (Alarm clock) @ 0 (0) --- >> >> sigreturn() = ? (mask now []) >> >> alarm(0) = 0 >> >> kill(6866, SIG_0) = 0 >> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 >> >> alarm(15) = 0 >> >> pause( >> >> >> >> Thanks >> >> Pandu >> >> >> >> >> >> _______________________________________________ >> >> screen-users mailing list >> >> screen-users@gnu.org >> >> http://lists.gnu.org/mailman/listinfo/screen-users >> > >> > > > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 18 00:03:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 147CE8D33 for ; Fri, 18 Jul 2008 00:03:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:49021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJhC2-0000RE-9m for erik@plastic-idolatry.com; Fri, 18 Jul 2008 00:03:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJhBj-0000R6-8c for screen-users@gnu.org; Fri, 18 Jul 2008 00:03:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJhBh-0000Ql-93 for screen-users@gnu.org; Fri, 18 Jul 2008 00:03:21 -0400 Received: from [199.232.76.173] (port=58963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJhBh-0000Qi-53 for screen-users@gnu.org; Fri, 18 Jul 2008 00:03:21 -0400 Received: from wr-out-0506.google.com ([64.233.184.234]:28714) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJhBg-0008Nd-OC for screen-users@gnu.org; Fri, 18 Jul 2008 00:03:20 -0400 Received: by wr-out-0506.google.com with SMTP id c30so143181wra.14 for ; Thu, 17 Jul 2008 21:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fOsxd+O9Xgj6LFHUQcNtq3zjClXtSWD7lnN81Xj+KNU=; b=jjWwmVQiwbenWUM3VgF9DMeV96UUJA6PiaxAA6V0CzrusQYNnImzBxvEhTHfobCNuw SZHvn972KWdIpzcfyH/nS+cXlhGrJAs+/ipkk50dBQIpjctF+8IkmEQKzlHmRliWEIN/ JrSP87lM5Egxbll1nT26Fzfh5WqSCbnd4hC00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TmCBP4kzwT+STNO4c0JeRPl+8bKzeNPEU2yr3SzmKtm1MUpYv2k4CYway78c83TX7B pUQyZX+KaISiS5qt19X+j/Ax45BdRQ4eG3fhkWklUEwpR3Lmdk2GHdZYYzhx/IEKmqCt R72sQjjQuWy0VgSHLhGajo8GQXHLH3VVavcyI= Received: by 10.90.27.5 with SMTP id a5mr4101423aga.85.1216353800143; Thu, 17 Jul 2008 21:03:20 -0700 (PDT) Received: by 10.90.119.12 with HTTP; Thu, 17 Jul 2008 21:03:20 -0700 (PDT) Message-ID: <5e744e3d0807172103s6eff4cf7n4f8b8809b0e427a7@mail.gmail.com> Date: Fri, 18 Jul 2008 09:33:20 +0530 From: "Pandurangan R S" To: jw@cs.fau.de In-Reply-To: <20080717215236.GX23749@faui40p> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <20080717215236.GX23749@faui40p> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1672 Lines: 49 Unfortunately, I had killed the screen process accidentally. So I cannot provide the strace now :( I will post the related straces if get into the same trouble again. Thanks for your help. -- Pandu On Fri, Jul 18, 2008 at 3:22 AM, Juergen Weigert wrote: > On Jul 16, 08 18:59:04 +0530, Pandurangan R S wrote: >> Hi, >> >> My screen looks to be frozen. screen -x (or screen -d) also gets stuck. >> >> I recently saw a thread which talks about accidentally locking the >> screen and thinking it is frozen. >> Is the case with my screen now? If so, how can i unlock it? > > >> >> If I strace the screen process, I observe the following. Any hints? >> >> Process 15342 attached - interrupt to quit >> pause() = ? ERESTARTNOHAND (To be restarted) >> --- SIGALRM (Alarm clock) @ 0 (0) --- >> sigreturn() = ? (mask now []) >> alarm(0) = 0 >> kill(6866, SIG_0) = 0 >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 >> alarm(15) = 0 > > Process id 6866 is your screen master process. > Please show a trace of this one. > > cheers, > Jw. > > -- > o \ Juergen Weigert unix-software __/ _=======.=======_ > | jw@cs.fau.de creator __/ _---|____________\/ > \ | 0179/2069677 __/ (____/ /\ > (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 21 08:56:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7D7F81E7A95 for ; Mon, 21 Jul 2008 08:56:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:38190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKuwS-0003WS-Fn for erik@plastic-idolatry.com; Mon, 21 Jul 2008 08:56:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKuw0-0003WC-Vy for screen-users@gnu.org; Mon, 21 Jul 2008 08:56:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKuvy-0003Uf-MH for screen-users@gnu.org; Mon, 21 Jul 2008 08:56:12 -0400 Received: from [199.232.76.173] (port=38909 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKuvy-0003UX-HY for screen-users@gnu.org; Mon, 21 Jul 2008 08:56:10 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:12124) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKuvw-0001xj-Pm for screen-users@gnu.org; Mon, 21 Jul 2008 08:56:10 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1275381rvb.6 for ; Mon, 21 Jul 2008 05:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=GJSvYw0zSuS+5ZtixB2CmsWVAA12YVsrOzta5pUI+wk=; b=I63fo7xJj6jtBLh/u8nF1Nu+LQm21EQ/9r2mTxylJuxM2bAM9nqyxChlH/59Ljr2gm mDs93VdumrHYyS8PPOIWc+QijhAGAflarcLfNmkJ4OL4P042HkCREKVD0BXHeWgSEsP3 tssVvJTFtuh9VeMOzS83+5tJQK3cmAPvLRzyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=MF4e8X5CRv4WnU3aB+SHSMAJy5TsaEl5RYMCqc3DOj+epKgh3y7UxAIGEt5j6LiAqw g9sC+qfendUUoTLNDe9PeYUMjL5heOt8u19170DvnjCbXhlUJImYEuz25vcqHvMVNcx+ IYoflTbIsx31YlLTRVGdOVfrgEvJp9FSAhAgU= Received: by 10.141.83.15 with SMTP id k15mr1821814rvl.289.1216644962779; Mon, 21 Jul 2008 05:56:02 -0700 (PDT) Received: by 10.141.205.6 with HTTP; Mon, 21 Jul 2008 05:56:02 -0700 (PDT) Message-ID: <283efb240807210556u3d70e1e2jfa64460d4ac0dc61@mail.gmail.com> Date: Mon, 21 Jul 2008 07:56:02 -0500 From: "Samir Unni" To: "Pandurangan R S" In-Reply-To: <5e744e3d0807172100o21e27f84u1cb9f6a01b025890@mail.gmail.com> MIME-Version: 1.0 References: <5e744e3d0807160629t2d695644g998f4c1b18cd3d27@mail.gmail.com> <283efb240807170632o5028925dj80990c5afb85b482@mail.gmail.com> <5e744e3d0807170643ib7bd4b3v28491f60ddef8f73@mail.gmail.com> <283efb240807171234t706b6e48h844bd40d02e9e866@mail.gmail.com> <5e744e3d0807172100o21e27f84u1cb9f6a01b025890@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Frozen or locked screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0475659757==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 10730 Lines: 259 --===============0475659757== Content-Type: multipart/alternative; boundary="----=_Part_19949_18856213.1216644962777" ------=_Part_19949_18856213.1216644962777 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Sorry, but I don't know how to do that. I do know that the general syntax is 'bind ', which you would place in your .screenrc file. I'm not sure what the key is for locking, or what the syntax for locking would be. Perhaps someone else can help out? Thanks, Samir On Thu, Jul 17, 2008 at 11:00 PM, Pandurangan R S wrote: > No. I never use the locking feature. How can i disable the > corresponding keybinding? > > Thanks > Pandu > > On Fri, Jul 18, 2008 at 1:04 AM, Samir Unni wrote: > > Hi, > > > > It seems that you are having a different problem then. Do you ever > actually > > use the locking feature? If not, then maybe you could just change the > > keybinding for that to something hard to type so you never accidentally > > activate it? > > > > Thanks, > > > > Samir > > > > > > On Thu, Jul 17, 2008 at 8:43 AM, Pandurangan R S < > pandurangan.r.s@gmail.com> > > wrote: > >> > >> > Whenever this happens to me, I just run 'screen -x ' and > >> > wait > >> > for 10-15 minutes for it to successfully connect. > >> > >> I waited for around 30 mins hoping that i will get attached to the > >> screen, but that didn't happen :( > >> > >> > The best thing to do would > >> > be to avoid sending too much data over a low bandwidth connection. > >> > >> My desktop and the host on which i run screen are within a LAN. > >> > >> Thanks for the help. > >> > >> -- Pandu > >> > >> On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni wrote: > >> > Hi, > >> > > >> > Whenever this happens to me, I just run 'screen -x ' and > >> > wait > >> > for 10-15 minutes for it to successfully connect. The best thing to do > >> > would > >> > be to avoid sending too much data over a low bandwidth connection. I > try > >> > to > >> > prevent this as often as possible, but sometimes I forget to filter > the > >> > output or something. I don't know of any permanent solution. > >> > > >> > Thanks, > >> > > >> > Samir Unni > >> > > >> > > >> > On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S > >> > > >> > wrote: > >> >> > >> >> Hi, > >> >> > >> >> My screen looks to be frozen. screen -x (or screen -d) also gets > stuck. > >> >> > >> >> I recently saw a thread which talks about accidentally locking the > >> >> screen and thinking it is frozen. > >> >> Is the case with my screen now? If so, how can i unlock it? > >> >> > >> >> > >> >> If I strace the screen process, I observe the following. Any hints? > >> >> > >> >> Process 15342 attached - interrupt to quit > >> >> pause() = ? ERESTARTNOHAND (To be > >> >> restarted) > >> >> --- SIGALRM (Alarm clock) @ 0 (0) --- > >> >> sigreturn() = ? (mask now []) > >> >> alarm(0) = 0 > >> >> kill(6866, SIG_0) = 0 > >> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > >> >> alarm(15) = 0 > >> >> pause() = ? ERESTARTNOHAND (To be > >> >> restarted) > >> >> --- SIGALRM (Alarm clock) @ 0 (0) --- > >> >> sigreturn() = ? (mask now []) > >> >> alarm(0) = 0 > >> >> kill(6866, SIG_0) = 0 > >> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0 > >> >> alarm(15) = 0 > >> >> pause( > >> >> > >> >> Thanks > >> >> Pandu > >> >> > >> >> > >> >> _______________________________________________ > >> >> screen-users mailing list > >> >> screen-users@gnu.org > >> >> http://lists.gnu.org/mailman/listinfo/screen-users > >> > > >> > > > > > > ------=_Part_19949_18856213.1216644962777 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

Sorry, but I don't know how to do that. I do know that the general syntax is 'bind <key> <action>', which you would place in your .screenrc file. I'm not sure what the key is for locking, or what the syntax for locking would be. Perhaps someone else can help out?

Thanks,

Samir


On Thu, Jul 17, 2008 at 11:00 PM, Pandurangan R S <pandurangan.r.s@gmail.com> wrote:
No. I never use the locking feature. How can i disable the
corresponding keybinding?

Thanks
Pandu

On Fri, Jul 18, 2008 at 1:04 AM, Samir Unni <srunni@gmail.com> wrote:
> Hi,
>
> It seems that you are having a different problem then. Do you ever actually
> use the locking feature? If not, then maybe you could just change the
> keybinding for that to something hard to type so you never accidentally
> activate it?
>
> Thanks,
>
> Samir
>
>
> On Thu, Jul 17, 2008 at 8:43 AM, Pandurangan R S <pandurangan.r.s@gmail.com>
> wrote:
>>
>> > Whenever this happens to me, I just run 'screen -x <session name>' and
>> > wait
>> > for 10-15 minutes for it to successfully connect.
>>
>> I waited for around 30 mins hoping that i will get attached to the
>> screen, but that didn't happen :(
>>
>> > The best thing to do would
>> > be to avoid sending too much data over a low bandwidth connection.
>>
>> My desktop and the host on which i run screen are within a LAN.
>>
>> Thanks for the help.
>>
>> -- Pandu
>>
>> On Thu, Jul 17, 2008 at 7:02 PM, Samir Unni <srunni@gmail.com> wrote:
>> > Hi,
>> >
>> > Whenever this happens to me, I just run 'screen -x <session name>' and
>> > wait
>> > for 10-15 minutes for it to successfully connect. The best thing to do
>> > would
>> > be to avoid sending too much data over a low bandwidth connection. I try
>> > to
>> > prevent this as often as possible, but sometimes I forget to filter the
>> > output or something. I don't know of any permanent solution.
>> >
>> > Thanks,
>> >
>> > Samir Unni
>> >
>> >
>> > On Wed, Jul 16, 2008 at 8:29 AM, Pandurangan R S
>> > <pandurangan.r.s@gmail.com>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> My screen looks to be frozen. screen -x (or screen -d) also gets stuck.
>> >>
>> >> I recently saw a thread which talks about accidentally locking the
>> >> screen and thinking it is frozen.
>> >> Is the case with my screen now? If so, how can i unlock it?
>> >>
>> >>
>> >> If I strace the screen process, I observe the following. Any hints?
>> >>
>> >> Process 15342 attached - interrupt to quit
>> >> pause()                                 = ? ERESTARTNOHAND (To be
>> >> restarted)
>> >> --- SIGALRM (Alarm clock) @ 0 (0) ---
>> >> sigreturn()                             = ? (mask now [])
>> >> alarm(0)                                = 0
>> >> kill(6866, SIG_0)                       = 0
>> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
>> >> alarm(15)                               = 0
>> >> pause()                                 = ? ERESTARTNOHAND (To be
>> >> restarted)
>> >> --- SIGALRM (Alarm clock) @ 0 (0) ---
>> >> sigreturn()                             = ? (mask now [])
>> >> alarm(0)                                = 0
>> >> kill(6866, SIG_0)                       = 0
>> >> rt_sigaction(SIGALRM, {0x806a540, [], 0}, {0x806a540, [], 0}, 8) = 0
>> >> alarm(15)                               = 0
>> >> pause(
>> >>
>> >> Thanks
>> >> Pandu
>> >>
>> >>
>> >> _______________________________________________
>> >> screen-users mailing list
>> >> screen-users@gnu.org
>> >> http://lists.gnu.org/mailman/listinfo/screen-users
>> >
>> >
>
>

------=_Part_19949_18856213.1216644962777-- --===============0475659757== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0475659757==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 21 20:21:25 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0764C280477 for ; Mon, 21 Jul 2008 20:21:23 -0400 (EDT) Received: from localhost ([127.0.0.1]:55687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KL5cz-0004sP-Qk for erik@plastic-idolatry.com; Mon, 21 Jul 2008 20:21:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KL5cf-0004s7-N8 for screen-users@gnu.org; Mon, 21 Jul 2008 20:20:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KL5ce-0004rv-Be for screen-users@gnu.org; Mon, 21 Jul 2008 20:20:57 -0400 Received: from [199.232.76.173] (port=35469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KL5ce-0004rs-5y for screen-users@gnu.org; Mon, 21 Jul 2008 20:20:56 -0400 Received: from fk-out-0910.google.com ([209.85.128.188]:39250) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KL5cd-0001Wb-Cd for screen-users@gnu.org; Mon, 21 Jul 2008 20:20:55 -0400 Received: by fk-out-0910.google.com with SMTP id 18so1330692fkq.10 for ; Mon, 21 Jul 2008 17:20:39 -0700 (PDT) Received: by 10.180.227.2 with SMTP id z2mr2379876bkg.12.1216686039279; Mon, 21 Jul 2008 17:20:39 -0700 (PDT) Received: from ?192.168.1.2? ( [84.0.34.71]) by mx.google.com with ESMTPS id 39sm108005hug.5.2008.07.21.17.20.36 (version=SSLv3 cipher=RC4-MD5); Mon, 21 Jul 2008 17:20:37 -0700 (PDT) From: =?ISO-8859-1?Q?L=E1szl=F3?= Monda To: Mark Eichin In-Reply-To: References: <1216209006.20329.2.camel@whisper.dnsalias.net> Date: Tue, 22 Jul 2008 02:20:35 +0200 Message-Id: <1216686035.2923.17.camel@whisper.dnsalias.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2068821837==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1522 Lines: 60 --===============2068821837== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PnLfPkGI+tapCeh1pZJo" --=-PnLfPkGI+tapCeh1pZJo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote: > looks like you might want to use "stuff" to push the commands at a > normal screen that has a shell open (so that it runs them, and stays > interactive.) I don't think that "stuff" is capable of what I want to do. I basically want to write a script, like: new-screen-window ls new-screen-window du / new-screen-window my-script Where the new-screen-window utility opens new screen windows without jumping to them. I'd also like to specify the title of the individual windows. --=20 Laci --=-PnLfPkGI+tapCeh1pZJo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIhSfT5t2qLX5n7ZgRAmZfAJ9RZt33qsB2vNCZFNCS6nX1luH18QCg04gj y8sjzXzxDSdBZJ4hEUvK5rE= =c/Lo -----END PGP SIGNATURE----- --=-PnLfPkGI+tapCeh1pZJo-- --===============2068821837== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============2068821837==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 22 07:34:26 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1351B13C07 for ; Tue, 22 Jul 2008 07:34:26 -0400 (EDT) Received: from localhost ([127.0.0.1]:43426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLG8M-0006UF-LI for erik@plastic-idolatry.com; Tue, 22 Jul 2008 07:34:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLG82-0006TK-C6 for screen-users@gnu.org; Tue, 22 Jul 2008 07:34:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLG7z-0006Pj-LX for screen-users@gnu.org; Tue, 22 Jul 2008 07:34:01 -0400 Received: from [199.232.76.173] (port=49582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLG7z-0006Pc-Ga for screen-users@gnu.org; Tue, 22 Jul 2008 07:33:59 -0400 Received: from tapir.cclub.metu.edu.tr ([144.122.71.113]:50149) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLG7z-000738-6P for screen-users@gnu.org; Tue, 22 Jul 2008 07:33:59 -0400 Received: from localhost (localhost [127.0.0.1]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id 5798452D13 for ; Tue, 22 Jul 2008 14:33:56 +0300 (EEST) X-Virus-Scanned: amavisd-new at cclub.metu.edu.tr Received: from tapir.cclub.metu.edu.tr ([127.0.0.1]) by localhost (tapir.cclub.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZF9SIdstmYQz for ; Tue, 22 Jul 2008 14:33:52 +0300 (EEST) Received: from [144.122.71.103] (irmik.ceng.metu.edu.tr [144.122.71.103]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id AD64B9EBB for ; Tue, 22 Jul 2008 14:33:44 +0300 (EEST) Message-ID: <4885C598.30709@gmail.com> Date: Tue, 22 Jul 2008 14:33:44 +0300 From: Gokdeniz Karadag User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users@gnu.org References: <1216209006.20329.2.camel@whisper.dnsalias.net> <1216686035.2923.17.camel@whisper.dnsalias.net> In-Reply-To: <1216686035.2923.17.camel@whisper.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-9; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1232 Lines: 46 You can use this in your screenrc, opens 4 windows, sets titles, first on= e is=20 interactive and selected. screen -t shell screen -t ls stuff "ls\015" screen -t du stuff "du /\015" screen -t script stuff "my-script\015" select 0 L=E1szl=F3 Monda demis ki:: > On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote: >> looks like you might want to use "stuff" to push the commands at a >> normal screen that has a shell open (so that it runs them, and stays >> interactive.) >=20 > I don't think that "stuff" is capable of what I want to do. I basicall= y > want to write a script, like: >=20 > new-screen-window ls > new-screen-window du / > new-screen-window my-script >=20 > Where the new-screen-window utility opens new screen windows without > jumping to them. I'd also like to specify the title of the individual > windows. >=20 >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 23 09:48:38 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8F8CEB4D2 for ; Wed, 23 Jul 2008 09:48:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:40110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLehm-0004cU-K8 for erik@plastic-idolatry.com; Wed, 23 Jul 2008 09:48:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJydM-0005rW-8V for screen-users@gnu.org; Fri, 18 Jul 2008 18:41:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJydL-0005rK-R4 for screen-users@gnu.org; Fri, 18 Jul 2008 18:41:03 -0400 Received: from [199.232.76.173] (port=48286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJydL-0005rH-LV for screen-users@gnu.org; Fri, 18 Jul 2008 18:41:03 -0400 Received: from yw-out-1718.google.com ([74.125.46.157]:7079) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJydL-0003JT-3A for screen-users@gnu.org; Fri, 18 Jul 2008 18:41:03 -0400 Received: by yw-out-1718.google.com with SMTP id 9so156555ywk.66 for ; Fri, 18 Jul 2008 15:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=AU4sTbnKjly2FpKQm53g+b9F9tOkk3udvuG65v6BBMY=; b=VlFl+0OUYYYFFeu1Rt55i8UtA9hk06wagicIifOifIhwdIc+oXMsK0CeYgfC7g26Kz tV811hjWa7XlOh2+S2pIY/UTWTLDYBF8z7EoytgqhDUr3e9vC91RccNrW9nOniafb0ud aHFfJzUP24PSDmFQCeug592F8UI6hh/AqSzEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=pth49LBOoSgzLfdS/FH6cMskzUUeMBKepmONo0AzAhO+dB0HGordufe2iH6HLhAWbg WelLKmGKIrgA6HDyh3fSi0pVlM8AwlC14WARgFe54JZNtlqmEEsJ4oHQzRbsXUAXlSTl PQ3Z/xRT73UD6G6+j0Q523/q2ieoBMng5KASE= Received: by 10.150.227.14 with SMTP id z14mr705335ybg.145.1216420862051; Fri, 18 Jul 2008 15:41:02 -0700 (PDT) Received: by 10.150.122.18 with HTTP; Fri, 18 Jul 2008 15:41:01 -0700 (PDT) Message-ID: <38d8db240807181541k386c6eebn15531c2895735728@mail.gmail.com> Date: Sat, 19 Jul 2008 01:41:01 +0300 From: "roi h" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 23 Jul 2008 09:48:15 -0400 Subject: Opening a window in the background? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0111921225==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1308 Lines: 43 --===============0111921225== Content-Type: multipart/alternative; boundary="----=_Part_13356_27945338.1216420862051" ------=_Part_13356_27945338.1216420862051 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Is there a way to open a new window without switching to it? I often would like to start a command in a background window, and only switch to it later, but I haven't found anything in the manual about it. Thanks, Roi ------=_Part_13356_27945338.1216420862051 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

Is there a way to open a new window without switching to it?

I often would like to start a command in a background window, and only switch to it later, but I haven't found anything in the manual about it.

Thanks, Roi



------=_Part_13356_27945338.1216420862051-- --===============0111921225== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0111921225==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 23 10:13:14 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2D62C12C6C for ; Wed, 23 Jul 2008 10:13:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:41244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLf5a-0001ZC-MR for erik@plastic-idolatry.com; Wed, 23 Jul 2008 10:13:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLf56-0001U5-11 for screen-users@gnu.org; Wed, 23 Jul 2008 10:12:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLf54-0001SP-3E for screen-users@gnu.org; Wed, 23 Jul 2008 10:12:39 -0400 Received: from [199.232.76.173] (port=38939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLf53-0001Rz-NO for screen-users@gnu.org; Wed, 23 Jul 2008 10:12:37 -0400 Received: from yx-out-1718.google.com ([74.125.44.157]:47048) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLf53-0006K4-8l for screen-users@gnu.org; Wed, 23 Jul 2008 10:12:37 -0400 Received: by yx-out-1718.google.com with SMTP id 34so437589yxf.66 for ; Wed, 23 Jul 2008 07:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=nO9TTMcbq9Y73mZifxzWf0dxgNFfPWYOc82q0t6AbWc=; b=GCURX9eD7AJhDbfIFEfrFcVJyVXHxP3vUzXyMseuBNqN93LBwjJwrI0oe59qhgSiFD 6TpCE6FiWeclJZcCXxId5HwxpHu3DJvFCz80ENy7A7f++xigFa22DE6c6dzlmi8hA/f6 c5l0FaNkh/c4krfmMg19ikP1D0J7ri5hC1eco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=evo3kUySt0vwoQfEC0jh+Co/H4xdZc4J3zHRYz+NH5pulOSFikP0JZK+ANaTlySuDG iiGxQ+JoHbbZJ0outWQRW0/Jqnkqk1sMrsPZ71Cz9wOKdvzTumpJLsARSECAzoT23tnU 01eevR7al5QMwriIp39LtGJyd/WT8qF6unaoQ= Received: by 10.150.51.2 with SMTP id y2mr172438yby.153.1216822354908; Wed, 23 Jul 2008 07:12:34 -0700 (PDT) Received: by 10.150.220.14 with HTTP; Wed, 23 Jul 2008 07:12:34 -0700 (PDT) Message-ID: <1b30fd140807230712g7f79b60epb25cc1b5e20e16cd@mail.gmail.com> Date: Wed, 23 Jul 2008 15:12:34 +0100 From: davidcollins001@gmail.com To: "roi h" In-Reply-To: <38d8db240807181541k386c6eebn15531c2895735728@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_60101_12500352.1216822354903" References: <38d8db240807181541k386c6eebn15531c2895735728@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Opening a window in the background? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3348 Lines: 74 ------=_Part_60101_12500352.1216822354903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 18/07/2008, roi h wrote: > Hi, > > Is there a way to open a new window without switching to it? > > I often would like to start a command in a background window, and only > switch to it later, but I haven't found anything in the manual about it. > > Thanks, Roi > I don't have a solution for you, but I think it will be going in the right direction. A while back I tried to find how to open a new window in the same directory (before I realised "screen" would do that!). I imagine that you could use it to script screen for what you want with: open window, execute prog, select prev window. You can execute it with C-a : then type exec screen-utils It is on the internet somewhere, and possibly on the mailing list too, but I am not too sure where it was a while ago I looked for it. David ------=_Part_60101_12500352.1216822354903 Content-Type: application/octet-stream; name=screen-utils Content-Transfer-Encoding: base64 X-Attachment-Id: file0 Content-Disposition: attachment; filename=screen-utils IyEvYmluL2Jhc2gKCiMgVGhpcyBzY3JpcHQgaXMgaW50ZW5kZWQgdG8gYmUgcnVuIHdpdGhpbiBh IHNjcmVlbiBzZXNzaW9uCgoKCiMgRmluZCB0aGUgUFdEIG9mIHRoZSB3aW5kb3cgcHJvY2Vzcywg ZnJvbSB3aGljaCB0aGlzIHNjcmlwdCBpcyBjYWxsZWQKZnVuY3Rpb24gZ2V0U2FtZURpciAoKSB7 CgogICBsb2NhbCBXSU5OQiBwaWQgCgogICAjIGZpbmQgdGhlIGN1cnJlbnQgd2luZG93IHByb2Nl c3MgcGlkCiAgIHdoaWxlIHJlYWQgcGlkOyBkbwoKICAgICAgW1sgJCQgPT0gJHBpZCBdXSAmJiBj b250aW51ZQogICAgICBXSU5OQj0kKHRyICdcMDAwJyAnXG4nIDwvcHJvYy8ke3BpZH0vZW52aXJv biB8IFwKCSAgc2VkIC1uICcvXldJTkRPVz0vcy8vL3AnIDI+L2Rldi9udWxsKQoKICAgICAgW1sg LXogIiR7V0lOTkJ9IiBdXSAmJiBjb250aW51ZQogICAgICBbWyAke1dJTkRPV30gLWVxICR7V0lO TkJ9IF1dICYmIGJyZWFrCgogICBkb25lIDwgPChwcyAtLXBwaWQgJHtQUElEfSAtLW5vaGVhZGVy IC1vICVwIHwgc2VkICdzL15bWzpzcGFjZTpdXSovLycpCgoKICAgIyBjaGVjayBpZiB3ZSByZWFs bHkgZm91bmQgc29tZXRoaW5nLCBvciBpZiAKICAgIyB3ZSd2ZSBqdXN0IHJlYWNoZWQgdGhlIGVu ZCBvZiB0aGUgbG9vcAogICBbWyAke1dJTkRPV30gLWVxICR7V0lOTkJ9IF1dIHx8IGV4aXQgMgoK ICAgZWNobyAkKHJlYWRsaW5rIC9wcm9jLyR7cGlkfS9jd2QpCgoKIyAgICAgbG9jYWwgd2lubmIK CiMgICAgIHdpbm5iPSQoY2F0ICRIT01FLy5zY3JlZW4vd2luLiRXSU5ET1cucHdkKQoKIyAgICAg aWYgW1sgLW4gJHdpbm5iIF1dOyB0aGVuCiMgCWVjaG8gJHdpbm5iCiMgICAgIGVsc2UKIyAJZWNo byAkSE9NRQojICAgICBmaQp9CgoKCiMgT3BlbihpbiB0aGUgYmFja2dyb3VuZD8pIGEgbmV3IHdp bmRvdyBpbiB0aGUgc2FtZQojIGRpciBhcyB0aGUgKGxvY2FsKSBwcm9jZXNzIG9uIHRoZSBjdXJy ZW50IHdpbmRvdwpmdW5jdGlvbiBuZXdXaW5kb3cgKCkgewoKICAgbG9jYWwgZGlyPSIkKGdldFNh bWVEaXIpIgoKICAgIyBzY3JlZW4gLVggZXZhbCBzY3JlZW4gInN0dWZmICdjZCBcIiRESVJcIl5N XkwnIiBvdGhlcgogICBzY3JlZW4gLVggZXZhbCBzY3JlZW4gInN0dWZmICdjZCBcIiRkaXJcIiAN DCciCn0KCgogICAgICAKCiMgaWYgV0lORE9XIGlzIG5vdCBzZXQsIG5vIG5lZWQgdG8gZ28gZnVy dGhlciwKIyB3ZSdyZSBub3QgaW4gYSBzY3JlZW4gc2Vzc2lvbgpbWyAgLXogJHtXSU5ET1d9IF1d ICYmIGV4aXQgMQoKCgojY2FzZSAiJHsxfSIgaW4KY2FzZSAibnciIGluCgogICBudykKICAgICAg bmV3V2luZG93CiAgICAgIDs7Cgplc2FjCg== ------=_Part_60101_12500352.1216822354903 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users ------=_Part_60101_12500352.1216822354903-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 23 17:36:59 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C5D4C1E7A95 for ; Wed, 23 Jul 2008 17:36:59 -0400 (EDT) Received: from localhost ([127.0.0.1]:56701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLm12-0003w7-C6 for erik@plastic-idolatry.com; Wed, 23 Jul 2008 17:36:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLm0j-0003w0-8E for screen-users@gnu.org; Wed, 23 Jul 2008 17:36:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLm0h-0003vl-MH for screen-users@gnu.org; Wed, 23 Jul 2008 17:36:35 -0400 Received: from [199.232.76.173] (port=48053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLm0h-0003vi-Es for screen-users@gnu.org; Wed, 23 Jul 2008 17:36:35 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:44818) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLm0g-0004cX-Pr for screen-users@gnu.org; Wed, 23 Jul 2008 17:36:35 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1257688fgb.30 for ; Wed, 23 Jul 2008 14:36:31 -0700 (PDT) Received: by 10.86.4.2 with SMTP id 2mr150400fgd.38.1216848991710; Wed, 23 Jul 2008 14:36:31 -0700 (PDT) Received: from ?192.168.1.2? ( [84.0.34.71]) by mx.google.com with ESMTPS id 4sm10599960fgg.9.2008.07.23.14.36.30 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Jul 2008 14:36:30 -0700 (PDT) From: =?ISO-8859-1?Q?L=E1szl=F3?= Monda To: davidcollins001@gmail.com In-Reply-To: <1b30fd140807220110g29a73cd9h75e605c502cc028d@mail.gmail.com> References: <1216209006.20329.2.camel@whisper.dnsalias.net> <1216686035.2923.17.camel@whisper.dnsalias.net> <1b30fd140807220110g29a73cd9h75e605c502cc028d@mail.gmail.com> Date: Wed, 23 Jul 2008 23:36:29 +0200 Message-Id: <1216848989.2923.57.camel@whisper.dnsalias.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1233530857==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2687 Lines: 96 --===============1233530857== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EB8D5Ua/Ba4iMMOPBm2A" --=-EB8D5Ua/Ba4iMMOPBm2A Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Hi David, (David has allowed me to reply to his email publicly.) I think this is almost exactly what I need, but "^M" gets literally quoted for me, just like as "\^M" or "\015". How can I put new line characters in there? Thanks! On Tue, 2008-07-22 at 09:10 +0100, davidcollins001@gmail.com wrote: > I don't know if this will help you but I have a small script that will > start up folding at home in a running screen session. Here is the > basis of it >=20 > $ cat screen.scpt > screen -S desktop4 -X screen -t t1 > screen -S desktop4 -p t1 -X stuff 'cd /^M' > screen -S desktop4 -p t1 -X stuff 'ls ^M' > screen -S desktop4 -X screen -t t2 > screen -S desktop4 -p t2 -X stuff 'cd programming^M' > screen -S desktop4 -p t2 -X stuff 'file *^M' >=20 > It will open a new screen called 't1', select it, cd to / and ls it, > then another called 't2' move into my programming folder and do a > 'file' on the content. >=20 > It seems like this might be the basis for what you need? >=20 > On 22/07/2008, L=E1szl=F3 Monda wrote: > > On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote: > >> looks like you might want to use "stuff" to push the commands at a > >> normal screen that has a shell open (so that it runs them, and stays > >> interactive.) > > > > I don't think that "stuff" is capable of what I want to do. I basicall= y > > want to write a script, like: > > > > new-screen-window ls > > new-screen-window du / > > new-screen-window my-script > > > > Where the new-screen-window utility opens new screen windows without > > jumping to them. I'd also like to specify the title of the individual > > windows. > > > > -- > > Laci > > > > --=20 Laci --=-EB8D5Ua/Ba4iMMOPBm2A Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIh6Rd5t2qLX5n7ZgRAvM6AKDrIUp5887u3eiCT1/jhQCf2XikaACg5cLx yHji/ExJTyBFbob+J/cFwEw= =u3oS -----END PGP SIGNATURE----- --=-EB8D5Ua/Ba4iMMOPBm2A-- --===============1233530857== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1233530857==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 23 17:44:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1871B1E7A95 for ; Wed, 23 Jul 2008 17:44:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:53342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLm8a-0000kZ-W5 for erik@plastic-idolatry.com; Wed, 23 Jul 2008 17:44:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLm8G-0000ie-Sj for screen-users@gnu.org; Wed, 23 Jul 2008 17:44:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLm8E-0000hK-C0 for screen-users@gnu.org; Wed, 23 Jul 2008 17:44:23 -0400 Received: from [199.232.76.173] (port=33495 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLm8E-0000hH-19 for screen-users@gnu.org; Wed, 23 Jul 2008 17:44:22 -0400 Received: from tapir.cclub.metu.edu.tr ([144.122.71.113]:54367) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLm8D-0005iH-Gd for screen-users@gnu.org; Wed, 23 Jul 2008 17:44:21 -0400 Received: from localhost (localhost [127.0.0.1]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id F08B252D2D for ; Thu, 24 Jul 2008 00:44:18 +0300 (EEST) X-Virus-Scanned: amavisd-new at cclub.metu.edu.tr Received: from tapir.cclub.metu.edu.tr ([127.0.0.1]) by localhost (tapir.cclub.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ykvq-BgytMqv for ; Thu, 24 Jul 2008 00:44:10 +0300 (EEST) Received: from [10.0.0.6] (unknown [88.232.10.96]) by tapir.cclub.metu.edu.tr (Postfix) with ESMTP id 33E5A40839 for ; Thu, 24 Jul 2008 00:44:10 +0300 (EEST) Message-ID: <4887A629.5030505@gmail.com> Date: Thu, 24 Jul 2008 00:44:09 +0300 From: Gokdeniz Karadag User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080512 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users References: <1216209006.20329.2.camel@whisper.dnsalias.net> <1216686035.2923.17.camel@whisper.dnsalias.net> <1b30fd140807220110g29a73cd9h75e605c502cc028d@mail.gmail.com> <1216848989.2923.57.camel@whisper.dnsalias.net> In-Reply-To: <1216848989.2923.57.camel@whisper.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2481 Lines: 82 In a console based text editor( I use vim) you can press on following thr= ee keys; ctrl v enter This will embed a literal newline into the file, tested with the given sc= ript.=20 I'm not sure about embedding newlines with GUI editors. By the way, David's suggestion was very helpful, I realized I did not kno= w=20 about -p :) L=E1szl=F3 Monda demis ki:: > Hi David, >=20 > (David has allowed me to reply to his email publicly.) >=20 > I think this is almost exactly what I need, but "^M" gets literally > quoted for me, just like as "\^M" or "\015". >=20 > How can I put new line characters in there? >=20 > Thanks! >=20 > On Tue, 2008-07-22 at 09:10 +0100, davidcollins001@gmail.com wrote: >> I don't know if this will help you but I have a small script that will >> start up folding at home in a running screen session. Here is the >> basis of it >> >> $ cat screen.scpt >> screen -S desktop4 -X screen -t t1 >> screen -S desktop4 -p t1 -X stuff 'cd /^M' >> screen -S desktop4 -p t1 -X stuff 'ls ^M' >> screen -S desktop4 -X screen -t t2 >> screen -S desktop4 -p t2 -X stuff 'cd programming^M' >> screen -S desktop4 -p t2 -X stuff 'file *^M' >> >> It will open a new screen called 't1', select it, cd to / and ls it, >> then another called 't2' move into my programming folder and do a >> 'file' on the content. >> >> It seems like this might be the basis for what you need? >> >> On 22/07/2008, L=E1szl=F3 Monda wrote: >>> On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote: >>>> looks like you might want to use "stuff" to push the commands at a >>>> normal screen that has a shell open (so that it runs them, and stays >>>> interactive.) >>> I don't think that "stuff" is capable of what I want to do. I basica= lly >>> want to write a script, like: >>> >>> new-screen-window ls >>> new-screen-window du / >>> new-screen-window my-script >>> >>> Where the new-screen-window utility opens new screen windows without >>> jumping to them. I'd also like to specify the title of the individua= l >>> windows. >>> >>> -- >>> Laci >>> >>> >>> >>> ---------------------------------------------------------------------= --- >>> >>> _______________________________________________ >>> screen-users mailing list >>> screen-users@gnu.org >>> http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Jul 23 19:12:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D09CF1E7A95 for ; Wed, 23 Jul 2008 19:12:52 -0400 (EDT) Received: from localhost ([127.0.0.1]:57940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLnVm-0003ZH-Oz for erik@plastic-idolatry.com; Wed, 23 Jul 2008 19:12:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLnVC-0003Tf-VD for screen-users@gnu.org; Wed, 23 Jul 2008 19:12:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLnVB-0003Sz-AE for screen-users@gnu.org; Wed, 23 Jul 2008 19:12:10 -0400 Received: from [199.232.76.173] (port=58515 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLnVA-0003Su-UP for screen-users@gnu.org; Wed, 23 Jul 2008 19:12:09 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:3015) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLnVA-0002Cm-Gc for screen-users@gnu.org; Wed, 23 Jul 2008 19:12:08 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1276164fgb.30 for ; Wed, 23 Jul 2008 16:12:06 -0700 (PDT) Received: by 10.86.4.14 with SMTP id 14mr245867fgd.20.1216854726531; Wed, 23 Jul 2008 16:12:06 -0700 (PDT) Received: from ?192.168.1.2? ( [84.0.34.71]) by mx.google.com with ESMTPS id l12sm6737762fgb.6.2008.07.23.16.12.05 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Jul 2008 16:12:05 -0700 (PDT) From: =?ISO-8859-1?Q?L=E1szl=F3?= Monda To: Gokdeniz Karadag , davidcollins001 In-Reply-To: <4887A629.5030505@gmail.com> References: <1216209006.20329.2.camel@whisper.dnsalias.net> <1216686035.2923.17.camel@whisper.dnsalias.net> <1b30fd140807220110g29a73cd9h75e605c502cc028d@mail.gmail.com> <1216848989.2923.57.camel@whisper.dnsalias.net> <4887A629.5030505@gmail.com> Date: Thu, 24 Jul 2008 01:12:04 +0200 Message-Id: <1216854724.2923.74.camel@whisper.dnsalias.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users Subject: Re: Spawning commands inside interactive shells in new windows in a scriptable fashion X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1808730701==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4892 Lines: 160 --===============1808730701== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rs/E7RVL3Il+cZx9/8w7" --=-rs/E7RVL3Il+cZx9/8w7 Content-Type: multipart/mixed; boundary="=-QBj9lBQRIvLPmUIvWzuU" --=-QBj9lBQRIvLPmUIvWzuU Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Seems like I'm just ready with new-screen-window which I've just attached. =46rom now on we can easily do things, like: new-screen-window new-window-title 'du -h /' Thanks for David for kicking ass with his way of doing this and for Gokdeniz for explaining me the newline issue. Possible improvements that are encouraged by me, since I suck at bash: * Make specifying the window title optional by using a -t option. * Jump back to the original window where new-screen-window ran. * Provide a -j option for jumping to the new window. * Interpret the rest of the command line as $command without quoting. On Thu, 2008-07-24 at 00:44 +0300, Gokdeniz Karadag wrote: > In a console based text editor( I use vim) you can press on following thr= ee keys; > ctrl v enter >=20 > This will embed a literal newline into the file, tested with the given sc= ript.=20 > I'm not sure about embedding newlines with GUI editors. >=20 > By the way, David's suggestion was very helpful, I realized I did not kno= w=20 > about -p >=20 > :) >=20 >=20 > L=E1szl=F3 Monda demis ki:: > > Hi David, > >=20 > > (David has allowed me to reply to his email publicly.) > >=20 > > I think this is almost exactly what I need, but "^M" gets literally > > quoted for me, just like as "\^M" or "\015". > >=20 > > How can I put new line characters in there? > >=20 > > Thanks! > >=20 > > On Tue, 2008-07-22 at 09:10 +0100, davidcollins001@gmail.com wrote: > >> I don't know if this will help you but I have a small script that will > >> start up folding at home in a running screen session. Here is the > >> basis of it > >> > >> $ cat screen.scpt > >> screen -S desktop4 -X screen -t t1 > >> screen -S desktop4 -p t1 -X stuff 'cd /^M' > >> screen -S desktop4 -p t1 -X stuff 'ls ^M' > >> screen -S desktop4 -X screen -t t2 > >> screen -S desktop4 -p t2 -X stuff 'cd programming^M' > >> screen -S desktop4 -p t2 -X stuff 'file *^M' > >> > >> It will open a new screen called 't1', select it, cd to / and ls it, > >> then another called 't2' move into my programming folder and do a > >> 'file' on the content. > >> > >> It seems like this might be the basis for what you need? > >> > >> On 22/07/2008, L=E1szl=F3 Monda wrote: > >>> On Thu, 2008-07-17 at 12:40 -0400, Mark Eichin wrote: > >>>> looks like you might want to use "stuff" to push the commands at a > >>>> normal screen that has a shell open (so that it runs them, and stays > >>>> interactive.) > >>> I don't think that "stuff" is capable of what I want to do. I basica= lly > >>> want to write a script, like: > >>> > >>> new-screen-window ls > >>> new-screen-window du / > >>> new-screen-window my-script > >>> > >>> Where the new-screen-window utility opens new screen windows without > >>> jumping to them. I'd also like to specify the title of the individua= l > >>> windows. > >>> > >>> -- > >>> Laci > >>> > >>> > >>> > >>> ---------------------------------------------------------------------= --- > >>> > >>> _______________________________________________ > >>> screen-users mailing list > >>> screen-users@gnu.org > >>> http://lists.gnu.org/mailman/listinfo/screen-users >=20 >=20 > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users --=20 Laci --=-QBj9lBQRIvLPmUIvWzuU Content-Disposition: attachment; filename=new-screen-window Content-Type: application/x-shellscript; name=new-screen-window Content-Transfer-Encoding: base64 IyEvYmluL2Jhc2gKCmlmIFtbICIkIyIgLW5lICIyIiBdXTsgdGhlbgogICAgZWNobyAiVXNhZ2U6 IG5ldy1zY3JlZW4td2luZG93IHdpbmRvdy10aXRsZSBjb21tYW5kIgogICAgZXhpdApmaQoKdGl0 bGU9JDEKY29tbWFuZD0kMgoKc2NyZWVuIC1YIHNjcmVlbiAtdCAkdGl0bGUKc2NyZWVuIC1wICR0 aXRsZSAtWCBzdHVmZiAiJGNvbW1hbmQNIgo= --=-QBj9lBQRIvLPmUIvWzuU-- --=-rs/E7RVL3Il+cZx9/8w7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIh7rE5t2qLX5n7ZgRAt8oAJ9zaa2rOikugsbVjRH32C96IVx5AgCfTTbh FjL9n02ZH4l8dmvo9oxAnJQ= =11nt -----END PGP SIGNATURE----- --=-rs/E7RVL3Il+cZx9/8w7-- --===============1808730701== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1808730701==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 11:55:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 133CA73DD9A for ; Thu, 24 Jul 2008 11:55:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:49064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM3AL-0008Nv-UL for erik@plastic-idolatry.com; Thu, 24 Jul 2008 11:55:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM3A2-0008MF-1L for screen-users@gnu.org; Thu, 24 Jul 2008 11:55:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM3A0-0008Ky-V3 for screen-users@gnu.org; Thu, 24 Jul 2008 11:55:21 -0400 Received: from [199.232.76.173] (port=55606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM3A0-0008Kn-NV for screen-users@gnu.org; Thu, 24 Jul 2008 11:55:20 -0400 Received: from py-out-1112.google.com ([64.233.166.178]:35059) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM3A0-00055F-6T for screen-users@gnu.org; Thu, 24 Jul 2008 11:55:20 -0400 Received: by py-out-1112.google.com with SMTP id p76so1570257pyb.1 for ; Thu, 24 Jul 2008 08:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=W4c3PDJ2pZbu9iwBCqnDTwM51t716XCFuM5NvKMVJT0=; b=VD9r5eC79SOZARDeeBFUEp5rupui5pgKoCx0oVLZix9SkngjYzLNtqkQq5j8qgqzG3 8rGHX4PiIKuSpvG2zflqn88lL38GNAuxeFsD+cUGn8cagY8PQVEXFGChTyEz9rXtLsjG e/qGyq/e/M+ek4DsntI0eU56JHFaXGCBEWX+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=Y9iBnFAEE2nvckUVRIocdZcgYPpg9gI3XLPdjwQAOUZUtbZTaSfe/yLCBNqVN1UkAO 7TtaOlOFJpsZx6ICyQVkNwc3+koF4q3yWvIj80cBbTbexEIn6oJU54BbC28h6chvq7nj ZmMm0OQG1I7XaB9GoJmtUeOrv8tPF7oBhRkUY= Received: by 10.65.116.10 with SMTP id t10mr768372qbm.85.1216914918121; Thu, 24 Jul 2008 08:55:18 -0700 (PDT) Received: from krusty ( [99.241.216.69]) by mx.google.com with ESMTPS id 25sm12182691qbw.1.2008.07.24.08.55.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 08:55:17 -0700 (PDT) Date: Thu, 24 Jul 2008 12:00:04 -0400 From: Sadrul Habib Chowdhury To: screen-users@gnu.org Message-ID: <20080724160004.GC26150@localdomain> Mail-Followup-To: Sadrul Habib Chowdhury , screen-users@gnu.org, screen-devel@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-devel@gnu.org Subject: Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3424 Lines: 79 Hi. I started working on a lua script loader for screen last night. I am quite happy with the progress so far. I would like to know what people think about this kind of work. I discussed about this briefly with Micah last night, and he also thought discussing this in the list would be useful. I will try to answer a few questions that might come up in advance: * Where is the patchset? - The current patchset is available at http://www.pidgin.im/~sadrul/pp/scripting-lua/. The patches are against the development version of screen (http://git.savannah.gnu.org/gitweb/?p=screen.git) * What's the goal? - The goal right now is to allow executing some user-defined function on specific events, e.g. when a window is closed, opened, title/position changed, a display is detached etc. etc. easily, i.e. without requiring a recompilation/reinstallation. I started working on this mostly out of curiosity, to see where it goes, and what cool things it might allow users to do. One use I have in mind is to send some signal to the process in a window when it's not visible in any of the displays, (and send another one when it becomes visible for the first time). It doesn't make all that much sense to implement such highly personalized features in screen itself. I am sure people will find a lot of other interesting things to do. * Why Lua? - Because I like it! To be perfectly honest, there was no compelling technical reason for me to choose lua. I hadn't worked with lua bindings before, but I was told it's much easier to work with than with some other scripting languages (e.g. python!). I thought I would give it a try and find out. * Why not guile? - Because I haven't seen it before, and I wasn't aware of it until Micah told me about it last night on IRC! Note: with the patchset, it is possible to support multiple scripting languages, either built-in at compile time (current), or dynamically loaded on demand (not yet implemented, but possible semi-trivially. [1] for details). So in theory, it will be possible to have none, either or both lua and guile support. (and any other language someone cares to write bindings for) * What about the bloat? - I would refer to the commit message at [1] * Is there a sample script? - Yes! http://www.pidgin.im/~sadrul/pp/scripting-lua/sc.lua The 'fore_changed' function towards the end is the one that gets executed when the foreground window for a display is changed. It prints the list of windows (# and title), a message explaining the switch from the previous window to the current one, and finally prints detailed information about each display and its foreground window. The display information includes the term, tty, user and the canvases. * What are the current triggers/hooks? - Right now, only changing the foreground window in a display will trigger a function named 'fore_changed' in the lua script. I don't have a complete list of hooks in mind yet. I plan on adding new hooks as the need arises. Suggestions are very welcome! I would love to know if people have any opinions, suggestions etc. about this. [1] http://www.pidgin.im/~sadrul/pp/scripting-lua/0003-Add-a-layer-of-abstraction-for-the-script-bindings.patch Cheers, Sadrul _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 15:08:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1D0DB73DD9A for ; Thu, 24 Jul 2008 15:08:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:37146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM6Ag-0002ZR-K1 for erik@plastic-idolatry.com; Thu, 24 Jul 2008 15:08:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM6AB-0002SS-6j for screen-users@gnu.org; Thu, 24 Jul 2008 15:07:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM6AA-0002S0-9W for screen-users@gnu.org; Thu, 24 Jul 2008 15:07:42 -0400 Received: from [199.232.76.173] (port=43035 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM6A8-0002Rb-Sv; Thu, 24 Jul 2008 15:07:40 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:47729) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM6A8-0000GM-I6; Thu, 24 Jul 2008 15:07:40 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 4CEED3C8A932; Thu, 24 Jul 2008 12:07:39 -0700 (PDT) Message-ID: <4888D2FA.7040702@cowan.name> Date: Thu, 24 Jul 2008 12:07:38 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> In-Reply-To: <87r69j5kju.fsf@saeurebad.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3740 Lines: 82 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes Weiner wrote: > The trend I would like to see is not just extending screen with a > powerful language but reducing the C code where possible by this > language. Sort of like it's done with emacs (only that emacs was > probably written to this design from the beginning, I assume). > > Because the more you do in extension language, the more powerful > commands you can provide to the scripting interface. > > And the more your configuration file becomes a program on its own, > written for the screen library :) I agree with all of this. I mentioned to Sadrul that I find Guile preferable (which would make Screen decidedly Emacs-like); mainly because everything is an expression (everything's a list), so you can use for-loops inside the dynamic value for hardstatus, etc. As I've looked at our current String Escapes support and the sorts of features people have been requesting in String Escapes, it's becoming clear that the current state, and any additions we make atop it, are an ugly hack that really wants to be full expressive support. Rather than using %w and %W and adding flags to change their behavior, and then being dissatisfied when we can't do what we want (restrict to specific window flags, doing "odd/even" coloring of window titles, add "blink" rendition to windows with the alert flag), we should be looping over the windows and examining the attributes we want, to generate the appropriate string. Supplying "hooks" to screen as a C API would make it possible to tack on any scripting lanuguage we choose, which is worth considering. However, I'd like to see direct support for some scripting language within screen; Guile looks like a good choice to me. Your comments regarding "reducing C" are appropriate; though I'm not sure I agree with it literally, as it might impede Screen's efficiency, and adding as little crawl beyond the "real" terminal's processing time is a worthwhile value. But having pretty much everything be accomplishable via the scripting language seems desirable. > Sort of like it's done with emacs (only that emacs was probably > written to this design from the beginning, I assume). GNU Emacs was designed this way from the beginning. But this was based on the community's past experience with Emacs; the original Emacs was not built around a Lisp engine. Instead, it was based on a very clunky language, that was sort of incrementally hacked to support the various whims of its users. It was a similar situation to our String Escapes, in that the original language lacked looping constructs (it looks like it may have been roughly similar to the "ed" set of line editing commands) until loops were hacked in (as the < and > commands). It was the experience of the user community trying to hack programming-like applications in a non-programmer-friendly language that led to the conclusion that the best way to go was to make an Emacs with a full-fledged programming language at its heart. Bernie Greenberg's Emacs for Multics was the first Lisp-based Emacs (it was written entirely in Lisp). (http://www.gnu.org/gnu/rms-lisp.html was the primary reference I used for this information.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiNL57M8hyUobTrERArJfAJ9Bc912lIxVfB1HGE8jtcDsCiI8jgCfZjyn dIALgW9PktXYelZlfluLVgo= =+PBO -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 16:48:24 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0EC0E73E393 for ; Thu, 24 Jul 2008 16:48:23 -0400 (EDT) Received: from localhost ([127.0.0.1]:50352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM7jV-0006mb-UH for erik@plastic-idolatry.com; Thu, 24 Jul 2008 16:48:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM7iy-0006dG-5j for screen-users@gnu.org; Thu, 24 Jul 2008 16:47:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM7iw-0006cs-NL for screen-users@gnu.org; Thu, 24 Jul 2008 16:47:43 -0400 Received: from [199.232.76.173] (port=55858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM7iw-0006ch-Eq for screen-users@gnu.org; Thu, 24 Jul 2008 16:47:42 -0400 Received: from yw-out-1718.google.com ([74.125.46.154]:14520) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM7iv-00024t-QL for screen-users@gnu.org; Thu, 24 Jul 2008 16:47:42 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1306834ywk.66 for ; Thu, 24 Jul 2008 13:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=zrhmW1HD2pbCIH15Ng24OcDnC0/utU2YWDU+OcSWNtA=; b=iPIGUgfu5c1VBg2NMYppicf1kZX8HeOPn42D4qiDe23LCAGcgaq/ieRWHr5vThxWcF fgb5nuQKHvY5cTdkYxTI31r3PUnITm1drWiyqV/Qh/KlCR9/BUlkYt/BIcVbq2afv1F/ NPF/5eHXvI5tkMu2ZWBh1O7GAfsOUN/S5Z54A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=cUgi00XVRkV0l3SKJ/E4tC9hM1wO8lfbTm4BhTK127T6njd90StjZU0hbTdxOrmBdg /CcZv3xyLuRnISOG7kaPNUS9s0W7X7cm39TXRuSQVa1OHPDmi7O1540urV0C3iG5tLRY 0dmwxm2W7FCXpQru+VMLOJL7MmEhTcTE2Jk2E= Received: by 10.142.177.5 with SMTP id z5mr251308wfe.248.1216932459784; Thu, 24 Jul 2008 13:47:39 -0700 (PDT) Received: by 10.142.174.12 with HTTP; Thu, 24 Jul 2008 13:47:39 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 15:47:39 -0500 From: "Tom Scogland" To: "Screen development" In-Reply-To: <4888D2FA.7040702@cowan.name> MIME-Version: 1.0 References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1533811190==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 14185 Lines: 247 --===============1533811190== Content-Type: multipart/alternative; boundary="----=_Part_81787_20156685.1216932459782" ------=_Part_81787_20156685.1216932459782 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jul 24, 2008 at 2:07 PM, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Johannes Weiner wrote: > > The trend I would like to see is not just extending screen with a > > powerful language but reducing the C code where possible by this > > language. Sort of like it's done with emacs (only that emacs was > > probably written to this design from the beginning, I assume). > > > > Because the more you do in extension language, the more powerful > > commands you can provide to the scripting interface. > > > > And the more your configuration file becomes a program on its own, > > written for the screen library :) > > I agree with all of this. > > I mentioned to Sadrul that I find Guile preferable (which would make > Screen decidedly Emacs-like); mainly because everything is an expression > (everything's a list), so you can use for-loops inside the dynamic value > for hardstatus, etc. As I've looked at our current String Escapes > support and the sorts of features people have been requesting in String > Escapes, it's becoming clear that the current state, and any additions > we make atop it, are an ugly hack that really wants to be full > expressive support. Rather than using %w and %W and adding flags to > change their behavior, and then being dissatisfied when we can't do what > we want (restrict to specific window flags, doing "odd/even" coloring of > window titles, add "blink" rendition to windows with the alert flag), we > should be looping over the windows and examining the attributes we want, > to generate the appropriate string. > > Supplying "hooks" to screen as a C API would make it possible to tack on > any scripting lanuguage we choose, which is worth considering. However, > I'd like to see direct support for some scripting language within > screen; Guile looks like a good choice to me. > > Your comments regarding "reducing C" are appropriate; though I'm not > sure I agree with it literally, as it might impede Screen's efficiency, > and adding as little crawl beyond the "real" terminal's processing time > is a worthwhile value. But having pretty much everything be > accomplishable via the scripting language seems desirable. > While I'm relatively new here I thought I'd throw in my 2 cents on the matter. Having everything doable via scripting sounds good, but it should be a situation where something is only done in scripting if you want to replace the default so as to reduce the overhead for the people that just want to use the defaults. Or as Micah pointed out, things that currently are handled poorly, and would significantly benefit from scripting without adding too much overhead (string escapes etc.). As far as what language to use, I know lisp and guile and the like are classic choices, but might it be a good idea to make it a language people are likely to know outside of the context of scripting? I'm not saying it has to be, but something in the python/perl/ruby/haskell family might be a good idea if only because people know them well already. It's like the experience with vim, it has a primary scripting language, which is different from what most people know, which people used because it's what was there, but finally python support went in and several complex extensions came into existance which could not have otherwise. Just something to consider. (NOTE: I'm not a python user personally, just used as an example) > > Sort of like it's done with emacs (only that emacs was probably > > written to this design from the beginning, I assume). > > GNU Emacs was designed this way from the beginning. But this was based > on the community's past experience with Emacs; the original Emacs > was not built around a Lisp engine. Instead, it was based on a very > clunky language, that was sort of incrementally hacked to support the > various whims of its users. It was a similar situation to our String > Escapes, in that the original language lacked looping constructs (it > looks like it may have been roughly similar to the "ed" set of line > editing commands) until loops were hacked in (as the < and > commands). > It was the experience of the user community trying to hack > programming-like applications in a non-programmer-friendly language that > led to the conclusion that the best way to go was to make an > Emacs with a full-fledged programming language at its heart. Bernie > Greenberg's Emacs for Multics was the first Lisp-based Emacs (it was > written entirely in Lisp). > > (http://www.gnu.org/gnu/rms-lisp.html was the primary reference I used > for this information.) All of this is pretty correct, except that the gnu emacs we know was lisp with a C core for a long time because redraw was impossible to write efficiently enough in lisp for some reason. As such, when the program entered that state, everything changed, and that's something that should probably be avoided. Either have it be all scripted, or have it be a C core which can be extended and modified from outside, but avoiding a situation where most of the program is one way and certain parts are another, that will just generate frustration and maintenance problems. A final word here, bloat=bad. I would really like to see scripting, but if it means an emacs-like distribution of 100+ MB of scripting files and the generation of a program which does everything well except what it was designed for, then the point has been missed. > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIiNL57M8hyUobTrERArJfAJ9Bc912lIxVfB1HGE8jtcDsCiI8jgCfZjyn > dIALgW9PktXYelZlfluLVgo= > =+PBO > -----END PGP SIGNATURE----- > > > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_81787_20156685.1216932459782 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


On Thu, Jul 24, 2008 at 2:07 PM, Micah Cowan <micah@cowan.name> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johannes Weiner wrote:
> The trend I would like to see is not just extending screen with a
> powerful language but reducing the C code where possible by this
> language.  Sort of like it's done with emacs (only that emacs was
> probably written to this design from the beginning, I assume).
>
> Because the more you do in extension language, the more powerful
> commands you can provide to the scripting interface.
>
> And the more your configuration file becomes a program on its own,
> written for the screen library :)

I agree with all of this.

I mentioned to Sadrul that I find Guile preferable (which would make
Screen decidedly Emacs-like); mainly because everything is an expression
(everything's a list), so you can use for-loops inside the dynamic value
for hardstatus, etc. As I've looked at our current String Escapes
support and the sorts of features people have been requesting in String
Escapes, it's becoming clear that the current state, and any additions
we make atop it, are an ugly hack that really wants to be full
expressive support. Rather than using %w and %W and adding flags to
change their behavior, and then being dissatisfied when we can't do what
we want (restrict to specific window flags, doing "odd/even" coloring of
window titles, add "blink" rendition to windows with the alert flag), we
should be looping over the windows and examining the attributes we want,
to generate the appropriate string.

Supplying "hooks" to screen as a C API would make it possible to tack on
any scripting lanuguage we choose, which is worth considering. However,
I'd like to see direct support for some scripting language within
screen; Guile looks like a good choice to me.

Your comments regarding "reducing C" are appropriate; though I'm not
sure I agree with it literally, as it might impede Screen's efficiency,
and adding as little crawl beyond the "real" terminal's processing time
is a worthwhile value. But having pretty much everything be
accomplishable via the scripting language seems desirable.
While I'm relatively new here I thought I'd throw in my 2 cents on the matter. Having everything doable via scripting sounds good, but it should be a situation where something is only done in scripting if you want to replace the default so as to reduce the overhead for the people that just want to use the defaults. Or as Micah pointed out, things that currently are handled poorly, and would significantly benefit from scripting without adding too much overhead (string escapes etc.).

As far as what language to use, I know lisp and guile and the like are classic choices, but might it be a good idea to make it a language people are likely to know outside of the context of scripting? I'm not saying it has to be, but something in the python/perl/ruby/haskell family might be a good idea if only because people know them well already.  It's like the experience with vim, it has a primary scripting language, which is different from what most people know, which people used because it's what was there, but finally python support went in and several complex extensions came into existance which could not have otherwise.  Just something to consider. (NOTE: I'm not a python user personally, just used as an example)


> Sort of like it's done with emacs (only that emacs was probably
> written to this design from the beginning, I assume).

GNU Emacs was designed this way from the beginning. But this was based
on the community's past experience with Emacs; the original Emacs
was not built around a Lisp engine. Instead, it was based on a very
clunky language, that was sort of incrementally hacked to support the
various whims of its users. It was a similar situation to our String
Escapes, in that the original language lacked looping constructs (it
looks like it may have been roughly similar to the "ed" set of line
editing commands) until loops were hacked in (as the < and > commands).
It was the experience of the user community trying to hack
programming-like applications in a non-programmer-friendly language that
led to the conclusion that the best way to go was to make an
Emacs with a full-fledged programming language at its heart. Bernie
Greenberg's Emacs for Multics was the first Lisp-based Emacs (it was
written entirely in Lisp).

(http://www.gnu.org/gnu/rms-lisp.html was the primary reference I used
for this information.)
 
All of this is pretty correct, except that the gnu emacs we know was lisp with a C core for a long time because redraw was impossible to write efficiently enough in lisp for some reason.  As such, when the program entered that state, everything changed, and that's something that should probably be avoided.  Either have it be all scripted, or have it be a C core which can be extended and modified from outside, but avoiding a situation where most of the program is one way and certain parts are another, that will just generate frustration and maintenance problems.

A final word here, bloat=bad.

I would really like to see scripting, but if it means an emacs-like distribution of 100+ MB of scripting files and the generation of a program which does everything well except what it was designed for, then the point has been missed.


- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiNL57M8hyUobTrERArJfAJ9Bc912lIxVfB1HGE8jtcDsCiI8jgCfZjyn
dIALgW9PktXYelZlfluLVgo=
=+PBO
-----END PGP SIGNATURE-----





--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_81787_20156685.1216932459782-- --===============1533811190== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1533811190==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 17:17:06 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DE75873E393 for ; Thu, 24 Jul 2008 17:17:05 -0400 (EDT) Received: from localhost ([127.0.0.1]:60918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8BK-00051y-Ce for erik@plastic-idolatry.com; Thu, 24 Jul 2008 17:17:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM8Ax-00051t-9H for screen-users@gnu.org; Thu, 24 Jul 2008 17:16:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM8Aw-00051d-Pl for screen-users@gnu.org; Thu, 24 Jul 2008 17:16:38 -0400 Received: from [199.232.76.173] (port=49216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8Av-00051C-Vv; Thu, 24 Jul 2008 17:16:38 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:60884) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM8Av-0006eY-P0; Thu, 24 Jul 2008 17:16:37 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id BD57C3C8A932; Thu, 24 Jul 2008 14:16:31 -0700 (PDT) Message-ID: <4888F12E.3020209@cowan.name> Date: Thu, 24 Jul 2008 14:16:30 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4892 Lines: 103 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Scogland wrote: >> While I'm relatively new here I thought I'd throw in my 2 cents on the >> matter. Having everything doable via scripting sounds good, but it >> should be a situation where something is only done in scripting if you >> want to replace the default so as to reduce the overhead for the people >> that just want to use the defaults. Or as Micah pointed out, things that >> currently are handled poorly, and would significantly benefit from >> scripting without adding too much overhead (string escapes etc.). Right. That's essentially what Emacs does: use C implementations where efficiency is important, but allow users to override with Lisp >> As far as what language to use, I know lisp and guile and the like are >> classic choices, but might it be a good idea to make it a language >> people are likely to know outside of the context of scripting? I'm not >> saying it has to be, but something in the python/perl/ruby/haskell >> family might be a good idea if only because people know them well >> already. I'm not sure I agree on "people know them well" for Haskell. Scheme /Lisp probably has a larger developer base than Haskell does. The only reasons I prefer Guile over those, is (1) it's much more straightforward to use complex constructs, such as loops, within an expression, and (2) GNU recommends it as first choice for scripting in GNU projects (it's a GNU project, so would be "eating our own dogfood"). What I mean about complex constructs in expressions, is that in many other languages, iterative constructs such as for-loops are statements, not expressions. So, for instance, setting "hardstatus" to an expression that dynamically generates a string by iterating over the window-list is straightforward. In some of other languages, it might be impossible. Perl could do it, probably with grep and map; Python could probably do something similar. It wouldn't be a problem in Haskell. I don't know about Ruby. But I suspect only in Guile and Haskell would it look like something other than a bit of a hack. >> It's like the experience with vim, it has a primary scripting >> language, which is different from what most people know, which people >> used because it's what was there, but finally python support went in and >> several complex extensions came into existance which could not have >> otherwise. Just something to consider. (NOTE: I'm not a python user >> personally, just used as an example) AFAICT, that's more an argument for using a full-featured language, than any particular language. Part of the philosophy that went into creating Guile was that by providing a powerful language, people could implement their favorite languages in Scheme, and so people could work in whichever language they like best. That sounds nice in theory, but as far as I know no one has actually implemented their favorite languages in Guile, probably because it wasn't worth the effort, so that's not much of a boon. :) >> A final word here, bloat=bad. > >> I would really like to see scripting, but if it means an emacs-like >> distribution of 100+ MB of scripting files and the generation of a >> program which does everything well except what it was designed for, then >> the point has been missed. I disagree that Emacs doesn't excel at what it was designed for; but it obviously excels at many things that are entirely unrelated to editing, as well. I suspect we don't have to worry too much about that for Screen; but part of that may depend on how choosy we are about what we let into the Screen distribution. For my part, I don't currently see any reason why we would need to provide any Scheme code with Screen whatsoever, apart from probably a sample ~/.screenrc.scm, and perhaps other example scripts. Sure, a powerful programming language means that folks could write "Towers of Hanoi" or an email client within Screen; but that doesn't mean we have to include it. And anyway, why would they want to do that when they could just do it in Emacs? To be honest, implementing a Screen within Emacs makes almost as much sense as giving Screen Emacs-like scriptability; Screen has already duplicated quite a bit of Emacs' layout functionality and such, some of it not yet as well as Emacs itself does it. But I doubt anyone's interested in seeing that happen. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiPEu7M8hyUobTrERAmTKAJ0fEk04Ir9HJCxpzBxH3JFAim+wiwCfd/vm OWOFmVvTHGDk9PXhhbeEz8A= =el6F -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 17:25:39 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0866973E393 for ; Thu, 24 Jul 2008 17:25:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:34251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8Ja-00023H-DI for erik@plastic-idolatry.com; Thu, 24 Jul 2008 17:25:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM8J8-0001u8-BU for screen-users@gnu.org; Thu, 24 Jul 2008 17:25:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM8J7-0001tn-On for screen-users@gnu.org; Thu, 24 Jul 2008 17:25:06 -0400 Received: from [199.232.76.173] (port=60066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8J5-0001tI-V7; Thu, 24 Jul 2008 17:25:04 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:33358) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM8J5-0007ze-Lv; Thu, 24 Jul 2008 17:25:03 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 1BA223C8A932; Thu, 24 Jul 2008 14:25:02 -0700 (PDT) Message-ID: <4888F32D.8070701@cowan.name> Date: Thu, 24 Jul 2008 14:25:01 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> In-Reply-To: <4888F12E.3020209@cowan.name> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 841 Lines: 29 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan wrote: > To be honest, implementing a Screen within Emacs makes almost as much > sense as giving Screen Emacs-like scriptability Come to think of it, that functionality more-or-less already exists; "M-x term" within Emacs pretty much fits the bill. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiPMt7M8hyUobTrERAlYqAJ9MQHkGsDze6kVaxsG49Ws60XYljACfaO4z 1V4xwi2b0RLC7qGYRBOB3q0= =+nCZ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 17:33:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 88B3973E393 for ; Thu, 24 Jul 2008 17:33:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:55147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8R1-00060k-0Z for erik@plastic-idolatry.com; Thu, 24 Jul 2008 17:33:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM8QY-0005sC-0k for screen-users@gnu.org; Thu, 24 Jul 2008 17:32:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM8QU-0005rI-In for screen-users@gnu.org; Thu, 24 Jul 2008 17:32:45 -0400 Received: from [199.232.76.173] (port=41898 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8QU-0005rE-Ff for screen-users@gnu.org; Thu, 24 Jul 2008 17:32:42 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:11508) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM8QT-0000gP-Lz for screen-users@gnu.org; Thu, 24 Jul 2008 17:32:42 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2465219wfc.24 for ; Thu, 24 Jul 2008 14:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=FoCy60hUAnMYGqYtXOeuTaOf3iTiw9KRVqA8Sgloy74=; b=ABqpOnpsJNf6am3BK/eLro6PKZJqIMf2VEGcTg+J474sF6KUV9unw/gi7Ww4HFM+PB WoA7lrnDQ+Gj6POpMCbR8+oVDTjkLogMtCTOkBrXWe2omJOkK9Hj1TU8eoT6Tr6fECYo TghCK5PXXZVdaig2f5RdlhO7p+Q0f1gIX0FR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=D9Pm4PRh302HeLlQ5F49WHOouYRBV0nWp5u60TTvKtLrv2WXroiYVCDBAlwpdVmu2+ 1BhcM/n45/x5+XQEDB0oW02mIT/ocQxHg3W0how8XPi0QnBWHxr/CnzCkkWpCmO6xlVX qpfK7pA33vTLohm4Ok5IoUdbGih+77C1U4j6w= Received: by 10.142.177.7 with SMTP id z7mr265713wfe.249.1216935160554; Thu, 24 Jul 2008 14:32:40 -0700 (PDT) Received: by 10.142.174.12 with HTTP; Thu, 24 Jul 2008 14:32:40 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 16:32:40 -0500 From: "Tom Scogland" To: "Micah Cowan" In-Reply-To: <4888F12E.3020209@cowan.name> MIME-Version: 1.0 References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Screen development , screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1036631873==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 15243 Lines: 286 --===============1036631873== Content-Type: multipart/alternative; boundary="----=_Part_82050_21319469.1216935160553" ------=_Part_82050_21319469.1216935160553 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jul 24, 2008 at 4:16 PM, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tom Scogland wrote: > >> While I'm relatively new here I thought I'd throw in my 2 cents on the > >> matter. Having everything doable via scripting sounds good, but it > >> should be a situation where something is only done in scripting if you > >> want to replace the default so as to reduce the overhead for the people > >> that just want to use the defaults. Or as Micah pointed out, things that > >> currently are handled poorly, and would significantly benefit from > >> scripting without adding too much overhead (string escapes etc.). > > Right. That's essentially what Emacs does: use C implementations where > efficiency is important, but allow users to override with Lisp > > >> As far as what language to use, I know lisp and guile and the like are > >> classic choices, but might it be a good idea to make it a language > >> people are likely to know outside of the context of scripting? I'm not > >> saying it has to be, but something in the python/perl/ruby/haskell > >> family might be a good idea if only because people know them well > >> already. > > I'm not sure I agree on "people know them well" for Haskell. Scheme > /Lisp probably has a larger developer base than Haskell does. Very true, haskell was a bad example, but the point remains the same. > > > The only reasons I prefer Guile over those, is (1) it's much more > straightforward to use complex constructs, such as loops, within an > expression, and (2) GNU recommends it as first choice for scripting in > GNU projects (it's a GNU project, so would be "eating our own dogfood"). > > What I mean about complex constructs in expressions, is that in many > other languages, iterative constructs such as for-loops are statements, > not expressions. So, for instance, setting "hardstatus" to an expression > that dynamically generates a string by iterating over the window-list is > straightforward. In some of other languages, it might be impossible. > Perl could do it, probably with grep and map; Python could probably do > something similar. It wouldn't be a problem in Haskell. I don't know > about Ruby. But I suspect only in Guile and Haskell would it look like > something other than a bit of a hack. Generally that might be true, but there are lambdas and the like as well as 'map' in perl and python. If the consensus is guile, that's fine, and you're absolutely right about it making sense for a gnu project, it's just that there are many people who are uncomfortable with, or even militantly opposed to, lisp based languages. > > > >> It's like the experience with vim, it has a primary scripting > >> language, which is different from what most people know, which people > >> used because it's what was there, but finally python support went in and > >> several complex extensions came into existance which could not have > >> otherwise. Just something to consider. (NOTE: I'm not a python user > >> personally, just used as an example) > > AFAICT, that's more an argument for using a full-featured language, than > any particular language. > Part of the philosophy that went into creating Guile was that by > providing a powerful language, people could implement their favorite > languages in Scheme, and so people could work in whichever language they > like best. That sounds nice in theory, but as far as I know no one has > actually implemented their favorite languages in Guile, probably because > it wasn't worth the effort, so that's not much of a boon. :) Agreed. > > > >> A final word here, bloat=bad. > > > >> I would really like to see scripting, but if it means an emacs-like > >> distribution of 100+ MB of scripting files and the generation of a > >> program which does everything well except what it was designed for, then > >> the point has been missed. > > I disagree that Emacs doesn't excel at what it was designed for; but it > obviously excels at many things that are entirely unrelated to editing, > as well. To clarify, I don't think emacs is necessarily bad at what it's meant for, but it's easy to fall into that trap when you can do anything in the program. For that matter it's easy to get into a pattern of adding more features instead of improving the existing ones, something of which many projects are guilty but it's best to avoid if possible. > > > I suspect we don't have to worry too much about that for Screen; but > part of that may depend on how choosy we are about what we let into the > Screen distribution. For my part, I don't currently see any reason why > we would need to provide any Scheme code with Screen whatsoever, apart > from probably a sample ~/.screenrc.scm, and perhaps other example > scripts. Sure, a powerful programming language means that folks could > write "Towers of Hanoi" or an email client within Screen; but that > doesn't mean we have to include it. And anyway, why would they want to > do that when they could just do it in Emacs? > > To be honest, implementing a Screen within Emacs makes almost as much > sense as giving Screen Emacs-like scriptability; Screen has already > duplicated quite a bit of Emacs' layout functionality and such, some of > it not yet as well as Emacs itself does it. But I doubt anyone's > interested in seeing that happen. :) > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIiPEu7M8hyUobTrERAmTKAJ0fEk04Ir9HJCxpzBxH3JFAim+wiwCfd/vm > OWOFmVvTHGDk9PXhhbeEz8A= > =el6F > -----END PGP SIGNATURE----- > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > One way or another, I think any way this gets done will put the project ahead of where it is. For that matter I'm glad to see so much life back in this list. =) -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_82050_21319469.1216935160553 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


On Thu, Jul 24, 2008 at 4:16 PM, Micah Cowan <micah@cowan.name> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Scogland wrote:
>> While I'm relatively new here I thought I'd throw in my 2 cents on the
>> matter. Having everything doable via scripting sounds good, but it
>> should be a situation where something is only done in scripting if you
>> want to replace the default so as to reduce the overhead for the people
>> that just want to use the defaults. Or as Micah pointed out, things that
>> currently are handled poorly, and would significantly benefit from
>> scripting without adding too much overhead (string escapes etc.).

Right. That's essentially what Emacs does: use C implementations where
efficiency is important, but allow users to override with Lisp

>> As far as what language to use, I know lisp and guile and the like are
>> classic choices, but might it be a good idea to make it a language
>> people are likely to know outside of the context of scripting? I'm not
>> saying it has to be, but something in the python/perl/ruby/haskell
>> family might be a good idea if only because people know them well
>> already.

I'm not sure I agree on "people know them well" for Haskell. Scheme
/Lisp probably has a larger developer base than Haskell does.
Very true, haskell was a bad example, but the point remains the same.  


The only reasons I prefer Guile over those, is (1) it's much more
straightforward to use complex constructs, such as loops, within an
expression, and (2) GNU recommends it as first choice for scripting in
GNU projects (it's a GNU project, so would be "eating our own dogfood").

What I mean about complex constructs in expressions, is that in many
other languages, iterative constructs such as for-loops are statements,
not expressions. So, for instance, setting "hardstatus" to an expression
that dynamically generates a string by iterating over the window-list is
straightforward. In some of other languages, it might be impossible.
Perl could do it, probably with grep and map; Python could probably do
something similar. It wouldn't be a problem in Haskell. I don't know
about Ruby. But I suspect only in Guile and Haskell would it look like
something other than a bit of a hack.
Generally that might be true, but there are lambdas and the like as well as 'map' in perl and python.  If the consensus is guile, that's fine, and you're absolutely right about it making sense for a gnu project, it's just that there are many people who are uncomfortable with, or even militantly opposed to, lisp based languages.


>> It's like the experience with vim, it has a primary scripting
>> language, which is different from what most people know, which people
>> used because it's what was there, but finally python support went in and
>> several complex extensions came into existance which could not have
>> otherwise.  Just something to consider. (NOTE: I'm not a python user
>> personally, just used as an example)

AFAICT, that's more an argument for using a full-featured language, than
any particular language.

Part of the philosophy that went into creating Guile was that by
providing a powerful language, people could implement their favorite
languages in Scheme, and so people could work in whichever language they
like best. That sounds nice in theory, but as far as I know no one has
actually implemented their favorite languages in Guile, probably because
it wasn't worth the effort, so that's not much of a boon. :)
Agreed. 


>> A final word here, bloat=bad.
>
>> I would really like to see scripting, but if it means an emacs-like
>> distribution of 100+ MB of scripting files and the generation of a
>> program which does everything well except what it was designed for, then
>> the point has been missed.

I disagree that Emacs doesn't excel at what it was designed for; but it
obviously excels at many things that are entirely unrelated to editing,
as well.
To clarify, I don't think emacs is necessarily bad at what it's meant for, but it's easy to fall into that trap when you can do anything in the program. For that matter it's easy to get into a pattern of adding more features instead of improving the existing ones, something of which many projects are guilty but it's best to avoid if possible.


I suspect we don't have to worry too much about that for Screen; but
part of that may depend on how choosy we are about what we let into the
Screen distribution. For my part, I don't currently see any reason why
we would need to provide any Scheme code with Screen whatsoever, apart
from probably a sample ~/.screenrc.scm, and perhaps other example
scripts. Sure, a powerful programming language means that folks could
write "Towers of Hanoi" or an email client within Screen; but that
doesn't mean we have to include it. And anyway, why would they want to
do that when they could just do it in Emacs?

To be honest, implementing a Screen within Emacs makes almost as much
sense as giving Screen Emacs-like scriptability; Screen has already
duplicated quite a bit of Emacs' layout functionality and such, some of
it not yet as well as Emacs itself does it. But I doubt anyone's
interested in seeing that happen. :)

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiPEu7M8hyUobTrERAmTKAJ0fEk04Ir9HJCxpzBxH3JFAim+wiwCfd/vm
OWOFmVvTHGDk9PXhhbeEz8A=
=el6F
-----END PGP SIGNATURE-----


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

One way or another, I think any way this gets done will put the project ahead of where it is.  For that matter I'm glad to see so much life back in this list. =)

--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_82050_21319469.1216935160553-- --===============1036631873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1036631873==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 17:55:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EBEEB73E393 for ; Thu, 24 Jul 2008 17:55:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:55308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8mB-0001ai-3g for erik@plastic-idolatry.com; Thu, 24 Jul 2008 17:55:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM8lu-0001Zb-0M for screen-users@gnu.org; Thu, 24 Jul 2008 17:54:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM8lt-0001Z6-Jl for screen-users@gnu.org; Thu, 24 Jul 2008 17:54:49 -0400 Received: from [199.232.76.173] (port=50309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8lr-0001XR-J8; Thu, 24 Jul 2008 17:54:47 -0400 Received: from silene.metacarta.com ([208.80.142.18]:54872) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KM8lr-0005Qf-3c; Thu, 24 Jul 2008 17:54:47 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 06DFF14C808D; Thu, 24 Jul 2008 17:54:46 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 16772-14; Thu, 24 Jul 2008 17:54:45 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 5350E14C808C; Thu, 24 Jul 2008 17:54:45 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1KM8lp-0001vj-93; Thu, 24 Jul 2008 17:54:45 -0400 From: Mark Eichin To: Micah Cowan References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> Date: Thu, 24 Jul 2008 17:54:45 -0400 In-Reply-To: <4888F32D.8070701@cowan.name> (Micah Cowan's message of "Thu, 24 Jul 2008 14:25:01 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen development , screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 653 Lines: 18 Micah Cowan writes: > Micah Cowan wrote: >> To be honest, implementing a Screen within Emacs makes almost as much >> sense as giving Screen Emacs-like scriptability > > Come to think of it, that functionality more-or-less already exists; > "M-x term" within Emacs pretty much fits the bill. Combined with wicos.el (or one of the more modern versions, escreen I think?) you get the switch-screens-in-this-window part too. The thing you probably don't get is talks-to-serial-ports :-) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 18:40:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BE3A073FC3F for ; Thu, 24 Jul 2008 18:40:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:48023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9UQ-0008E5-Ef for erik@plastic-idolatry.com; Thu, 24 Jul 2008 18:40:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM9Tt-00080M-RQ for screen-users@gnu.org; Thu, 24 Jul 2008 18:40:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM9Ts-0007zR-Jj for screen-users@gnu.org; Thu, 24 Jul 2008 18:40:17 -0400 Received: from [199.232.76.173] (port=60154 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9Ts-0007zJ-8s for screen-users@gnu.org; Thu, 24 Jul 2008 18:40:16 -0400 Received: from prime.gushi.org ([72.9.101.130]:59582) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KM9Tr-0004Gv-Rh for screen-users@gnu.org; Thu, 24 Jul 2008 18:40:16 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6OMdrEv013462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Jul 2008 18:39:55 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216922818; bh=sbfBEDdY3BFH9FAZf0GgSBEX7B4=; h=DomainKey-Signature:Date:From:To:Subject:Message-ID:User-Agent: MIME-Version:Content-Type; b=egekmeDVxhG8EqUhJreIGlDONMdoIVkZbDROy oUk8m24/xhhjAmVH9o+rYx1bHYvDJ2S4k1p9xkp42y1mxYWHg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:message-id:user-agent: mime-version:content-type; b=j7w5Q920aYnCgoDYVf4pTETr/z6EPHjKHMQqDibcLGuX4kVJ0D04ZwlgTVDe36La4 9EbbmNzBstjzlO6uIvRFw== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6OMdniu013453; Thu, 24 Jul 2008 18:39:49 -0400 (EDT) (envelope-from danm) Date: Thu, 24 Jul 2008 18:39:47 -0400 (EDT) From: "Dan Mahoney, System Admin" To: screen-users@gnu.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 24 Jul 2008 18:06:58 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1065 Lines: 40 Hey all, I need two features added to screen, but I'm not a coder. I can (and have) discussed on this list, as well as having seen these features justified and explained on mailing lists before, but I don't believe they work at this time. 1) Make printing work. And by that I mean make it work JUST as it would work without screen, i.e. not "buffer" and send a bunch of printer stop/start sequences every 30 characters -- many SSH applications interpret that stop sequence as a page feed. 2) Make mouse work. I haven't seen much with this. I'm willing to toss something monetary at a developer or developers who can look at this and make it happen. Any takers? -Dan Mahoney -- "It would be bad." -Egon Spengler, "Ghostbusters" --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 18:43:06 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6EACE73F967 for ; Thu, 24 Jul 2008 18:43:05 -0400 (EDT) Received: from localhost ([127.0.0.1]:48815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9WW-00014w-VE for erik@plastic-idolatry.com; Thu, 24 Jul 2008 18:43:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM9WA-000146-J6 for screen-users@gnu.org; Thu, 24 Jul 2008 18:42:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM9W6-00011Y-U4 for screen-users@gnu.org; Thu, 24 Jul 2008 18:42:38 -0400 Received: from [199.232.76.173] (port=60205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9W6-00011V-QH for screen-users@gnu.org; Thu, 24 Jul 2008 18:42:34 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:24304) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM9W5-0004lT-Ji for screen-users@gnu.org; Thu, 24 Jul 2008 18:42:34 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2486762wfc.24 for ; Thu, 24 Jul 2008 15:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=dBnu510uuGtgX/nh9c8g8aX9bGKgcx0Ez0TycrPqeaI=; b=WUB8yzslxG/vV9Df6o6aaiZEDlQcQzrpXcjOkwKrjtELqwDnM+Pf3iO42zz4QkE2Gp QzCaD7de/P4PYPEBstwFFn3fmOFtFtn8psejUl8LAktAHUoRO8GUlnXVX0AhV67lfkfQ 3gif3/EKM5L019mn6rw6fbpxGCKOqQwgJ2UNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=l+NxeBv8ScoZ0ReA4Erg5MPmOoxwV6fF52iyUtI0/SAy7MZEoigeuNy0LoRcn4CnPh kmRmEn4eoAaWMCGEQiNLQFifGjUyU/ZMA6QoXPNeT74J+b/IPO18BdpUj5cvi8FuH7ve RvvNh0j4GP+n4olJxklpdY/L0EO5QpdLOxdd0= Received: by 10.142.194.1 with SMTP id r1mr282621wff.306.1216939349886; Thu, 24 Jul 2008 15:42:29 -0700 (PDT) Received: by 10.142.174.12 with HTTP; Thu, 24 Jul 2008 15:42:29 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 17:42:29 -0500 From: "Tom Scogland" To: "Dan Mahoney, System Admin" In-Reply-To: MIME-Version: 1.0 References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1458581350==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4423 Lines: 129 --===============1458581350== Content-Type: multipart/alternative; boundary="----=_Part_82407_11159301.1216939349882" ------=_Part_82407_11159301.1216939349882 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline What do you mean about the mouse? It already sends mouse codes through from a terminal... On Thu, Jul 24, 2008 at 5:39 PM, Dan Mahoney, System Admin < danm@prime.gushi.org> wrote: > Hey all, > > I need two features added to screen, but I'm not a coder. I can (and have) > discussed on this list, as well as having seen these features justified and > explained on mailing lists before, but I don't believe they work at this > time. > > 1) Make printing work. And by that I mean make it work JUST as it would > work without screen, i.e. not "buffer" and send a bunch of printer > stop/start sequences every 30 characters -- many SSH applications interpret > that stop sequence as a page feed. > > 2) Make mouse work. I haven't seen much with this. > > I'm willing to toss something monetary at a developer or developers who can > look at this and make it happen. > > Any takers? > > -Dan Mahoney > > -- > > "It would be bad." > > -Egon Spengler, "Ghostbusters" > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site: http://www.gushi.org > --------------------------- > > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_82407_11159301.1216939349882 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
What do you mean about the mouse? It already sends mouse codes through from a terminal...

On Thu, Jul 24, 2008 at 5:39 PM, Dan Mahoney, System Admin <danm@prime.gushi.org> wrote:
Hey all,

I need two features added to screen, but I'm not a coder.  I can (and have) discussed on this list, as well as having seen these features justified and explained on mailing lists before, but I don't believe they work at this time.

1) Make printing work.  And by that I mean make it work JUST as it would work without screen, i.e. not "buffer" and send a bunch of printer stop/start sequences every 30 characters -- many SSH applications interpret that stop sequence as a page feed.

2) Make mouse work.  I haven't seen much with this.

I'm willing to toss something monetary at a developer or developers who can look at this and make it happen.

Any takers?

-Dan Mahoney

--

"It would be bad."

-Egon Spengler, "Ghostbusters"

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users



--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_82407_11159301.1216939349882-- --===============1458581350== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1458581350==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 18:59:26 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8126473F967 for ; Thu, 24 Jul 2008 18:59:25 -0400 (EDT) Received: from localhost ([127.0.0.1]:52240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9mI-0000kZ-GL for erik@plastic-idolatry.com; Thu, 24 Jul 2008 18:59:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM9ly-0000jI-B1 for screen-users@gnu.org; Thu, 24 Jul 2008 18:58:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM9lw-0000ir-Tx for screen-users@gnu.org; Thu, 24 Jul 2008 18:58:57 -0400 Received: from [199.232.76.173] (port=50856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9lw-0000in-Md for screen-users@gnu.org; Thu, 24 Jul 2008 18:58:56 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:41766) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM9lv-0006pY-LV for screen-users@gnu.org; Thu, 24 Jul 2008 18:58:56 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 492AF3C8A932; Thu, 24 Jul 2008 15:58:50 -0700 (PDT) Message-ID: <48890928.7060205@cowan.name> Date: Thu, 24 Jul 2008 15:58:48 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Tom Scogland References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3389 Lines: 108 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Perhaps he's referring to the fact that it won't work until the application requests mouse tracking, and several applications don't request mouse tracking from screen. If that's the case, there's really nothing we can do until terminfo supports a way of advertising DEC/xterm mouse capabilities (kmous doesn't really cut it). I'd need more info on the printing stuff, as I never use it. I assume we're talking about the Print Window / Redirect to Printer feature Xterm has, that's tracked at https://savannah.gnu.org/bugs/?17310. I don't know enough to even know whether it's even practical to "fix" screen for use with that, but a monetary incentive for fixing it would at least motivate me to dig in a bit more (TBH, without that incentive it drops to the bottom of my to-do list: not enough demand AFAICT). - -Micah Tom Scogland wrote: > What do you mean about the mouse? It already sends mouse codes through > from a terminal... > > On Thu, Jul 24, 2008 at 5:39 PM, Dan Mahoney, System Admin > > wrote: > > Hey all, > > I need two features added to screen, but I'm not a coder. I can > (and have) discussed on this list, as well as having seen these > features justified and explained on mailing lists before, but I > don't believe they work at this time. > > 1) Make printing work. And by that I mean make it work JUST as it > would work without screen, i.e. not "buffer" and send a bunch of > printer stop/start sequences every 30 characters -- many SSH > applications interpret that stop sequence as a page feed. > > 2) Make mouse work. I haven't seen much with this. > > I'm willing to toss something monetary at a developer or developers > who can look at this and make it happen. > > Any takers? > > -Dan Mahoney > > -- > > "It would be bad." > > -Egon Spengler, "Ghostbusters" > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site: http://www.gushi.org > --------------------------- > > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > > > > > -- > -N > AKA:Tom Scogland > I am enough of an artist to draw freely upon my imagination. Imagination > is more important than knowledge. Knowledge is limited. Imagination > encircles the world. > -Albert Einstein > > > ------------------------------------------------------------------------ > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiQko7M8hyUobTrERAlVSAKCEitiPt8GnjcZi3kMC1fF1sNi2RgCfZ8Ej zbV+wJGwShYvItmMt7K0nso= =6noM -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 19:10:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B1D1C733F0D for ; Thu, 24 Jul 2008 19:10:31 -0400 (EDT) Received: from localhost ([127.0.0.1]:59712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9x4-0003o2-EO for erik@plastic-idolatry.com; Thu, 24 Jul 2008 19:10:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM9w1-0003RQ-Au for screen-users@gnu.org; Thu, 24 Jul 2008 19:09:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM9vz-0003Pv-E2 for screen-users@gnu.org; Thu, 24 Jul 2008 19:09:20 -0400 Received: from [199.232.76.173] (port=48894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9vx-0003Os-In; Thu, 24 Jul 2008 19:09:17 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:42704) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM9vx-0008GP-E0; Thu, 24 Jul 2008 19:09:17 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 0E70D3C8A932; Thu, 24 Jul 2008 16:09:15 -0700 (PDT) Message-ID: <48890B9B.3010907@cowan.name> Date: Thu, 24 Jul 2008 16:09:15 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> <87tzee51l5.fsf@saeurebad.de> In-Reply-To: <87tzee51l5.fsf@saeurebad.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1060 Lines: 38 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes Weiner wrote: > Hi, > > Micah Cowan writes: > >> Micah Cowan wrote: >>> To be honest, implementing a Screen within Emacs makes almost as much >>> sense as giving Screen Emacs-like scriptability >> Come to think of it, that functionality more-or-less already exists; >> "M-x term" within Emacs pretty much fits the bill. > > Only a dumb terminal, though :( Nope. M-x terminal is the dumb terminal. M-x term gives a fully-emulated terminal ("eterm"). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiQub7M8hyUobTrERAnohAJ9jJsVB5rHaaiLmyrggORzlsze1qACfY/bd FkZLPlV194maMqNi444OrWw= =vfXo -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 19:26:51 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7E29F733F0D for ; Thu, 24 Jul 2008 19:26:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:57470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMACr-0007Le-PN for erik@plastic-idolatry.com; Thu, 24 Jul 2008 19:26:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMACa-0007LL-R7 for screen-users@gnu.org; Thu, 24 Jul 2008 19:26:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMACZ-0007L1-Ox for screen-users@gnu.org; Thu, 24 Jul 2008 19:26:28 -0400 Received: from [199.232.76.173] (port=39926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMACZ-0007Ky-Fh for screen-users@gnu.org; Thu, 24 Jul 2008 19:26:27 -0400 Received: from prime.gushi.org ([72.9.101.130]:51621) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMACY-0002hd-HJ for screen-users@gnu.org; Thu, 24 Jul 2008 19:26:27 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6ONQ7Qu037490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jul 2008 19:26:08 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216925592; bh=TRr1vfVJj1/ekLkKoeFzse/y/9I=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=QjIE YPQ6Fq1WypbWM8P5/L+hNQtnsBCH0yWyMDBCfdc9cwbWRhGsssM4HMtbQTco1uv9Bpk qYt2L4DEkF4T5RQ== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=hvIpwOgqarv3OgOz9U5ihGfmNvBUDUJlOJEoWrk3HNz8W2cYeMJNgC9tKkSpC/oCM F7fIv1/0LBcwuh/X2kn8g== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6ONQ7dr037489; Thu, 24 Jul 2008 19:26:07 -0400 (EDT) (envelope-from danm) Date: Thu, 24 Jul 2008 19:26:06 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Tom Scogland In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-914270223-1216941967=:74296" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 24 Jul 2008 18:53:12 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3102 Lines: 102 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-914270223-1216941967=:74296 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Thu, 24 Jul 2008, Tom Scogland wrote: > What do you mean about the mouse? It already sends mouse codes through from a terminal... Using gnome-terminal under linux, to a FreeBSD 6.2 system. Mouse works. I fire up screen (with screen 4.00.02 (FAU) 5-Dec-03 built from ports) and it doesn't in either Alpine or Nano, both of which otherwise support it. Unlike printing, I don't know what terminal codes to look for to know if the mouse is supported. -Dan > > On Thu, Jul 24, 2008 at 5:39 PM, Dan Mahoney, System Admin wrote: > Hey all, > > I need two features added to screen, but I'm not a coder. I can (and have) discussed on this list, as well as having seen these features justified > and explained on mailing lists before, but I don't believe they work at this time. > > 1) Make printing work. And by that I mean make it work JUST as it would work without screen, i.e. not "buffer" and send a bunch of printer > stop/start sequences every 30 characters -- many SSH applications interpret that stop sequence as a page feed. > > 2) Make mouse work. I haven't seen much with this. > > I'm willing to toss something monetary at a developer or developers who can look at this and make it happen. > > Any takers? > > -Dan Mahoney > > -- > > "It would be bad." > > -Egon Spengler, "Ghostbusters" > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site: http://www.gushi.org > --------------------------- > > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > > > > > -- > -N > AKA:Tom Scogland > I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the > world. > -Albert Einstein > > -- "I am a professional drinker, and I know that that was NOT Jose Cuervo!" "Well, what was it then?" "I think it was some mixture of Rubbing Alcohol, and Desenex(TM) Foot Powder, because my feet feel okay, and my back doesn't hurt, but my stomach is killing me!" -Dan Mahoney, Costa Rica, August 12th, 1994 --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- --0-914270223-1216941967=:74296 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --0-914270223-1216941967=:74296-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 19:44:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5FF24733F0D for ; Thu, 24 Jul 2008 19:44:03 -0400 (EDT) Received: from localhost ([127.0.0.1]:42716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMATV-0008VW-VQ for erik@plastic-idolatry.com; Thu, 24 Jul 2008 19:43:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMAT5-0008TS-PY for screen-users@gnu.org; Thu, 24 Jul 2008 19:43:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMAT4-0008Pq-12 for screen-users@gnu.org; Thu, 24 Jul 2008 19:43:31 -0400 Received: from [199.232.76.173] (port=33407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAT3-0008Pk-Oz for screen-users@gnu.org; Thu, 24 Jul 2008 19:43:29 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:45675) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMAT3-0005QK-B2 for screen-users@gnu.org; Thu, 24 Jul 2008 19:43:29 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id E45103C8A932; Thu, 24 Jul 2008 16:43:24 -0700 (PDT) Message-ID: <4889139C.1010804@cowan.name> Date: Thu, 24 Jul 2008 16:43:24 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1857 Lines: 53 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Mahoney, System Admin wrote: > On Thu, 24 Jul 2008, Tom Scogland wrote: > >> What do you mean about the mouse? It already sends mouse codes through >> from a terminal... > > Using gnome-terminal under linux, to a FreeBSD 6.2 system. Mouse works. > > I fire up screen (with screen 4.00.02 (FAU) 5-Dec-03 built from ports) > and it doesn't in either Alpine or Nano, both of which otherwise support > it. Nano works for me, at least after I type M-m. It doesn't work outside of screen unless I type M-m, either. I don't have Alpine. But as previously mentioned, the problem isn't that screen doesn't support terminal mouse codes; the problem is that there is no mechanism for screen to advertise to applications that it supports it, and so many applications won't send the codes to request that support. This is a terminfo issue, and I hope at some point to get together with the ncurses folks and whoever else it might concern, to work towards resolution of this problem, and some others. However, it's not going to happen overnight, and every mouse-capable application will need to adjust to that mechanism, once it exists. I have been successfully using both Emacs and Vim under screen with mouse support. Both required configuration adjustments to make it happen. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiROb7M8hyUobTrERAtveAJ9ebDZvNpbCAc4BVBg24YQHCyDtXQCeJiiF A8oZEkqCa+j6IZDuc5mqHeI= =ZEyL -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 19:45:05 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 18AE3733F0D for ; Thu, 24 Jul 2008 19:45:03 -0400 (EDT) Received: from localhost ([127.0.0.1]:43173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAUW-0001TW-5e for erik@plastic-idolatry.com; Thu, 24 Jul 2008 19:45:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMATm-00010m-2f for screen-users@gnu.org; Thu, 24 Jul 2008 19:44:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMATk-0000yI-GY for screen-users@gnu.org; Thu, 24 Jul 2008 19:44:13 -0400 Received: from [199.232.76.173] (port=33443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMATk-0000xp-8R for screen-users@gnu.org; Thu, 24 Jul 2008 19:44:12 -0400 Received: from prime.gushi.org ([72.9.101.130]:60051) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMATj-0005WR-EQ for screen-users@gnu.org; Thu, 24 Jul 2008 19:44:12 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6ONhmJ0046399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Jul 2008 19:43:53 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216926659; bh=ayZRwUUfOi8VTGivLCcNuwEgMfQ=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=14GU U/pJQcOV6okU+LGLEZYOXa80QmNO2/vM1EwDdmMRR0fzxnHBq1VRkUFi9++6s5iujTK ZtpbpH5HLOkCJSg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=P5uoGoRsaGhI2wfAdbY7TZnac7TbPxyLqa15dnu+v2/Tqh48GAoS6v69r0VFF91Qw R4aHQL1E7X5ihKLpNtP0w== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6ONhmf5046398; Thu, 24 Jul 2008 19:43:48 -0400 (EDT) (envelope-from danm) Date: Thu, 24 Jul 2008 19:43:47 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Micah Cowan In-Reply-To: <48890928.7060205@cowan.name> Message-ID: References: <48890928.7060205@cowan.name> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 24 Jul 2008 19:10:59 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4718 Lines: 143 On Thu, 24 Jul 2008, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Perhaps he's referring to the fact that it won't work until the > application requests mouse tracking, and several applications don't > request mouse tracking from screen. Is there a way to trace if this is happening? I've given you the applications I use. Micah, I've been a user and advocate of wget for many years. If you would like a shell, please let me know. > If that's the case, there's really nothing we can do until terminfo > supports a way of advertising DEC/xterm mouse capabilities (kmous > doesn't really cut it). ..if (windowtitle =~ /^nano/) { set sendmouseevents = 1; } would suffice just fine. Or just give us an option to toggle mouse events on or off by default. Or a ctrl-a :mouseon! My xterm doesn't know what on the other end of an SSH session is requesting or not, it just happily sends the click events down the pipe. Aware applications use them. Unaware apps discard them. > I'd need more info on the printing stuff, as I never use it. I assume > we're talking about the Print Window / Redirect to Printer feature Xterm > has, that's tracked at https://savannah.gnu.org/bugs/?17310. I don't > know enough to even know whether it's even practical to "fix" screen for > use with that, but a monetary incentive for fixing it would at least > motivate me to dig in a bit more (TBH, without that incentive it drops > to the bottom of my to-do list: not enough demand AFAICT). http://www.mail-archive.com/screen-users@gnu.org/msg01387.html Additionally to the requests I've made there -- a possible option is to disable the window-switching commands (in fact, disable ctrl-a entirely so the screen switching doesn't hose the print job -- but in reality the print comes over the wire so fast it's done in a second, on any modern connection). Contact me out of band to discuss further if you want to pursue this route. -Dan Mahoney >> Hey all, >> >> I need two features added to screen, but I'm not a coder. I can >> (and have) discussed on this list, as well as having seen these >> features justified and explained on mailing lists before, but I >> don't believe they work at this time. >> >> 1) Make printing work. And by that I mean make it work JUST as it >> would work without screen, i.e. not "buffer" and send a bunch of >> printer stop/start sequences every 30 characters -- many SSH >> applications interpret that stop sequence as a page feed. >> >> 2) Make mouse work. I haven't seen much with this. >> >> I'm willing to toss something monetary at a developer or developers >> who can look at this and make it happen. >> >> Any takers? >> >> -Dan Mahoney >> >> -- >> >> "It would be bad." >> >> -Egon Spengler, "Ghostbusters" >> >> --------Dan Mahoney-------- >> Techie, Sysadmin, WebGeek >> Gushi on efnet/undernet IRC >> ICQ: 13735144 AIM: LarpGM >> Site: http://www.gushi.org >> --------------------------- >> >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> >> >> >> >> -- >> -N >> AKA:Tom Scogland >> I am enough of an artist to draw freely upon my imagination. Imagination >> is more important than knowledge. Knowledge is limited. Imagination >> encircles the world. >> -Albert Einstein >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users > > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIiQko7M8hyUobTrERAlVSAKCEitiPt8GnjcZi3kMC1fF1sNi2RgCfZ8Ej > zbV+wJGwShYvItmMt7K0nso= > =6noM > -----END PGP SIGNATURE----- > -- "When I'm lost, and confused, and trying to make a U-turn, nothing annoys me more than someone telling me to watch out for the tombstone!" "How often does that happen, Fab?" -David Feld & Tom Fabry, sometime in High School. --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 20:06:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 14378733F0D for ; Thu, 24 Jul 2008 20:06:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:51094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMApS-0001yH-R1 for erik@plastic-idolatry.com; Thu, 24 Jul 2008 20:06:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMApA-0001xX-Bi for screen-users@gnu.org; Thu, 24 Jul 2008 20:06:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMAp8-0001we-GU for screen-users@gnu.org; Thu, 24 Jul 2008 20:06:19 -0400 Received: from [199.232.76.173] (port=58761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAp8-0001wW-9l for screen-users@gnu.org; Thu, 24 Jul 2008 20:06:18 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:47598) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMAp7-0000DN-A6 for screen-users@gnu.org; Thu, 24 Jul 2008 20:06:17 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 19FDD3C8A932; Thu, 24 Jul 2008 17:06:15 -0700 (PDT) Message-ID: <488918F6.5060104@cowan.name> Date: Thu, 24 Jul 2008 17:06:14 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <48890928.7060205@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3467 Lines: 81 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (My Thunderbird screws up the quoting, yours appear "deeper" than mine.) Dan Mahoney, System Admin wrote: > On Thu, 24 Jul 2008, Micah Cowan wrote: > > Perhaps he's referring to the fact that it won't work until the > application requests mouse tracking, and several applications don't > request mouse tracking from screen. > >> Is there a way to trace if this is happening? I've given you the >> applications I use. Micah, I've been a user and advocate of wget for >> many years. If you would like a shell, please let me know. Well, if you activate logging in the screen window, you can check for the presence of the "send mouse codes" request sequence. It'll be one of \E9h, \E1000h, or \E1001h. > If that's the case, there's really nothing we can do until terminfo > supports a way of advertising DEC/xterm mouse capabilities (kmous > doesn't really cut it). > >> ..if (windowtitle =~ /^nano/) { set sendmouseevents = 1; } would suffice >> just fine. Or just give us an option to toggle mouse events on or off >> by default. Or a ctrl-a :mouseon! My xterm doesn't know what on the >> other end of an SSH session is requesting or not, it just happily sends >> the click events down the pipe. Aware applications use them. Unaware >> apps discard them. That's unlikely to be true. The applications on the other end of the SSH tunnel requested the click events, first (based on the TERM env var having something like "xterm" in it: they check for that value explicitly, but usually don't recognize "screen" as a mouse-capable term name). Try running your ssh session under script, and check for the \E1001h, etc, sequences, in the resulting typescript. You've mentioned Nano, but that actually works for me (it uses ncurses, which assumes decent mouse support if kmous is advertised, which screen does), so long as mouse support has been enabled ("nano -m" or typing M-m). I know that Vim and some other apps do an explicit check for the value of TERM, though, which is why they can't be resolved without configuration adjustments. Blanket sending of mouse codes without them being requested is bad behavior, and would result in spewing codes to the screen in some cases (say, when you suspend nano to work in your shell). The application has to be expecting them. > I'd need more info on the printing stuff, as I never use it. I assume > we're talking about the Print Window / Redirect to Printer feature Xterm > has, that's tracked at https://savannah.gnu.org/bugs/?17310. I don't > know enough to even know whether it's even practical to "fix" screen for > use with that, but a monetary incentive for fixing it would at least > motivate me to dig in a bit more (TBH, without that incentive it drops > to the bottom of my to-do list: not enough demand AFAICT). > >> http://www.mail-archive.com/screen-users@gnu.org/msg01387.html Hm, that doesn't look unachievable. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiRj17M8hyUobTrERAnkXAJ0Zl2eZ2riZrMKiCrLXP/qW10IcpACcDtwj 4q6/VUHPu3zGh2egslncZqM= =tq/b -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 20:09:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6BDEA733F0D for ; Thu, 24 Jul 2008 20:09:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:50836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAsA-0006vE-H3 for erik@plastic-idolatry.com; Thu, 24 Jul 2008 20:09:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMArt-0006ts-Oe for screen-users@gnu.org; Thu, 24 Jul 2008 20:09:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMArr-0006sb-TK for screen-users@gnu.org; Thu, 24 Jul 2008 20:09:09 -0400 Received: from [199.232.76.173] (port=41688 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMArr-0006sY-Qc for screen-users@gnu.org; Thu, 24 Jul 2008 20:09:07 -0400 Received: from hu-out-0506.google.com ([72.14.214.230]:48558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMArq-0000Yf-OA for screen-users@gnu.org; Thu, 24 Jul 2008 20:09:07 -0400 Received: by hu-out-0506.google.com with SMTP id 34so159630hud.1 for ; Thu, 24 Jul 2008 17:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=XoZbSCGlk1/VYOFrNJkhAM59VUs6TJYBwaGNuopPziE=; b=cblH6VrshtaN0xET0WUgSpbrVjbiGQz7ZJcuGGrugV+DnLP7sZ+nvrzXVspvmyUPKg Qa4QkxxWgKgG3PXr9W2n/cyskX7wgIt0vqw8rT6jn2cj7b9isvZQTe8/3D0M5D2POeb0 qWC7UilWyFEKtg8GB9evip7EXEYbBMgLB/FXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=F1x1jvjmtRG3k5EZtnSisg3n3muajkZ780Pum/aRKfRVW5vVMNa3aVxR/mUCK0vqBw K46AC0iWh3IaZxoD6nvYZmxtiaolBQj/32GwkRT8whjOuNUSohItH9aCvzmjmPtYB5tc aVnMsadoEj0yLKwdwyTrsrGjYd9S5qatel6Hs= Received: by 10.210.123.2 with SMTP id v2mr1119357ebc.74.1216944540993; Thu, 24 Jul 2008 17:09:00 -0700 (PDT) Received: from shuttle.home ( [86.146.37.86]) by mx.google.com with ESMTPS id t12sm1616421gvd.10.2008.07.24.17.08.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 17:09:00 -0700 (PDT) Date: Fri, 25 Jul 2008 01:08:54 +0100 From: Thomas Adam To: Micah Cowan Message-ID: <20080725010854.0bbad84a@shuttle.home> In-Reply-To: <4889139C.1010804@cowan.name> References: <4889139C.1010804@cowan.name> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 577 Lines: 19 On Thu, 24 Jul 2008 16:43:24 -0700 Micah Cowan wrote: > I have been successfully using both Emacs and Vim under screen with > mouse support. Both required configuration adjustments to make it > happen. Can you share this information, please? Sounds interesting. :) -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 20:15:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 07F45733F0D for ; Thu, 24 Jul 2008 20:15:54 -0400 (EDT) Received: from localhost ([127.0.0.1]:53227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAyK-0002so-Tg for erik@plastic-idolatry.com; Thu, 24 Jul 2008 20:15:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMAy2-0002sW-8J for screen-users@gnu.org; Thu, 24 Jul 2008 20:15:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMAxy-0002s3-PG for screen-users@gnu.org; Thu, 24 Jul 2008 20:15:28 -0400 Received: from [199.232.76.173] (port=32945 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMAxy-0002ry-LL for screen-users@gnu.org; Thu, 24 Jul 2008 20:15:26 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:48388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMAxx-0001If-Rb for screen-users@gnu.org; Thu, 24 Jul 2008 20:15:26 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id AF05D3C8A932; Thu, 24 Jul 2008 17:15:19 -0700 (PDT) Message-ID: <48891B15.2080306@cowan.name> Date: Thu, 24 Jul 2008 17:15:17 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Thomas Adam References: <4889139C.1010804@cowan.name> <20080725010854.0bbad84a@shuttle.home> In-Reply-To: <20080725010854.0bbad84a@shuttle.home> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1422 Lines: 52 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Adam wrote: > On Thu, 24 Jul 2008 16:43:24 -0700 > Micah Cowan wrote: >> I have been successfully using both Emacs and Vim under screen with >> mouse support. Both required configuration adjustments to make it >> happen. > > Can you share this information, please? Sounds interesting. :) FWIW, I submitted a patch against Vim at one point to enable it automatically. Bram said it looked good, but hasn't applied it yet AFAIK. However, it has been applied against Vim in recent Ubuntu releases. https://bugs.launchpad.net/debian/+source/screen/+bug/113227 In my .vimrc for other Vims, I have: if &term == 'screen' set mouse=nic set ttymouse=xterm2 endif (you might want "set mouse=a", or some other setting, above). In my .emacs, I have: (require 'xt-mouse) (xterm-mouse-mode t) (mouse-wheel-mode t) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiRsV7M8hyUobTrERAjhWAJ9t8YFIOZ1a0lOsWAeW5olXggze4ACfWF0G BblvtH+gpIHHy+oEcylDDCY= =4sv2 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 21:22:47 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 07440733F0D for ; Thu, 24 Jul 2008 21:22:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:39288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMC14-0006Qt-UK for erik@plastic-idolatry.com; Thu, 24 Jul 2008 21:22:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMC0o-0006Qe-7m for screen-users@gnu.org; Thu, 24 Jul 2008 21:22:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMC0m-0006QS-GJ for screen-users@gnu.org; Thu, 24 Jul 2008 21:22:25 -0400 Received: from [199.232.76.173] (port=37028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMC0m-0006QP-9q for screen-users@gnu.org; Thu, 24 Jul 2008 21:22:24 -0400 Received: from bld-mail06.adl2.internode.on.net ([203.16.214.70]:43590 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMC0l-00018t-28 for screen-users@gnu.org; Thu, 24 Jul 2008 21:22:24 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23272442-1927428 for ; Fri, 25 Jul 2008 10:52:11 +0930 (CST) Date: Fri, 25 Jul 2008 11:22:09 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080725012207.GA2506@Clio.twb.ath.cx> References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4888F12E.3020209@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3941 Lines: 80 On Thu, Jul 24, 2008 at 02:16:30PM -0700, Micah Cowan wrote: > I'm not sure I agree on "people know them well" for Haskell. Scheme > /Lisp probably has a larger developer base than Haskell does. Last time I looked, on Freenode, #haskell has around double the number of people that #scheme has. While I think more people know *of* Scheme and Lisp and understand the basics, my impression is that there is a lot more people actively writing Haskell every day than there are people actively writing Scheme every day. However, I wouldn't recommend Haskell as an extension language for an existing C-based application -- Haskell isn't designed for that role. (cf. Lua was designed for *exactly* that role.) > The only reasons I prefer Guile over those, is (1) it's much more > straightforward to use complex constructs, such as loops, within an > expression, and (2) GNU recommends it as first choice for scripting in > GNU projects (it's a GNU project, so would be "eating our own dogfood"). How many *active* projects use guile as an extension language, and aren't trying to get rid of it? How large is the guile user community (people writing code and libraries in guile)? How active is the guile developer community (people improving guile itself)? My impression is that *nobody* likes Guile. At all. Over the years, I've met *one* guile user who actively advocated it, and about twelve months ago he learned CL and admitted that he liked that much better. >>> I would really like to see scripting, but if it means an >>> emacs-like distribution of 100+ MB of scripting files and the >>> generation of a program which does everything well except what it >>> was designed for, then the point has been missed. $ printf '%s\t%s\n' `grep-aptavail -sInstalled-Size,Package -S --regex ^emacs22 | cut -d: -f 2` 412 emacs22-bin-common 4032 emacs22-common-non-dfsg 7120 emacs22-nox 7548 emacs22 7548 emacs22-gtk 13264 emacs22-el 51780 emacs22-common emacs22, emacs22-nox and emacs22-gtk are alternative front-ends, so the smaller two can be ignored in the count. The emacs22-el package is not used (since emacs22-common contains the byte-compiled versions), so it can also be ignored. Arguably most of emacs22-common should also be ignored, since it mostly constitutes applications that are written on top of Emacs and aren't needed by Emacs itself. Even if you count it, that's a total of (+ 412 4032 7548 51780) ==> 64MB, not "100+ MB". There's no real reason emacs22-common couldn't be split up into the "core" files needed to run Emacs itself, plus a separate package for applications. This isn't done because in general, nobody really cares about wasting 50MB of disk space. > I suspect we don't have to worry too much about that for Screen; but > part of that may depend on how choosy we are about what we let into the > Screen distribution. For my part, I don't currently see any reason why > we would need to provide any Scheme code with Screen whatsoever, apart > from probably a sample ~/.screenrc.scm, and perhaps other example > scripts. Sure, a powerful programming language means that folks could > write "Towers of Hanoi" or an email client within Screen; but that > doesn't mean we have to include it. And anyway, why would they want to > do that when they could just do it in Emacs? > > To be honest, implementing a Screen within Emacs makes almost as > much sense as giving Screen Emacs-like scriptability; Screen has > already duplicated quite a bit of Emacs' layout functionality and > such, some of it not yet as well as Emacs itself does it. But I > doubt anyone's interested in seeing that happen. :) ElScreen is an Emacs window session manager modeled after GNU screen by NaotoMorishima, http://www.emacswiki.org/cgi-bin/wiki.pl?ElScreen _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 21:29:19 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 21D8A733F0D for ; Thu, 24 Jul 2008 21:29:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:33912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMC7M-0008C1-Mu for erik@plastic-idolatry.com; Thu, 24 Jul 2008 21:29:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMC71-00089t-IS for screen-users@gnu.org; Thu, 24 Jul 2008 21:28:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMC6z-000889-UE for screen-users@gnu.org; Thu, 24 Jul 2008 21:28:51 -0400 Received: from [199.232.76.173] (port=59946 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMC6z-00087z-QX for screen-users@gnu.org; Thu, 24 Jul 2008 21:28:49 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:51806) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMC6y-0002KZ-Cw for screen-users@gnu.org; Thu, 24 Jul 2008 21:28:49 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2539411wfc.24 for ; Thu, 24 Jul 2008 18:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=DaybSC6WXHYJ9QFLglTCY7N1f841BvaCBqFX3uEWx8E=; b=nYkjX+MEBOxHLXgp1ZZf9u3Psi6//qYlNMcRBB7+IBuNHp4n1Du3144f7kmi79fC8S CtyEZdgjwQR5GHQhSQCOxNOlNymPsGmunwK1+7503WlqbiqnMSrOoWkVZDcYPLqCKfAD 1ir5PMWDOXwfHkr5gLoacMOjVMEP2aPFzFLOo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=QHHP+5Fed9cYrL4FfpseUc6/GP4gFI3Q3HVrZbfhAN8XHEIUyF6JSDzQUd0LP4anaY fN0tff0KVksuI9FSaQ7TNi3X2E1qjOFv7VJr3LP4XBQ+BSdZWasNLN18tLHmkdkO/uSG vkt57YNbr7LMyhJkqSG9uroBHfvoB+xASN4lQ= Received: by 10.142.89.9 with SMTP id m9mr339003wfb.71.1216949325694; Thu, 24 Jul 2008 18:28:45 -0700 (PDT) Received: by 10.142.174.12 with HTTP; Thu, 24 Jul 2008 18:28:45 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 20:28:45 -0500 From: "Tom Scogland" To: "Trent W. Buck" In-Reply-To: <20080725012207.GA2506@Clio.twb.ath.cx> MIME-Version: 1.0 References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <20080725012207.GA2506@Clio.twb.ath.cx> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1807823708==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 11357 Lines: 219 --===============1807823708== Content-Type: multipart/alternative; boundary="----=_Part_82735_29179557.1216949325660" ------=_Part_82735_29179557.1216949325660 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jul 24, 2008 at 8:22 PM, Trent W. Buck wrote: > On Thu, Jul 24, 2008 at 02:16:30PM -0700, Micah Cowan wrote: > > I'm not sure I agree on "people know them well" for Haskell. Scheme > > /Lisp probably has a larger developer base than Haskell does. > > Last time I looked, on Freenode, #haskell has around double the number > of people that #scheme has. While I think more people know *of* > Scheme and Lisp and understand the basics, my impression is that there > is a lot more people actively writing Haskell every day than there are > people actively writing Scheme every day. > > However, I wouldn't recommend Haskell as an extension language for an > existing C-based application -- Haskell isn't designed for that role. > (cf. Lua was designed for *exactly* that role.) > > > The only reasons I prefer Guile over those, is (1) it's much more > > straightforward to use complex constructs, such as loops, within an > > expression, and (2) GNU recommends it as first choice for scripting in > > GNU projects (it's a GNU project, so would be "eating our own dogfood"). > > How many *active* projects use guile as an extension language, and > aren't trying to get rid of it? How large is the guile user community > (people writing code and libraries in guile)? How active is the guile > developer community (people improving guile itself)? > > My impression is that *nobody* likes Guile. At all. Over the years, > I've met *one* guile user who actively advocated it, and about twelve > months ago he learned CL and admitted that he liked that much better. > > >>> I would really like to see scripting, but if it means an > >>> emacs-like distribution of 100+ MB of scripting files and the > >>> generation of a program which does everything well except what it > >>> was designed for, then the point has been missed. > > $ printf '%s\t%s\n' `grep-aptavail -sInstalled-Size,Package -S --regex > ^emacs22 | cut -d: -f 2` > 412 emacs22-bin-common > 4032 emacs22-common-non-dfsg > 7120 emacs22-nox > 7548 emacs22 > 7548 emacs22-gtk > 13264 emacs22-el > 51780 emacs22-common > > emacs22, emacs22-nox and emacs22-gtk are alternative front-ends, so > the smaller two can be ignored in the count. The emacs22-el package > is not used (since emacs22-common contains the byte-compiled > versions), so it can also be ignored. Arguably most of emacs22-common > should also be ignored, since it mostly constitutes applications that > are written on top of Emacs and aren't needed by Emacs itself. Even > if you count it, that's a total of (+ 412 4032 7548 51780) ==> 64MB, > not "100+ MB". Comment withdrawn, the number was drawn from the last time I installed emacs, which was back when I used windows several years ago, and the emacs package for cygwin was 105mb and the native install was 120mb. Evidently it has been streamlined significantly in the meantime. > > > There's no real reason emacs22-common couldn't be split up into the > "core" files needed to run Emacs itself, plus a separate package for > applications. This isn't done because in general, nobody really cares > about wasting 50MB of disk space. > > > I suspect we don't have to worry too much about that for Screen; but > > part of that may depend on how choosy we are about what we let into the > > Screen distribution. For my part, I don't currently see any reason why > > we would need to provide any Scheme code with Screen whatsoever, apart > > from probably a sample ~/.screenrc.scm, and perhaps other example > > scripts. Sure, a powerful programming language means that folks could > > write "Towers of Hanoi" or an email client within Screen; but that > > doesn't mean we have to include it. And anyway, why would they want to > > do that when they could just do it in Emacs? > > > > To be honest, implementing a Screen within Emacs makes almost as > > much sense as giving Screen Emacs-like scriptability; Screen has > > already duplicated quite a bit of Emacs' layout functionality and > > such, some of it not yet as well as Emacs itself does it. But I > > doubt anyone's interested in seeing that happen. :) > > ElScreen is an Emacs window session manager modeled after GNU screen > by NaotoMorishima, http://www.emacswiki.org/cgi-bin/wiki.pl?ElScreen > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_82735_29179557.1216949325660 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


On Thu, Jul 24, 2008 at 8:22 PM, Trent W. Buck <trentbuck@gmail.com> wrote:
On Thu, Jul 24, 2008 at 02:16:30PM -0700, Micah Cowan wrote:
> I'm not sure I agree on "people know them well" for Haskell. Scheme
> /Lisp probably has a larger developer base than Haskell does.

Last time I looked, on Freenode, #haskell has around double the number
of people that #scheme has.  While I think more people know *of*
Scheme and Lisp and understand the basics, my impression is that there
is a lot more people actively writing Haskell every day than there are
people actively writing Scheme every day.

However, I wouldn't recommend Haskell as an extension language for an
existing C-based application -- Haskell isn't designed for that role.
(cf. Lua was designed for *exactly* that role.)

> The only reasons I prefer Guile over those, is (1) it's much more
> straightforward to use complex constructs, such as loops, within an
> expression, and (2) GNU recommends it as first choice for scripting in
> GNU projects (it's a GNU project, so would be "eating our own dogfood").

How many *active* projects use guile as an extension language, and
aren't trying to get rid of it?  How large is the guile user community
(people writing code and libraries in guile)?  How active is the guile
developer community (people improving guile itself)?

My impression is that *nobody* likes Guile.  At all.  Over the years,
I've met *one* guile user who actively advocated it, and about twelve
months ago he learned CL and admitted that he liked that much better.

>>> I would really like to see scripting, but if it means an
>>> emacs-like distribution of 100+ MB of scripting files and the
>>> generation of a program which does everything well except what it
>>> was designed for, then the point has been missed.

$ printf '%s\t%s\n' `grep-aptavail -sInstalled-Size,Package -S --regex ^emacs22 | cut -d: -f 2`
412     emacs22-bin-common
4032    emacs22-common-non-dfsg
7120    emacs22-nox
7548    emacs22
7548    emacs22-gtk
13264   emacs22-el
51780   emacs22-common

emacs22, emacs22-nox and emacs22-gtk are alternative front-ends, so
the smaller two can be ignored in the count.  The emacs22-el package
is not used (since emacs22-common contains the byte-compiled
versions), so it can also be ignored.  Arguably most of emacs22-common
should also be ignored, since it mostly constitutes applications that
are written on top of Emacs and aren't needed by Emacs itself.  Even
if you count it, that's a total of (+ 412 4032 7548 51780) ==> 64MB,
not "100+ MB".
Comment withdrawn, the number was drawn from the last time I installed emacs, which was back when I used windows several years ago, and the emacs package for cygwin was 105mb and the native install was 120mb.  Evidently it has been streamlined significantly in the meantime. 


There's no real reason emacs22-common couldn't be split up into the
"core" files needed to run Emacs itself, plus a separate package for
applications.  This isn't done because in general, nobody really cares
about wasting 50MB of disk space.

> I suspect we don't have to worry too much about that for Screen; but
> part of that may depend on how choosy we are about what we let into the
> Screen distribution. For my part, I don't currently see any reason why
> we would need to provide any Scheme code with Screen whatsoever, apart
> from probably a sample ~/.screenrc.scm, and perhaps other example
> scripts. Sure, a powerful programming language means that folks could
> write "Towers of Hanoi" or an email client within Screen; but that
> doesn't mean we have to include it. And anyway, why would they want to
> do that when they could just do it in Emacs?
>
> To be honest, implementing a Screen within Emacs makes almost as
> much sense as giving Screen Emacs-like scriptability; Screen has
> already duplicated quite a bit of Emacs' layout functionality and
> such, some of it not yet as well as Emacs itself does it. But I
> doubt anyone's interested in seeing that happen. :)

ElScreen is an Emacs window session manager modeled after GNU screen
by NaotoMorishima, http://www.emacswiki.org/cgi-bin/wiki.pl?ElScreen


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users



--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_82735_29179557.1216949325660-- --===============1807823708== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1807823708==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 24 21:36:59 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 40DB0733F0D for ; Thu, 24 Jul 2008 21:36:58 -0400 (EDT) Received: from localhost ([127.0.0.1]:49652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMCEo-0005de-Vo for erik@plastic-idolatry.com; Thu, 24 Jul 2008 21:36:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMCEW-0005bq-Mv for screen-users@gnu.org; Thu, 24 Jul 2008 21:36:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMCEU-0005aH-Cf for screen-users@gnu.org; Thu, 24 Jul 2008 21:36:35 -0400 Received: from [199.232.76.173] (port=59938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMCEU-0005a3-6p for screen-users@gnu.org; Thu, 24 Jul 2008 21:36:34 -0400 Received: from bld-mail07.adl2.internode.on.net ([203.16.214.71]:59139 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMCES-0003DR-UP for screen-users@gnu.org; Thu, 24 Jul 2008 21:36:33 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 39445293-1849793 for ; Fri, 25 Jul 2008 11:06:22 +0930 (CST) Date: Fri, 25 Jul 2008 11:36:21 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080725013619.GB2506@Clio.twb.ath.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1745 Lines: 44 On Thu, Jul 24, 2008 at 06:39:47PM -0400, Dan Mahoney, System Admin wrote: > I need two features added to screen, but I'm not a coder. I can > (and have) discussed on this list, as well as having seen these > features justified and explained on mailing lists before, but I > don't believe they work at this time. > > 1) Make printing work. And by that I mean make it work JUST as it > would work without screen, i.e. not "buffer" and send a bunch of > printer stop/start sequences every 30 characters -- many SSH > applications interpret that stop sequence as a page feed. I don't know what you're talking about. Can you provide step-by-step instructions to reproduce this bug? > 2) Make mouse work. I haven't seen much with this. > > I'm willing to toss something monetary at a developer or developers > who can look at this and make it happen. Mouse works for me within screen: xterm -e screen emacs -nw -Q -f xterm-mouse-mode Note that this requires Emacs to be compiled with X enabled (i.e. it doesn't work in emacs22-nox). The scroll wheel also works, but requires bindings. From my .emacs: (when (and (fboundp 'xterm-mouse-mode) (not window-system) (featurep 'mouse)) (xterm-mouse-mode +1) (when (fboundp 'mwheel-scroll) (global-set-key (kbd "") 'mwheel-scroll) (global-set-key (kbd "") 'mwheel-scroll))) PS: note that (not window-system) has the wrong semantics in CVS Emacs with mtty, e.g. if your first Emacs window is a native X window but then you start an mtty emacsclient inside screen. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 00:11:25 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6189473DD9A for ; Fri, 25 Jul 2008 00:11:25 -0400 (EDT) Received: from localhost ([127.0.0.1]:35475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMEeF-0005vH-T7 for erik@plastic-idolatry.com; Fri, 25 Jul 2008 00:11:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMEdx-0005ug-IO for screen-users@gnu.org; Fri, 25 Jul 2008 00:11:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMEdw-0005uT-3B for screen-users@gnu.org; Fri, 25 Jul 2008 00:11:00 -0400 Received: from [199.232.76.173] (port=59193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMEdv-0005uQ-TU for screen-users@gnu.org; Fri, 25 Jul 2008 00:10:59 -0400 Received: from prime.gushi.org ([72.9.101.130]:64320) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMEdv-0005mM-KE for screen-users@gnu.org; Fri, 25 Jul 2008 00:10:59 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6P4AjjB096746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2008 00:10:47 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216942674; bh=fCF5ONGQMQNTlFLWY3Anw708tkg=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=EOAQ POGH7WQvAC5nMrS9BRj35c06p7lKHVHOtw/dBlHa1xlzr/hG0KYf53TIPR0+nJvhxNr Gk8+AHheu9cMpXA== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=gLeywN82gRK2wVwS/7VUULVMWzrLdDhJ+E/6uKiOnllOeY787Eo8QSMeOeD6UjFvV fkHaKZjBlbPvOS6lmmjsg== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6P4AbYm096711; Fri, 25 Jul 2008 00:10:37 -0400 (EDT) (envelope-from danm) Date: Fri, 25 Jul 2008 00:10:36 -0400 (EDT) From: "Dan Mahoney, System Admin" To: "Trent W. Buck" In-Reply-To: <20080725013619.GB2506@Clio.twb.ath.cx> Message-ID: References: <20080725013619.GB2506@Clio.twb.ath.cx> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 24 Jul 2008 23:37:54 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4430 Lines: 116 On Fri, 25 Jul 2008, Trent W. Buck wrote: > On Thu, Jul 24, 2008 at 06:39:47PM -0400, Dan Mahoney, System Admin wrote: >> I need two features added to screen, but I'm not a coder. I can >> (and have) discussed on this list, as well as having seen these >> features justified and explained on mailing lists before, but I >> don't believe they work at this time. >> >> 1) Make printing work. And by that I mean make it work JUST as it >> would work without screen, i.e. not "buffer" and send a bunch of >> printer stop/start sequences every 30 characters -- many SSH >> applications interpret that stop sequence as a page feed. > > I don't know what you're talking about. Can you provide step-by-step > instructions to reproduce this bug? It's right in the gnu screen man page. Without screen, if you're in (say) pine, or use a program such as ansiprint to print a file, it will send, literally, to the screen: [printer on code as described in termcap/terminfo] [your file] [possibly a formfeed] [printer off] Now, what screen does, is the following: [printer on code as described in termcap/terminfo] [small chunk of your file] [printer off] [printer on code as described in termcap/terminfo] [another small chunk of your file] [printer off] [printer on code as described in termcap/terminfo] [yet another small chunk of your file] [printer off] [printer on code as described in termcap/terminfo] [even another small chunk of your file] [printer off] [printer on code as described in termcap/terminfo] [and another small chunk of your file] [printer off] And so on. And it thinks it's doing you a favor. Screen's manpage sums this logic up: When the `po' and `pf' capabilities are present in the terminal's term- cap entry, applications running in a screen window can send output to the printer port of the terminal. This allows a user to have an appli- cation in one window sending output to a printer connected to the ter- minal, while all other windows are still active (the printer port is enabled and disabled again for each chunk of output). As a side- effect, programs running in different windows can send output to the printer simultaneously. Data sent to the printer is not displayed in the window. The info command displays a line starting `PRIN' while the printer is active. ---End Manpage Section--- All the above makes a whole lot of sense on, say, a line printer over 300BPS with a 20 page document. On programs like secureCRT (my terminal of choice), all this buffer/unbuffer crap causes my laser printer to eject a page because it sees every printer-stop sequence as the end of the sequence. Thus I get one PAGE per Chunk. SecureCRT has a workaround for this -- which basically causes me to have to print from my terminal, then say "eject page" in SecureCRT -- so as a result of Screen's buffering behavior, SecureCRT also has to buffer, and it causes me an extra level of necessary interaction. Whereas, if screen had just passed the sequences along as-is, everything would be fine. This is a kludge to "background printing" which only makes sense with a lot of data, over a slow link. Any other time, the data is out faster than I can possibly even switch windows. If I don't want my keyboard and screen sequences messing up the print job, then I could just have screen block my ability to use ctrl-a until the print is done, or I send an abort sequence. That would prevent me from switching windows (and possibly MISSING the "printer off" sequence.) >> 2) Make mouse work. I haven't seen much with this. >> >> I'm willing to toss something monetary at a developer or developers >> who can look at this and make it happen. > > Mouse works for me within screen: Then there's likely something wrong with my system or my shell, or my termcap, and it is best filed as an OS bug. Please contact me out of band and I can arrange a shell. It's a public server and has been used to test several other pieces of opensource. Tell me if it works for you on my end. -Dan -- "One...plus two...plus one...plus one." -Tim Curry, Clue --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 00:29:43 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 03DA873DD9A for ; Fri, 25 Jul 2008 00:29:42 -0400 (EDT) Received: from localhost ([127.0.0.1]:54610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMEvz-00051w-L6 for erik@plastic-idolatry.com; Fri, 25 Jul 2008 00:29:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMEvh-00051f-Sg for screen-users@gnu.org; Fri, 25 Jul 2008 00:29:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMEvg-00051T-Cu for screen-users@gnu.org; Fri, 25 Jul 2008 00:29:20 -0400 Received: from [199.232.76.173] (port=54607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMEvg-00051Q-7Q for screen-users@gnu.org; Fri, 25 Jul 2008 00:29:20 -0400 Received: from prime.gushi.org ([72.9.101.130]:58613) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMEvf-0007xb-Ub for screen-users@gnu.org; Fri, 25 Jul 2008 00:29:20 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6P4T54S007301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2008 00:29:07 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216943774; bh=uMyxp32++6p7cB5jgj2Cm1ga414=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=1mHj +cM/82UsRnml5AytyjRt5qa71qzdNeYGXCSNm7PH8nZnZgqC8s4hvP7QjAEgnbhmHz8 voHQw/nTbWd7i9w== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=w7g1VEuxtGhdImoBe52f2K6FMJV28t6I4c9t6s1i0dlFqAiTkwdOxVhxqXi4xsAB0 PxxgtnjvY9+pEUWLubPSQ== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6P4T5xl007293; Fri, 25 Jul 2008 00:29:05 -0400 (EDT) (envelope-from danm) Date: Fri, 25 Jul 2008 00:29:02 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Micah Cowan In-Reply-To: <488918F6.5060104@cowan.name> Message-ID: References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 24 Jul 2008 23:56:14 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3966 Lines: 98 On Thu, 24 Jul 2008, Micah Cowan wrote: >>> Is there a way to trace if this is happening? I've given you the >>> applications I use. Micah, I've been a user and advocate of wget for >>> many years. If you would like a shell, please let me know. > > Well, if you activate logging in the screen window, you can check for > the presence of the "send mouse codes" request sequence. It'll be one of > \E9h, \E1000h, or \E1001h. > >> If that's the case, there's really nothing we can do until terminfo >> supports a way of advertising DEC/xterm mouse capabilities (kmous >> doesn't really cut it). >> >>> ..if (windowtitle =~ /^nano/) { set sendmouseevents = 1; } would suffice >>> just fine. Or just give us an option to toggle mouse events on or off >>> by default. Or a ctrl-a :mouseon! My xterm doesn't know what on the >>> other end of an SSH session is requesting or not, it just happily sends >>> the click events down the pipe. Aware applications use them. Unaware >>> apps discard them. > > That's unlikely to be true. The applications on the other end of the SSH > tunnel requested the click events, first (based on the TERM env var > having something like "xterm" in it: they check for that value > explicitly, but usually don't recognize "screen" as a mouse-capable term > name). Try running your ssh session under script, and check for the > \E1001h, etc, sequences, in the resulting typescript. This is wrong. Setting the $TERM to "xterm" within screen does not cause nano -m to work for me. As far as I know, once a terminal session is negotiated, settings don't change. Screen is particularly obnoxious about intercepting and not passing down the pipe things it doesn't understand. You're telling me that in the following chain... [1 local window mananger] -- [2 xterm] -- [3 ssh] -- [4 sshd] -- [5 shell] -- [6 application] That somehow #6 can tell #2 or even #1 not to send their events? I think the "local" terminal is far dumber than that. > You've mentioned Nano, but that actually works for me (it uses ncurses, > which assumes decent mouse support if kmous is advertised, which screen > does), so long as mouse support has been enabled ("nano -m" or typing > M-m). I know that Vim and some other apps do an explicit check for the > value of TERM, though, which is why they can't be resolved without > configuration adjustments. My current environment: Mac with Xterm (terminal.app doesn't send mouse events). Also, windows machine with putty, or Linux machine with gnome-terminal. All have the same issue. Before I start screen -q, nano -m works fine. > Blanket sending of mouse codes without them being requested is bad > behavior, and would result in spewing codes to the screen in some cases > (say, when you suspend nano to work in your shell). The application has > to be expecting them. Yes, and nano is expecting them when I start it with -m (within screen or not). ..why would I suspend nano to work in my shell. That would KINDA defeat the purpose of running screen :) >> I'd need more info on the printing stuff, as I never use it. I assume >> we're talking about the Print Window / Redirect to Printer feature Xterm >> has, that's tracked at https://savannah.gnu.org/bugs/?17310. I don't >> know enough to even know whether it's even practical to "fix" screen for >> use with that, but a monetary incentive for fixing it would at least >> motivate me to dig in a bit more (TBH, without that incentive it drops >> to the bottom of my to-do list: not enough demand AFAICT). Expanded on in a different response. Perhaps to be forked. -Dan -- "Station!" -Bill & Ted's Bogus Journey --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 01:39:36 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6D7D973EF47 for ; Fri, 25 Jul 2008 01:39:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:39396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMG1c-0002SZ-5W for erik@plastic-idolatry.com; Fri, 25 Jul 2008 01:39:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMFyM-0000Uh-8z for screen-users@gnu.org; Fri, 25 Jul 2008 01:36:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMFyK-0000Si-Ek for screen-users@gnu.org; Fri, 25 Jul 2008 01:36:09 -0400 Received: from [199.232.76.173] (port=46474 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMFyJ-0000SR-KI for screen-users@gnu.org; Fri, 25 Jul 2008 01:36:07 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:48568) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMFyJ-0000PW-8h for screen-users@gnu.org; Fri, 25 Jul 2008 01:36:07 -0400 Received: from [10.0.0.5] (adsl-76-193-219-14.dsl.pltn13.sbcglobal.net [76.193.219.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id AAF773CC8060; Thu, 24 Jul 2008 22:36:05 -0700 (PDT) Message-ID: <48896642.8050507@cowan.name> Date: Thu, 24 Jul 2008 22:36:02 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2369 Lines: 59 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Mahoney, System Admin wrote: >> That's unlikely to be true. The applications on the other end of the SSH >> tunnel requested the click events, first (based on the TERM env var >> having something like "xterm" in it: they check for that value >> explicitly, but usually don't recognize "screen" as a mouse-capable term >> name). Try running your ssh session under script, and check for the >> \E1001h, etc, sequences, in the resulting typescript. > > This is wrong. Setting the $TERM to "xterm" within screen does not > cause nano -m to work for me. It does for me, over your provided ssh access. I'll provide the full details when I'm done exploring. > As far as I know, once a terminal session is negotiated, settings don't > change. Screen is particularly obnoxious about intercepting and not > passing down the pipe things it doesn't understand. > > You're telling me that in the following chain... > > [1 local window mananger] -- [2 xterm] -- [3 ssh] -- [4 sshd] -- [5 > shell] -- [6 application] > > That somehow #6 can tell #2 or even #1 not to send their events? I > think the "local" terminal is far dumber than that. The question is whether it can tell them _to_ send their events. And yes, that's accurate: a program that sends the "send mouse events" sequence to screen will have them passed along to other terms - provided that screen itself detects that it is being run in a mouse-capable display (determined by checking for the presence of either "xterm" or "rxvt" in the TERM value). (This is _exactly_ why terminfo needs to be extended to allow advertising this feature.) That list ought to be expanded to include "screen" itself. I thought I remembered patching that once, but maybe it was a distro-specific patch that didn't make it upstream, or something. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiWZC7M8hyUobTrERAnGiAJ9zY+YiHDxWfc0gWAoEyYUOoOHJaACfShN+ +BE7X3/FIP0zx8gmrWtYgC8= =B7V2 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 01:49:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7BF6311D50 for ; Fri, 25 Jul 2008 01:49:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:50554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGBS-00088T-DS for erik@plastic-idolatry.com; Fri, 25 Jul 2008 01:49:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMGAw-00086v-O7 for screen-users@gnu.org; Fri, 25 Jul 2008 01:49:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMGAu-00085H-S9 for screen-users@gnu.org; Fri, 25 Jul 2008 01:49:09 -0400 Received: from [199.232.76.173] (port=33280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGAu-00084z-Fx for screen-users@gnu.org; Fri, 25 Jul 2008 01:49:08 -0400 Received: from prime.gushi.org ([72.9.101.130]:56175) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMGAt-0002no-VM for screen-users@gnu.org; Fri, 25 Jul 2008 01:49:08 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6P5msud060056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2008 01:48:56 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216948563; bh=GEOTG+rSMwpe/HuRLRsyFpH0px4=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=1Td6 P4AWBqIbE/TV9fC+/8YlPggsesbCaYSr2OeMGD7k3q5Hn3adV6uv4FZOSCbOw+STGhS jhQLB3GS1iCOf8w== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=g4/CcHRreowx8CSazBmGxkOP33OXVXceFrNIz7TyJgxejzHOyaFAOev5FcvotwfQW aNxSCNiv3xmwE/2rdckCg== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6P5ms81060055; Fri, 25 Jul 2008 01:48:54 -0400 (EDT) (envelope-from danm) Date: Fri, 25 Jul 2008 01:48:53 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Micah Cowan In-Reply-To: <48896642.8050507@cowan.name> Message-ID: References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Fri, 25 Jul 2008 01:16:04 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3190 Lines: 90 On Thu, 24 Jul 2008, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dan Mahoney, System Admin wrote: >>> That's unlikely to be true. The applications on the other end of the SSH >>> tunnel requested the click events, first (based on the TERM env var >>> having something like "xterm" in it: they check for that value >>> explicitly, but usually don't recognize "screen" as a mouse-capable term >>> name). Try running your ssh session under script, and check for the >>> \E1001h, etc, sequences, in the resulting typescript. >> >> This is wrong. Setting the $TERM to "xterm" within screen does not >> cause nano -m to work for me. > > It does for me, over your provided ssh access. I'll provide the full > details when I'm done exploring. Wait, where are you running screen? My assumption was that you be running it ON prime.gushi.org, not before you ssh in. When I ssh from my mac to prime, nano -m works. When I ssh from my mac to prime and start screen -q, nano -m doesn't. I haven't tried it with screen on the LOCAL end of the SSH connection (kinda defeats the point of being able to detach, eh?) -Dan > >> As far as I know, once a terminal session is negotiated, settings don't >> change. Screen is particularly obnoxious about intercepting and not >> passing down the pipe things it doesn't understand. >> >> You're telling me that in the following chain... >> >> [1 local window mananger] -- [2 xterm] -- [3 ssh] -- [4 sshd] -- [5 >> shell] -- [6 application] >> >> That somehow #6 can tell #2 or even #1 not to send their events? I >> think the "local" terminal is far dumber than that. > > The question is whether it can tell them _to_ send their events. And > yes, that's accurate: a program that sends the "send mouse events" > sequence to screen will have them passed along to other terms - provided > that screen itself detects that it is being run in a mouse-capable > display (determined by checking for the presence of either "xterm" or > "rxvt" in the TERM value). (This is _exactly_ why terminfo needs to be > extended to allow advertising this feature.) That list ought to be > expanded to include "screen" itself. I thought I remembered patching > that once, but maybe it was a distro-specific patch that didn't make it > upstream, or something. > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIiWZC7M8hyUobTrERAnGiAJ9zY+YiHDxWfc0gWAoEyYUOoOHJaACfShN+ > +BE7X3/FIP0zx8gmrWtYgC8= > =B7V2 > -----END PGP SIGNATURE----- > -- "Don't try to out-wierd me. I get stranger things than you free with my breakfast cereal." -Button seen at I-CON XVII (and subsequently purchased) --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 01:56:11 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A3BB211D50 for ; Fri, 25 Jul 2008 01:56:11 -0400 (EDT) Received: from localhost ([127.0.0.1]:55376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGHg-0003km-J2 for erik@plastic-idolatry.com; Fri, 25 Jul 2008 01:56:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMGHK-0003kM-O0 for screen-users@gnu.org; Fri, 25 Jul 2008 01:55:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMGHI-0003jv-Nq for screen-users@gnu.org; Fri, 25 Jul 2008 01:55:46 -0400 Received: from [199.232.76.173] (port=57898 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGHI-0003jr-HC for screen-users@gnu.org; Fri, 25 Jul 2008 01:55:44 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50270) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMGHI-0003zm-91 for screen-users@gnu.org; Fri, 25 Jul 2008 01:55:44 -0400 Received: from [10.0.0.5] (adsl-76-193-219-14.dsl.pltn13.sbcglobal.net [76.193.219.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 3BF9D3CC8060; Thu, 24 Jul 2008 22:55:43 -0700 (PDT) Message-ID: <48896ADE.6010004@cowan.name> Date: Thu, 24 Jul 2008 22:55:42 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1870 Lines: 56 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Mahoney, System Admin wrote: > On Thu, 24 Jul 2008, Micah Cowan wrote: > > Dan Mahoney, System Admin wrote: >>>>> That's unlikely to be true. The applications on the other end of the >>>>> SSH >>>>> tunnel requested the click events, first (based on the TERM env var >>>>> having something like "xterm" in it: they check for that value >>>>> explicitly, but usually don't recognize "screen" as a mouse-capable >>>>> term >>>>> name). Try running your ssh session under script, and check for the >>>>> \E1001h, etc, sequences, in the resulting typescript. >>>> >>>> This is wrong. Setting the $TERM to "xterm" within screen does not >>>> cause nano -m to work for me. > > It does for me, over your provided ssh access. I'll provide the full > details when I'm done exploring. > >> Wait, where are you running screen? My assumption was that you be >> running it ON prime.gushi.org, not before you ssh in. Right. I'm doing both. >> When I ssh from my mac to prime, nano -m works. > >> When I ssh from my mac to prime and start screen -q, nano -m doesn't. When you set TERM=xterm? (That was what we were talking about) Within screen running on gushi, "TERM=xterm nano -m" gives me mouse capabilities (but isn't a great idea long-term, as it may well screw up other things subtly). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiWre7M8hyUobTrERAsf3AJ4wQ1wDKjchlCS8LgnypR31IxCIEwCfVHP4 JyRlzpdnhHeEuBKUdx7hrfI= =AnOa -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 03:08:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D3DBA439BB0 for ; Fri, 25 Jul 2008 03:08:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:54192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHPQ-0000FA-Iu for erik@plastic-idolatry.com; Fri, 25 Jul 2008 03:08:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMHP5-0000Cv-SC for screen-users@gnu.org; Fri, 25 Jul 2008 03:07:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMHP3-0000Cj-Gb for screen-users@gnu.org; Fri, 25 Jul 2008 03:07:50 -0400 Received: from [199.232.76.173] (port=59834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHP3-0000Cg-Bo for screen-users@gnu.org; Fri, 25 Jul 2008 03:07:49 -0400 Received: from mx20.gnu.org ([199.232.41.8]:37672) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMHP2-0002Ny-SL for screen-users@gnu.org; Fri, 25 Jul 2008 03:07:49 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMHP2-0001OZ-B7 for screen-users@gnu.org; Fri, 25 Jul 2008 03:07:48 -0400 Received: from [10.0.0.5] (adsl-76-193-219-14.dsl.pltn13.sbcglobal.net [76.193.219.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 575233CC8060; Fri, 25 Jul 2008 00:07:45 -0700 (PDT) Message-ID: <48897BC1.9090903@cowan.name> Date: Fri, 25 Jul 2008 00:07:45 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1727 Lines: 56 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, so here's what I've found. I confirmed that nano and alpine get mouse events outside screen (duh). I confirmed that alpine _works_ with mouse inside screen, no problems. I have to set DISPLAY to a fake value, but I had to do that to make it work outside of screen, too. I confirmed that nano does _not_ work by default inside of screen. It doesn't send the "send mouse events" sequence (it sends the \E[?1000h sequence outside of screen). If I tell screen to send mouse events anyway, nano -m doesn't process them correctly (clicking in the editor pane brings up the help screen, instead of just moving the cursor). To get screen to send mouse events, I did: $ printf '\033[?1000h'; nano -m You'll want to do a $ printf '\033[?1000l' Sometime afterwards to disable the mouse events again. BTW, I confirmed that, on my home system, nano under screen doesn't work for me either. However, when I was at work, it worked fine. I just ssh'd in and verified it works fine. The version for the one that worked is 1.3. on RedHat, yours is 2.0.7, and mine is 2.0.6. Running $ TERM=xterm nano -m works fine for me in screen. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiXvA7M8hyUobTrERAiGEAJ0SD/WQYhtJXFNKH3rHKv+fWWqelgCfeTyY 8ZRQh4JTWHzuTEmT9F7wzK0= =EDbP -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 03:33:03 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BA1A973EF93 for ; Fri, 25 Jul 2008 03:33:03 -0400 (EDT) Received: from localhost ([127.0.0.1]:48477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHnQ-0000aG-KF for erik@plastic-idolatry.com; Fri, 25 Jul 2008 03:33:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMHn9-0000Zr-Ay for screen-users@gnu.org; Fri, 25 Jul 2008 03:32:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMHn7-0000Zf-Q9 for screen-users@gnu.org; Fri, 25 Jul 2008 03:32:42 -0400 Received: from [199.232.76.173] (port=34414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHn7-0000Zc-JE for screen-users@gnu.org; Fri, 25 Jul 2008 03:32:41 -0400 Received: from bld-mail08.adl2.internode.on.net ([203.16.214.72]:58970 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMHn6-0004ra-Ob for screen-users@gnu.org; Fri, 25 Jul 2008 03:32:41 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23332671-1927428 for ; Fri, 25 Jul 2008 17:02:34 +0930 (CST) Date: Fri, 25 Jul 2008 17:32:33 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080725073231.GB7119@Clio.twb.ath.cx> References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48896642.8050507@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1322 Lines: 29 On Thu, Jul 24, 2008 at 10:36:02PM -0700, Micah Cowan wrote: > The question is whether it can tell them _to_ send their events. And > yes, that's accurate: a program that sends the "send mouse events" > sequence to screen will have them passed along to other terms - > provided that screen itself detects that it is being run in a > mouse-capable display (determined by checking for the presence of > either "xterm" or "rxvt" in the TERM value). Please clarify: what are the semantics when using screen -x, say with one TERM=xterm and one TERM=linux ? Also, does this work correctly with xterm -e screen ssh fooserv screen emacs -nw -- that is, when the "inner" screen sees TERM=screen rather than TERM=xterm? It seems to me that TERM=screen should be included in the list of term types that screen expects to support mouse inputs. > (This is _exactly_ why terminfo needs to be extended to allow > advertising this feature.) That list ought to be expanded to include > "screen" itself. I thought I remembered patching that once, but > maybe it was a distro-specific patch that didn't make it upstream, > or something. Oops, I guess that answers my second question :-) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 03:44:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 92D5573EF93 for ; Fri, 25 Jul 2008 03:44:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:53380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHyX-00020u-Cs for erik@plastic-idolatry.com; Fri, 25 Jul 2008 03:44:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMHwf-00017U-Ki for screen-users@gnu.org; Fri, 25 Jul 2008 03:42:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMHwd-00013a-Cp for screen-users@gnu.org; Fri, 25 Jul 2008 03:42:32 -0400 Received: from [199.232.76.173] (port=33198 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMHwc-00013S-3h for screen-users@gnu.org; Fri, 25 Jul 2008 03:42:30 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:60065) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMHwZ-0006e9-6l for screen-users@gnu.org; Fri, 25 Jul 2008 03:42:27 -0400 Received: from [10.0.0.5] (adsl-76-193-219-14.dsl.pltn13.sbcglobal.net [76.193.219.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 276203CC8060; Fri, 25 Jul 2008 00:42:25 -0700 (PDT) Message-ID: <488983E1.1050708@cowan.name> Date: Fri, 25 Jul 2008 00:42:25 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: "Trent W. Buck" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> <20080725073231.GB7119@Clio.twb.ath.cx> In-Reply-To: <20080725073231.GB7119@Clio.twb.ath.cx> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1337 Lines: 38 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trent W. Buck wrote: > On Thu, Jul 24, 2008 at 10:36:02PM -0700, Micah Cowan wrote: >> The question is whether it can tell them _to_ send their events. And >> yes, that's accurate: a program that sends the "send mouse events" >> sequence to screen will have them passed along to other terms - >> provided that screen itself detects that it is being run in a >> mouse-capable display (determined by checking for the presence of >> either "xterm" or "rxvt" in the TERM value). > > Please clarify: what are the semantics when using screen -x, say with > one TERM=xterm and one TERM=linux ? The one with TERM=xterm will get the mouse-enable sequence passed through to it (assuming it was attached at the time that sequence was sent); the TERM=linux one won't. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiYPg7M8hyUobTrERAhS/AJsFyHJr1sWiBZllh41qZ7bYdy2JdgCdGQuZ C1jtezbveG6RvvXliyZTpUg= =FWOO -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 03:53:27 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E4CAD73EF93 for ; Fri, 25 Jul 2008 03:53:26 -0400 (EDT) Received: from localhost ([127.0.0.1]:59378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMI79-0004cW-Kg for erik@plastic-idolatry.com; Fri, 25 Jul 2008 03:53:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMI6q-0004bt-1G for screen-users@gnu.org; Fri, 25 Jul 2008 03:53:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMI6o-0004bG-Aj for screen-users@gnu.org; Fri, 25 Jul 2008 03:53:03 -0400 Received: from [199.232.76.173] (port=38395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMI6o-0004b4-2G for screen-users@gnu.org; Fri, 25 Jul 2008 03:53:02 -0400 Received: from bld-mail10.adl2.internode.on.net ([203.16.214.74]:57943 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMI6m-0008UQ-Nh for screen-users@gnu.org; Fri, 25 Jul 2008 03:53:01 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23787567-1927428 for ; Fri, 25 Jul 2008 17:22:53 +0930 (CST) Date: Fri, 25 Jul 2008 17:52:51 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080725075249.GG7119@Clio.twb.ath.cx> References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> <20080725073231.GB7119@Clio.twb.ath.cx> <488983E1.1050708@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <488983E1.1050708@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1310 Lines: 33 On Fri, Jul 25, 2008 at 12:42:25AM -0700, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Trent W. Buck wrote: > > On Thu, Jul 24, 2008 at 10:36:02PM -0700, Micah Cowan wrote: > >> The question is whether it can tell them _to_ send their events. And > >> yes, that's accurate: a program that sends the "send mouse events" > >> sequence to screen will have them passed along to other terms - > >> provided that screen itself detects that it is being run in a > >> mouse-capable display (determined by checking for the presence of > >> either "xterm" or "rxvt" in the TERM value). > > > > Please clarify: what are the semantics when using screen -x, say with > > one TERM=xterm and one TERM=linux ? > > The one with TERM=xterm will get the mouse-enable sequence passed > through to it (assuming it was attached at the time that sequence was > sent); the TERM=linux one won't. Would it be better to have screen "remember" if an enable sequence was sent, so that if I *later* do xterm -e screen -xRR the *new* xterm will also know about mousiness? (IIUC, currently the xterm has to be connected when you do M-x xterm-mouse-mode.) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 03:58:31 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id ECC6473EF93 for ; Fri, 25 Jul 2008 03:58:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:51058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMIC3-0008Lk-T0 for erik@plastic-idolatry.com; Fri, 25 Jul 2008 03:58:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMIBU-00086L-2P for screen-users@gnu.org; Fri, 25 Jul 2008 03:57:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMIBS-000858-BU for screen-users@gnu.org; Fri, 25 Jul 2008 03:57:51 -0400 Received: from [199.232.76.173] (port=32955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMIBS-000854-3C for screen-users@gnu.org; Fri, 25 Jul 2008 03:57:50 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:33133) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMIBR-0000oU-MG for screen-users@gnu.org; Fri, 25 Jul 2008 03:57:49 -0400 Received: from [10.0.0.5] (adsl-76-193-219-14.dsl.pltn13.sbcglobal.net [76.193.219.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 8F4353CC8060; Fri, 25 Jul 2008 00:57:48 -0700 (PDT) Message-ID: <4889877C.9020708@cowan.name> Date: Fri, 25 Jul 2008 00:57:48 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: "Trent W. Buck" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> <20080725073231.GB7119@Clio.twb.ath.cx> <488983E1.1050708@cowan.name> <20080725075249.GG7119@Clio.twb.ath.cx> In-Reply-To: <20080725075249.GG7119@Clio.twb.ath.cx> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1032 Lines: 35 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trent W. Buck wrote: > Would it be better to have screen "remember" if an enable sequence was > sent, so that if I *later* do > > xterm -e screen -xRR > > the *new* xterm will also know about mousiness? (IIUC, currently the > xterm has to be connected when you do M-x xterm-mouse-mode.) That's what I thought. However, I just tried it, and I was surprised to find that it worked fine, even though the xterm connected after Vim had been started. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiYd87M8hyUobTrERArPTAJ4oUjmB46gfL9aYqdYEFWdeNJ1gGgCeMUNy lh4enS/LI0UqY6LWdzv5Wow= =VbOy -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 13:51:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 96FD173EF93 for ; Fri, 25 Jul 2008 13:51:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:48440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMRRT-00026i-5S for erik@plastic-idolatry.com; Fri, 25 Jul 2008 13:50:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMRRB-00026b-Qe for screen-users@gnu.org; Fri, 25 Jul 2008 13:50:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMRRA-000268-QI for screen-users@gnu.org; Fri, 25 Jul 2008 13:50:41 -0400 Received: from [199.232.76.173] (port=45913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMRRA-00025z-J0 for screen-users@gnu.org; Fri, 25 Jul 2008 13:50:40 -0400 Received: from prime.gushi.org ([72.9.101.130]:60431) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMRR9-0003Sz-Ve for screen-users@gnu.org; Fri, 25 Jul 2008 13:50:40 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6PHoOgC031329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jul 2008 13:50:26 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1216991860; bh=smzb5YSEK/mutN5QhrQOp40LW44=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=EsWn uP8iThz0OAcl1zarTKXzv7yrCc3nmc0rCSqCcXuUbn8xMwf9bhLgDF32ZyqiaRFEPTc OSRVmQqdToSOrew== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type; b=VNAyY7zT5iRxpadXgYq+YQg5eKlwXk5XfZa6mtTiaMWMlgxK9p48VzNDiGERp59gx NlasmuXTZksK64XNLhgQQ== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6PHoOju031323; Fri, 25 Jul 2008 13:50:24 -0400 (EDT) (envelope-from danm) Date: Fri, 25 Jul 2008 13:50:24 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Micah Cowan In-Reply-To: <48897BC1.9090903@cowan.name> Message-ID: References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> <48897BC1.9090903@cowan.name> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Fri, 25 Jul 2008 13:17:40 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3307 Lines: 102 On Fri, 25 Jul 2008, Micah Cowan wrote: Yes, I'm top-posting...but it's relevant. So from Micah's findings, it would almost appear that based on the application, there's a number of things that one needs to do to make this work. (xterm value, fake display, manually send the escape sequence, etc). This is definitely something that fits well into some kind of documentation grid as to what-setup-requires-what... I'm not sure if there's anything in screen that can fix it (although I think the window-title hack is a neat answer). I am also not sure if this should be brought to the nano/alpine/whatnot developers -- there are at LEAST a couple situations where you want a mouse without a display, i.e. console-access, where screen is ideal (but then, you have multiple virtual consoles). Let me think on this a bit more -- there's GOT to be a clean way to handle this -- Micah, do you think it's relevant to open bugs with the appropriate projects? Or better still, can we come up with a way to define a "test case" for mouse under screenable events? (I had a coworker tell me I should run gpm in my ssh session, to fix this...I wonder how right he might have been...other than that I'm under freeBSD). > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Okay, so here's what I've found. > > I confirmed that nano and alpine get mouse events outside screen (duh). > > I confirmed that alpine _works_ with mouse inside screen, no problems. I > have to set DISPLAY to a fake value, but I had to do that to make it > work outside of screen, too. > > I confirmed that nano does _not_ work by default inside of screen. It > doesn't send the "send mouse events" sequence (it sends the \E[?1000h > sequence outside of screen). If I tell screen to send mouse events > anyway, nano -m doesn't process them correctly (clicking in the editor > pane brings up the help screen, instead of just moving the cursor). To > get screen to send mouse events, I did: > > $ printf '\033[?1000h'; nano -m > > You'll want to do a > > $ printf '\033[?1000l' > > Sometime afterwards to disable the mouse events again. > > BTW, I confirmed that, on my home system, nano under screen doesn't work > for me either. However, when I was at work, it worked fine. I just ssh'd > in and verified it works fine. The version for the one that worked is > 1.3. on RedHat, yours is 2.0.7, and mine is 2.0.6. > > Running > > $ TERM=xterm nano -m > > works fine for me in screen. > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIiXvA7M8hyUobTrERAiGEAJ0SD/WQYhtJXFNKH3rHKv+fWWqelgCfeTyY > 8ZRQh4JTWHzuTEmT9F7wzK0= > =EDbP > -----END PGP SIGNATURE----- > -- "You're a thucking reyer!" -Richard Bozzello, who believed tongue piercing was painless. --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Jul 25 13:59:52 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DE93873EF93 for ; Fri, 25 Jul 2008 13:59:51 -0400 (EDT) Received: from localhost ([127.0.0.1]:36921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMRa0-0005C5-Sa for erik@plastic-idolatry.com; Fri, 25 Jul 2008 13:59:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMRZY-00058G-3H for screen-users@gnu.org; Fri, 25 Jul 2008 13:59:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMRZX-00057l-K7 for screen-users@gnu.org; Fri, 25 Jul 2008 13:59:19 -0400 Received: from [199.232.76.173] (port=51178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMRZX-00057i-9k for screen-users@gnu.org; Fri, 25 Jul 2008 13:59:19 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:60580) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMRZW-0004pY-Sk for screen-users@gnu.org; Fri, 25 Jul 2008 13:59:19 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id E91543CC8060; Fri, 25 Jul 2008 10:59:17 -0700 (PDT) Message-ID: <488A1474.2090609@cowan.name> Date: Fri, 25 Jul 2008 10:59:16 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: "Dan Mahoney, System Admin" References: <48890928.7060205@cowan.name> <488918F6.5060104@cowan.name> <48896642.8050507@cowan.name> <48897BC1.9090903@cowan.name> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3036 Lines: 82 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Mahoney, System Admin wrote: > So from Micah's findings, it would almost appear that based on the > application, there's a number of things that one needs to do to make > this work. (xterm value, fake display, manually send the escape > sequence, etc). No; to my knowledge, the only program I've ever seen require DISPLAY to be set is alpine, which is kind of retarded. Manually sending the escape sequence will _not_ work, as I mentioned previously. It will get screen to send the sequences, to be sure, but it will not put the application into an accepting state (nano -m would not accept them properly, despite being in "mouse enabled" mode, unless the term was "xterm"). > This is definitely something that fits well into some kind of > documentation grid as to what-setup-requires-what... Probably should go on the wiki. http://aperiodic.net/screen/ > I'm not sure if there's anything in screen that can fix it (although I > think the window-title hack is a neat answer). Won't work: that'll be equivalent to what I did with "sending the escape sequence first"; nano still doesn't interpret them. Even if it did work, it'd be a bad idea, except for your own personal use. Even if you never suspend nano to work in the shell, other people certainly may. > I am also not sure if > this should be brought to the nano/alpine/whatnot developers -- there > are at LEAST a couple situations where you want a mouse without a > display, i.e. console-access, where screen is ideal (but then, you have > multiple virtual consoles). AFAICT, nano doesn't explicitly look for xterm; it may well be an ncurses issue, rather than nano. > Let me think on this a bit more -- there's GOT to be a clean way to > handle this -- Micah, do you think it's relevant to open bugs with the > appropriate projects? It can't hurt; I had some success with that in Vim. But adding "screen" to the list of approved terminals is not a good general solution; it really needs to be addressed in ncurses/terminfo. > Or better still, can we come up with a way to define a "test case" for > mouse under screenable events? > > (I had a coworker tell me I should run gpm in my ssh session, to fix > this...I wonder how right he might have been...other than that I'm under > freeBSD). Does gpm work that way? I wouldn't have thought so, but I don't really know that much about gpm. I thought it's intended to work on the actual console terms, though, with the local mouse. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIihR07M8hyUobTrERApJTAJ4/QI0rfcHTRvVv1Hl/Qo/eI5bo5gCeNCt4 +ji1+8OfmFUov9sJhJoARLI= =Hy2p -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:02:07 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 59B3E43BCDD for ; Sat, 26 Jul 2008 13:02:07 -0400 (EDT) Received: from localhost ([127.0.0.1]:39090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMn9f-000713-OP for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:02:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM3QB-000550-Fk for screen-users@gnu.org; Thu, 24 Jul 2008 12:12:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM3QA-00054i-Gv for screen-users@gnu.org; Thu, 24 Jul 2008 12:12:02 -0400 Received: from [199.232.76.173] (port=55988 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM3Q8-00054D-UE; Thu, 24 Jul 2008 12:12:01 -0400 Received: from saeurebad.de ([85.214.36.134]:43275) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM3Q8-00084x-HJ; Thu, 24 Jul 2008 12:12:00 -0400 Received: by saeurebad.de (Postfix, from userid 107) id 2DB772F0048; Thu, 24 Jul 2008 18:11:59 +0200 (CEST) Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 5644B2F0006; Thu, 24 Jul 2008 18:11:58 +0200 (CEST) From: Johannes Weiner To: Sadrul Habib Chowdhury References: <20080724160004.GC26150@localdomain> Date: Thu, 24 Jul 2008 18:11:33 +0200 In-Reply-To: <20080724160004.GC26150@localdomain> (Sadrul Habib Chowdhury's message of "Thu, 24 Jul 2008 12:00:04 -0400") Message-ID: <87r69j5kju.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:28 -0400 Cc: screen-devel@gnu.org, screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4302 Lines: 100 Hi, Sadrul Habib Chowdhury writes: > Hi. I started working on a lua script loader for screen last night. I am > quite happy with the progress so far. I would like to know what people > think about this kind of work. I discussed about this briefly with Micah > last night, and he also thought discussing this in the list would be > useful. > > I will try to answer a few questions that might come up in advance: > > * Where is the patchset? > - The current patchset is available at > http://www.pidgin.im/~sadrul/pp/scripting-lua/. The patches are against > the development version of screen > (http://git.savannah.gnu.org/gitweb/?p=screen.git) > > * What's the goal? > - The goal right now is to allow executing some user-defined function > on specific events, e.g. when a window is closed, opened, > title/position changed, a display is detached etc. etc. easily, i.e. > without requiring a recompilation/reinstallation. > > I started working on this mostly out of curiosity, to see where it > goes, and what cool things it might allow users to do. One use I have > in mind is to send some signal to the process in a window when it's not > visible in any of the displays, (and send another one when it becomes > visible for the first time). It doesn't make all that much sense to > implement such highly personalized features in screen itself. > > I am sure people will find a lot of other interesting things to do. > > * Why Lua? > - Because I like it! > To be perfectly honest, there was no compelling technical reason for me > to choose lua. I hadn't worked with lua bindings before, but I was told > it's much easier to work with than with some other scripting languages > (e.g. python!). I thought I would give it a try and find out. > > * Why not guile? > - Because I haven't seen it before, and I wasn't aware of it until Micah > told me about it last night on IRC! > > Note: with the patchset, it is possible to support multiple scripting > languages, either built-in at compile time (current), or dynamically > loaded on demand (not yet implemented, but possible semi-trivially. > [1] for details). So in theory, it will be possible to have none, > either or both lua and guile support. (and any other language someone > cares to write bindings for) I once hacked something together that was based on guile but I ran into problems with user input, IIRC. I will try to look at the problem again in the near future, hopefully. I really like the idea. Thanks for doing this! By the way, Python is also embeddable :) > * What about the bloat? > - I would refer to the commit message at [1] Screw the bloat, there are larger full-blown window managers around :-) > * Is there a sample script? > - Yes! http://www.pidgin.im/~sadrul/pp/scripting-lua/sc.lua > The 'fore_changed' function towards the end is the one that gets > executed when the foreground window for a display is changed. It prints > the list of windows (# and title), a message explaining the switch from > the previous window to the current one, and finally prints detailed > information about each display and its foreground window. The display > information includes the term, tty, user and the canvases. > > * What are the current triggers/hooks? > - Right now, only changing the foreground window in a display will > trigger a function named 'fore_changed' in the lua script. I don't have > a complete list of hooks in mind yet. I plan on adding new hooks as the > need arises. Suggestions are very welcome! > > I would love to know if people have any opinions, suggestions etc. about > this. The trend I would like to see is not just extending screen with a powerful language but reducing the C code where possible by this language. Sort of like it's done with emacs (only that emacs was probably written to this design from the beginning, I assume). Because the more you do in extension language, the more powerful commands you can provide to the scripting interface. And the more your configuration file becomes a program on its own, written for the screen library :) Hannes _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:02:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DA8BF43BCDD for ; Sat, 26 Jul 2008 13:02:52 -0400 (EDT) Received: from localhost ([127.0.0.1]:39488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnAP-0007R4-T7 for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:02:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM8aK-0002PR-6D for screen-users@gnu.org; Thu, 24 Jul 2008 17:42:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM8aJ-0002Oz-Hb for screen-users@gnu.org; Thu, 24 Jul 2008 17:42:51 -0400 Received: from [199.232.76.173] (port=58826 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM8aI-0002Nt-6a; Thu, 24 Jul 2008 17:42:50 -0400 Received: from saeurebad.de ([85.214.36.134]:45786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM8aH-0002Jt-Pk; Thu, 24 Jul 2008 17:42:50 -0400 Received: by saeurebad.de (Postfix, from userid 107) id A84BB2F0048; Thu, 24 Jul 2008 23:42:47 +0200 (CEST) Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 37BBA2F0006; Thu, 24 Jul 2008 23:42:47 +0200 (CEST) From: Johannes Weiner To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> Date: Thu, 24 Jul 2008 23:42:23 +0200 In-Reply-To: (Tom Scogland's message of "Thu, 24 Jul 2008 15:47:39 -0500") Message-ID: <87y73r3qo0.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:28 -0400 Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1382 Lines: 32 Hi Tom, "Tom Scogland" writes: > All of this is pretty correct, except that the gnu emacs we know was lisp > with a C core for a long time because redraw was impossible to write > efficiently enough in lisp for some reason. As such, when the program > entered that state, everything changed, and that's something that should > probably be avoided. Either have it be all scripted, or have it be a C > core which can be extended and modified from outside, but avoiding a > situation where most of the program is one way and certain parts are > another, that will just generate frustration and maintenance problems. > A final word here, bloat=bad. > I would really like to see scripting, but if it means an emacs-like > distribution of 100+ MB of scripting files and the generation of a program > which does everything well except what it was designed for, then the point > has been missed. This is just because the Emacs developers chose to include 2+ mailclients and 2+ irc clients into the standard distribution. That is no must, I think. I hope that having screen scriptable will lead to a lot of cool scripts being published and shared, but the screen distribution can still be kept at a minimum. Hannes _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:03:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7680143BCDD for ; Sat, 26 Jul 2008 13:03:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:39887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnB8-0007ub-HD for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:03:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM9ob-0001SD-VS for screen-users@gnu.org; Thu, 24 Jul 2008 19:01:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM9ob-0001Rm-6K for screen-users@gnu.org; Thu, 24 Jul 2008 19:01:41 -0400 Received: from [199.232.76.173] (port=50920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM9oY-0001QU-S4; Thu, 24 Jul 2008 19:01:38 -0400 Received: from saeurebad.de ([85.214.36.134]:46205) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KM9oY-0007Aa-17; Thu, 24 Jul 2008 19:01:38 -0400 Received: by saeurebad.de (Postfix, from userid 107) id 6CEEE2F0048; Fri, 25 Jul 2008 01:01:34 +0200 (CEST) Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 201B42F0006; Fri, 25 Jul 2008 01:01:34 +0200 (CEST) From: Johannes Weiner To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> Date: Fri, 25 Jul 2008 01:01:10 +0200 In-Reply-To: <4888F32D.8070701@cowan.name> (Micah Cowan's message of "Thu, 24 Jul 2008 14:25:01 -0700") Message-ID: <87tzee51l5.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:28 -0400 Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 564 Lines: 22 Hi, Micah Cowan writes: > Micah Cowan wrote: >> To be honest, implementing a Screen within Emacs makes almost as much >> sense as giving Screen Emacs-like scriptability > > Come to think of it, that functionality more-or-less already exists; > "M-x term" within Emacs pretty much fits the bill. Only a dumb terminal, though :( http://hannes.saeurebad.de/images/no-recursive-emacs.png Hannes _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:04:21 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B0BEE43BCDD for ; Sat, 26 Jul 2008 13:04:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:35049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnBq-0008Pi-Nt for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:04:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMBGd-0001n0-58 for screen-users@gnu.org; Thu, 24 Jul 2008 20:34:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMBGc-0001ml-OQ for screen-users@gnu.org; Thu, 24 Jul 2008 20:34:42 -0400 Received: from [199.232.76.173] (port=44147 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMBGa-0001mH-U7; Thu, 24 Jul 2008 20:34:40 -0400 Received: from saeurebad.de ([85.214.36.134]:46695) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMBGa-0003WK-6d; Thu, 24 Jul 2008 20:34:40 -0400 Received: by saeurebad.de (Postfix, from userid 107) id AE8C82F0048; Fri, 25 Jul 2008 02:34:35 +0200 (CEST) Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 533362F0006; Fri, 25 Jul 2008 02:34:35 +0200 (CEST) From: Johannes Weiner To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> <87tzee51l5.fsf@saeurebad.de> <48890B9B.3010907@cowan.name> Date: Fri, 25 Jul 2008 02:34:11 +0200 In-Reply-To: <48890B9B.3010907@cowan.name> (Micah Cowan's message of "Thu, 24 Jul 2008 16:09:15 -0700") Message-ID: <87bq0mg5to.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:28 -0400 Cc: screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 756 Lines: 29 Hi, Micah Cowan writes: > Johannes Weiner wrote: >> Hi, >> >> Micah Cowan writes: >> >>> Micah Cowan wrote: >>>> To be honest, implementing a Screen within Emacs makes almost as much >>>> sense as giving Screen Emacs-like scriptability >>> Come to think of it, that functionality more-or-less already exists; >>> "M-x term" within Emacs pretty much fits the bill. >> >> Only a dumb terminal, though :( > > Nope. M-x terminal is the dumb terminal. M-x term gives a fully-emulated > terminal ("eterm"). Awesome, did not know at all! Thanks for the hinter! Hannes _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:05:07 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 95FFB43BCDD for ; Sat, 26 Jul 2008 13:05:07 -0400 (EDT) Received: from localhost ([127.0.0.1]:35449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnCZ-0000OA-3F for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:05:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMGSD-00080g-L9 for screen-users@gnu.org; Fri, 25 Jul 2008 02:07:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMGSB-0007zw-V5 for screen-users@gnu.org; Fri, 25 Jul 2008 02:07:01 -0400 Received: from [199.232.76.173] (port=56751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGSB-0007zY-QQ for screen-users@gnu.org; Fri, 25 Jul 2008 02:06:59 -0400 Received: from mu-out-0910.google.com ([209.85.134.184]:15592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMGS9-0005l7-Li for screen-users@gnu.org; Fri, 25 Jul 2008 02:06:58 -0400 Received: by mu-out-0910.google.com with SMTP id i2so5135706mue.6 for ; Thu, 24 Jul 2008 23:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=b/6JPojKbPzFTMBJqfOMKeHgeWYSlfW4UdT6RtECEbA=; b=hxgjBzwY4mVbJC3qIntzBCVzkhp/Lflfix6KckST8Jn2IV3J2/Crh44QdU/9UhAQdw qZ8Pv1MwRaACngCNIC5/rEW1y5MhIqicFm6Spq5MP6Igpieq78c1L+y0KYcmxiyYt9L/ jC97WnDxFyPu6VeatJ0nclNlizza5gGJYA3Wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=tOatY4xU7DumcheaXb4KUWVNwo3unTR7tOZpKP9UA0HQRRWY24ILhhfdsR2nhTjIqj GMu/2ACgCS+1kQR7z8w/wRPA9iZXMkHCT3zBXvOpX8dvCYohfssrYj/f5MOYVLSyGQJ9 J/kKY17e+k4h+XG7eMxkAscYW37/ahA5YS/b4= Received: by 10.103.40.5 with SMTP id s5mr731867muj.133.1216966015742; Thu, 24 Jul 2008 23:06:55 -0700 (PDT) Received: by 10.102.247.9 with HTTP; Thu, 24 Jul 2008 23:06:55 -0700 (PDT) Message-ID: <75586370807242306p452f77e8m9201306dc73bf37@mail.gmail.com> Date: Fri, 25 Jul 2008 01:06:55 -0500 From: "Joe Zbiciak" To: "Micah Cowan" , screen-users@gnu.org, "Dan Mahoney, System Admin" MIME-Version: 1.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:29 -0400 Cc: Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1854995847==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3993 Lines: 123 --===============1854995847== Content-Type: multipart/alternative; boundary="----=_Part_10854_14533524.1216966015710" ------=_Part_10854_14533524.1216966015710 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline This is the point of the conversation where I butt my head in and look stupid. :-) ----- Original Message ---- Micah Cowan wrote: > >> Wait, where are you running screen? My assumption was that you be > >> running it ON prime.gushi.org, not before you ssh in. > > Right. I'm doing both. > > >> When I ssh from my mac to prime, nano -m works. > > > >> When I ssh from my mac to prime and start screen -q, nano -m doesn't. > > When you set TERM=xterm? (That was what we were talking about) > > Within screen running on gushi, "TERM=xterm nano -m" gives me mouse > capabilities (but isn't a great idea long-term, as it may well screw up > other things subtly). Micah, This may be a silly question, but how does "screen" decide that the attaching terminal supports capturing mouse events? It could be that nano says it's interested, but screen thinks they're not available. I'm no expert in the screen code base, but is this where? if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt")) D_CXT = 1; Dan, What do you have TERM set to when you launch screen? If you say "TERM=xterm screen" to start screen, does that change things? Regards, --Joe -- We sell spatulas, and that's all! http://spatula-city.org/~im14u2c/ http://spacepatrol.info/ ------=_Part_10854_14533524.1216966015710 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
This is the point of the conversation where I butt my head in and
look stupid.  :-)


----- Original Message ----
Micah Cowan wrote:
> >> Wait, where are you running screen?  My assumption was that you be
> >> running it ON prime.gushi.org, not before you ssh in.
>
> Right. I'm doing both.
>
> >> When I ssh from my mac to prime, nano -m works.
> >
> >> When I ssh from my mac to prime and start screen -q, nano -m doesn't.
>
> When you set TERM=xterm? (That was what we were talking about)
>
> Within screen running on gushi, "TERM=xterm nano -m" gives me mouse
> capabilities (but isn't a great idea long-term, as it may well screw up
> other things subtly).


Micah,
   
This may be a silly question, but how does "screen" decide that the
attaching terminal supports capturing mouse events?  It could be that
nano says it's interested, but screen thinks they're not available.

I'm no expert in the screen code base, but is this where?

  if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt"))
      D_CXT = 1;
             
Dan, 
   
What do you have TERM set to when you launch screen?  If you say
"TERM=xterm screen" to start screen, does that change things?

Regards,

--Joe


--
We sell spatulas, and that's all!
http://spatula-city.org/~im14u2c/
http://spacepatrol.info/
------=_Part_10854_14533524.1216966015710-- --===============1854995847== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1854995847==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:05:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6AB8B43BCDD for ; Sat, 26 Jul 2008 13:05:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:35842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnDN-000115-Eu for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:05:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMGUm-0000ud-2Q for screen-users@gnu.org; Fri, 25 Jul 2008 02:09:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMGUk-0000tX-0Q for screen-users@gnu.org; Fri, 25 Jul 2008 02:09:39 -0400 Received: from [199.232.76.173] (port=44704 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMGUj-0000t4-Kn for screen-users@gnu.org; Fri, 25 Jul 2008 02:09:37 -0400 Received: from mu-out-0910.google.com ([209.85.134.191]:16407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMGUi-0006Cp-Jn for screen-users@gnu.org; Fri, 25 Jul 2008 02:09:36 -0400 Received: by mu-out-0910.google.com with SMTP id i2so5136937mue.6 for ; Thu, 24 Jul 2008 23:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DjBGwLkVOGwkdZdFMAdnqUU3KPRUt3Ddb2XsF6oB0Bg=; b=dZCO860yAvh3Ur4vARY1OJ5uKgbau8xqSdkmqIb5BdRGsOOShXWFbNrmqGYh/JZWO0 EmoPP8qe2QXLQIoLHvmwdWdwcyQGXGRQgdGcCqlhICFuU9bP0jMM2ZnFO1VGtdBSmM9u mbqOsXH0NqLbemGoc0osmPG+kn0BndEjOHM6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LKF171v9/EII4BX5Dyx354CW1Ky8bU/c4RwQfZhF8bDh9ZrtozufQnZ/jx2uE9bBYE bbLbN5urcrOsyuhjFGrsiWVEBJpoJx+oe3cPUw6Wnew6MVTRIAjc1jlVebY+ipIJd1MW VNZrap2SBK2Cutx3oR6oAIh6LEtnyvI37Ki5c= Received: by 10.103.214.8 with SMTP id r8mr738139muq.64.1216966174185; Thu, 24 Jul 2008 23:09:34 -0700 (PDT) Received: by 10.102.247.9 with HTTP; Thu, 24 Jul 2008 23:09:34 -0700 (PDT) Message-ID: <75586370807242309y5e6712b2v486fe448fe7e3c0e@mail.gmail.com> Date: Fri, 25 Jul 2008 01:09:34 -0500 From: "Joe Zbiciak" To: "Micah Cowan" , screen-users@gnu.org, "Dan Mahoney, System Admin" In-Reply-To: <75586370807242306p452f77e8m9201306dc73bf37@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <75586370807242306p452f77e8m9201306dc73bf37@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:29 -0400 Cc: Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1131 Lines: 47 On Fri, Jul 25, 2008 at 1:06 AM, Joe Zbiciak wrote: > > This may be a silly question, but how does "screen" decide that the > attaching terminal supports capturing mouse events? It could be that > nano says it's interested, but screen thinks they're not available. > > I'm no expert in the screen code base, but is this where? > > if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt")) > D_CXT = 1; I should add that I say this due to this code elsewhere: void MouseMode(mode) int mode; { if (display && D_mouse != mode) { char mousebuf[20]; if (!D_CXT) return; if (D_mouse) { sprintf(mousebuf, "\033[?%dl", D_mouse); AddStr(mousebuf); } if (mode) { sprintf(mousebuf, "\033[?%dh", mode); AddStr(mousebuf); } D_mouse = mode; } } -- We sell spatulas, and that's all! http://spatula-city.org/~im14u2c/ http://spacepatrol.info/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:06:43 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 035A643BCDD for ; Sat, 26 Jul 2008 13:06:42 -0400 (EDT) Received: from localhost ([127.0.0.1]:36239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnE7-0001eI-Vs for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:06:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMNnW-00015Q-K3 for screen-users@gnu.org; Fri, 25 Jul 2008 09:57:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMNnV-00014u-Jc for screen-users@gnu.org; Fri, 25 Jul 2008 09:57:29 -0400 Received: from [199.232.76.173] (port=39562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMNnT-00014J-Sd; Fri, 25 Jul 2008 09:57:27 -0400 Received: from saeurebad.de ([85.214.36.134]:52126) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMNnS-0003BT-IO; Fri, 25 Jul 2008 09:57:27 -0400 Received: by saeurebad.de (Postfix, from userid 107) id 168612F0046; Fri, 25 Jul 2008 15:57:25 +0200 (CEST) Received: from localhost (83-221-69-159.dynamic.primacom.net [83.221.69.159]) by saeurebad.de (Postfix) with ESMTP id 9ECFA2F0006; Fri, 25 Jul 2008 15:57:24 +0200 (CEST) From: Johannes Weiner To: Screen development References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> Date: Fri, 25 Jul 2008 15:57:01 +0200 In-Reply-To: (Mark Eichin's message of "Thu, 24 Jul 2008 17:54:45 -0400") Message-ID: <87zlo612z6.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:29 -0400 Cc: Micah Cowan , screen-users@gnu.org Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 739 Lines: 24 Mark Eichin writes: > Micah Cowan writes: > >> Micah Cowan wrote: >>> To be honest, implementing a Screen within Emacs makes almost as much >>> sense as giving Screen Emacs-like scriptability >> >> Come to think of it, that functionality more-or-less already exists; >> "M-x term" within Emacs pretty much fits the bill. > > Combined with wicos.el (or one of the more modern versions, escreen I > think?) you get the switch-screens-in-this-window part too. The thing > you probably don't get is talks-to-serial-ports :-) M-x serial-term Hannes _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:07:26 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 67E8243BCDD for ; Sat, 26 Jul 2008 13:07:26 -0400 (EDT) Received: from localhost ([127.0.0.1]:36632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnEp-0002Tb-7Q for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:07:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMSnV-0000GE-T3 for screen-users@gnu.org; Fri, 25 Jul 2008 15:17:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMSnU-0000Fk-IU for screen-users@gnu.org; Fri, 25 Jul 2008 15:17:49 -0400 Received: from [199.232.76.173] (port=48473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMSnU-0000Ff-7u for screen-users@gnu.org; Fri, 25 Jul 2008 15:17:48 -0400 Received: from wr-out-0506.google.com ([64.233.184.238]:63714) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMSnT-0003Hb-5D for screen-users@gnu.org; Fri, 25 Jul 2008 15:17:47 -0400 Received: by wr-out-0506.google.com with SMTP id c30so2556186wra.14 for ; Fri, 25 Jul 2008 12:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=bCdjVVXJSAW1/HtT/yTZT5+XluZgeLIlrqW2RnSI6jY=; b=UA7/oY2MTclqJ+tsVioAS9OU1BewlS1g+k7X2jbS/VwfNSGNg7chtVq9jlQQSKtWkm 5rtbRsFZviHzeiGbmNZkTVhodAGc7mu89s+/+meYRxP2AtY1HCxmQ54mubwkJLeCNsmD s/NvvKq55keX1BrDQIiitydTXutJkBEa8InxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=elf5pRympeHVwyJyhR4fg9Fo1j+mVZr3+s+7XVlRKsO5goDZSsg/61+KP2tyeKr27q iK4mgG/QKHInd4+yORpRRRo8AtM6WfrNjNt1d3eNI3XgCZ5QiJuTK3dLkNyEpUnp7epp bpQWFu3b6a8cia4llXXTrsPNUVoWI/BQxDbzw= Received: by 10.90.115.6 with SMTP id n6mr2640667agc.3.1217013465489; Fri, 25 Jul 2008 12:17:45 -0700 (PDT) Received: by 10.90.92.9 with HTTP; Fri, 25 Jul 2008 12:17:45 -0700 (PDT) Message-ID: Date: Fri, 25 Jul 2008 15:17:45 -0400 From: James To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 26 Jul 2008 13:01:28 -0400 Subject: order of flags X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 603 Lines: 25 hello, just wanted to know why the following command gives: $ screen -RRx There is no screen to be attached. whereas typing: $ screen -xRR gives a new screen session. (or attaches to an existing one with multiuser mode) at the moment i'm using the second command as my "always run screen like this" favorite... wasn't sure if this was a bug or a weirdism of screen. let me know your thoughts or i should be doing something differently, thanks. _J _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:34:24 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C973343BCDD for ; Sat, 26 Jul 2008 13:34:24 -0400 (EDT) Received: from localhost ([127.0.0.1]:49095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnev-0005ho-Kh for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:34:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMndz-0005Iq-1V for screen-users@gnu.org; Sat, 26 Jul 2008 13:33:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMndv-0005Dz-Ca for screen-users@gnu.org; Sat, 26 Jul 2008 13:33:22 -0400 Received: from [199.232.76.173] (port=33592 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMndv-0005Di-5n for screen-users@gnu.org; Sat, 26 Jul 2008 13:33:19 -0400 Received: from bld-mail06.adl2.internode.on.net ([203.16.214.70]:33536 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMndu-00020s-8q for screen-users@gnu.org; Sat, 26 Jul 2008 13:33:18 -0400 Received: from localhost (unverified [59.167.85.206]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23408865-1927428 for ; Sun, 27 Jul 2008 03:03:11 +0930 (CST) Date: Sun, 27 Jul 2008 03:33:09 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080726173302.GA16310@Clio.twb.ath.cx> References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> <4888D2FA.7040702@cowan.name> <4888F12E.3020209@cowan.name> <4888F32D.8070701@cowan.name> <87tzee51l5.fsf@saeurebad.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tzee51l5.fsf@saeurebad.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 653 Lines: 18 On Fri, Jul 25, 2008 at 01:01:10AM +0200, Johannes Weiner wrote: >> "M-x term" within Emacs pretty much fits the bill. > Only a dumb terminal, though :( > http://hannes.saeurebad.de/images/no-recursive-emacs.png M-x term is not the same as M-x shell. The former provides VT220 (or thereabouts) emulation; the latter provides dumb terminal emulator (on top of which is layered the standard Emacs buffer interaction mechanisms). Emacs is off-topic for this list, let's all go back to focusing on Screen. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:46:58 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9A18743BCDD for ; Sat, 26 Jul 2008 13:46:58 -0400 (EDT) Received: from localhost ([127.0.0.1]:48040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnr5-0004cN-9Q for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:46:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMnqm-0004bn-13 for screen-users@gnu.org; Sat, 26 Jul 2008 13:46:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMnqj-0004bb-NC for screen-users@gnu.org; Sat, 26 Jul 2008 13:46:34 -0400 Received: from [199.232.76.173] (port=48958 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnqj-0004bY-G5 for screen-users@gnu.org; Sat, 26 Jul 2008 13:46:33 -0400 Received: from bld-mail08.adl2.internode.on.net ([203.16.214.72]:35802 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMnqi-0004SQ-OG for screen-users@gnu.org; Sat, 26 Jul 2008 13:46:33 -0400 Received: from localhost (unverified [59.167.85.206]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23437872-1927428 for ; Sun, 27 Jul 2008 03:16:26 +0930 (CST) Date: Sun, 27 Jul 2008 03:46:24 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080726174622.GB16310@Clio.twb.ath.cx> References: <20080724160004.GC26150@localdomain> <87r69j5kju.fsf@saeurebad.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r69j5kju.fsf@saeurebad.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [screen-devel] Scripting Support for Screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1452 Lines: 32 On Thu, Jul 24, 2008 at 06:11:33PM +0200, Johannes Weiner wrote: >> * What about the bloat? > Screw the bloat, there are larger full-blown window managers around :-) I don't think that the existence of bloat in *some* solutions for an unrelated problem domain is an excuse to add bloat to Screen. Or are you specifically referring to bloated window managers for the tty? Note that I don't believe replacing the existing, limited domain-specific language (DSL) used in ^A: and .screenrc with an embedded general-purpose language will *necessarily* add bloat. Using a third-party language would (hopefully) reduce the amount of code that the Screen developers need to maintain, as well as the obvious benefit to users of having more customizability. > The trend I would like to see is not just extending screen with a > powerful language but reducing the C code where possible by this > language. I'd certainly like the *core* of Screen to remain in C, or some other language for which an efficient optimizing compiler exists. I don't mind if extra bits (for example, the code to turn the window data into a string for %w) was converted to a language that's interpreted on-the-fly. Separation of "core" from "extra wank that users insist on" might also reduce the burden on the Screen maintainers. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 13:54:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 09D3F43BCDD for ; Sat, 26 Jul 2008 13:54:16 -0400 (EDT) Received: from localhost ([127.0.0.1]:51174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMny8-0007BT-T7 for erik@plastic-idolatry.com; Sat, 26 Jul 2008 13:54:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMnxs-0007BE-3D for screen-users@gnu.org; Sat, 26 Jul 2008 13:53:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMnxq-0007B2-Fz for screen-users@gnu.org; Sat, 26 Jul 2008 13:53:55 -0400 Received: from [199.232.76.173] (port=45905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMnxq-0007Az-D6 for screen-users@gnu.org; Sat, 26 Jul 2008 13:53:54 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50977) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMnxq-0005eE-2E for screen-users@gnu.org; Sat, 26 Jul 2008 13:53:54 -0400 Received: from [10.0.0.5] (adsl-76-227-16-233.dsl.pltn13.sbcglobal.net [76.227.16.233]) by mabruk.micah.cowan.name (Postfix) with ESMTP id E8EEB3C8A932; Sat, 26 Jul 2008 10:53:52 -0700 (PDT) Message-ID: <488B64B4.9060100@cowan.name> Date: Sat, 26 Jul 2008 10:53:56 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Joe Zbiciak References: <75586370807242306p452f77e8m9201306dc73bf37@mail.gmail.com> In-Reply-To: <75586370807242306p452f77e8m9201306dc73bf37@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Two little features (and a bounty?) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 988 Lines: 36 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe Zbiciak wrote: > Micah, > > This may be a silly question, but how does "screen" decide that the > attaching terminal supports capturing mouse events? It could be that > nano says it's interested, but screen thinks they're not available. > > I'm no expert in the screen code base, but is this where? > > if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt")) > D_CXT = 1; Yes indeed. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIi2S07M8hyUobTrERAvzbAKCKIeCN6j/zCE7TS6Bd2B5D3pFGvgCfaNEi 1ErIMI4HvKzRMslUEZxX2Dg= =EtcN -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 14:34:05 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E7D0D43BCDD for ; Sat, 26 Jul 2008 14:34:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:56650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMoad-0005OF-EN for erik@plastic-idolatry.com; Sat, 26 Jul 2008 14:33:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMoaM-0005O1-Gg for screen-users@gnu.org; Sat, 26 Jul 2008 14:33:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMoaK-0005NY-AQ for screen-users@gnu.org; Sat, 26 Jul 2008 14:33:41 -0400 Received: from [199.232.76.173] (port=42152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMoaK-0005NV-5N for screen-users@gnu.org; Sat, 26 Jul 2008 14:33:40 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:54677) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMoaJ-0002Xo-SU for screen-users@gnu.org; Sat, 26 Jul 2008 14:33:39 -0400 Received: from [10.0.0.5] (adsl-76-227-16-233.dsl.pltn13.sbcglobal.net [76.227.16.233]) by mabruk.micah.cowan.name (Postfix) with ESMTP id C09763C8A932; Sat, 26 Jul 2008 11:33:38 -0700 (PDT) Message-ID: <488B6E07.6050409@cowan.name> Date: Sat, 26 Jul 2008 11:33:43 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: James References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: order of flags X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1979 Lines: 80 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James wrote: > hello, > just wanted to know why the following command gives: > > $ screen -RRx > There is no screen to be attached. > > whereas typing: > > $ screen -xRR > > gives a new screen session. (or attaches to an existing one with multiuser mode) > > at the moment i'm using the second command as my "always run screen > like this" favorite... > > wasn't sure if this was a bug or a weirdism of screen. > let me know your thoughts or i should be doing something differently, thanks. Looking at the code: ... case 'r': case 'R': #ifdef MULTI case 'x': #endif if (ac > 1 && *av[1] != '-' && !SockMatch) { SockMatch = *++av; ac--; debug2("rflag=%d, SockMatch=%s\n", dflag, SockMatch); } #ifdef MULTI if (*ap == 'x') xflag = 1; #endif if (rflag) rflag = 2; rflag += (*ap == 'R') ? 2 : 1; break; ... It appears that -x always includes the functionality of specifying -r; so screen -RRx is the same as screen -xRr In both versions, rflag ends up at 3, whereas with screen -xRR rflag ends up at 4, just like -RR. I don't know enough about rflag to know the full meaning of this. I'm not certain what was intended, but I'm guessing -x was intended to imply - -r on its own, but messing with existing -r/-R combos wasn't intentional. I've filed an issue for this at https://savannah.gnu.org/bugs/index.php?23939 - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIi24H7M8hyUobTrERAlfaAKCFdjjpUZDL9XIXWH6YhZCDYm6wawCdHqvD udn1TmlzNmeOrACvyRyAAhs= =LAb8 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Jul 26 15:05:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C10C243BCDD for ; Sat, 26 Jul 2008 15:05:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:45752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMp4q-0000dj-Mo for erik@plastic-idolatry.com; Sat, 26 Jul 2008 15:05:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMp4P-0000Zn-8z for screen-users@gnu.org; Sat, 26 Jul 2008 15:04:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMp4N-0000Z8-Qw for screen-users@gnu.org; Sat, 26 Jul 2008 15:04:44 -0400 Received: from [199.232.76.173] (port=48810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMp4N-0000Z4-Iq for screen-users@gnu.org; Sat, 26 Jul 2008 15:04:43 -0400 Received: from wr-out-0506.google.com ([64.233.184.226]:64406) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMp4N-0006sP-64 for screen-users@gnu.org; Sat, 26 Jul 2008 15:04:43 -0400 Received: by wr-out-0506.google.com with SMTP id c30so3168710wra.14 for ; Sat, 26 Jul 2008 12:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JA7iZmGP9j8U6dAZXKNiCvNWcWfhe25FE4FBXrxLQqA=; b=iic/NcAZhQb0fLBLz8AcPyfAFxpN5K1zEoXcpgHyJfD4Mn8H0bPhFSS7js0ad0ee1M OP9Is0/1K7gt5FIhHJ9kTH3NaBXkKEyveXGZtNTrRoO7jgH5xcIJHD8TIliDR1FZ3ZUh 222AeHcIFa1Q4DlQ3wvcn14N6e1AVW2sdp9nI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DlHQntoZ6gEGNlhqEv8Q2JtS/741WkXN6E4qrM9NKqNpjrstkV0PiBwW8xWlRbVazp C2Yv8kGN5Z1Ee9wqzVwMneVTfr6PWlJg4mSuCJk5ICgnda/DCyo7N8mmreA5U8JnKJBA lvUbYN+heLiGedE4qps9RRzaY+mgrf3lKnoGQ= Received: by 10.90.56.5 with SMTP id e5mr4388000aga.80.1217099082332; Sat, 26 Jul 2008 12:04:42 -0700 (PDT) Received: by 10.90.92.9 with HTTP; Sat, 26 Jul 2008 12:04:42 -0700 (PDT) Message-ID: Date: Sat, 26 Jul 2008 15:04:42 -0400 From: James To: "Micah Cowan" In-Reply-To: <488B6E07.6050409@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <488B6E07.6050409@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: order of flags X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2535 Lines: 89 cool! thanks for the research-- it's the best reply i've gotten in a while! cheers, _J On 7/26/08, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > James wrote: > > hello, > > just wanted to know why the following command gives: > > > > $ screen -RRx > > There is no screen to be attached. > > > > whereas typing: > > > > $ screen -xRR > > > > gives a new screen session. (or attaches to an existing one with multiuser mode) > > > > at the moment i'm using the second command as my "always run screen > > like this" favorite... > > > > wasn't sure if this was a bug or a weirdism of screen. > > let me know your thoughts or i should be doing something differently, thanks. > > > Looking at the code: > > ... > case 'r': > case 'R': > #ifdef MULTI > case 'x': > #endif > if (ac > 1 && *av[1] != '-' && !SockMatch) > { > SockMatch = *++av; > ac--; > debug2("rflag=%d, SockMatch=%s\n", dflag, SockMatch); > } > #ifdef MULTI > if (*ap == 'x') > xflag = 1; > #endif > if (rflag) > rflag = 2; > rflag += (*ap == 'R') ? 2 : 1; > break; > ... > > It appears that -x always includes the functionality of specifying -r; so > screen -RRx > is the same as > screen -xRr > In both versions, rflag ends up at 3, whereas with > screen -xRR > rflag ends up at 4, just like -RR. > > I don't know enough about rflag to know the full meaning of this. I'm > not certain what was intended, but I'm guessing -x was intended to imply > - -r on its own, but messing with existing -r/-R combos wasn't intentional. > > I've filed an issue for this at > https://savannah.gnu.org/bugs/index.php?23939 > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer, > and GNU Wget Project Maintainer. > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIi24H7M8hyUobTrERAlfaAKCFdjjpUZDL9XIXWH6YhZCDYm6wawCdHqvD > udn1TmlzNmeOrACvyRyAAhs= > =LAb8 > -----END PGP SIGNATURE----- > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Jul 27 16:21:06 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A81DB733F0D for ; Sun, 27 Jul 2008 16:21:06 -0400 (EDT) Received: from localhost ([127.0.0.1]:45266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNCjk-0000qa-V9 for erik@plastic-idolatry.com; Sun, 27 Jul 2008 16:21:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNCeW-0001aw-OC for screen-users@gnu.org; Sun, 27 Jul 2008 16:15:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNCeV-0001Yr-FV for screen-users@gnu.org; Sun, 27 Jul 2008 16:15:36 -0400 Received: from [199.232.76.173] (port=48691 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNCeV-0001YS-7w for screen-users@gnu.org; Sun, 27 Jul 2008 16:15:35 -0400 Received: from lakepoint.domeneshop.no ([194.63.248.54]:50143) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNCeV-0002XZ-5v for screen-users@gnu.org; Sun, 27 Jul 2008 16:15:35 -0400 Received: from sunbase.org (98.84-49-225.nextgentel.com [84.49.225.98]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.8/8.13.8) with ESMTP id m6RIw8oM028623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 27 Jul 2008 20:58:11 +0200 Date: Sun, 27 Jul 2008 20:58:08 +0200 From: =?utf-8?Q?=C3=98yvind_A=2E?= Holm To: screen-users@gnu.org Message-ID: <20080727185808.GM2203@sunbase.org> MIME-Version: 1.0 OpenPGP: id=94A506E5; url=http://www.sunbase.org/pubkey.asc X-Request-PGP: http://www.sunbase.org/pubkey.asc User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: Read-only windows X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1349677913==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1760 Lines: 61 --===============1349677913== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6THr7QwYWIbrk6Kt" Content-Disposition: inline --6THr7QwYWIbrk6Kt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Is there any way to make a certain window "read only", i.e. display=20 output, but ignore any keystrokes? A farfetched example of this use is=20 windows containing long-running jobs I won=E2=80=99t interrupt if I happen = to=20 accidentally press CTRL-C. The closest thing I=E2=80=99ve found is [cmd]-x,= but=20 I=E2=80=99m not interested in password protection of the whole thing, only = make=20 certain windows ignore any keyboard input. Regards, =C3=98yvind +-| =C3=98yvind A. Holm - N 60.39548=C2=B0 E 5.31735=C2= =B0 |-+ | OpenPGP: 0xFB0CBEE894A506E5 - http://www.sunbase.org/pubkey.asc | | Fingerprint: A006 05D6 E676 B319 55E2 E77E FB0C BEE8 94A5 06E5 | +------------| 4b2dfb08-5c0c-11dd-8b54-000475e441b9 |-------------+ --6THr7QwYWIbrk6Kt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIjMVA+wy+6JSlBuURAlSQAKCG3S6462OJ16htem1/pAQz6DtF3gCeK35Z r4pPGmCHhHQZO9zG0XIqnig= =EWne -----END PGP SIGNATURE----- --6THr7QwYWIbrk6Kt-- --===============1349677913== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1349677913==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 28 06:39:38 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 45CF673DF73 for ; Mon, 28 Jul 2008 06:39:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:55270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNQ8a-0003C6-Nc for erik@plastic-idolatry.com; Mon, 28 Jul 2008 06:39:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNQ8H-0003C0-Hf for screen-users@gnu.org; Mon, 28 Jul 2008 06:39:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNQ8E-0003BN-HC for screen-users@gnu.org; Mon, 28 Jul 2008 06:39:12 -0400 Received: from [199.232.76.173] (port=37756 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNQ8E-0003B3-8A for screen-users@gnu.org; Mon, 28 Jul 2008 06:39:10 -0400 Received: from [196.15.201.201] (port=33035 helo=relay.gwk.co.za) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNQ8A-0002p5-Re for screen-users@gnu.org; Mon, 28 Jul 2008 06:39:09 -0400 Received: from [192.9.200.67] (pc-9-200-67 [192.9.200.67]) by relay.gwk.co.za (8.14.1/8.14.1) with ESMTP id m6SAcOfg007306 for ; Mon, 28 Jul 2008 12:38:28 +0200 From: Albert van Zyl Organization: GWK To: screen-users@gnu.org Date: Mon, 28 Jul 2008 12:39:29 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_iHajINU6ccu/icU" Message-Id: <200807281239.30002.albert@gwk.co.za> X-MXID: m6SAcOfg007306 X-Scanned-By: MailXServer-v4.5a on 192.168.1.20 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Greylist: delayed 1360 seconds by postgrey-1.27 at monty-python; Mon, 28 Jul 2008 06:38:38 EDT Subject: Fwd: Two little features (printing) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1899 Lines: 77 --Boundary-00=_iHajINU6ccu/icU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is how my system prints in Screen: PRINT CHAR(27):"[5i" *start print* PRINT "CASH SALE - 23-01-2007" PRINT "LINE 2" PRINT "LINE 3" PRINT CHAR(27):"[4i" *stop print* It will then print on the printer: CASH SALE - 23-01-2007 =46rom feed LINE 2 Form feed LINE 3 Form feed --Boundary-00=_iHajINU6ccu/icU Content-Type: message/rfc822; name="forwarded message" Content-Transfer-Encoding: 7bit Content-Description: Albert van Zyl : Two little features (printing) Content-Disposition: inline From: Albert van Zyl Organization: GWK To: screen-users@gnu.org Subject: Two little features (printing) Date: Mon, 28 Jul 2008 12:16:31 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807281216.31143.albert@gwk.co.za> It would be GREAT if printing (print through) in Screen could work. I have = the=20 same problem that Dan Mahoney has. Prints one line of text Form feed (Page feed) Prints one line of text Form feed......... Please help! Dan Mahoney wrote: >> 1) Make printing work. =A0And by that I mean make it work JUST as it >> would work without screen, i.e. not "buffer" and send a bunch of >> printer stop/start sequences every 30 characters -- many SSH >> applications interpret that stop sequence as a page feed. --Boundary-00=_iHajINU6ccu/icU Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --Boundary-00=_iHajINU6ccu/icU-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 28 07:08:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0EF88439BB0 for ; Mon, 28 Jul 2008 07:08:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:53046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNQam-0006FI-IA for erik@plastic-idolatry.com; Mon, 28 Jul 2008 07:08:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNQaW-0006F1-By for screen-users@gnu.org; Mon, 28 Jul 2008 07:08:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNQaU-0006Eb-Sh for screen-users@gnu.org; Mon, 28 Jul 2008 07:08:24 -0400 Received: from [199.232.76.173] (port=42028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNQaU-0006EY-PH for screen-users@gnu.org; Mon, 28 Jul 2008 07:08:22 -0400 Received: from [196.15.201.201] (port=35331 helo=relay.gwk.co.za) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNQaQ-0000MC-93 for screen-users@gnu.org; Mon, 28 Jul 2008 07:08:22 -0400 Received: from [192.9.200.67] (pc-9-200-67 [192.9.200.67]) by relay.gwk.co.za (8.14.1/8.14.1) with ESMTP id m6SAFPI5005030 for ; Mon, 28 Jul 2008 12:15:30 +0200 From: Albert van Zyl Organization: GWK To: screen-users@gnu.org Date: Mon, 28 Jul 2008 12:16:31 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807281216.31143.albert@gwk.co.za> X-MXID: m6SAFPI5005030 X-Scanned-By: MailXServer-v4.5a on 192.168.1.20 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Two little features (printing) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 659 Lines: 25 It would be GREAT if printing (print through) in Screen could work. I have = the=20 same problem that Dan Mahoney has. Prints one line of text Form feed (Page feed) Prints one line of text Form feed......... Please help! Dan Mahoney wrote: >> 1) Make printing work. =A0And by that I mean make it work JUST as it >> would work without screen, i.e. not "buffer" and send a bunch of >> printer stop/start sequences every 30 characters -- many SSH >> applications interpret that stop sequence as a page feed. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 28 07:46:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6DD7D4395BA for ; Mon, 28 Jul 2008 07:46:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:43757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNRBW-0001kf-1F for erik@plastic-idolatry.com; Mon, 28 Jul 2008 07:46:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNRBE-0001kO-PL for screen-users@gnu.org; Mon, 28 Jul 2008 07:46:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNRBD-0001kC-8p for screen-users@gnu.org; Mon, 28 Jul 2008 07:46:19 -0400 Received: from [199.232.76.173] (port=38284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNRBD-0001k9-3J for screen-users@gnu.org; Mon, 28 Jul 2008 07:46:19 -0400 Received: from nwmailserver.hsbc.co.uk ([193.108.75.62]:25914 helo=04.mail.hsbc.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNRBC-0006XD-HH for screen-users@gnu.org; Mon, 28 Jul 2008 07:46:19 -0400 Received: from ([172.20.32.105]) by 04.mail.hsbc.co.uk with ESMTP id KP-ARHGZ.64373310; Mon, 28 Jul 2008 12:44:19 0100 In-Reply-To: To: screen-users@gnu.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.1CF3 July 29, 2003 Message-ID: From: asvin.dattani@hsbcib.com Date: Mon, 28 Jul 2008 12:21:23 +0100 X-MIMETrack: Serialize by Router on EMEA-SMTP-03/SERVERS/HSBC at 28/07/2008 12:45:23, Serialize complete at 28/07/2008 12:45:23 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Fwd: Two little features (printing) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1070009074==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 13023 Lines: 269 This is a multipart message in MIME format. --===============1070009074== Content-Type: multipart/alternative; boundary="=_alternative 003E624780257494_=" This is a multipart message in MIME format. --=_alternative 003E624780257494_= Content-Type: text/plain; charset="US-ASCII" Hi, I've been hesitating in replying to this point, because I am no C programmer. But I faced the same problem with printing and made these changes to the ansi.c module (I have version 4.0.2 so your line numbering may be different), which seems to have fixed the issue: 0429: case 'i': 0430: if (!printcmd) <---- added this line 0431: AddCStr(D_PF); <---- added this line 0432: curr->w_state = LIT; 0433: PrintFlush(); 0434: if (curr->w_pdisplay && curr->w_pdisplay->d_printfd >= 0) 0435: { 0436: close(curr->w_pdisplay->d_printfd); 0437: curr->w_pdisplay->d_printfd = -1; 0438: } 0439: curr->w_pdisplay = 0; 0440: break; 1601: curr->w_pdisplay = display; 1602: curr->w_stringp = curr->w_string; 1603: curr->w_state = PRIN; 1604: if (printcmd && curr->w_pdisplay->d_printfd < 0) 1605: curr->w_pdisplay->d_printfd = printpipe(curr, printcmd); 1606: else <---- added this line 1607: AddCStr(D_PO); <---- added this line 1608: } 1609: 1642: else if (display && curr->w_stringp > curr->w_string) 1643: { 1644: /* AddCStr(D_PO); */ <---- commented out this line 1645: AddStrn(curr->w_string, curr->w_stringp - curr->w_string); 1646: /* AddCStr(D_PF); */ <----- commented out this line 1647: Flush(); 1648: } hth, asvin p.s. Sorry Albert - I inadvertently sent this mail to you when I wanted to send it to the whole list.... ************************************************************ HSBC Bank plc may be solicited in the course of its placement efforts for a new issue, by investment clients of the firm for whom the Bank as a firm already provides other services. It may equally decide to allocate to its own proprietary book or with an associate of HSBC Group. This represents a potential conflict of interest. HSBC Bank plc has internal arrangements designed to ensure that the firm would give unbiased and full advice to the corporate finance client about the valuation and pricing of the offering as well as internal systems, controls and procedures to identify and manage conflicts of interest. HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority. ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group "HSBC" for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. --=_alternative 003E624780257494_= Content-Type: text/html; charset="US-ASCII"
Hi,

I've been hesitating in replying to this point, because I am no C programmer. But I faced the same problem with printing and made these changes to the ansi.c module (I have version 4.0.2 so your line numbering may be different), which seems to have fixed the issue:


0429:       case 'i':                                                  
0430: if (!printcmd)                                   <---- added this line                                                
0431:  AddCStr(D_PF);                     <---- added this line                              
0432:         curr->w_state = LIT;                                      
0433:         PrintFlush();                                            
0434:         if (curr->w_pdisplay && curr->w_pdisplay->d_printfd >= 0)
0435:           {                                                      
0436:             close(curr->w_pdisplay->d_printfd);                  
0437:             curr->w_pdisplay->d_printfd = -1;                    
0438:           }                                                      
0439:         curr->w_pdisplay = 0;                                    
0440:         break;                                          


1601:   curr->w_pdisplay = display;                                    
1602:   curr->w_stringp = curr->w_string;                              
1603:   curr->w_state = PRIN;                                          
1604:   if (printcmd && curr->w_pdisplay->d_printfd < 0)                
1605:     curr->w_pdisplay->d_printfd = printpipe(curr, printcmd);      
1606:  else                                         <---- added this line                                            
1607:  AddCStr(D_PO);                            <---- added this line                                              
1608: }                                                                
1609:                                                                  

1642:   else if (display && curr->w_stringp > curr->w_string)                
1643:     {                                                                  
1644: /*      AddCStr(D_PO); */             <---- commented out this line                                        
1645:       AddStrn(curr->w_string, curr->w_stringp - curr->w_string);      
1646: /*      AddCStr(D_PF); */                   <----- commented out this line                                          
1647:       Flush();                                                        
1648:     }                      


hth,

asvin


p.s.

Sorry Albert - I inadvertently sent this mail to you when I wanted to send it to the whole list....

************************************************************
HSBC Bank plc may be solicited in the course of its placement efforts for a new issue, by investment clients of the firm for whom the Bank as a firm already provides other services. It may equally decide to allocate to its own proprietary book or with an associate of HSBC Group. This represents a potential conflict of interest. HSBC Bank plc has internal arrangements designed to ensure that the firm would give unbiased and full advice to the corporate finance client about the valuation and pricing of the offering as well as internal systems, controls and procedures to identify and manage conflicts of interest.

HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority.
************************************************************


SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group "HSBC" for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy.

--=_alternative 003E624780257494_=-- --===============1070009074== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1070009074==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 28 22:11:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EA84773DF73 for ; Mon, 28 Jul 2008 22:11:31 -0400 (EDT) Received: from localhost ([127.0.0.1]:47776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNegO-00048l-8M for erik@plastic-idolatry.com; Mon, 28 Jul 2008 22:11:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNeg3-00048W-Sq for screen-users@gnu.org; Mon, 28 Jul 2008 22:11:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNeg1-00045L-Ly for screen-users@gnu.org; Mon, 28 Jul 2008 22:11:02 -0400 Received: from [199.232.76.173] (port=32938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNeg1-00045I-IH for screen-users@gnu.org; Mon, 28 Jul 2008 22:11:01 -0400 Received: from prime.gushi.org ([72.9.101.130]:61854) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KNeg0-0000Al-Gq for screen-users@gnu.org; Mon, 28 Jul 2008 22:11:01 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m6T2ALCN073109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 Jul 2008 22:10:23 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1217281100; bh=tQGEPPnzRgoclmHCUh1oElftuRU=; h=DomainKey-Signature:Date:From:To:Subject:Message-ID:User-Agent: MIME-Version:Content-Type; b=SCHJ3BA136muD7G6X4myFjNAviH877OIQR/cJ ygJi4LRHK5UaBIAgOJXjOH/2bwiXRXpWKv1ETXpgBvb/Gqosg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:message-id:user-agent: mime-version:content-type; b=PjVjgEny0YY71rMZ94QdxH/spK4bpr6pMT73non6iHi5I22eXAxH3N1T+tadshd0d LCSudz09nwFR6k1CiJY2w== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m6T2AJbQ073084; Mon, 28 Jul 2008 22:10:19 -0400 (EDT) (envelope-from danm) Date: Mon, 28 Jul 2008 22:10:18 -0400 (EDT) From: "Dan Mahoney, System Admin" To: screen-users@gnu.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Mon, 28 Jul 2008 21:38:21 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 862 Lines: 33 Hey all, Is there ANY implementation at all, for when an app is running under screen, for it to be able to launch a "new window" (for example, to view an attachment in pine, to start a /query in irc, to view a file in MC)... I'm not asking if this functionality exists in those programs, but if there's a simple way of implementing it (i.e. if the calls exist, etc). -Dan Mahoney -- "If you aren't going to try something, then we might as well just be friends." "We can't have that now, can we?" -SK & Dan Mahoney, December 9, 1998 --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Jul 28 22:36:27 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6E99573DF73 for ; Mon, 28 Jul 2008 22:36:27 -0400 (EDT) Received: from localhost ([127.0.0.1]:45711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNf4Z-0001FS-4p for erik@plastic-idolatry.com; Mon, 28 Jul 2008 22:36:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNf4F-0001F6-VB for screen-users@gnu.org; Mon, 28 Jul 2008 22:36:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNf4D-0001ES-PD for screen-users@gnu.org; Mon, 28 Jul 2008 22:36:02 -0400 Received: from [199.232.76.173] (port=33891 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNf4D-0001EP-HX for screen-users@gnu.org; Mon, 28 Jul 2008 22:36:01 -0400 Received: from bld-mail06.adl2.internode.on.net ([203.16.214.70]:39650 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNf4C-0003dq-Tz for screen-users@gnu.org; Mon, 28 Jul 2008 22:36:01 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 23615657-1927428 for ; Tue, 29 Jul 2008 12:05:53 +0930 (CST) Date: Tue, 29 Jul 2008 12:35:52 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080729023549.GA3723@Clio.twb.ath.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1295 Lines: 29 On Mon, Jul 28, 2008 at 10:10:18PM -0400, Dan Mahoney, System Admin wrote: > Is there ANY implementation at all, for when an app is running under > screen, for it to be able to launch a "new window" (for example, to > view an attachment in pine, to start a /query in irc, to view a file > in MC)... > > I'm not asking if this functionality exists in those programs, but > if there's a simple way of implementing it (i.e. if the calls exist, > etc). There is: have your program run "screen foo" to start the app "foo" on a new screen window. Because $STY is set within screen, your invocation "screen foo" creates a new window instead of a new session. Unfortunately, this use case for screen is horribly broken if you want to create the new window from within a script (e.g. an Emacs key binding), because "screen foo" still checks if there is a controlling terminal -- even though in this case it doesn't need one. I get around this by instead running "xterm -e screen foo", which causes a second xterm to pop up for a second. This is a really evil and unpleasant kludge, and it makes me sad. Further reading: http://bugs.debian.org/461107 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 29 12:14:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5DF3343AFF3 for ; Tue, 29 Jul 2008 12:14:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:58692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNrqF-0003Uy-Fz for erik@plastic-idolatry.com; Tue, 29 Jul 2008 12:14:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNrpu-0003Uj-Vc for screen-users@gnu.org; Tue, 29 Jul 2008 12:14:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNrpt-0003UR-Ff for screen-users@gnu.org; Tue, 29 Jul 2008 12:14:06 -0400 Received: from [199.232.76.173] (port=35516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNrpt-0003UN-C9 for screen-users@gnu.org; Tue, 29 Jul 2008 12:14:05 -0400 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:41986 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNrpt-0003Hz-64 for screen-users@gnu.org; Tue, 29 Jul 2008 12:14:05 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id 3A2ED4127F for ; Tue, 29 Jul 2008 12:13:35 -0400 (EDT) Received: from aragorn.aperiodic.net (c-69-250-40-52.hsd1.md.comcast.net [69.250.40.52]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPA id 1A8794127E for ; Tue, 29 Jul 2008 12:13:34 -0400 (EDT) Received: from mithrandir.aperiodic.net (mithrandir.aperiodic.net [192.168.1.192]) by aragorn.aperiodic.net (Postfix) with ESMTP id 59F25182F380 for ; Tue, 29 Jul 2008 12:13:34 -0400 (EDT) Received: by mithrandir.aperiodic.net (Postfix, from userid 1000) id 4F7A2F01B; Tue, 29 Jul 2008 12:13:34 -0400 (EDT) Date: Tue, 29 Jul 2008 12:13:34 -0400 From: Phil! Gregory To: screen-users@gnu.org Message-ID: <20080729161334.GC32300@aperiodic.net> Mail-Followup-To: screen-users@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Pobox-Relay-ID: 4BA7FB82-5D89-11DD-9521-3113EBD4C077-55963132!a-sasl-quonix.pobox.com X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 968 Lines: 24 * Dan Mahoney, System Admin [2008-07-28 22:10 -0400]: > Is there ANY implementation at all, for when an app is running under > screen, for it to be able to launch a "new window" (for example, to view > an attachment in pine, to start a /query in irc, to view a file in MC)... I believe BitchX can do this, although its multiwindow code is pretty buggy in its own right. You could probably get some ideas on how to implement it yourself from looking at the BitchX source code, though. -- ...computer contrarian of the first order... / http://aperiodic.net/phil/ PGP: 026A27F2 print: D200 5BDB FC4B B24A 9248 9F7A 4322 2D22 026A 27F2 --- -- I can just see it now: nomination-terrorism ;-) -- Manoj haha! i nominate manoj. -- seeS ---- --- -- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Jul 29 12:38:51 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D0DE573E304 for ; Tue, 29 Jul 2008 12:38:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:41778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNsDn-0001Sz-3H for erik@plastic-idolatry.com; Tue, 29 Jul 2008 12:38:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNsDQ-0001Rg-LB for screen-users@gnu.org; Tue, 29 Jul 2008 12:38:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNsDO-0001Mk-5X for screen-users@gnu.org; Tue, 29 Jul 2008 12:38:23 -0400 Received: from [199.232.76.173] (port=34097 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNsDO-0001MY-1q for screen-users@gnu.org; Tue, 29 Jul 2008 12:38:22 -0400 Received: from sca-ea-mail-2.sun.com ([192.18.43.25]:35538) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KNsDN-0006c8-Jz for screen-users@gnu.org; Tue, 29 Jul 2008 12:38:21 -0400 Received: from dm-east-01.east.sun.com ([129.148.9.192]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m6TGc4gk007510 for ; Tue, 29 Jul 2008 16:38:14 GMT Received: from sr1-ubur-06.east.sun.com (sr1-ubur-06.East.Sun.COM [129.148.9.86]) by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id m6TGc3Ua017898 for ; Tue, 29 Jul 2008 12:38:03 -0400 (EDT) Received: from sr1-ubur-06.east.sun.com (localhost [127.0.0.1]) by sr1-ubur-06.east.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m6TGc3kL018853 for ; Tue, 29 Jul 2008 12:38:03 -0400 (EDT) Received: (from em162155@localhost) by sr1-ubur-06.east.sun.com (8.13.8+Sun/8.13.8/Submit) id m6TGc3bn018851 for screen-users@gnu.org; Tue, 29 Jul 2008 12:38:03 -0400 (EDT) X-Authentication-Warning: sr1-ubur-06.east.sun.com: em162155 set sender to ethan.mallove@sun.com using -f Date: Tue, 29 Jul 2008 12:38:03 -0400 From: Ethan Mallove To: screen-users@gnu.org Message-ID: <20080729163803.GA47982@sun.com> Mail-Followup-To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Can a frozen Screen be revived? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1149 Lines: 36 Hi, My screen has frozen. Is there a way to defibrillate it? $ pstack 31472 31472: screen -S mutt -c /home/emallove/.screenrc-temp ff145f60 write (5, 231a9a8, 9fcf) 0006238c FinitTerm (8f3f0, 1, 18d40, 30af0, 30800, 0) + 32c 00016438 Detach (2, 2f31, 8f3f0, 2f313230, 80808080, 4) + 38 000306c8 ReceiveMsg (89ee0, 0, 18d40, 30af0, 30800, 8f3f0) + 7e8 000695b4 sched (89704, 89000, 74400, f4240, 88800, 88800) + 334 0001c0b4 main (0, 8c000, 18c00, fffffff6, 18c00, 89ee0) + 2674 00015d1c _start (0, 0, 0, 0, 0, 0) + 5c Based on the above stack trace, does anyone have an idea of what is going on? In this thread, someone advised to do "screen -x ", and wait 15 minutes. I tried that, but screen -x has been hanging for about an hour. http://lists.gnu.org/archive/html/screen-users/2008-07/msg00037.html $ screen -v Screen version 4.00.02 (FAU) 5-Dec-03 $ uname -a SunOS ... 5.10 Generic_127111-07 sun4v sparc SUNW,Sun-Fire-T200 Thanks, Ethan _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Jul 31 14:14:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 565D843AFDC for ; Thu, 31 Jul 2008 14:14:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:60321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOcfe-0001up-LM for erik@plastic-idolatry.com; Thu, 31 Jul 2008 14:14:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOcem-0001bx-86 for screen-users@gnu.org; Thu, 31 Jul 2008 14:13:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOcej-0001aG-AK for screen-users@gnu.org; Thu, 31 Jul 2008 14:13:43 -0400 Received: from [199.232.76.173] (port=56299 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOcej-0001Zz-0Q for screen-users@gnu.org; Thu, 31 Jul 2008 14:13:41 -0400 Received: from ultra.bl.org ([66.219.34.12]:50149) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOcei-0002iB-SJ for screen-users@gnu.org; Thu, 31 Jul 2008 14:13:41 -0400 Received: from localhost (localhost [127.0.0.1]) by ultra.bl.org (8.13.8/8.13.8) with ESMTP id m6VIDQDq001469 for ; Thu, 31 Jul 2008 13:13:26 -0500 (CDT) Date: Thu, 31 Jul 2008 13:13:26 -0500 (CDT) From: Michael Parson To: screen-users@gnu.org In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (NEB 962 2008-03-14) X-Marks-The-Spot: --->X MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ultra.bl.org [0.0.0.0]); Thu, 31 Jul 2008 13:13:26 -0500 (CDT) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 851 Lines: 29 On Mon, 28 Jul 2008, Dan Mahoney, System Admin wrote: > Hey all, > > Is there ANY implementation at all, for when an app is running under screen, > for it to be able to launch a "new window" (for example, to view an > attachment in pine, to start a /query in irc, to view a file in MC)... I know the links web browser (not lynx), can open a link in a new screen window. Looking at ps output, it looks like it runs another instance of links, so it probably does the equiv of :screen links $newurl > I'm not asking if this functionality exists in those programs, but if there's > a simple way of implementing it (i.e. if the calls exist, etc). > > -Dan Mahoney -- Michael Parson mparson@bl.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 1 13:46:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 52EA373DC1A for ; Fri, 1 Aug 2008 13:46:53 -0400 (EDT) Received: from localhost ([127.0.0.1]:55033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOyiF-0004SW-U2 for erik@plastic-idolatry.com; Fri, 01 Aug 2008 13:46:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOyhx-0004S6-ON for screen-users@gnu.org; Fri, 01 Aug 2008 13:46:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOyhu-0004Rs-Th for screen-users@gnu.org; Fri, 01 Aug 2008 13:46:29 -0400 Received: from [199.232.76.173] (port=53523 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOyhu-0004Rn-NK for screen-users@gnu.org; Fri, 01 Aug 2008 13:46:26 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:56521) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KOyhu-00076o-8U for screen-users@gnu.org; Fri, 01 Aug 2008 13:46:26 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id C873D5F0E9; Fri, 1 Aug 2008 19:46:18 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id TAA01564; Fri, 1 Aug 2008 19:46:18 +0200 (MEST) Date: Fri, 1 Aug 2008 19:46:18 +0200 From: Juergen Weigert To: Michael Parson Message-ID: <20080801174618.GC23749@faui40p> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: screen-users@gnu.org Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1787 Lines: 48 On Jul 31, 08 13:13:26 -0500, Michael Parson wrote: > On Mon, 28 Jul 2008, Dan Mahoney, System Admin wrote: > > >Hey all, > > > >Is there ANY implementation at all, for when an app is running under > >screen, for it to be able to launch a "new window" (for example, to view > >an attachment in pine, to start a /query in irc, to view a file in MC)... man screen says: [...] new windows can be created by running a command like: screen emacs prog.c from a shell prompt within a previously created window. This will not run another copy of screen, but will instead supply the command name and its arguments to the window manager (specified in the $STY environment variable) who will use it to create the new window. The above example would start the emacs editor (editing prog.c) and switch to its window. > I know the links web browser (not lynx), can open a link in a new screen > window. Looking at ps output, it looks like it runs another instance of > links, so it probably does the equiv of > > :screen links $newurl > > >I'm not asking if this functionality exists in those programs, but if > >there's a simple way of implementing it (i.e. if the calls exist, etc). The answer is yes. Although it is not the API call you may now want to implement, It is a simple command line call. cheers, Jw. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 5 11:00:02 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E57835A60F for ; Tue, 5 Aug 2008 11:00:01 -0400 (EDT) Received: from localhost ([127.0.0.1]:52354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQO0z-00045S-I0 for erik@plastic-idolatry.com; Tue, 05 Aug 2008 10:59:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQO0c-00040S-4d for screen-users@gnu.org; Tue, 05 Aug 2008 10:59:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQO0b-0003yc-7M for screen-users@gnu.org; Tue, 05 Aug 2008 10:59:33 -0400 Received: from [199.232.76.173] (port=56258 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQO0a-0003yK-Q0 for screen-users@gnu.org; Tue, 05 Aug 2008 10:59:33 -0400 Received: from mail.gmx.net ([213.165.64.20]:53939) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KQO0a-0003KD-8u for screen-users@gnu.org; Tue, 05 Aug 2008 10:59:32 -0400 Received: (qmail invoked by alias); 05 Aug 2008 14:59:29 -0000 Received: from p57B7DAAA.dip.t-dialin.net (EHLO blacktrash.org) [87.183.218.170] by mail.gmx.net (mp011) with SMTP; 05 Aug 2008 16:59:29 +0200 X-Authenticated: #11198714 X-Provags-ID: V01U2FsdGVkX19GjXMBpClGkZ8uSsH11nzFdHqViOWebjMxGtVjwR vY2QDrn4zqgiKL Date: Tue, 5 Aug 2008 16:59:21 +0200 From: Christian Ebert To: screen-users@gnu.org Message-ID: <20080805145921.GB1991@krille.blacktrash.org> Mail-Followup-To: screen-users@gnu.org References: <20080729023549.GA3723@Clio.twb.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080729023549.GA3723@Clio.twb.ath.cx> Organization: Black Trash Productions X-Face: )&#alA:[x"-#%%./(nuC&8n;#gqM;=mfY&ivRz@Gnv|AD_0l1Uz{fnJ^BW~OX[d;/)z! yV User-Agent: Mutt/1.5.18 (2008-07-21) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1609 Lines: 38 * Trent W. Buck on Tuesday, July 29, 2008 at 12:35:52 +1000 > On Mon, Jul 28, 2008 at 10:10:18PM -0400, Dan Mahoney, System Admin wrote: >> Is there ANY implementation at all, for when an app is running under >> screen, for it to be able to launch a "new window" (for example, to >> view an attachment in pine, to start a /query in irc, to view a file >> in MC)... >> >> I'm not asking if this functionality exists in those programs, but >> if there's a simple way of implementing it (i.e. if the calls exist, >> etc). > > There is: have your program run "screen foo" to start the app "foo" on > a new screen window. Because $STY is set within screen, your > invocation "screen foo" creates a new window instead of a new session. > > Unfortunately, this use case for screen is horribly broken if you want > to create the new window from within a script (e.g. an Emacs key > binding), because "screen foo" still checks if there is a controlling > terminal -- even though in this case it doesn't need one. I get > around this by instead running "xterm -e screen foo", which causes a > second xterm to pop up for a second. This is a really evil and > unpleasant kludge, and it makes me sad. I might be wrong, but it sounds like you could achieve this with: "screen -X screen foo". c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 5 11:40:35 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9907B52810A for ; Tue, 5 Aug 2008 11:40:35 -0400 (EDT) Received: from localhost ([127.0.0.1]:44358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQOeE-0006B3-Uw for erik@plastic-idolatry.com; Tue, 05 Aug 2008 11:40:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQOdq-000681-M0 for screen-users@gnu.org; Tue, 05 Aug 2008 11:40:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQOdp-00067T-9T for screen-users@gnu.org; Tue, 05 Aug 2008 11:40:05 -0400 Received: from [199.232.76.173] (port=60972 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQOdp-00067M-4D for screen-users@gnu.org; Tue, 05 Aug 2008 11:40:05 -0400 Received: from yx-out-1718.google.com ([74.125.44.157]:38494) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQOdo-0002J8-T4 for screen-users@gnu.org; Tue, 05 Aug 2008 11:40:05 -0400 Received: by yx-out-1718.google.com with SMTP id 34so198192yxf.66 for ; Tue, 05 Aug 2008 08:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Vh7KpRFbkB5rhXK+bpYAVdAbhK9ek+dbr0ICs996a6I=; b=Q4KnQimcSXEOwysFZlFNsF1FjOsvLgpAu90+uGLA9qF0ehHbj1GJEGKqxUy6UvzPvl XddVclUDixI/3Tgc0P1AfHQoX6hlsXTauzPH26emZe6not+heCwvNXqF6zPnR1RWb2lH Pg3lQD0TFgJwkvXdr1PVcpvEoIu6Ba8fPUQAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=KDo/6m+TBjvo9daQGo3MNRc/l9/pD9Cp4rsAK123Mf66vpktIrRRHFnNHXCD/YjhbI SCRfBQKDgJh0+3/kJBhsZgy0wtYY04A0w8Dq0kJ+7qpgUn4bD+vHog/dOmX73yVcAHiu 3YIUP780NicMqIo08ZAmEKP40D4OPk113vbeU= Received: by 10.150.137.8 with SMTP id k8mr1633917ybd.87.1217950803691; Tue, 05 Aug 2008 08:40:03 -0700 (PDT) Received: by 10.151.158.10 with HTTP; Tue, 5 Aug 2008 08:40:03 -0700 (PDT) Message-ID: <111f7ec40808050840t521e4d9bmcd54353087c81fec@mail.gmail.com> Date: Tue, 5 Aug 2008 11:40:03 -0400 From: "Jean-Yves Levesque" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Vertical Split and Window List X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 491 Lines: 24 I do not know if this is an issue with my config but when I run the vertical split with layouts and I try to use the windowlist command (Ctrl-a ") I get the following message: Window size too small for window list page then Width 2 chars too small Am i missing something? jy -- Je ne parle qu'en mon nom. I am only speaking for myself. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 5 12:32:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3ED262804A6 for ; Tue, 5 Aug 2008 12:32:51 -0400 (EDT) Received: from localhost ([127.0.0.1]:37892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQPSo-00047D-IJ for erik@plastic-idolatry.com; Tue, 05 Aug 2008 12:32:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQPSW-000472-2y for screen-users@gnu.org; Tue, 05 Aug 2008 12:32:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQPSU-00046X-IS for screen-users@gnu.org; Tue, 05 Aug 2008 12:32:27 -0400 Received: from [199.232.76.173] (port=43095 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQPSU-00046Q-8h for screen-users@gnu.org; Tue, 05 Aug 2008 12:32:26 -0400 Received: from bld-mail11.adl2.internode.on.net ([203.16.214.75]:59501 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQPSS-0002Tp-IG for screen-users@gnu.org; Tue, 05 Aug 2008 12:32:26 -0400 Received: from localhost (unverified [59.167.145.209]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 25899575-1927428 for ; Wed, 06 Aug 2008 02:02:11 +0930 (CST) Date: Wed, 6 Aug 2008 02:32:19 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080805163216.GA19102@Clio.twb.ath.cx> References: <20080729023549.GA3723@Clio.twb.ath.cx> <20080805145921.GB1991@krille.blacktrash.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080805145921.GB1991@krille.blacktrash.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Apps creating new windows? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 417 Lines: 12 On Tue, Aug 05, 2008 at 04:59:21PM +0200, Christian Ebert wrote: > I might be wrong, but it sounds like you could achieve this with: > "screen -X screen foo". The part where -X is incompatible with :password (in the bug report, but not reproduced in the post itself). _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 5 17:03:12 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7AC7D5A60F for ; Tue, 5 Aug 2008 17:03:12 -0400 (EDT) Received: from localhost ([127.0.0.1]:50490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQTgQ-0007Bl-DN for erik@plastic-idolatry.com; Tue, 05 Aug 2008 17:03:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQTg9-0007Bg-5k for screen-users@gnu.org; Tue, 05 Aug 2008 17:02:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQTg6-0007BU-QG for screen-users@gnu.org; Tue, 05 Aug 2008 17:02:47 -0400 Received: from [199.232.76.173] (port=44044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQTg6-0007BR-K5 for screen-users@gnu.org; Tue, 05 Aug 2008 17:02:46 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:46762) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQTg6-00067p-9f for screen-users@gnu.org; Tue, 05 Aug 2008 17:02:46 -0400 Received: from [10.0.0.5] (adsl-76-195-160-42.dsl.pltn13.sbcglobal.net [76.195.160.42]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 1B3163C9007E for ; Tue, 5 Aug 2008 14:02:45 -0700 (PDT) Message-ID: <4898BFF8.3040905@cowan.name> Date: Tue, 05 Aug 2008 14:02:48 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Screen Users References: <4863D14E.70206@cowan.name> <486BA876.7050903@cowan.name> In-Reply-To: <486BA876.7050903@cowan.name> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [screen-devel] couple of mac building issues, patch for one X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2148 Lines: 56 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan wrote: > (My mailer is doing the quoting backwards again) > > Tom Scogland wrote: >> On Thu, Jun 26, 2008 at 12:26 PM, Micah Cowan wrote: >> Tom Scogland wrote: >>>>> Hi, >>>>> I've been a screen user for a few years on linux, but when switching >>>>> to osx as my primary os not too long ago (long story...) I found the >>>>> current development versions wont build. The issue was just a #ifdef >>>>> that was checking the wrong item, patch attached. (sorry if this isn't >>>>> the right place, given recent activity it seemed like the best idea) >> The patch doesn't look appropriate to me. Perhaps an explicit header >> check in configure.in would be better? > >>> Admittedly it might be, but the patch seemed appropriate as 'SVR4' >>> rather than 'HAVE_SVR4_PTYS' is used to check all 3 other inclusions >>> of that header. Thus my assumption was that it was a typo in pty.c >>> that the wrong define was used, and thus a reasonable solution to make >>> it match the 3 in process.c, screen.c and tty.c. > > You're right, of course: I was informed of this later, and sure enough, > you're right. > > I like the direct check better, but I have to admit that "inappropriate" > was a poor word to describe it. > > At least for the meantime, it's probably preferable to maintain > consistency; we can always change it later. Fedora Core 9 apparently lacks , and of course changing HAVE_SVR4_PTYS does them no good. So it sounds like we need to go with the "right" fix for this (explicit check for headers) after all. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImL/37M8hyUobTrERAqkeAJ9FDW9aW38deQbSbFmaWWMNIOzaTgCggbka iWnMkxA8wGqEVhl74+zEsLo= =4o7/ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 01:39:30 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 488E4740828 for ; Thu, 7 Aug 2008 01:39:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:32953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQyDb-0006eS-UC for erik@plastic-idolatry.com; Thu, 07 Aug 2008 01:39:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQyD3-0006d0-Mg for screen-users@gnu.org; Thu, 07 Aug 2008 01:38:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQyCz-0006Wx-U5 for screen-users@gnu.org; Thu, 07 Aug 2008 01:38:49 -0400 Received: from [199.232.76.173] (port=37560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQyCz-0006WU-MT for screen-users@gnu.org; Thu, 07 Aug 2008 01:38:45 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]:21555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQyCz-0007Wi-7x for screen-users@gnu.org; Thu, 07 Aug 2008 01:38:45 -0400 Received: by rv-out-0708.google.com with SMTP id k29so291581rvb.6 for ; Wed, 06 Aug 2008 22:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=JXGkAgVvzm2ZCjrLAIYt44+DjKzvbviAQCN7hVpaxCc=; b=fOemyvH+DVvL08Beng3POg8yP5pqQoWHctkZqX1CGWM2CoCIQT1h91iiPBVIKrjmJa VMtptkQylRsZe3547y5s7ZppjPEJfcuqTYHHx75wNAaNKai01BxEAMnJwIwjcn/ZP4ii 17RVWGLf7R1P+Hc/oY0RdfnJhJ5pVOKrebtls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Hzo+xzY/4Il//mq9h+8pLjjOtaou9domDRSckI3OsoTlS4ohqBDQN53qbAar3SVYs6 V+In0GK37WYVXgDvRfSrLq20kMlAr1OypfXSNoh+3sxKygPekOtNf1KklEY6ig/kWI/0 /kdsFT5jtL8rfhLMGAC+MZ+DF23PWXzjQDoN4= Received: by 10.141.76.21 with SMTP id d21mr491542rvl.270.1218087523891; Wed, 06 Aug 2008 22:38:43 -0700 (PDT) Received: by 10.140.162.4 with HTTP; Wed, 6 Aug 2008 22:38:43 -0700 (PDT) Message-ID: Date: Thu, 7 Aug 2008 13:38:43 +0800 From: "Aaron Davies" To: "Screen Users" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 600 Lines: 23 How do I get the screen size env vars set properly? Screen appears to be populating TERMCAP for me (correctly), as it's not defined when outside of screen, but does exist inside. $ echo $TERMCAP|tr : \\n|egrep li\|co li#62 co#158 $ env|grep 62\|158 $ echo $? 1 I'm running screen under cygwin, using the latest version of cygwin, the cygwin distro of screen, and the latest version of puttycyg as my terminal. -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 02:15:24 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 691F9439E0D for ; Thu, 7 Aug 2008 02:15:24 -0400 (EDT) Received: from localhost ([127.0.0.1]:48548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQymM-0006Eb-U2 for erik@plastic-idolatry.com; Thu, 07 Aug 2008 02:15:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQym4-0006EP-GX for screen-users@gnu.org; Thu, 07 Aug 2008 02:15:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQym2-0006E5-SH for screen-users@gnu.org; Thu, 07 Aug 2008 02:15:00 -0400 Received: from [199.232.76.173] (port=52601 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQym2-0006E1-Ok for screen-users@gnu.org; Thu, 07 Aug 2008 02:14:58 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:37305) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQym2-0005HB-Dm for screen-users@gnu.org; Thu, 07 Aug 2008 02:14:58 -0400 Received: from [10.0.0.5] (adsl-76-195-160-42.dsl.pltn13.sbcglobal.net [76.195.160.42]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 21D383C9007E; Wed, 6 Aug 2008 23:14:56 -0700 (PDT) Message-ID: <489A92E0.9040604@cowan.name> Date: Wed, 06 Aug 2008 23:14:56 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Aaron Davies References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen Users Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1348 Lines: 40 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aaron Davies wrote: > How do I get the screen size env vars set properly? Screen appears to > be populating TERMCAP for me (correctly), as it's not defined when > outside of screen, but does exist inside. There's nothing that ever sets env vars to the screen size. However, if you use bash, it will set _shell_ variables, COLUMNS and LINES, automatically. This isn't something that screen does, but bash. Bash does _not_ export these by default, however; you'll need to do $ export COLUMNS LINES to get them into the environment. Of course, if you're not running bash, you may not have them at all; in which case you may need to parse them out of the screen-supplied TERMCAP (which, unlike the bash vars, can't be kept up-to-date when the window size changes). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImpLg7M8hyUobTrERAh+bAKCJHJSCjLXOcKiw4DWw+RTFad0LPQCdHam3 r8nPNuvL9ydxdEJ/nDhl2eI= =7t0T -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 02:43:52 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id F0DD877282E for ; Thu, 7 Aug 2008 02:43:51 -0400 (EDT) Received: from localhost ([127.0.0.1]:40492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQzDv-0007LV-Ny for erik@plastic-idolatry.com; Thu, 07 Aug 2008 02:43:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQzDd-0007LQ-5E for screen-users@gnu.org; Thu, 07 Aug 2008 02:43:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQzDa-0007LE-Pv for screen-users@gnu.org; Thu, 07 Aug 2008 02:43:27 -0400 Received: from [199.232.76.173] (port=55583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQzDa-0007LB-Jj for screen-users@gnu.org; Thu, 07 Aug 2008 02:43:26 -0400 Received: from mx20.gnu.org ([199.232.41.8]:43315) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQzDa-0007TG-78 for screen-users@gnu.org; Thu, 07 Aug 2008 02:43:26 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQzDZ-0002Bt-Gr for screen-users@gnu.org; Thu, 07 Aug 2008 02:43:25 -0400 Received: by rv-out-0708.google.com with SMTP id k29so318891rvb.6 for ; Wed, 06 Aug 2008 23:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=n4lySwuNifhdZQ2yNgzohIk2jF1bLde3HLeXjnnKFrI=; b=LHhlI4X8vx82EItf0HnNcR2ZPYsEhZok+0FIh2LiqTSoDdbEMXM+mxKEZDjCtBkA51 TaIgYb1Pg0R2oQDncfRqKde/hRSUtvwqItkxHlzfDqDlqMjs1NGJ9xfoVH4eyf1mk4mG eCklOsUtwUKcCzMqDPGsSDt1PQEY9mcu1cSUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=r7zvUyXvvwR+QgjKoJ8BgFBVgBsbLEv7T2do/o4qEuW11btnGFMr3k9PmWDXhCplpZ 2vKMb4mx/Q1cdJ3WUfQhpMCDSuhvngBZqa2DwGiLRZlUxnSNrY/3W4RcI5C+wEw8S50p HIa5CYrvSZiHWIyw/daUIo5aQYdJiw53Op50Y= Received: by 10.140.136.6 with SMTP id j6mr523008rvd.231.1218091402792; Wed, 06 Aug 2008 23:43:22 -0700 (PDT) Received: by 10.140.162.4 with HTTP; Wed, 6 Aug 2008 23:43:22 -0700 (PDT) Message-ID: Date: Thu, 7 Aug 2008 14:43:22 +0800 From: "Aaron Davies" To: "Screen Users" In-Reply-To: <489A92E0.9040604@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489A92E0.9040604@cowan.name> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1227 Lines: 31 On Thu, Aug 7, 2008 at 2:14 PM, Micah Cowan wrote: > Aaron Davies wrote: >> How do I get the screen size env vars set properly? Screen appears to >> be populating TERMCAP for me (correctly), as it's not defined when >> outside of screen, but does exist inside. > > There's nothing that ever sets env vars to the screen size. > > However, if you use bash, it will set _shell_ variables, COLUMNS and > LINES, automatically. This isn't something that screen does, but bash. > Bash does _not_ export these by default, however; you'll need to do > > $ export COLUMNS LINES > > to get them into the environment. Of course, if you're not running bash, > you may not have them at all; in which case you may need to parse them > out of the screen-supplied TERMCAP (which, unlike the bash vars, can't > be kept up-to-date when the window size changes). Hmm, OK. I am running bash, at least according to /etc/passwd, though $SHELL seems to be "sh". In any case, zsh seems to do it correctly on my setup, and I prefer zsh anyway. -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 03:11:24 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A63057D89F7 for ; Thu, 7 Aug 2008 03:11:24 -0400 (EDT) Received: from localhost ([127.0.0.1]:56264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQzea-0006oL-Jk for erik@plastic-idolatry.com; Thu, 07 Aug 2008 03:11:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQzeJ-0006o6-Dc for screen-users@gnu.org; Thu, 07 Aug 2008 03:11:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQzeH-0006nu-1w for screen-users@gnu.org; Thu, 07 Aug 2008 03:11:02 -0400 Received: from [199.232.76.173] (port=43147 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQzeG-0006nr-SW for screen-users@gnu.org; Thu, 07 Aug 2008 03:11:00 -0400 Received: from mx20.gnu.org ([199.232.41.8]:45410) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQzeG-0000xr-Cv for screen-users@gnu.org; Thu, 07 Aug 2008 03:11:00 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQzeE-0006Oj-Fv for screen-users@gnu.org; Thu, 07 Aug 2008 03:10:58 -0400 Received: by wf-out-1314.google.com with SMTP id 28so264851wfc.24 for ; Thu, 07 Aug 2008 00:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tqER4QxqkXI36ZjRs+nWC67TWBaMRGcd3UlmmxKo7s8=; b=jwpiDxrj11D9EkyPtLHJTc1+9y6+HLkFnDXAfno/kU0jSejW5uptfVU6vfoe03cJwV CpLd+J9eOk5zKNHtbFYVWuKgRUvOHvovB5ZU+EzTiaa7149s0eDQL6KXHuNzt0VMn7HE 4N4DhbtcGzR1v1c8QkCSsvhIQfF+wlr7DZ35c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aPu7Q3GVcAf3nhqtpcCaabgVX+boKiPKk/+WYZsYxjAwIQdStvHPGjPfK7bHkRisqJ gJuekbde2jK5RbRP4vOGfg5ockz5AT63gJHLqU3N1fz0GRnkrdXXArV9fKDHy4HA2C+e D6mKdq4M/QRFq5ySn9UtaOabNLIF5uzErRtIg= Received: by 10.142.232.20 with SMTP id e20mr353118wfh.85.1218093056606; Thu, 07 Aug 2008 00:10:56 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Thu, 7 Aug 2008 00:10:56 -0700 (PDT) Message-ID: <18071eea0808070010v367c8774yf329f00e4cdf9941@mail.gmail.com> Date: Thu, 7 Aug 2008 08:10:56 +0100 From: "Thomas Adam" To: "Micah Cowan" In-Reply-To: <489A92E0.9040604@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489A92E0.9040604@cowan.name> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen Users Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 498 Lines: 18 2008/8/7 Micah Cowan : > However, if you use bash, it will set _shell_ variables, COLUMNS and > LINES, automatically. This isn't something that screen does, but bash. > Bash does _not_ export these by default, however; you'll need to do > > $ export COLUMNS LINES Rather unportably between Unixes: eval $(resize) -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 12:19:46 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 057927D8BDA for ; Thu, 7 Aug 2008 12:19:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:44336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KR8DE-0002Jm-UG for erik@plastic-idolatry.com; Thu, 07 Aug 2008 12:19:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KR8CY-0002Ew-3F for screen-users@gnu.org; Thu, 07 Aug 2008 12:18:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KR8CV-0002Ek-66 for screen-users@gnu.org; Thu, 07 Aug 2008 12:18:56 -0400 Received: from [199.232.76.173] (port=39570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KR8CU-0002Eh-VH for screen-users@gnu.org; Thu, 07 Aug 2008 12:18:54 -0400 Received: from silene.metacarta.com ([208.80.142.18]:40880) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KR8CU-00073x-Sd for screen-users@gnu.org; Thu, 07 Aug 2008 12:18:54 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 9F4DD14C8086; Thu, 7 Aug 2008 12:18:53 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 10050-05; Thu, 7 Aug 2008 12:18:52 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id B093D14C808D; Thu, 7 Aug 2008 12:18:52 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1KR8CT-0007pT-3u; Thu, 07 Aug 2008 12:18:53 -0400 From: Mark Eichin To: "Thomas Adam" References: <489A92E0.9040604@cowan.name> <18071eea0808070010v367c8774yf329f00e4cdf9941@mail.gmail.com> Date: Thu, 07 Aug 2008 12:18:53 -0400 In-Reply-To: <18071eea0808070010v367c8774yf329f00e4cdf9941@mail.gmail.com> (Thomas Adam's message of "Thu, 7 Aug 2008 08:10:56 +0100") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Micah Cowan , Screen Users Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 908 Lines: 28 "Thomas Adam" writes: > 2008/8/7 Micah Cowan : >> However, if you use bash, it will set _shell_ variables, COLUMNS and >> LINES, automatically. This isn't something that screen does, but bash. >> Bash does _not_ export these by default, however; you'll need to do >> >> $ export COLUMNS LINES > > Rather unportably between Unixes: > > eval $(resize) resize requires having a terminal type that actually does xterm-style answerback, which as at best a "maybe". What you *really* want is the output of stty: $ stty -a |grep rows speed 38400 baud; rows 56; columns 144; line = 0; because it's a property of the tty, and changed there - putting the values in the environment is an old and not-really-workable hack. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Aug 7 15:15:59 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1325D7D8BD0 for ; Thu, 7 Aug 2008 15:15:59 -0400 (EDT) Received: from localhost ([127.0.0.1]:53254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRAxl-0003nT-J6 for erik@plastic-idolatry.com; Thu, 07 Aug 2008 15:15:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRAxT-0003nE-Km for screen-users@gnu.org; Thu, 07 Aug 2008 15:15:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRAxR-0003n2-39 for screen-users@gnu.org; Thu, 07 Aug 2008 15:15:34 -0400 Received: from [199.232.76.173] (port=40402 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRAxQ-0003mz-Tb for screen-users@gnu.org; Thu, 07 Aug 2008 15:15:32 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:41143) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRAxR-0000vh-3w for screen-users@gnu.org; Thu, 07 Aug 2008 15:15:33 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 010813C9007E for ; Thu, 7 Aug 2008 12:15:31 -0700 (PDT) Message-ID: <489B49D3.8070804@cowan.name> Date: Thu, 07 Aug 2008 12:15:31 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: screen-users@gnu.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 685 Lines: 25 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 FYI, the 4.0.3 sources are now also available at ftp.gnu.org, in addition to the uni-erlangen.de site. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIm0nS7M8hyUobTrERAmJNAJ0TRRwbvkL7TdeEWI+1tdEakIMohQCfdlNQ SVGbpzYmZmSQ9CAZdehVjyU= =Ayfw -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 10:18:22 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6E2237427F9 for ; Fri, 8 Aug 2008 10:18:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:36038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRSnG-0004Ww-Lq for erik@plastic-idolatry.com; Fri, 08 Aug 2008 10:18:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRSmw-0004W2-7X for screen-users@gnu.org; Fri, 08 Aug 2008 10:17:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRSmu-0004Ub-Mw for screen-users@gnu.org; Fri, 08 Aug 2008 10:17:53 -0400 Received: from [199.232.76.173] (port=35361 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRSmu-0004UR-Ix for screen-users@gnu.org; Fri, 08 Aug 2008 10:17:52 -0400 Received: from yx-out-1718.google.com ([74.125.44.156]:32610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRSmu-0006ro-5H for screen-users@gnu.org; Fri, 08 Aug 2008 10:17:52 -0400 Received: by yx-out-1718.google.com with SMTP id 34so198313yxf.66 for ; Fri, 08 Aug 2008 07:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rQzB8myKsCrXAG8WMkXbxbX+g+TtXePiUIncVkbA6K0=; b=shaJRYNd8k/noIWhWiU1FvCEsEsAkkYemHQ2alUfs7sb+b4mhzJFyj6i4jE7IKWu7C Cg7nd8OeihSrYRuNJ35iRIAdqLQBYmvuE/4IzxJzR1GeG8sh43qYmw1z3Te6MVaWW1EL xboqRxm4ZtmfACpKPg+72QvAP323pEBGbnSq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GPhJh/FWnzRKHEhJUHx3DeM5tvPsO8G3w1fPsNSnLACIvA9+W0dc5qUdE4LshiO8i6 gdrQc+kZJ4tPn8C76rnOyZoq3cXbGEZ4YF0Y82wrXD6Z0gepyve76KhE5cRNyuFX23Oa KvyuJpttG06x1OHtocHwZlSQHZqDcFsv08MeI= Received: by 10.151.114.6 with SMTP id r6mr7384182ybm.84.1218205066061; Fri, 08 Aug 2008 07:17:46 -0700 (PDT) Received: by 10.150.138.10 with HTTP; Fri, 8 Aug 2008 07:17:46 -0700 (PDT) Message-ID: <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> Date: Fri, 8 Aug 2008 10:17:46 -0400 From: "Jean-Yves Levesque" To: "Micah Cowan" In-Reply-To: <489B49D3.8070804@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489B49D3.8070804@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 636 Lines: 28 On 8/7/08, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > FYI, the 4.0.3 sources are now also available at ftp.gnu.org, in > addition to the uni-erlangen.de site. o Are they the sources including the vertical split or not? jy > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer. > GNU Maintainer: wget, screen, teseq > http://micah.cowan.name/ -- Je ne parle qu'en mon nom. I am only speaking for myself. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 11:10:43 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 900DA73E51A for ; Fri, 8 Aug 2008 11:10:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:49997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRTbw-0003B0-R6 for erik@plastic-idolatry.com; Fri, 08 Aug 2008 11:10:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRTb5-0002O7-4R for screen-users@gnu.org; Fri, 08 Aug 2008 11:09:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRTb2-0002KF-8S for screen-users@gnu.org; Fri, 08 Aug 2008 11:09:42 -0400 Received: from [199.232.76.173] (port=55971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRTb2-0002K1-2K for screen-users@gnu.org; Fri, 08 Aug 2008 11:09:40 -0400 Received: from magnus.laznode.com ([72.51.41.93]:51885 helo=leela.laznode.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRTb1-0006tV-MK for screen-users@gnu.org; Fri, 08 Aug 2008 11:09:39 -0400 Received: from localhost (localhost [127.0.0.1]) by leela.laznode.com (Postfix) with ESMTP id 333F63805C; Fri, 8 Aug 2008 15:09:38 +0000 (UTC) Received: from leela.laznode.com ([127.0.0.1]) by localhost (magnus.laznode.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjpCAsJIvwYO; Fri, 8 Aug 2008 15:09:31 +0000 (UTC) Received: from rai (rai [10.66.66.1]) by leela.laznode.com (Postfix) with ESMTP id B3F8C38059; Fri, 8 Aug 2008 15:09:31 +0000 (UTC) Received: by rai (Postfix, from userid 1000) id 7E49DDA81D9; Fri, 8 Aug 2008 15:09:31 +0000 (UTC) Date: Fri, 8 Aug 2008 08:09:31 -0700 From: Adam Lazur To: Jean-Yves Levesque Message-ID: <20080808150930.GH7870@rai.laznode.com> References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Micah Cowan , screen-users@gnu.org Subject: Re: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 432 Lines: 16 Jean-Yves Levesque (jean.yves.levesque@gmail.com) said: > Are they the sources including the vertical split or not? You could download the tarball and check if you're really interested... 4.0.3 is the release from 2006, so no, it does not include vertical split. -- Adam Lazur _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 13:08:47 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 93A79771A2A for ; Fri, 8 Aug 2008 13:08:47 -0400 (EDT) Received: from localhost ([127.0.0.1]:40691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRVSD-0001TQ-3C for erik@plastic-idolatry.com; Fri, 08 Aug 2008 13:08:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRVRv-0001S3-1K for screen-users@gnu.org; Fri, 08 Aug 2008 13:08:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRVRt-0001P0-G3 for screen-users@gnu.org; Fri, 08 Aug 2008 13:08:21 -0400 Received: from [199.232.76.173] (port=52989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRVRt-0001Or-AX for screen-users@gnu.org; Fri, 08 Aug 2008 13:08:21 -0400 Received: from yx-out-1718.google.com ([74.125.44.152]:13185) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRVRt-0007rI-0m for screen-users@gnu.org; Fri, 08 Aug 2008 13:08:21 -0400 Received: by yx-out-1718.google.com with SMTP id 34so240215yxf.66 for ; Fri, 08 Aug 2008 10:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d+XoZYrNWoKnn03qY+jbytET4D0+OWaJYbYjaQuaAg4=; b=tELREtJhyma/N7lFQTtGpUW/uZXUDp2LU+8XweQLtdRiH37FeHvSRunTGAzi4lPPIU VjRb8KIFfEUZUxjLwPxbpWS5q7nQ2GqyKbboB2RthQBx4Z44hUqj41N/QvX7SzpekX60 UgnRmFfaNBy+DdYve91IsNG4dyBTN9KMrcc+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TMHvj9LH68/NWb6n1cYUMwl7rObv1VT2r18mKT+3hhzTfq2/J+8zXG1HIbCDFCwjEp b1/6aOkLyA4xbBatahiT/gW/BdPTgZEn5FiFCS/UA3GdAnrnGdxG5MLdePEUH5pGYK0k N7E8dMgYKdJpHjYwSw95qob2eO8PlVQxU1oec= Received: by 10.150.197.8 with SMTP id u8mr2381099ybf.99.1218215300175; Fri, 08 Aug 2008 10:08:20 -0700 (PDT) Received: by 10.150.138.10 with HTTP; Fri, 8 Aug 2008 10:08:20 -0700 (PDT) Message-ID: <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> Date: Fri, 8 Aug 2008 13:08:20 -0400 From: "Jean-Yves Levesque" To: "Adam Lazur" In-Reply-To: <20080808150930.GH7870@rai.laznode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Micah Cowan , screen-users@gnu.org Subject: Re: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 719 Lines: 28 I am probably more interested in knowing when the next release (including the vertical split) would be officially out (I am using the git version curretnly). On 8/8/08, Adam Lazur wrote: > Jean-Yves Levesque (jean.yves.levesque@gmail.com) said: >> Are they the sources including the vertical split or not? > > You could download the tarball and check if you're really interested... > > 4.0.3 is the release from 2006, so no, it does not include vertical > split. > > -- > Adam Lazur > -- Je ne parle qu'en mon nom. I am only speaking for myself. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 15:09:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6F9617CAA1C for ; Fri, 8 Aug 2008 15:09:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:58933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRXLB-0001ZD-2T for erik@plastic-idolatry.com; Fri, 08 Aug 2008 15:09:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRXJ6-0008S3-GE for screen-users@gnu.org; Fri, 08 Aug 2008 15:07:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRXJ5-0008Qf-HB for screen-users@gnu.org; Fri, 08 Aug 2008 15:07:23 -0400 Received: from [199.232.76.173] (port=48729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRXJ5-0008QY-9F for screen-users@gnu.org; Fri, 08 Aug 2008 15:07:23 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50984) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRXJ5-0000we-84 for screen-users@gnu.org; Fri, 08 Aug 2008 15:07:23 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id A50413C900F4; Fri, 8 Aug 2008 12:07:21 -0700 (PDT) Message-ID: <489C9968.2010904@cowan.name> Date: Fri, 08 Aug 2008 12:07:20 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Jean-Yves Levesque References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> In-Reply-To: <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2221 Lines: 50 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jean-Yves Levesque wrote: > I am probably more interested in knowing when the > next release (including the vertical split) would > be officially out (I am using the git version curretnly). Yeah, that's why this was a very minor note, rather than a major announcement. It's not so much a release announcement (which would also have gone to info-gnu@gnu.org), as a note that the ftp.gnu.org (which is intended to be the primary release site) is now less incomplete than it was. :) I may be wrong, but I think we could be looking at a 4.1.0 release around the turn of the year. Sadrul (especially) and I have been killing bugs at a fairly quick rate, and we're down to about 20 bugs currently being tracked against the 4.1.0 release (with more that have been marked for later releases): https://savannah.gnu.org/bugs/?group=screen&func=browse&set=custom&msort=1&custom_sb1[]=0&assigned_to[]=0&resolution_id[]=0&priority[]=0&severity[]=0&status_id[]=1&plan_release_id[]=101&release_id[]=0&details[]=&summary[]=&advsrch=1&msort=1&chunksz=50&spamscore=5&report_id=195&sumORdet=0&morder=priority%3C&sumOrdet=0&order=custom_sb1 I do expect that there will be more than those 20 bugs to fix before we can release: layouts and groups need more refinement and playing-around-with before a 4.1.0 release can be done, and may need some additional supporting features (though not many, I think). Then there needs to be a testing period, probably (although a good many people are happily using the git sources). Of course, if you'd like to hurry up the process, feel free to submit patches against the bugs that are left, so we can finish it up. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInJlo7M8hyUobTrERAr+aAJ9BbGrd2pjvNq0i+cOYc1wwUa98hgCcCkLH kZ8oYrN7pSCRubbaOFtV94c= =FAMp -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 16:00:50 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B5A0F7768C5 for ; Fri, 8 Aug 2008 16:00:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:41861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRY8k-0003Ne-7p for erik@plastic-idolatry.com; Fri, 08 Aug 2008 16:00:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRY8Q-0003Mn-CO for screen-users@gnu.org; Fri, 08 Aug 2008 16:00:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRY8N-0003LC-At for screen-users@gnu.org; Fri, 08 Aug 2008 16:00:24 -0400 Received: from [199.232.76.173] (port=55264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRY8N-0003L3-24 for screen-users@gnu.org; Fri, 08 Aug 2008 16:00:23 -0400 Received: from yoda.london.02.net ([82.132.130.151]:48550 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRY8M-0000O7-V3 for screen-users@gnu.org; Fri, 08 Aug 2008 16:00:23 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 48987420009D8976; Fri, 8 Aug 2008 21:00:20 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KRY8J-0004iT-J7; Fri, 08 Aug 2008 21:00:19 +0100 Date: Fri, 8 Aug 2008 21:00:19 +0100 From: Stephane Chazelas To: Micah Cowan Message-ID: <20080808200019.GB5176@sc.homeunix.net> References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <489C9968.2010904@cowan.name> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: screen-users@gnu.org Subject: Re: Screen 4.0.3 @ GNU FTP (existing release) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 815 Lines: 26 On Fri, Aug 08, 2008 at 12:07:20PM -0700, Micah Cowan wrote: [...] > Of course, if you'd like to hurry up the process, feel free to submit > patches against the bugs that are left, so we can finish it up. :) [...] Hi Micah, it's nice to see activity going on on screen again! Thanks for the effort! I've had a look at a bug report with patch that I had submitted some time ago: https://savannah.gnu.org/bugs/?11021 The state says "needs discussion". I'm happy to discuss. Is there any objection to the fix I'm suggesting? The only comment on that bug, is about saying that "mouse is already supported" which is not relevant to the issue. Best regards, St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 16:21:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2C7937D8B85 for ; Fri, 8 Aug 2008 16:21:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:44434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRYSV-0002Os-JM for erik@plastic-idolatry.com; Fri, 08 Aug 2008 16:21:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRYRW-0001z1-9c for screen-users@gnu.org; Fri, 08 Aug 2008 16:20:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRYRV-0001xv-8k for screen-users@gnu.org; Fri, 08 Aug 2008 16:20:09 -0400 Received: from [199.232.76.173] (port=54908 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRYRS-0001vN-Gr; Fri, 08 Aug 2008 16:20:06 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRYRS-0003Ny-4Z; Fri, 08 Aug 2008 16:20:06 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 113DD3C900F4; Fri, 8 Aug 2008 13:20:04 -0700 (PDT) Message-ID: <489CAA73.5040208@cowan.name> Date: Fri, 08 Aug 2008 13:20:03 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: screen-users@gnu.org, Screen development X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Subject: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3060 Lines: 66 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So, what would _really_ help me out in getting the documentation ready for a 4.1.0 release, is if someone would step up to volunteer to maintain the man page. The first step would be to ensure that the man page is in-step with the Texinfo manual; currently I believe the man page is a couple steps behind. the content is essentially the same between them, so for the most part you should actually be able to compare them side-by-side for differences. Tedious work, obviously. The next step would be to watch changes made to the Texinfo document (which I'll be updating to reflect the current state of things), and transfer them to the man-page. Basically, I'm willing to maintain one big, hulking, autonomous manual; but I will not maintain two. I need someone else to step up for that. If no one does, then this release will be issued with a woefully out-of-date man page (lacking information on all the nifty new stuff), and future releases might include one of those shell-of-a-manpages that simply refer the reader to the Texinfo documentation. Surely that's enough to scare a few of you into volunteering? ;) To my mind, unifying on a single source format would be the best long-term approach, rather than having two manuals maintained. So far, the approach that makes the most sense to me is to use the Texinfo as the source document, generating the manpage with texi2pod.pl (see Wget's Texinfo documentation for an understanding of this; note that, even with texi2pod.pl, however, Wget's man page is still very much inferior to their Texinfo counterparts: only a small portion is translated into the man page). However, for Screen this would require texi2pod.pl to be modified to allow arbitrary sections to be transmitted (it only allows the standard ones, currently). Actually, though, as it stands, a big-hulking man page strikes me as remarkably untraditional. It seems to me that, if we're going to do man pages right for Screen, we should split it apart into separate man pages by concept. For instance, one dedicated to the invocation options, another dedicated to commands (screen(5) or screenrc(5)), another dedicated to screen's mechanisms for hardstatus/caption/autoaka, another for screen's terminal emulation details... of course, doing such a thing would also mean that it would be a lot more challenging to generate from the Texinfo documentation, so would really require a separate maintainer (or more heavy modifications to texi2pod, or something). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInJ8R7M8hyUobTrERArJWAJ9CN1uwQp6MTkgMbKljWpRYmotklwCfe6ae ELjB+S2tSxHEsovHSKfraTI= =+qP0 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 17:18:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4D2987D8BC9 for ; Fri, 8 Aug 2008 17:18:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:49259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRZLv-0006tn-HD for erik@plastic-idolatry.com; Fri, 08 Aug 2008 17:18:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRZLa-0006rA-7p for screen-users@gnu.org; Fri, 08 Aug 2008 17:18:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRZLY-0006p5-UL for screen-users@gnu.org; Fri, 08 Aug 2008 17:18:05 -0400 Received: from [199.232.76.173] (port=50649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRZLY-0006ov-Nn for screen-users@gnu.org; Fri, 08 Aug 2008 17:18:04 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:36841) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRZLY-000470-Fo for screen-users@gnu.org; Fri, 08 Aug 2008 17:18:04 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id A2A973C900F4; Fri, 8 Aug 2008 14:18:03 -0700 (PDT) Message-ID: <489CB80A.7010200@cowan.name> Date: Fri, 08 Aug 2008 14:18:02 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Stephane Chazelas References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> In-Reply-To: <20080808200019.GB5176@sc.homeunix.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Mouse-support with "exec" filters X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2129 Lines: 59 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephane Chazelas wrote: > On Fri, Aug 08, 2008 at 12:07:20PM -0700, Micah Cowan wrote: > [...] >> Of course, if you'd like to hurry up the process, feel free to submit >> patches against the bugs that are left, so we can finish it up. :) > [...] > > Hi Micah, > > it's nice to see activity going on on screen again! Thanks for > the effort! > > I've had a look at a bug report with patch that I had submitted > some time ago: https://savannah.gnu.org/bugs/?11021 > The state says "needs discussion". I'm happy to discuss. Is > there any objection to the fix I'm suggesting? The only > comment on that bug, is about saying that "mouse is > already supported" which is not relevant to the issue. I think the discussion I wished to have, was whether there was agreement that in all cases we would wish the mouse sequences to go to the filter, rather than the application. I would think that in many cases, one would wish the reverse (say if the application is vim, and the filter doesn't get mouse sequences). In order to be done right, it might be necessary for screen to determine which tty the mouse-tracking sequence was sent on (app's or filter's). OTOH, a case might be made that none of this applies when the filter spec has "." as the first character. I'm not confident enough in my knowledge/experience with filters to make such a judgment, which is why I wanted to discuss it. :) BTW, you might want to add yourself to that bug's Cc list (if you lack an account, you should still be able to add yourself, by filling in a captcha). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInLgK7M8hyUobTrERAsDLAJ9cWyYdPvegEcLMB/SyBc0Gv2VQ9wCfSGbz 84ybtXFduQt6H+D/rhLV1Wc= =MPO0 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 19:15:02 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B07DE7CAA1C for ; Fri, 8 Aug 2008 19:15:01 -0400 (EDT) Received: from localhost ([127.0.0.1]:47084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRbAc-0000Mj-12 for erik@plastic-idolatry.com; Fri, 08 Aug 2008 19:14:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRbAL-0000Me-7Q for screen-users@gnu.org; Fri, 08 Aug 2008 19:14:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRbAJ-0000MJ-EO for screen-users@gnu.org; Fri, 08 Aug 2008 19:14:36 -0400 Received: from [199.232.76.173] (port=58771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRbAJ-0000MG-8y for screen-users@gnu.org; Fri, 08 Aug 2008 19:14:35 -0400 Received: from vader.london.02.net ([82.132.130.150]:47925 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRbAH-0003hv-Qk for screen-users@gnu.org; Fri, 08 Aug 2008 19:14:35 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 4898742000A48759; Sat, 9 Aug 2008 00:14:28 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KRbAB-0005IL-9P; Sat, 09 Aug 2008 00:14:27 +0100 Date: Sat, 9 Aug 2008 00:14:27 +0100 From: Stephane Chazelas To: Micah Cowan Message-ID: <20080808231427.GC5176@sc.homeunix.net> References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> <489CB80A.7010200@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <489CB80A.7010200@cowan.name> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: screen-users@gnu.org Subject: Re: "exec .!" filters seeing responses to "query" escape sequences X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3784 Lines: 86 On Fri, Aug 08, 2008 at 02:18:02PM -0700, Micah Cowan wrote: [...] > I think the discussion I wished to have, was whether there was agreemen= t > that in all cases we would wish the mouse sequences to go to the filter= , > rather than the application. I would think that in many cases, one woul= d > wish the reverse (say if the application is vim, and the filter doesn'= t > get mouse sequences). Sorry,=20 I shouldn't have brought that thing about the mouse because it is not at all about that, and it seemed to have confused everybody. A mouse event is exactly like a keyboard event, upon a keypress, the tty sends a character or character sequence to screen. Screen will generate a character for the window that currently has the focus, and/or any filter that is configure to filter the input. For a xterm-like mouse event it's the same thing, the tty sends a character sequence to screen. screen might translate it if there are split screen and send that to the current windows and/or filter if the filter is configured to get the input. That's what screen does already at the moment, it's all fine. But my bug report was not at all about that. There are some control sequences that you send to the terminal, and the terminal /replies/ with another one. One of them is the one to query the cursor (*not* mouse cursor) position: Report Cursor Position (CPR): if your application writes \e[6n to the slave side of its pty, xterm will reply with the cursor position. It will write something like \e[4;1R to the master side of the terminal, so that if the application reads =66rom the slave side, it will get those characters as if the user had typed ESC [ 4 ; 1 R. Just like xterm, screen supports that CPR sequence. The difference with the pressing of a key or mouse button is that it is initiated by an application talking to screen. And screen makes up its response by itself. The host terminal is not queried, screen might even be detached. At the moment, the sequence that screen replies with (the cursor (not mouse cursor, just text cursor) position like \e[4;1R) goes to the application OK, but it doesn't go to a filter that is configured to get the input (first character is "." as in exec .!.), contrary to the mouse events. And I was saying it is not right because they are inputs all the same, it's as if the user had typed ESC [ 4 ; 1 R. So that's my bug report, nothing to do with mouse. Now, to explain why I brought the mouse thing up that confused everybody: one example for which it would be useful to have the filter see those /answers/ from screen is that it could allow you to give mouse support to any application, for instance "vi" (the good old vi, not vim which has support for mouse of its own already) or GNU info. If you have a filter that intercepts all the input (including the responses to the Report Cursor Position), you can make that filter so that it intercepts mouse events. That part works OK at the moment. Upon a click, the filter is able to determine the position of the mouse cursor because that's encoded in the character sequence that it can read. Then that filter can issue a CPR to get the position of the cursor. Unfortunately, at the moment, it cannot get the answer because it is not sent to it, only to the application. But if it could, it could have the information about both the current cursor position and the position of the screen where the user mouse-clicked so that it could for instance send the correct sequence of and to tell "info" to move the cursor localtion to where the user clicked. I hope it clarifies it a bit. Best regards, St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 8 21:53:21 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 87222771558 for ; Fri, 8 Aug 2008 21:53:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:57081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRddt-0005VD-5b for erik@plastic-idolatry.com; Fri, 08 Aug 2008 21:53:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRddZ-0005TJ-Uf for screen-users@gnu.org; Fri, 08 Aug 2008 21:52:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRddY-0005RJ-Nv for screen-users@gnu.org; Fri, 08 Aug 2008 21:52:57 -0400 Received: from [199.232.76.173] (port=58163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRddY-0005R2-JK for screen-users@gnu.org; Fri, 08 Aug 2008 21:52:56 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:36958) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRddY-0002IR-6I for screen-users@gnu.org; Fri, 08 Aug 2008 21:52:56 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id CC0793C900F4; Fri, 8 Aug 2008 18:52:54 -0700 (PDT) Message-ID: <489CF875.3010805@cowan.name> Date: Fri, 08 Aug 2008 18:52:53 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Stephane Chazelas References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> <489CB80A.7010200@cowan.name> <20080808231427.GC5176@sc.homeunix.net> In-Reply-To: <20080808231427.GC5176@sc.homeunix.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: "exec .!" filters seeing responses to "query" escape sequences X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3971 Lines: 94 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephane Chazelas wrote: > On Fri, Aug 08, 2008 at 02:18:02PM -0700, Micah Cowan wrote: > [...] >> I think the discussion I wished to have, was whether there was agreement >> that in all cases we would wish the mouse sequences to go to the filter, >> rather than the application. I would think that in many cases, one would >> wish the reverse (say if the application is vim, and the filter doesn't >> get mouse sequences). > > Sorry, > > I shouldn't have brought that thing about the mouse because it > is not at all about that, and it seemed to have confused > everybody. I was aware that the issue wasn't specific to mouse-reporting. What I didn't realize is that the issue actually fails to apply at _all_ to mouse-reporting. Your talk about mouse support is possibly even more of a red herring than you knew. :) The concerns I brought up in my previous response still apply, whether mouse-tracking is concerned or not: should "screen-generated" responses be sent to the filtering process in all cases, or is that likely to confuse filters which weren't set up for it? The bit I wrote: > In order to be done right, it might be necessary for screen to determine > which tty the mouse-tracking sequence was sent on (app's or filter's). is equally applicable if you replace "mouse-tracking sequence" with "CPR sequence". However, what I did not realize is that mouse-tracking sequences are _already_ always sent to the filter, and not the application, with or without the patch you provided. I was assuming that it worked through the same mechanism that response to CPR use. However, after some digging around, I realize now that this is not at all the case: screen responds to CPR internally, and issues its response directly to the application. However, when screen sees mouse-tracking requests, it passes it on to the host terminal (that part I already knew), and then when it sees mouse-state reports, it leaves the report in-stream (if it's for the correct position), and simply adjusts the information. I had been thinking the information got swallowed up, and re-reported via Report() or similar. So, my concern whether screen-generated responses holds somewhat less weight as an impedement to your patch, since mouse-tracking sequences (which are also "responses" to application (or filter) requests), are _already_ always sent to the filter's input, leading to an inconsistency. However, the concern still remains, that if I apply your patch, it may be that filters that didn't send/don't expect a response to an application-sent CPR may be confused/broken. I'm thinking that it might be more robust if screen were to note which tty the CPR (or other request) came down (application or pseudo), and send the response back on the same one. For consistency, one could also consider having screen swallow up mouse-tracking responses, and reissue them down only the ttys on which requests had been seen. But that wouldn't be a general solution, since other term-specific query/responses couldn't be caught by Screen, and so would always end up at the filter end in any case. So, perhaps I should simply apply your patch to obtain a general _and_ consistent solution (if a potentially existing-filters-breaking one), and have done with it. ...which is why this is a discussion, and not a rant. Feedback, anyone? :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInPh17M8hyUobTrERAur4AJ9NHfkXTwX6s0auWUqXYn/NzLYMxwCZAZVm IcxnILLLPAzZ4ja4QBhyF2w= =gkKt -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Aug 9 00:53:49 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 23AF9770EFE for ; Sat, 9 Aug 2008 00:53:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:35724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRgSV-00038i-9l for erik@plastic-idolatry.com; Sat, 09 Aug 2008 00:53:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRgS4-00036k-Ep for screen-users@gnu.org; Sat, 09 Aug 2008 00:53:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRgS2-00034G-A0 for screen-users@gnu.org; Sat, 09 Aug 2008 00:53:15 -0400 Received: from [199.232.76.173] (port=41108 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRgS2-000346-5B for screen-users@gnu.org; Sat, 09 Aug 2008 00:53:14 -0400 Received: from bld-mail02.adl2.internode.on.net ([203.16.214.66]:54229 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KRgS0-0002Lz-QI for screen-users@gnu.org; Sat, 09 Aug 2008 00:53:14 -0400 Received: from localhost (unverified [59.167.156.30]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 335774295-1927428 for ; Sat, 09 Aug 2008 14:23:01 +0930 (CST) Date: Sat, 9 Aug 2008 14:53:10 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080809045308.GD27687@Clio.twb.ath.cx> References: <489CAA73.5040208@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <489CAA73.5040208@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 945 Lines: 23 On Fri, Aug 08, 2008 at 01:20:03PM -0700, Micah Cowan wrote: > The first step would be to ensure that the man page is in-step with the > Texinfo manual; currently I believe the man page is a couple steps > behind. the content is essentially the same between them, so for the > most part you should actually be able to compare them side-by-side for > differences. Tedious work, obviously. Surely texinfo can be automatically converted into a roff manpage? > Actually, though, as it stands, a big-hulking man page strikes me as > remarkably untraditional. The GNU convention would be to have a simple one- or two-page manpage, which includes a SYNOPSIS and a brief DESCRIPTION and then says "use info for the complete manual". IMO this is a reasonable approach. How do other stakeholders feel? _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Aug 9 01:35:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B21247D8C63 for ; Sat, 9 Aug 2008 01:35:03 -0400 (EDT) Received: from localhost ([127.0.0.1]:37118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRh6R-0005AB-4x for erik@plastic-idolatry.com; Sat, 09 Aug 2008 01:34:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRh5v-00058P-3C for screen-users@gnu.org; Sat, 09 Aug 2008 01:34:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRh5s-00055g-HV for screen-users@gnu.org; Sat, 09 Aug 2008 01:34:25 -0400 Received: from [199.232.76.173] (port=42013 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRh5s-00055T-7s for screen-users@gnu.org; Sat, 09 Aug 2008 01:34:24 -0400 Received: from smtp.domeneshop.no ([194.63.248.54]:59394) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRh5r-0006c5-C7 for screen-users@gnu.org; Sat, 09 Aug 2008 01:34:23 -0400 Received: from 98.84-49-225.nextgentel.com ([84.49.225.98] helo=sunbase.org) by smtp.domeneshop.no with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.68) (envelope-from ) id 1KRh5n-0002BB-Uu for screen-users@gnu.org; Sat, 09 Aug 2008 07:34:20 +0200 Date: Sat, 9 Aug 2008 07:34:12 +0200 From: =?utf-8?Q?=C3=98yvind_A=2E?= Holm To: screen-users@gnu.org Message-ID: <20080809053412.GE10790@sunbase.org> References: <489CAA73.5040208@cowan.name> <20080809045308.GD27687@Clio.twb.ath.cx> MIME-Version: 1.0 In-Reply-To: <20080809045308.GD27687@Clio.twb.ath.cx> OpenPGP: id=94A506E5; url=http://www.sunbase.org/pubkey.asc X-Request-PGP: http://www.sunbase.org/pubkey.asc User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0948903520==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3791 Lines: 97 --===============0948903520== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5oH/S/bF6lOfqCQb" Content-Disposition: inline --5oH/S/bF6lOfqCQb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-08-09 14:53:10, Trent W. Buck wrote: > On Fri, Aug 08, 2008 at 01:20:03PM -0700, Micah Cowan wrote: > > The first step would be to ensure that the man page is in-step with=20 > > the Texinfo manual; currently I believe the man page is a couple=20 > > steps behind. the content is essentially the same between them, so=20 > > for the most part you should actually be able to compare them=20 > > side-by-side for differences. Tedious work, obviously. > > Surely texinfo can be automatically converted into a roff manpage? Not according to Wikipedia: Notable is the lack of man as an output format from the standard=20 Texinfo tools. True, Texinfo is used for writing the documentation of=20 GNU software, which typically is used in Unix-like environments such=20 as GNU/Linux, where the traditional format for documentation is man.=20 But the design rationale for the standard Texinfo tools' omission of=20 man as an output format is that man pages have a strict conventional=20 format, used traditionally as quick reference guides, whereas typical=20 Texinfo applications are for tutorials as well as reference manuals.=20 As such, no benefit is seen in expressing Texinfo content in man page=20 format. Moreover, many GNU projects eschew man pages almost=20 completely, referring the reader of the provided man page (which often=20 describes itself as seldom maintained) to the Info document. > > Actually, though, as it stands, a big-hulking man page strikes me as=20 > > remarkably untraditional. > > The GNU convention would be to have a simple one- or two-page manpage,=20 > which includes a SYNOPSIS and a brief DESCRIPTION and then says "use=20 > info for the complete manual". > > IMO this is a reasonable approach. How do other stakeholders feel? I like manpages, I think it's a nice format for reference. I never=20 understood why the GNU Project dislikes manpages, and personally I tend=20 to get a little annoyed when I have to do a _second_ search in the info=20 material (which sometimes has to be installed separately) when it easily=20 could've been included in the man page. To make both worlds happy, maybe an idea would be to convert the Texinfo=20 documentation into DocBook, which is able to create pretty manpages in=20 addition to the formats Texinfo generates. If this is of interest, I can=20 volunteer for the Texinfo =E2=86=92 DocBook conversion. =C3=98yvind +-| =C3=98yvind A. Holm - N 60.39548=C2=B0 E 5.31735=C2= =B0 |-+ | OpenPGP: 0xFB0CBEE894A506E5 - http://www.sunbase.org/pubkey.asc | | Fingerprint: A006 05D6 E676 B319 55E2 E77E FB0C BEE8 94A5 06E5 | +------------| 9fa36d42-65d2-11dd-b930-000475e441b9 |-------------+ --5oH/S/bF6lOfqCQb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFInSxU+wy+6JSlBuURArvXAJ0XDGt6PGFRn0mxc8ABxI4K9wFJGgCfXYuz pkS/2yQRfPYfurtHxBDqa0A= =jk0h -----END PGP SIGNATURE----- --5oH/S/bF6lOfqCQb-- --===============0948903520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0948903520==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Aug 9 12:19:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B01BF741729 for ; Sat, 9 Aug 2008 12:19:41 -0400 (EDT) Received: from localhost ([127.0.0.1]:39125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRrAG-0006dd-U9 for erik@plastic-idolatry.com; Sat, 09 Aug 2008 12:19:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQkGM-0002pI-SC for screen-users@gnu.org; Wed, 06 Aug 2008 10:45:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQkGE-0002hS-KD for screen-users@gnu.org; Wed, 06 Aug 2008 10:45:18 -0400 Received: from [199.232.76.173] (port=58299 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQkGE-0002hJ-GU for screen-users@gnu.org; Wed, 06 Aug 2008 10:45:10 -0400 Received: from wx-out-0506.google.com ([66.249.82.226]:57513) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQkGA-0006mv-40 for screen-users@gnu.org; Wed, 06 Aug 2008 10:45:10 -0400 Received: by wx-out-0506.google.com with SMTP id h28so841804wxd.24 for ; Wed, 06 Aug 2008 07:44:42 -0700 (PDT) Received: by 10.70.26.8 with SMTP id 8mr2994425wxz.13.1218033882706; Wed, 06 Aug 2008 07:44:42 -0700 (PDT) Received: from Jabberwock ( [68.0.142.188]) by mx.google.com with ESMTPS id i6sm13494037wxd.2.2008.08.06.07.44.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Aug 2008 07:44:40 -0700 (PDT) Date: Wed, 6 Aug 2008 07:44:32 -0700 From: Ken Steen To: screen-users@gnu.org Message-ID: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 09 Aug 2008 12:19:17 -0400 Subject: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1380 Lines: 27 I have a small file manager that uses screen to open programs in new screen windows. It works correctly except when using screen on a directory mounted with sshfs or when using screen on a directory that is a symbolic link. If the program is started with 'screen program-name', and the current directory is a symbolic link to another directory opening a new screen window changes the pwd to the directory that is pointed to by the symbolic link instead of the symbolic link directory. If the program is started in the shell without screen and then opens a screen window the pwd is the symbolic link directory. A similar problem occurs when a directory is mounted with sshfs. If the program is started with 'screen program-name' screen will give a permission denied message when trying to open a new screen window. If the program is started in a shell without screen and trys to open a sshfs mounted directory in a screen window it works correctly. I am not sure what is happening. I am guessing that the environ variable is not being set correctly. The screen command is passed with execve() and works correctly except in the previous two examples. Any ideas into what I am doing wrong would be greatly appreciated. Ken _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Aug 9 22:38:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 77FBD740E43 for ; Sat, 9 Aug 2008 22:38:41 -0400 (EDT) Received: from localhost ([127.0.0.1]:56157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KS0pJ-0002Vj-2R for erik@plastic-idolatry.com; Sat, 09 Aug 2008 22:38:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KS0oy-0002S6-O8 for screen-users@gnu.org; Sat, 09 Aug 2008 22:38:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KS0ox-0002QS-9o for screen-users@gnu.org; Sat, 09 Aug 2008 22:38:16 -0400 Received: from [199.232.76.173] (port=38489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KS0ox-0002QJ-4O for screen-users@gnu.org; Sat, 09 Aug 2008 22:38:15 -0400 Received: from bld-mail09.adl2.internode.on.net ([203.16.214.73]:40366 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KS0ox-0004X7-26 for screen-users@gnu.org; Sat, 09 Aug 2008 22:38:15 -0400 Received: from localhost (unverified [59.167.88.35]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 38876077-1927428 for ; Sun, 10 Aug 2008 12:08:01 +0930 (CST) Date: Sun, 10 Aug 2008 12:38:17 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080810023815.GA26047@Clio.twb.ath.cx> References: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080806144432.GA6586@Jabberwock> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 770 Lines: 19 On Wed, Aug 06, 2008 at 07:44:32AM -0700, Ken Steen wrote: > If [my] program is started with 'screen program-name', and the > current directory is a symbolic link to another directory opening a > new screen window changes the pwd to the directory that is pointed > to by the symbolic link instead of the symbolic link directory. If > the program is started in the shell without screen and then opens a > screen window the pwd is the symbolic link directory. Does this problem occur with other terminal emulators (than screen)? xterm -hold -e program-name rxvt -e program-name gnome-terminal -x program-name _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 10 10:15:43 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8BD036E6C30 for ; Sun, 10 Aug 2008 10:15:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:36532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSBhq-0000eB-L7 for erik@plastic-idolatry.com; Sun, 10 Aug 2008 10:15:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSBhU-0000cW-1t for screen-users@gnu.org; Sun, 10 Aug 2008 10:15:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSBhS-0000bG-Ef for screen-users@gnu.org; Sun, 10 Aug 2008 10:15:15 -0400 Received: from [199.232.76.173] (port=42060 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSBhS-0000bD-9M for screen-users@gnu.org; Sun, 10 Aug 2008 10:15:14 -0400 Received: from py-out-1112.google.com ([64.233.166.181]:11021) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSBhS-0005ES-6y for screen-users@gnu.org; Sun, 10 Aug 2008 10:15:14 -0400 Received: by py-out-1112.google.com with SMTP id p76so848695pyb.1 for ; Sun, 10 Aug 2008 07:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=OXVlij3pQ8pVC0NfivgJvGlEon5yqnH9g47vGHAwBF4=; b=RWV52J635iVYBOHROSPoE8BlNzwE/pCf3HdFr9UcYlqCOKVgjrVDzH70ZqpOyOuWbE jgXvf7KiZT1MW6EyH76W6KWrqofZhJ8DHA03WFv1XapFlm+njETpIHtp7T+jMkx2YxpR jcrOIu2Rs++vc3u+jT4KqkDYuiAeBL9wI81Q4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=fsyqvUvL9VnAgqBs8jSsrVYSquHGay3N30BFN0drXwL4bWdkEm5K4vBsNbkD4c2Z4k iVwXfc8e1wgll8zYfj+Mr2Cy1rCptt9UYQMW0M1fjr1uMzNY3Tm6KPH8G6sKKmRxODjK OcNY6Bm+TgShpCfAzKMxP7yfxa+oCsRpLYuNY= Received: by 10.64.180.20 with SMTP id c20mr120869qbf.124.1218377712702; Sun, 10 Aug 2008 07:15:12 -0700 (PDT) Received: from krusty ( [99.241.216.69]) by mx.google.com with ESMTPS id e17sm925741qba.0.2008.08.10.07.15.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 10 Aug 2008 07:15:11 -0700 (PDT) Date: Sun, 10 Aug 2008 10:22:19 -0400 From: Sadrul Habib Chowdhury To: Jean-Yves Levesque Message-ID: <20080810142219.GB8921@localdomain> References: <111f7ec40808050840t521e4d9bmcd54353087c81fec@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111f7ec40808050840t521e4d9bmcd54353087c81fec@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Vertical Split and Window List X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 925 Lines: 38 * Jean-Yves Levesque had this to say on [05 Aug 2008, 11:40:03 -0400]: > I do not know if this is an issue with my config > but when I run the vertical split with layouts and > I try to use the windowlist command (Ctrl-a ") I > get the following message: > > Window size too small for window list page > > then > > Width 2 chars too small > > Am i missing something? Hi. I just pushed in a change (revision d938e51) that I think fixes this problem. Could you please try it out and let us know if you still see the bug? Thanks. Sadrul > jy > > -- > Je ne parle qu'en mon nom. > I am only speaking for myself. > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 10 21:18:51 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 029406EDB66 for ; Sun, 10 Aug 2008 21:18:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:57507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSM3Y-00053t-7B for erik@plastic-idolatry.com; Sun, 10 Aug 2008 21:18:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSM3E-00052B-S6 for screen-users@gnu.org; Sun, 10 Aug 2008 21:18:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSM3D-0004yw-52 for screen-users@gnu.org; Sun, 10 Aug 2008 21:18:24 -0400 Received: from [199.232.76.173] (port=60533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSM3C-0004ya-Tj for screen-users@gnu.org; Sun, 10 Aug 2008 21:18:22 -0400 Received: from rv-out-0708.google.com ([209.85.198.244]:33765) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSM3D-0002r5-0Y for screen-users@gnu.org; Sun, 10 Aug 2008 21:18:23 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1928473rvb.6 for ; Sun, 10 Aug 2008 18:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GObj/PUi5K/RzB+7BHdW8M+O6W2+kWYngTfj7VIIlmY=; b=xley6qXjcE7xwliOrrXaeeHo8yot5dNQprkz+MM9ag+HzXFdvNdf1HMP0mzGz0FdRg LAF4teu5uXSNZt3fB32yyVJ2vgo3qZmUHpdNcPK3S6E2MflMzl7mAhGdP31YYxi7RjNp SLZrxPp4/EhBRKrbt96VF+YTwmwIwmAAgY5AY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Vuee3+RdmPMbz9D/0GFGO2/hCtvgZF3BNfRpDyJUHU7WuE2qVAMUHNKS6ay9f9Jo8c k7p8JNCY+QFr+C33Vhgcb2fFQi4hF0wfK1WyI9anZ95JCw+spEMNGhJ6vgIhaXIPcVp+ dSym1aU/uxZFQaqE23qr1VsHesFNUDEndF5gA= Received: by 10.141.76.21 with SMTP id d21mr3081495rvl.270.1218417501214; Sun, 10 Aug 2008 18:18:21 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Sun, 10 Aug 2008 18:18:21 -0700 (PDT) Message-ID: Date: Sun, 10 Aug 2008 21:18:21 -0400 From: "Andy Harrison" To: "Screen Users" In-Reply-To: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080806144432.GA6586@Jabberwock> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1876 Lines: 41 On Wed, Aug 6, 2008 at 10:44 AM, Ken Steen wrote: > I have a small file manager that uses screen to open programs in new > screen windows. It works correctly except when using screen on a > directory mounted with sshfs or when using screen on a directory that is > a symbolic link. If the program is started with 'screen program-name', > and the current directory is a symbolic link to another directory > opening a new screen window changes the pwd to the directory that is > pointed to by the symbolic link instead of the symbolic link directory. > If the program is started in the shell without screen and then opens a > screen window the pwd is the symbolic link directory. A similar problem > occurs when a directory is mounted with sshfs. If the program is > started with 'screen program-name' screen will give a permission denied > message when trying to open a new screen window. If the program is > started in a shell without screen and trys to open a sshfs mounted > directory in a screen window it works correctly. > > I am not sure what is happening. I am guessing that the environ > variable is not being set correctly. The screen command is passed with > execve() and works correctly except in the previous two examples. Any > ideas into what I am doing wrong would be greatly appreciated. > Although completely unrelated to screen, I had similar permission problems with one of my sshfs mounts. I finally solved it with the following sshfs params: sshfs my_username@servername:/path /mount/point -o allow_root -o idmap=user -o uid=1000 -o gid=1000 I would suggest trying that, or change allow_root to allow_other, and see if that helps. -- Andy Harrison public key: 0x67518262 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 10 21:24:11 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5A4726EDB66 for ; Sun, 10 Aug 2008 21:24:11 -0400 (EDT) Received: from localhost ([127.0.0.1]:56612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSM8k-0001Hi-US for erik@plastic-idolatry.com; Sun, 10 Aug 2008 21:24:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSM88-0000r8-Az for screen-users@gnu.org; Sun, 10 Aug 2008 21:23:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSM84-0000n5-KN for screen-users@gnu.org; Sun, 10 Aug 2008 21:23:27 -0400 Received: from [199.232.76.173] (port=53117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSM84-0000mu-FZ for screen-users@gnu.org; Sun, 10 Aug 2008 21:23:24 -0400 Received: from bld-mail02.adl2.internode.on.net ([203.16.214.66]:40093 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSM84-0003Eu-7G for screen-users@gnu.org; Sun, 10 Aug 2008 21:23:24 -0400 Received: from localhost (unverified [203.7.155.20]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 335929819-1927428 for ; Mon, 11 Aug 2008 10:52:56 +0930 (CST) Date: Mon, 11 Aug 2008 11:23:07 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080811012306.GB3081@Clio.twb.ath.cx> References: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 573 Lines: 14 On Sun, Aug 10, 2008 at 09:18:21PM -0400, Andy Harrison wrote: > Although completely unrelated to screen, I had similar permission > problems with one of my sshfs mounts. I finally solved it with the > following sshfs params: [... -o allow_root] Hmm -- perhaps this is related to screen being set-uid? Perhaps it does some things as root before relinquishing privileges that it should be doing as the non-privileged user? _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 10 22:42:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E3F366EDB66 for ; Sun, 10 Aug 2008 22:42:40 -0400 (EDT) Received: from localhost ([127.0.0.1]:51681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSNMi-0004QW-3I for erik@plastic-idolatry.com; Sun, 10 Aug 2008 22:42:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSNMM-0004Mg-1Q for screen-users@gnu.org; Sun, 10 Aug 2008 22:42:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSNMK-0004Ky-UQ for screen-users@gnu.org; Sun, 10 Aug 2008 22:42:13 -0400 Received: from [199.232.76.173] (port=40358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSNMK-0004KY-LC for screen-users@gnu.org; Sun, 10 Aug 2008 22:42:12 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSNMK-0003ZL-AD for screen-users@gnu.org; Sun, 10 Aug 2008 22:42:12 -0400 Received: from [10.0.0.5] (adsl-76-247-112-100.dsl.pltn13.sbcglobal.net [76.247.112.100]) by mabruk.micah.cowan.name (Postfix) with ESMTP id D18893C8A932 for ; Sun, 10 Aug 2008 19:42:10 -0700 (PDT) Message-ID: <489FA70E.6070303@cowan.name> Date: Sun, 10 Aug 2008 19:42:22 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Screen Users X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Screen, xterm, initialization strings. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2936 Lines: 66 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So, the other day, I suddenly found that screen was no longer using the alternate screen buffer as it usually does. Worse, screen _thought_ it was operating under the alternate screen buffer, so left a dirty screen upon exit. Thinking it was a recently-introduced but, I spent pretty much the whole day tracking down the problem, which turned out to be that after blowing away /opt/screen and reinstalling, I neglected to copy etcscreenrc to /opt/screen/etc/screenrc, which has the following: # Long time I had this in my private screenrc file. But many people # seem to want it (jw): # we do not want the width to change to 80 characters on startup: # on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l: termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' I use gnome-terminal (which advertises as xterm), which has the following ("is2" is terminfo for termcap's "is"): $ tput is2 | cat -v; echo ^[[!p^[[?3;4l^[[4l^[> Note the initial ^[[!p, which is the sequence for DECSTR, the soft reset. In vte (gnome-terminal, xfce4-terminal), this has the effect (among others), of bringing the terminal back into the normal screen buffer. (Ironically, it does not have this effect in an actual xterm.) My question is: is screen even right to issue the initialization string, at all? And particularly _after_ issuing smkx. My understanding is that is2 and friends should be sent on user login. One could, perhaps, argue that using screen _does_ amount to a login of sorts; but considering that nowhere else does one find it issued _after_ entering application keypad mode (which it could reasonably be expected to reverse, alternate buffer or no), and that terminfo(5) specifically states that it would normally set 80-column mode (which, according to the comment above, we'd want to avoid)... it seems extremely likely to me that issuing the init string gives a lot more potential for causing problems than solving them. Sure, we can just go on entering custom termcap settings in screenrc whenever we encounter a problem, but should that really be the answer? I propose that screen not send the initialization string. Probably with a command-line option that specifies it should be sent (though, IMO it should be sent before smkx, and not after). Any thoughts on this? - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIn6cO7M8hyUobTrERAuvjAKCKdbpa+0NBOVbmQ/4SLhk7RxiJGgCbB02A wFe59NjoMLRcVvl8wsMSJjs= =o31k -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 10 22:53:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 097396EDB66 for ; Sun, 10 Aug 2008 22:53:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:46279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSNX1-0008HJ-Jd for erik@plastic-idolatry.com; Sun, 10 Aug 2008 22:53:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSNVR-0006ob-HU for screen-users@gnu.org; Sun, 10 Aug 2008 22:51:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSNVP-0006mT-Ig for screen-users@gnu.org; Sun, 10 Aug 2008 22:51:36 -0400 Received: from [199.232.76.173] (port=57438 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSNVP-0006mK-Eo for screen-users@gnu.org; Sun, 10 Aug 2008 22:51:35 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:59555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSNVP-0004XZ-7Y for screen-users@gnu.org; Sun, 10 Aug 2008 22:51:35 -0400 Received: from [10.0.0.5] (adsl-76-247-112-100.dsl.pltn13.sbcglobal.net [76.247.112.100]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 4CE7F3C8A932 for ; Sun, 10 Aug 2008 19:51:34 -0700 (PDT) Message-ID: <489FA942.7000407@cowan.name> Date: Sun, 10 Aug 2008 19:51:46 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Screen Users References: <489FA70E.6070303@cowan.name> In-Reply-To: <489FA70E.6070303@cowan.name> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Screen, xterm, initialization strings. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 794 Lines: 28 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan wrote: > My question is: is screen even right to issue the initialization string, > at all? And particularly _after_ issuing smkx. (Sorry, here and elsewhere, I mean smcup (termcap "ti"), not smkx.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIn6lC7M8hyUobTrERAj6qAJ9/pgUdkKbpBGfvhaBOadexua2YogCeIl/w tPOAoj6O2+1oX00RAhnj2gA= =WSt9 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 00:51:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3E6116DF8A1 for ; Mon, 11 Aug 2008 00:51:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:45699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSPNP-00037V-Pg for erik@plastic-idolatry.com; Mon, 11 Aug 2008 00:51:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSPMx-00035O-QA for screen-users@gnu.org; Mon, 11 Aug 2008 00:50:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSPMs-0002zn-Mq for screen-users@gnu.org; Mon, 11 Aug 2008 00:50:57 -0400 Received: from [199.232.76.173] (port=52469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSPMs-0002zU-Gd for screen-users@gnu.org; Mon, 11 Aug 2008 00:50:54 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:53545) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSPMs-0001ls-3Z for screen-users@gnu.org; Mon, 11 Aug 2008 00:50:54 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1701925wfc.24 for ; Sun, 10 Aug 2008 21:50:51 -0700 (PDT) Received: by 10.142.154.20 with SMTP id b20mr1949399wfe.222.1218430251122; Sun, 10 Aug 2008 21:50:51 -0700 (PDT) Received: from Jabberwock ( [68.0.142.188]) by mx.google.com with ESMTPS id 28sm2119352wfg.15.2008.08.10.21.50.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 10 Aug 2008 21:50:50 -0700 (PDT) Date: Sun, 10 Aug 2008 21:50:45 -0700 From: Ken Steen To: screen-users@gnu.org Message-ID: <20080811045045.GA6137@Jabberwock> References: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2303 Lines: 48 On Sun, Aug 10, 2008 at 09:18:21PM -0400, Andy Harrison wrote: > On Wed, Aug 6, 2008 at 10:44 AM, Ken Steen wrote: > > I have a small file manager that uses screen to open programs in new > > screen windows. It works correctly except when using screen on a > > directory mounted with sshfs or when using screen on a directory that is > > a symbolic link. If the program is started with 'screen program-name', > > and the current directory is a symbolic link to another directory > > opening a new screen window changes the pwd to the directory that is > > pointed to by the symbolic link instead of the symbolic link directory. > > If the program is started in the shell without screen and then opens a > > screen window the pwd is the symbolic link directory. A similar problem > > occurs when a directory is mounted with sshfs. If the program is > > started with 'screen program-name' screen will give a permission denied > > message when trying to open a new screen window. If the program is > > started in a shell without screen and trys to open a sshfs mounted > > directory in a screen window it works correctly. > > > > I am not sure what is happening. I am guessing that the environ > > variable is not being set correctly. The screen command is passed with > > execve() and works correctly except in the previous two examples. Any > > ideas into what I am doing wrong would be greatly appreciated. > > > > Although completely unrelated to screen, I had similar permission > problems with one of my sshfs mounts. I finally solved it with the > following sshfs params: > > sshfs my_username@servername:/path /mount/point -o allow_root -o > idmap=user -o uid=1000 -o gid=1000 > > I would suggest trying that, or change allow_root to allow_other, and > see if that helps. > I had to use the -o allow_other and -o default_permissions with sshfs to get it to work properly with screen. The symlink directory problem was fixed by calling "screen -X setenv PWD /full/path/to/directory" before calling screen to open a new window. I don't know why it is needed only on symlink directories but it works. Thanks, Ken _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 06:03:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A26CA6E7725 for ; Mon, 11 Aug 2008 06:03:40 -0400 (EDT) Received: from localhost ([127.0.0.1]:54421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSUFQ-0000k3-7C for erik@plastic-idolatry.com; Mon, 11 Aug 2008 06:03:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSUB9-0006vR-J3 for screen-users@gnu.org; Mon, 11 Aug 2008 05:59:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSUB8-0006tu-Mn for screen-users@gnu.org; Mon, 11 Aug 2008 05:59:06 -0400 Received: from [199.232.76.173] (port=58285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSUB7-0006ta-Sb for screen-users@gnu.org; Mon, 11 Aug 2008 05:59:05 -0400 Received: from jabba.london.02.net ([82.132.130.169]:50376 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSUB7-0008Ea-5S for screen-users@gnu.org; Mon, 11 Aug 2008 05:59:05 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 4898862E010E56ED; Mon, 11 Aug 2008 12:16:42 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KSUAy-0001k8-Af; Mon, 11 Aug 2008 10:58:56 +0100 Date: Mon, 11 Aug 2008 10:58:56 +0100 From: Stephane Chazelas To: Micah Cowan Message-ID: <20080811095856.GA6298@sc.homeunix.net> References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> <489CB80A.7010200@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <489CB80A.7010200@cowan.name> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: screen-users@gnu.org Subject: Re: Mouse-support with "exec" filters X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3522 Lines: 93 On Fri, Aug 08, 2008 at 02:18:02PM -0700, Micah Cowan wrote: [...] > I think the discussion I wished to have, was whether there was agreemen= t > that in all cases we would wish the mouse sequences to go to the filter= , > rather than the application. I would think that in many cases, one woul= d > wish the reverse (say if the application is vim, and the filter doesn'= t > get mouse sequences). Hi Micah, I don't agree with that. If I filter the input to vim, I don't see why I would expect part of the input not to go through the filter. But I'm talking here only of filters that filters the input, that is what is otherwise being sent to the applications (what applications read from their slave, or what they would have read in the absence of a filter). That includes characters sent upon a key press (or return) or mouse button press or motion if the application requested mouse tracking, screen -X stuff, responses to "report" sequences and so on. By trying to be clever and guess and select which of those a filter author might be interested in, I fear that we lose in clarity and flexibility. It should be up to the filter to select what it is interested in: anyway, if it filters the input to a curses like application, it has to know how to cope with character sequences sent upon , , keys and so on. The key is just another character sequence, you may consider for instance that there's a key for every character cell on the window. Every time I try to use filters, I have to scratch my head for a while as it's quite complex. Having *all* the input go through filters that have "." as the first character is the fd specification looks like the most sensible thing to do to me and what a user would expect. It allows filters to do stuff on all the sorts of input. If you leave one sort of input out, that means less flexibility, as that's one thing a filter can't do anything on anymore, or you have to provide with an alternative way for them to do it and that would add complexity. > In order to be done right, it might be necessary for screen to determin= e > which tty the mouse-tracking sequence was sent on (app's or filter's). >=20 > OTOH, a case might be made that none of this applies when the filter > spec has "." as the first character. I'm not confident enough in my > knowledge/experience with filters to make such a judgment, which is why > I wanted to discuss it. :) I'm not too sure about what you mean with "which tty the mouse-tracking sequence was sent on" in the context of mouse-tracking. Do you mean the sequence that enables mouse tracking, or the sequence sent by the terminal when a mouse button is pressed when mouse-tracking in enabled? For the escape sequences sent by the terminal upon a button press, it's like any other key press IMO. The sequence should go to the window that has focus, and if there's a filter on input for that window, it should go to the filter instead. Like if you do :exec ... vim That vim should overwrite what is currently running, and mouse should work. At the moment, mouse is working. What is not working is if vim sends some "report" queries, it doesn't see the answer. Actually, you can observe that vim takes some time to start up and my guess is because it times out waiting for the answer to some "query terminal type" sequence. Best regards, St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 06:17:06 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A8682F60D for ; Mon, 11 Aug 2008 06:17:06 -0400 (EDT) Received: from localhost ([127.0.0.1]:40404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSUSS-0004bb-H1 for erik@plastic-idolatry.com; Mon, 11 Aug 2008 06:17:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSURs-0004Yz-AW for screen-users@gnu.org; Mon, 11 Aug 2008 06:16:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSURq-0004Wu-3I for screen-users@gnu.org; Mon, 11 Aug 2008 06:16:23 -0400 Received: from [199.232.76.173] (port=52261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSURp-0004WM-NR for screen-users@gnu.org; Mon, 11 Aug 2008 06:16:21 -0400 Received: from yoda.london.02.net ([82.132.130.151]:50325 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSURp-0002q6-9P for screen-users@gnu.org; Mon, 11 Aug 2008 06:16:21 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 48987420010EBD1E; Mon, 11 Aug 2008 11:16:19 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KSURm-0001pR-IX; Mon, 11 Aug 2008 11:16:18 +0100 Date: Mon, 11 Aug 2008 11:16:18 +0100 From: Stephane Chazelas To: Micah Cowan Message-ID: <20080811101618.GC6298@sc.homeunix.net> References: <489FA70E.6070303@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <489FA70E.6070303@cowan.name> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: Screen Users Subject: Re: Screen, xterm, initialization strings. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 707 Lines: 22 On Sun, Aug 10, 2008 at 07:42:22PM -0700, Micah Cowan wrote: [...] > I propose that screen not send the initialization string. Probably with > a command-line option that specifies it should be sent (though, IMO it > should be sent before smkx, and not after). Any thoughts on this? [...] On the other hand, it seems to me that sending the init sequence would be the best way to ensure the terminal is in the state we expect it to be in. But I agree doing the smcup and switching to alternate screen *before* doing the "init" sounds wrong. --=20 St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 07:14:25 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 377106C66F4 for ; Mon, 11 Aug 2008 07:14:23 -0400 (EDT) Received: from localhost ([127.0.0.1]:52828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSVLs-00009y-QX for erik@plastic-idolatry.com; Mon, 11 Aug 2008 07:14:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSVJ4-0006Wo-HP for screen-users@gnu.org; Mon, 11 Aug 2008 07:11:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSVJ3-0006UA-3l for screen-users@gnu.org; Mon, 11 Aug 2008 07:11:21 -0400 Received: from [199.232.76.173] (port=54873 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSVJ2-0006Ts-IZ for screen-users@gnu.org; Mon, 11 Aug 2008 07:11:20 -0400 Received: from vader.london.02.net ([82.132.130.150]:56911 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSVJ1-00031y-Tk for screen-users@gnu.org; Mon, 11 Aug 2008 07:11:20 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 48987420011198C1; Mon, 11 Aug 2008 12:11:17 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KSVIz-00023K-6g; Mon, 11 Aug 2008 12:11:17 +0100 Date: Mon, 11 Aug 2008 12:11:17 +0100 From: Stephane Chazelas To: Ken Steen Message-ID: <20080811111117.GD6298@sc.homeunix.net> References: <20080806144432.GA6586@Jabberwock> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20080806144432.GA6586@Jabberwock> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: screen-users@gnu.org Subject: Re: 2 problems using screen with sshfs and symlinks X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4270 Lines: 112 On Wed, Aug 06, 2008 at 07:44:32AM -0700, Ken Steen wrote: > I have a small file manager that uses screen to open programs in new > screen windows. It works correctly except when using screen on a > directory mounted with sshfs or when using screen on a directory that i= s > a symbolic link. If the program is started with 'screen program-name', > and the current directory is a symbolic link to another directory > opening a new screen window changes the pwd to the directory that is > pointed to by the symbolic link instead of the symbolic link directory. > If the program is started in the shell without screen and then opens a > screen window the pwd is the symbolic link directory. =20 There is no such thing as a "symbolic link directory". A symbolic link is a special kind of file that contains a path to another file. When you chdir(2) with a patch to such a file as argument, you end up in the directory that is the target of that link. The current working directory is always a directory, and there is no path involved. The system knows the current directory only by the device it's on and its inode. A user (or sometimes the kernel as on Linux' /proc//cwd) may compute a path to that directory, by recursively looking up the ".." entried starting from the current directory, but that's all. Now, some shell implementations have a feature (which I tend to consider as a misfeature as it causes more confusion that it helps) in which they maintain an internal "logical" representation of the current working directory. It started with ksh I think and other shells like zsh and bash copied it. It's stored in the $PWD parameter. The shell uses that internal parameter for its pwd builtin (with pwd -L, the default, not pwd -P) and cd (cd -L, the default, not cd -P) when arguments contain ".." Even though POSIX prohibits it, if $PWD is found in the environment, shells, upon startup initialise their internal "logical current directory" parameter with its value (as long as it is a valid path to the current working directory). I think it is what you're observing above. If you have: ~$ ls -ld 1 2 drwxr-xr-x 2 chazelas chazelas 4096 2008-08-11 12:00 1/ lrwxrwxrwx 1 chazelas chazelas 1 2008-08-11 12:00 2 -> 1/ And the current directory is "/tmp". If you do a: $ cd 2 Your current directory will be the /tmp/1 directory. However, your shell will store "/tmp/2" in the $PWD variable, and if you run the "pwd" command, it will return the content of that variable instead of the real working directory. Now, your shell exports $PWD to the environment, so if you start another shell, it will inherit the $PWD, and if you run the pwd command in that other shell, it will return /tmp/2 as well. But if you start that other shell with "screen". The $PWD variable will not be inherited. The new shell will be a child of the screen server, so will inherit the $PWD of that process, not the $PWD of your current shell. What you could do is: screen env PWD=3D"$PWD" some-program > A similar problem > occurs when a directory is mounted with sshfs. If the program is > started with 'screen program-name' screen will give a permission denied > message when trying to open a new screen window. If the program is > started in a shell without screen and trys to open a sshfs mounted > directory in a screen window it works correctly. >=20 > I am not sure what is happening. I am guessing that the environ > variable is not being set correctly. The screen command is passed with= =20 > execve() and works correctly except in the previous two examples. Any > ideas into what I am doing wrong would be greatly appreciated. [...] When you do: screen some-command in directory /dir. That screen command tells the screen server to open a new window, to do a chdir("/dir") in it and execute the command as the current user. If it does the chdir() before switching persona, then you'll have the problem because by default sshfs doesn't allow root to access directories mounted by a user. Maybe screen should be modified so that the chdir() is performed after switching persona. --=20 St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 14:28:36 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C3CD273FB4B for ; Mon, 11 Aug 2008 14:28:35 -0400 (EDT) Received: from localhost ([127.0.0.1]:41718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSc86-0004vc-L3 for erik@plastic-idolatry.com; Mon, 11 Aug 2008 14:28:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSc7i-0004rp-Va for screen-users@gnu.org; Mon, 11 Aug 2008 14:28:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSc7i-0004pl-0y for screen-users@gnu.org; Mon, 11 Aug 2008 14:28:06 -0400 Received: from [199.232.76.173] (port=60859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSc7h-0004pI-RI for screen-users@gnu.org; Mon, 11 Aug 2008 14:28:05 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:45864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSc7h-0005w7-Ln for screen-users@gnu.org; Mon, 11 Aug 2008 14:28:05 -0400 Received: from [10.0.0.5] (adsl-76-247-112-100.dsl.pltn13.sbcglobal.net [76.247.112.100]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 850F93C8A934; Mon, 11 Aug 2008 11:28:04 -0700 (PDT) Message-ID: <48A084C3.3070802@cowan.name> Date: Mon, 11 Aug 2008 11:28:19 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Stephane Chazelas References: <489FA70E.6070303@cowan.name> <20080811101618.GC6298@sc.homeunix.net> In-Reply-To: <20080811101618.GC6298@sc.homeunix.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen Users Subject: Re: Screen, xterm, initialization strings. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1587 Lines: 47 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephane Chazelas wrote: > On Sun, Aug 10, 2008 at 07:42:22PM -0700, Micah Cowan wrote: > [...] >> I propose that screen not send the initialization string. Probably with >> a command-line option that specifies it should be sent (though, IMO it >> should be sent before smkx, and not after). Any thoughts on this? > [...] > > On the other hand, it seems to me that sending the init sequence > would be the best way to ensure the terminal is in the state we > expect it to be in. Probably; except that we _don't_ expect it to be switched to 80-col mode, which is apparently one of the things is2 is expected to do. If is2 is expected to be sent at a user's login, then perhaps we should simply expect that it's already been taken care of, as a large variety (most? all?) of other terminal apps appear to do (with the obvious exception of "tput init" :) ). > But I agree doing the smcup and switching to alternate screen > *before* doing the "init" sounds wrong. Okay, so I'm not crazy there, then. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoITD7M8hyUobTrERApgJAJ4iBWCjzEYpoHIjiW+3s0lRiwxFJACfYNoi KEnfdvCBZZL/QEgMpIu8CVc= =j7wl -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 14:57:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 20B1473FB4B for ; Mon, 11 Aug 2008 14:57:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:51644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KScaC-0008Kb-En for erik@plastic-idolatry.com; Mon, 11 Aug 2008 14:57:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KScWe-0005Wi-F1 for screen-users@gnu.org; Mon, 11 Aug 2008 14:53:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KScWc-0005UV-PF for screen-users@gnu.org; Mon, 11 Aug 2008 14:53:51 -0400 Received: from [199.232.76.173] (port=52757 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KScWc-0005UI-Ji for screen-users@gnu.org; Mon, 11 Aug 2008 14:53:50 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:47918) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KScWc-0001T4-8w for screen-users@gnu.org; Mon, 11 Aug 2008 14:53:50 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id 07F0B5F0EA; Mon, 11 Aug 2008 20:53:45 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id UAA20490; Mon, 11 Aug 2008 20:53:44 +0200 (MEST) Date: Mon, 11 Aug 2008 20:53:44 +0200 From: Juergen Weigert To: Mark Eichin Message-ID: <20080811185344.GB1647@faui40p> References: <489A92E0.9040604@cowan.name> <18071eea0808070010v367c8774yf329f00e4cdf9941@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: Micah Cowan , Screen Users Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1980 Lines: 52 On Aug 07, 08 12:18:53 -0400, Mark Eichin wrote: > "Thomas Adam" writes: > > > 2008/8/7 Micah Cowan : > >> However, if you use bash, it will set _shell_ variables, COLUMNS and > >> LINES, automatically. This isn't something that screen does, but bash. > >> Bash does _not_ export these by default, however; you'll need to do > >> > >> $ export COLUMNS LINES This may work, if the screen does not get resized while it is running. I have my screen session inside an xterm, and resize frequently. environment variables would still reflect the old value after a resize. > > > > Rather unportably between Unixes: > > > > eval $(resize) > > resize requires having a terminal type that actually does xterm-style > answerback, which as at best a "maybe". When run from within screen, we guarantee you that xterm-style answerback is honored. Screen is an xterm-compatible device. > What you *really* want is the output of stty: > $ stty -a |grep rows > speed 38400 baud; rows 56; columns 144; line = 0; > > because it's a property of the tty, and changed there - putting the > values in the environment is an old and not-really-workable hack. The best thing to do, is to keep them all in sync: - Measure the real dimension like resize does, - Then check what the PTY thinks, and run stty to set cols and rows, in case a SIGWINCH got lost. - Then check shell variables COLUMNS and LINES, and fire SIGWINCH to the shell, if they do not match. The shell will fetch them from the PTY then. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 15:25:03 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A6B626EDEAB for ; Mon, 11 Aug 2008 15:25:02 -0400 (EDT) Received: from localhost ([127.0.0.1]:44891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSd0j-0005nW-LD for erik@plastic-idolatry.com; Mon, 11 Aug 2008 15:24:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KScpZ-0008AA-4q for screen-users@gnu.org; Mon, 11 Aug 2008 15:13:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KScpX-00087l-Bs for screen-users@gnu.org; Mon, 11 Aug 2008 15:13:24 -0400 Received: from [199.232.76.173] (port=48700 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KScpX-00087a-0o for screen-users@gnu.org; Mon, 11 Aug 2008 15:13:23 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:49068) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KScpW-0004tb-QR for screen-users@gnu.org; Mon, 11 Aug 2008 15:13:23 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id 24F255F0EA; Mon, 11 Aug 2008 21:13:21 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id VAA20540; Mon, 11 Aug 2008 21:13:20 +0200 (MEST) Date: Mon, 11 Aug 2008 21:13:20 +0200 From: Juergen Weigert To: Micah Cowan Message-ID: <20080811191320.GC1647@faui40p> References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> <489CB80A.7010200@cowan.name> <20080808231427.GC5176@sc.homeunix.net> <489CF875.3010805@cowan.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <489CF875.3010805@cowan.name> X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: Stephane Chazelas , screen-users@gnu.org Subject: Re: "exec .!" filters seeing responses to "query" escape sequences X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1454 Lines: 37 On Aug 08, 08 18:52:53 -0700, Micah Cowan wrote: > > For consistency, one could also consider having screen swallow up > mouse-tracking responses, and reissue them down only the ttys on which > requests had been seen. > > But that wouldn't be a general solution, since other term-specific > query/responses couldn't be caught by Screen, and so would always end up > at the filter end in any case. So, perhaps I should simply apply your > patch to obtain a general _and_ consistent solution (if a potentially > existing-filters-breaking one), and have done with it. > > ...which is why this is a discussion, and not a rant. Feedback, anyone? :) When I originally implemented filters, the concept was, that everything should pass through the filter process. A filter that relies on some data bypassing the filter, is a bad filter and should be fixed, IMO. Filter syntax and semantics are horribly complex, and possibly got quite broken over time. I haven't used any recently. cheers, Js. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 11 15:40:16 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 78D72741F18 for ; Mon, 11 Aug 2008 15:40:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:40385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSdFP-00009x-Mx for erik@plastic-idolatry.com; Mon, 11 Aug 2008 15:40:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSd40-0002Bs-8k for screen-users@gnu.org; Mon, 11 Aug 2008 15:28:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSd3w-00025G-9G for screen-users@gnu.org; Mon, 11 Aug 2008 15:28:19 -0400 Received: from [199.232.76.173] (port=45135 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSd3w-000254-4m for screen-users@gnu.org; Mon, 11 Aug 2008 15:28:16 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:52778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSd3w-0007PZ-1L for screen-users@gnu.org; Mon, 11 Aug 2008 15:28:16 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id CA3293C8A932; Mon, 11 Aug 2008 12:28:13 -0700 (PDT) Message-ID: <48A092C9.7060203@cowan.name> Date: Mon, 11 Aug 2008 12:28:09 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: jw@cs.fau.de References: <489B49D3.8070804@cowan.name> <111f7ec40808080717t6187a2b3ib267bc928291eced@mail.gmail.com> <20080808150930.GH7870@rai.laznode.com> <111f7ec40808081008w63e744bdg5695326b757187e9@mail.gmail.com> <489C9968.2010904@cowan.name> <20080808200019.GB5176@sc.homeunix.net> <489CB80A.7010200@cowan.name> <20080808231427.GC5176@sc.homeunix.net> <489CF875.3010805@cowan.name> <20080811191320.GC1647@faui40p> In-Reply-To: <20080811191320.GC1647@faui40p> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Stephane Chazelas , screen-users@gnu.org Subject: Re: "exec .!" filters seeing responses to "query" escape sequences X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1838 Lines: 51 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Juergen Weigert wrote: > On Aug 08, 08 18:52:53 -0700, Micah Cowan wrote: >> For consistency, one could also consider having screen swallow up >> mouse-tracking responses, and reissue them down only the ttys on which >> requests had been seen. >> >> But that wouldn't be a general solution, since other term-specific >> query/responses couldn't be caught by Screen, and so would always end up >> at the filter end in any case. So, perhaps I should simply apply your >> patch to obtain a general _and_ consistent solution (if a potentially >> existing-filters-breaking one), and have done with it. >> >> ...which is why this is a discussion, and not a rant. Feedback, anyone? :) > > When I originally implemented filters, the concept was, that everything > should pass through the filter process. > > A filter that relies on some data bypassing the filter, is a bad filter and > should be fixed, IMO. > > Filter syntax and semantics are horribly complex, and possibly got quite > broken over time. I haven't used any recently. Well, that's certainly reason enough to fix it, then. :) Thanks for clarifying, Juergen. It may also be that this was never working properly; I expect that not many filters issue terminal queries, so who would have noticed? - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoJLI7M8hyUobTrERAmeYAJ45YAbtZQGo8nq1tWjaiQ95uBkZUgCfSgrf cvdjzZLeyTqn9avyg+p8ajc= =fVg4 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 04:25:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0FE3C7412BE for ; Tue, 12 Aug 2008 04:25:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:59833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSpCP-0004Xz-5f for erik@plastic-idolatry.com; Tue, 12 Aug 2008 04:25:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSpC1-0004TR-FJ for screen-users@gnu.org; Tue, 12 Aug 2008 04:25:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSpC0-0004Qh-3Y for screen-users@gnu.org; Tue, 12 Aug 2008 04:25:25 -0400 Received: from [199.232.76.173] (port=55647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSpBz-0004QZ-SO for screen-users@gnu.org; Tue, 12 Aug 2008 04:25:23 -0400 Received: from py-out-1112.google.com ([64.233.166.180]:31189) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSpC0-0000zW-0F for screen-users@gnu.org; Tue, 12 Aug 2008 04:25:24 -0400 Received: by py-out-1112.google.com with SMTP id p76so1324581pyb.1 for ; Tue, 12 Aug 2008 01:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=w6j542O2mLKBrY3SG0X3RlR5NsxbS8Nm5gdu6PGE1H0=; b=H88b15+0/edmlqCllsal6YOLo0JBGbIH+d+mdrh2SOTEpbKDHRGUM4RzCCb9+1Sv7D D+R8UCqk/vpMjsfhFpCrYR9+57cgTUWogK2tcFMC77VWm04TPfsz3T+JHRFHnj/1HcGC yDoarjcq/J6wJPJwhBRKQA4XRUK6dobQdeLIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=A8q2ItA7R8NLuaxQtD6GbiezkiRFXgBvx5mRvVQFwCChAkmNLF50hVM2VET+bvottY bXdIX7HEXXy+P1pFGALAlDKC8m1VtTwZP6+HGolv4eBgWRSGMo3I39dDNZG2YsecD049 V/AhMfhLDfutWy13rtiuRND63wUT9i5inH8J0= Received: by 10.65.242.7 with SMTP id u7mr15692620qbr.51.1218529522076; Tue, 12 Aug 2008 01:25:22 -0700 (PDT) Received: by 10.64.27.10 with HTTP; Tue, 12 Aug 2008 01:25:22 -0700 (PDT) Message-ID: Date: Tue, 12 Aug 2008 09:25:22 +0100 From: "David Chanters" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Windows groups with window splits X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 812 Lines: 25 Hi - i don't know if this has been asked before, but i am using the GIT version of screen and am wondering if i can do the following: Assume i have two windows under screen, window1 and window2. In window1 i issue the :split command and quite rightly then get a split window. However, if i then switch to window2, whichever split region i was in switches to window2. what i would rather is the split windows are contained just to window1 - window2 should have no split windows at all when i switch to it. i've read that one can have window groups but theres very little documentation - is this something which would allow me to achieve this? Thanks! David _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 09:51:22 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A12EE741836 for ; Tue, 12 Aug 2008 09:51:22 -0400 (EDT) Received: from localhost ([127.0.0.1]:35917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSuHL-0002cx-Ku for erik@plastic-idolatry.com; Tue, 12 Aug 2008 09:51:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSuGy-0002a5-9B for screen-users@gnu.org; Tue, 12 Aug 2008 09:50:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSuGw-0002Vw-CA for screen-users@gnu.org; Tue, 12 Aug 2008 09:50:51 -0400 Received: from [199.232.76.173] (port=37139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSuGw-0002Vg-54 for screen-users@gnu.org; Tue, 12 Aug 2008 09:50:50 -0400 Received: from qw-out-1920.google.com ([74.125.92.145]:42635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSuGw-0007hF-5T for screen-users@gnu.org; Tue, 12 Aug 2008 09:50:50 -0400 Received: by qw-out-1920.google.com with SMTP id 4so207990qwk.24 for ; Tue, 12 Aug 2008 06:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=rFrT3eX4mpPf1ou4dYKmDMqPL/SNZtl8BL4M1hMGlTI=; b=GpH1yWyCgg838xx1Wz4iQdP24IqKr4/A+JtGGcDBohNJhIQzF+Xga1NS55JfiYZXt8 uvxhbbBJ2cmxQXNuPCesqe1qokqtub17CeVPc4hXANgwBc5p1EErzBd+YzOrz2YyLTfh buAhPCphViojW5x06ORoaB/+B6XqLxcwVGA5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=KAvZu9zBZB9qRY9ZvOKarRf2+o8fVVYyjKsVrCc0yYHBby+lYRKzCzXIywA0wfcKAV RuB9a/lpeyjmTvyohADOlWGUEXWSES0Ps4SFKqbYWgaCQsxbqtf0nmbLXTdRNwnuOWbo bhv6Sq7NFjk7tqOzasUbBaD3xdK/MiwVIobzY= Received: by 10.151.142.2 with SMTP id u2mr14405752ybn.82.1218549048558; Tue, 12 Aug 2008 06:50:48 -0700 (PDT) Received: from krusty ( [99.241.216.69]) by mx.google.com with ESMTPS id k7sm5670168qba.3.2008.08.12.06.50.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Aug 2008 06:50:47 -0700 (PDT) Date: Tue, 12 Aug 2008 09:58:12 -0400 From: Sadrul Habib Chowdhury To: David Chanters Message-ID: <20080812135812.GI8921@localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Windows groups with window splits X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1358 Lines: 45 * David Chanters had this to say on [12 Aug 2008, 09:25:22 +0100]: > Hi - > > i don't know if this has been asked before, but i am using the GIT > version of screen and am wondering if i can do the following: > > Assume i have two windows under screen, window1 and window2. In > window1 i issue the :split command and quite rightly then get a split > window. However, if i then switch to window2, whichever split region > i was in switches to window2. what i would rather is the split > windows are contained just to window1 - window2 should have no split > windows at all when i switch to it. Sounds like you want layouts, a new feature in 4.1.0. > i've read that one can have window groups but theres very little > documentation - is this something which would allow me to achieve > this? Layouts aren't documented [all that well] (https://savannah.gnu.org/bugs/?23597). But for a quick intro: the possible layout commands are: layout new layout save layout next layout prev layout show layout title [title] layout select layout autosave on|off layout number [number] The commands do what you would expect them to do. :) Someone should totally write up the documentation! Sadrul _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 12:45:51 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D0A5876442B for ; Tue, 12 Aug 2008 12:45:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:56404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSx0C-00039Y-DM for erik@plastic-idolatry.com; Tue, 12 Aug 2008 12:45:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSwzj-00036X-GX for screen-users@gnu.org; Tue, 12 Aug 2008 12:45:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSwzi-00034X-Ew for screen-users@gnu.org; Tue, 12 Aug 2008 12:45:14 -0400 Received: from [199.232.76.173] (port=54759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSwzi-00033l-9b for screen-users@gnu.org; Tue, 12 Aug 2008 12:45:14 -0400 Received: from yx-out-1718.google.com ([74.125.44.153]:46899) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSwze-0005b4-Vs for screen-users@gnu.org; Tue, 12 Aug 2008 12:45:12 -0400 Received: by yx-out-1718.google.com with SMTP id 34so877020yxf.66 for ; Tue, 12 Aug 2008 09:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MHBvfQPc8NZKdcp0F8aKGTvCEGc8FyGl4Xdgt27IQqQ=; b=D3IvMeTN3C36EHN1SwKw765JChKyDJkk1sNMXE3LPZ8+jOInYHuf/A8EOxy1dhRv7a deos3YWV0Rp2U70EAksxXOwLANBDKWsblBA0YRRTbp/jt0SpIA397G+HBrDnpiNDRHll e8QEfqJ1Y71Fg/6G/qybGTBNoobL0I5Veg+WM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YoXRZm7/b2vcrVvuMdvFi7VIn2+HBL/QMWwXcMXPl4Pdrze3PooGd6j7GdjJdLnBCC vXqtH2Y9OYyJWy9yIiSoAYR4wqIzWy1IH+o/13Gyk/MLVm9ERcIURnf/qJ1LnJOGoycj Qa3oefQhai5P2McOYkmF1bQ75zHwHxK0RuznA= Received: by 10.142.162.9 with SMTP id k9mr2799862wfe.158.1218559509098; Tue, 12 Aug 2008 09:45:09 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Tue, 12 Aug 2008 09:45:08 -0700 (PDT) Message-ID: <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> Date: Tue, 12 Aug 2008 17:45:08 +0100 From: "Thomas Adam" To: "Micah Cowan" In-Reply-To: <489CAA73.5040208@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3751 Lines: 82 2008/8/8 Micah Cowan : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > So, what would _really_ help me out in getting the documentation ready > for a 4.1.0 release, is if someone would step up to volunteer to > maintain the man page. I put myself forward as a volunteer. > The first step would be to ensure that the man page is in-step with the > Texinfo manual; currently I believe the man page is a couple steps > behind. the content is essentially the same between them, so for the > most part you should actually be able to compare them side-by-side for > differences. Tedious work, obviously. But something of a no-brainer, so it's easy to do just time-consuming. > The next step would be to watch changes made to the Texinfo document > (which I'll be updating to reflect the current state of things), and > transfer them to the man-page. I will state at this point, categorically, that although being true to GNU's roots is nice, I am dead against texinfo pages -- *no* one actually reads them; heck, the existing info viewer is an abomination, pinfo is "OK" but is not ubiquitous so it's out of the running for most people. No... I seriously suggest we just make the manpage a fore-runner -- at least an "official" representation of our documentation. > Basically, I'm willing to maintain one big, hulking, autonomous manual; You won't come close to FVWM's man page size. :P > but I will not maintain two. I need someone else to step up for that. If > no one does, then this release will be issued with a woefully > out-of-date man page (lacking information on all the nifty new stuff), As noted above, I am willing to maintain the *man*page. > and future releases might include one of those shell-of-a-manpages that > simply refer the reader to the Texinfo documentation. Surely that's > enough to scare a few of you into volunteering? ;) Perhaps. > To my mind, unifying on a single source format would be the best > long-term approach, rather than having two manuals maintained. So far, > the approach that makes the most sense to me is to use the Texinfo as > the source document, generating the manpage with texi2pod.pl (see Wget's > Texinfo documentation for an understanding of this; note that, even with > texi2pod.pl, however, Wget's man page is still very much inferior to > their Texinfo counterparts: only a small portion is translated into the > man page). However, for Screen this would require texi2pod.pl to be > modified to allow arbitrary sections to be transmitted (it only allows > the standard ones, currently). Or use asciidoc or txt2tags, etc. > Actually, though, as it stands, a big-hulking man page strikes me as > remarkably untraditional. It seems to me that, if we're going to do man > pages right for Screen, we should split it apart into separate man pages > by concept. For instance, one dedicated to the invocation options, > another dedicated to commands (screen(5) or screenrc(5)), another > dedicated to screen's mechanisms for hardstatus/caption/autoaka, another > for screen's terminal emulation details... of course, doing such a thing > would also mean that it would be a lot more challenging to generate from > the Texinfo documentation, so would really require a separate maintainer > (or more heavy modifications to texi2pod, or something). I disagree. Having one manpage for screen, and another for the screenrc is in keeping with "tradition" -- splitting this mythical screen(1) manpage up would only alienate its use -- how would/are people supposed to know/remember which manpage to refer to? -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 14:04:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1EE6776442B for ; Tue, 12 Aug 2008 14:04:29 -0400 (EDT) Received: from localhost ([127.0.0.1]:50344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSyEI-0004dp-Lt for erik@plastic-idolatry.com; Tue, 12 Aug 2008 14:04:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSyDn-0004PZ-9H for screen-users@gnu.org; Tue, 12 Aug 2008 14:03:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSyDm-0004OQ-Jq for screen-users@gnu.org; Tue, 12 Aug 2008 14:03:50 -0400 Received: from [199.232.76.173] (port=36291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSyDk-0004LQ-Jr; Tue, 12 Aug 2008 14:03:48 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:44284) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSyDj-0003kn-OV; Tue, 12 Aug 2008 14:03:48 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id BDA435F0D0; Tue, 12 Aug 2008 20:03:45 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id UAA21616; Tue, 12 Aug 2008 20:03:43 +0200 (MEST) Date: Tue, 12 Aug 2008 20:03:43 +0200 From: Juergen Weigert To: Thomas Adam Message-ID: <20080812180343.GA21417@faui40p> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2003 Lines: 47 Thomas, thanks for stepping forward! Personally, I also prefer manpages. Probably mostly because I know how to search and jump with less. On Aug 12, 08 17:45:08 +0100, Thomas Adam wrote: > I will state at this point, categorically, that although being true to > GNU's roots is nice, I am dead against texinfo pages -- *no* one > actually reads them; heck, the existing info viewer is an abomination, > pinfo is "OK" but is not ubiquitous so it's out of the running for > most people. No... I seriously suggest we just make the manpage a > fore-runner -- at least an "official" representation of our > documentation. Having only a texinfo page, is not that bad. - one could always do 'info gdb | less' as a workaround. - It just looks great, when printed on paper. > > To my mind, unifying on a single source format would be the best > > long-term approach, rather than having two manuals maintained. So far, > > the approach that makes the most sense to me is to use the Texinfo as > > the source document, generating the manpage with texi2pod.pl (see Wget's > > Texinfo documentation for an understanding of this; note that, even with > > texi2pod.pl, however, Wget's man page is still very much inferior to > > their Texinfo counterparts: only a small portion is translated into the > > man page). However, for Screen this would require texi2pod.pl to be > > modified to allow arbitrary sections to be transmitted (it only allows > > the standard ones, currently). > > Or use asciidoc or txt2tags, etc. I like that plan! cheers, Jw. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 14:10:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E854476442B for ; Tue, 12 Aug 2008 14:10:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:50760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSyKF-0004yZ-87 for erik@plastic-idolatry.com; Tue, 12 Aug 2008 14:10:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSyIt-0003ap-Qt for screen-users@gnu.org; Tue, 12 Aug 2008 14:09:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSyIs-0003Z2-Qz for screen-users@gnu.org; Tue, 12 Aug 2008 14:09:07 -0400 Received: from [199.232.76.173] (port=49700 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSyIs-0003Yf-JE for screen-users@gnu.org; Tue, 12 Aug 2008 14:09:06 -0400 Received: from wf-out-1314.google.com ([209.85.200.170]:15136) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSyIr-00051Q-W3 for screen-users@gnu.org; Tue, 12 Aug 2008 14:09:06 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2441477wfc.24 for ; Tue, 12 Aug 2008 11:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=dype5/HLf6sEDTdUKCdEDQd63GDwFGuJ6w+8shBczRY=; b=bGIPh/lLYvBMo6vFJei+eEhxiWGdiDUMzUzxXru3yK6t8rHQONNh61cd9lRyRSQXOa p6hs1ldwqj0M0lq8kraDCz/xOaBZxqoC13Ue/8yT5Meyr3wTfmeeDpmGf9L4RjReOwok J8/gLM5AjCYRZ1MPVwwIiUB+WVkJdaKlpo4ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LhSXuvQjcNgygjOpUJACeNhilP1/55UbokngsszZw3T2B5FYB/OwRTVdqoCSA0aSja aUGM0fcUG7gkdP7X7IpqYRblpDXgydxEZapbdtwAlxs6t/xWaVU2m+LEV1YL3Ke1OiNJ SDDdj0FH3hJ/NxnbDMijPMfsVXd74H0NBqAtg= Received: by 10.142.154.20 with SMTP id b20mr2836341wfe.222.1218564544029; Tue, 12 Aug 2008 11:09:04 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Tue, 12 Aug 2008 11:09:03 -0700 (PDT) Message-ID: <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> Date: Tue, 12 Aug 2008 19:09:03 +0100 From: "Thomas Adam" To: jw@cs.fau.de In-Reply-To: <20080812180343.GA21417@faui40p> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 667 Lines: 23 2008/8/12 Juergen Weigert : > Thomas, thanks for stepping forward! > Personally, I also prefer manpages. Probably mostly because > I know how to search and jump with less. No worries -- it makes a change from programming for me, but expect the odd patch now and then. ;) > On Aug 12, 08 17:45:08 +0100, Thomas Adam wrote: >> Or use asciidoc or txt2tags, etc. > > I like that plan! Which? ;) I'm going to sit tight on this thread for a few days, so I know the best direction to take. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 15:11:13 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 24819741ECF for ; Tue, 12 Aug 2008 15:11:13 -0400 (EDT) Received: from localhost ([127.0.0.1]:45658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzGu-0002HT-3N for erik@plastic-idolatry.com; Tue, 12 Aug 2008 15:11:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzEH-0001Jk-2I for screen-users@gnu.org; Tue, 12 Aug 2008 15:08:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzEG-0001JD-6E for screen-users@gnu.org; Tue, 12 Aug 2008 15:08:24 -0400 Received: from [199.232.76.173] (port=48351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzEE-0001IN-MQ; Tue, 12 Aug 2008 15:08:22 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:37396) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSzED-0000tn-1c; Tue, 12 Aug 2008 15:08:21 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 568A33C9007E; Tue, 12 Aug 2008 12:08:18 -0700 (PDT) Message-ID: <48A1DFA0.7000806@cowan.name> Date: Tue, 12 Aug 2008 12:08:16 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Thomas Adam References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> In-Reply-To: <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3936 Lines: 99 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Adam wrote: > 2008/8/8 Micah Cowan : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> So, what would _really_ help me out in getting the documentation ready >> for a 4.1.0 release, is if someone would step up to volunteer to >> maintain the man page. > > I put myself forward as a volunteer. Thanks very much! >> The first step would be to ensure that the man page is in-step with the >> Texinfo manual; currently I believe the man page is a couple steps >> behind. the content is essentially the same between them, so for the >> most part you should actually be able to compare them side-by-side for >> differences. Tedious work, obviously. > > But something of a no-brainer, so it's easy to do just time-consuming. That's exactly what I meant by the term "tedious". > I will state at this point, categorically, that although being true to > GNU's roots is nice, I am dead against texinfo pages -- *no* one > actually reads them; Obviously incorrect, as I prefer the info manual. Especially since it is much, _much_ easier to find the node corresponding to a given screen command via info than via man: iscr="info '(screen)Command Index'" iscr shelltitle iscr hardstatus iscr zombie The equivalent for man is typing "/^[[:space:]]*shelltitle". and good luck if your command corresponds to a real word that shows up at the beginnings of lines... Taking away the easiest-to-navigate documentation (and the only one with a set of indices) seems counter-productive. > I seriously suggest we just make the manpage a > fore-runner -- at least an "official" representation of our > documentation. Removing the Texinfo documentation for a GNU project is, simply, not an option. It's the choice that was made by making it a GNU project. >> Actually, though, as it stands, a big-hulking man page strikes me as >> remarkably untraditional. It seems to me that, if we're going to do man >> pages right for Screen, we should split it apart into separate man pages >> by concept. For instance, one dedicated to the invocation options, >> another dedicated to commands (screen(5) or screenrc(5)), another >> dedicated to screen's mechanisms for hardstatus/caption/autoaka, another >> for screen's terminal emulation details... of course, doing such a thing >> would also mean that it would be a lot more challenging to generate from >> the Texinfo documentation, so would really require a separate maintainer >> (or more heavy modifications to texi2pod, or something). > > I disagree. Having one manpage for screen, and another for the > screenrc is in keeping with "tradition" -- splitting this mythical > screen(1) manpage up would only alienate its use -- how would/are > people supposed to know/remember which manpage to refer to? In what way are you disagreeing with me? One for screen, and another for screenrc, _would_ be splitting the manual up. The only disagreement we seem to have is how many splits to make, apparently. IMO, having even just two manpages would be a significant improvement. Anyway, enough ranting... down to logistics. It seems simplest to me for you to have push access on git. For that, you'll need to register an account with Savannah (if you don't have one), submit a public ssh key you'll use to identify yourself for pushes, and request membership to the Screen group. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIod+g7M8hyUobTrERAu09AJ0dDWIPVfNpq/Maske9hvysG21cqACbB6bf srOpmdWJqfb4Eh4Hyyng5/k= =Q5wf -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 15:15:07 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6C475741ECF for ; Tue, 12 Aug 2008 15:15:07 -0400 (EDT) Received: from localhost ([127.0.0.1]:48390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzKg-0003sT-RY for erik@plastic-idolatry.com; Tue, 12 Aug 2008 15:15:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzJN-0003Vm-Mx for screen-users@gnu.org; Tue, 12 Aug 2008 15:13:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzJK-0003UV-5u for screen-users@gnu.org; Tue, 12 Aug 2008 15:13:41 -0400 Received: from [199.232.76.173] (port=54284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzJJ-0003UO-OZ for screen-users@gnu.org; Tue, 12 Aug 2008 15:13:37 -0400 Received: from wf-out-1314.google.com ([209.85.200.173]:23159) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSzJJ-0002pi-DV for screen-users@gnu.org; Tue, 12 Aug 2008 15:13:37 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2462508wfc.24 for ; Tue, 12 Aug 2008 12:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0+7UKV7+DwOt+8sCRKE/Zh3RFqGOfvGy8SNK7PZ2ue4=; b=CUQYJikJ2mHU60nP1WZlqcW+GC4mqHXQO460UynpQe/+MPonSnhYKdRSPNhcmjBIrF 2IgAZqclLXROSUl52nMbrNV34xZhMKQlnEHh8DPzfF9ZY3HdnHTXdsckuDkl9i8O89RX nMYRYhx2LuPa2wZr/hcji+OqtnUnqVmwjwk3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SENsYmu7iqZzYrz3ryQ9L8q6ARRBqgNeaT8q4130alBR/6W2Z7LmORkX+8fHdbvWLj Qxe9IvNmHaz7uLqi1Dm61h1nToVaBqJ6Vy2/WCHaqkfW6JeKQ6A1K9sRCsSJpHbVZI7C j44c0+SsLF9gAbdQO9am6nrS1WvUO4BOWZQ0U= Received: by 10.142.51.4 with SMTP id y4mr2859023wfy.220.1218568416592; Tue, 12 Aug 2008 12:13:36 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Tue, 12 Aug 2008 12:13:36 -0700 (PDT) Message-ID: <18071eea0808121213o518d8cadje8f290be94979519@mail.gmail.com> Date: Tue, 12 Aug 2008 20:13:36 +0100 From: "Thomas Adam" To: "Micah Cowan" In-Reply-To: <48A1DFA0.7000806@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <48A1DFA0.7000806@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1157 Lines: 28 2008/8/12 Micah Cowan : > In what way are you disagreeing with me? One for screen, and another for > screenrc, _would_ be splitting the manual up. The only disagreement we > seem to have is how many splits to make, apparently. IMO, having even > just two manpages would be a significant improvement. I was disagreeing with having a manpage for caption/hardstatus, one for window layouts, etc. If there's going to be any split files, then I agree (for now -- unless there's some flurry of documentation from elsewhere :P) that having screen(1) and screenrc(5) is something I too would welcome. > Anyway, enough ranting... down to logistics. It seems simplest to me for > you to have push access on git. For that, you'll need to register an > account with Savannah (if you don't have one), submit a public ssh key > you'll use to identify yourself for pushes, and request membership to > the Screen group. Okey dokey. Will do so shortly after dinner. Thanks very much! -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 15:17:50 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1D937741ECF for ; Tue, 12 Aug 2008 15:17:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:50018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzNJ-0005FS-5P for erik@plastic-idolatry.com; Tue, 12 Aug 2008 15:17:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzLu-0004e0-Kj for screen-users@gnu.org; Tue, 12 Aug 2008 15:16:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzLt-0004cq-Bj for screen-users@gnu.org; Tue, 12 Aug 2008 15:16:17 -0400 Received: from [199.232.76.173] (port=44224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzLr-0004bw-OR; Tue, 12 Aug 2008 15:16:15 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:38091) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSzLr-0003kX-FA; Tue, 12 Aug 2008 15:16:15 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 085253C9007E; Tue, 12 Aug 2008 12:16:13 -0700 (PDT) Message-ID: <48A1E17A.1030402@cowan.name> Date: Tue, 12 Aug 2008 12:16:10 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Thomas Adam References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <48A1DFA0.7000806@cowan.name> <18071eea0808121213o518d8cadje8f290be94979519@mail.gmail.com> In-Reply-To: <18071eea0808121213o518d8cadje8f290be94979519@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1181 Lines: 36 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Adam wrote: > 2008/8/12 Micah Cowan : > >> Anyway, enough ranting... down to logistics. It seems simplest to me for >> you to have push access on git. For that, you'll need to register an >> account with Savannah (if you don't have one), submit a public ssh key >> you'll use to identify yourself for pushes, and request membership to >> the Screen group. > > Okey dokey. Will do so shortly after dinner. Thanks very much! Are you kidding? Thank you! You're either saving me a ton of work, or saving Screen from quality issues due to a woefully out-of-date manpage. :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoeF67M8hyUobTrERAtdIAJ9+umCYBBzs4A9uq9kQb0UiGNXR7wCgjlEc f11OAn4ZhCRHlGQdCAfLEh0= =iFjV -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 16:13:26 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 94CA8772792 for ; Tue, 12 Aug 2008 16:13:25 -0400 (EDT) Received: from localhost ([127.0.0.1]:41288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT0F5-0001Ce-9d for erik@plastic-idolatry.com; Tue, 12 Aug 2008 16:13:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KT0Ek-0001CD-3d for screen-users@gnu.org; Tue, 12 Aug 2008 16:12:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KT0Ei-0001Bn-7h for screen-users@gnu.org; Tue, 12 Aug 2008 16:12:57 -0400 Received: from [199.232.76.173] (port=53242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT0Ei-0001Bk-4n for screen-users@gnu.org; Tue, 12 Aug 2008 16:12:56 -0400 Received: from ultra.bl.org ([66.219.34.12]:51960) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KT0Eh-0006r3-BE for screen-users@gnu.org; Tue, 12 Aug 2008 16:12:55 -0400 Received: from localhost (localhost [127.0.0.1]) by ultra.bl.org (8.14.3/8.13.8) with ESMTP id m7CKCbqf012839 for ; Tue, 12 Aug 2008 15:12:37 -0500 (CDT) Date: Tue, 12 Aug 2008 15:12:37 -0500 (CDT) From: Michael Parson To: Screen Users In-Reply-To: <20080811185344.GB1647@faui40p> Message-ID: References: <489A92E0.9040604@cowan.name> <18071eea0808070010v367c8774yf329f00e4cdf9941@mail.gmail.com> <20080811185344.GB1647@faui40p> User-Agent: Alpine 1.10 (NEB 962 2008-03-14) X-Marks-The-Spot: --->X MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ultra.bl.org [0.0.0.0]); Tue, 12 Aug 2008 15:12:37 -0500 (CDT) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) Subject: Re: Getting screen size into the env? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1494 Lines: 44 On Mon, 11 Aug 2008, Juergen Weigert wrote: > On Aug 07, 08 12:18:53 -0400, Mark Eichin wrote: >> "Thomas Adam" writes: >>> 2008/8/7 Micah Cowan : >>>> However, if you use bash, it will set _shell_ variables, COLUMNS and >>>> LINES, automatically. This isn't something that screen does, but bash. >>>> Bash does _not_ export these by default, however; you'll need to do >>>> >>>> $ export COLUMNS LINES > > This may work, if the screen does not get resized while it is running. > I have my screen session inside an xterm, and resize frequently. > environment variables would still reflect the old value after a resize. > >>> >>> Rather unportably between Unixes: >>> >>> eval $(resize) >> >> resize requires having a terminal type that actually does xterm-style >> answerback, which as at best a "maybe". > > When run from within screen, we guarantee you that xterm-style > answerback is honored. Screen is an xterm-compatible device. I used to use the eval $(resize) method a lot, but at some point, the shell I use (bash 3.2.33, atm) has an option for checking the window size before executing any command: shopt -s checkwinsize I'm not sure what version introduced this feature, I only discovered it when I re-read the man-page after one of the 3.x releases. -- Michael Parson mparson@bl.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 21:14:08 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7E0037D7FA9 for ; Tue, 12 Aug 2008 21:14:08 -0400 (EDT) Received: from localhost ([127.0.0.1]:41742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT4w5-0006oo-ML for erik@plastic-idolatry.com; Tue, 12 Aug 2008 21:14:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KT4vm-0006oh-DG for screen-users@gnu.org; Tue, 12 Aug 2008 21:13:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KT4vk-0006oV-UN for screen-users@gnu.org; Tue, 12 Aug 2008 21:13:42 -0400 Received: from [199.232.76.173] (port=41928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT4vk-0006oS-RJ for screen-users@gnu.org; Tue, 12 Aug 2008 21:13:40 -0400 Received: from bld-mail11.adl2.internode.on.net ([203.16.214.75]:35461 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KT4vk-0007nR-Hr for screen-users@gnu.org; Tue, 12 Aug 2008 21:13:41 -0400 Received: from localhost (unverified [59.167.131.60]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 26645325-1927428 for ; Wed, 13 Aug 2008 10:43:30 +0930 (CST) Date: Wed, 13 Aug 2008 11:13:44 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080813011342.GB1232@Clio.twb.ath.cx> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3123 Lines: 63 On Tue, Aug 12, 2008 at 05:45:08PM +0100, Thomas Adam wrote: > I will state at this point, categorically, that although being true > to GNU's roots is nice, I am dead against texinfo pages -- *no* one > actually reads them; heck, the existing info viewer is an > abomination, I think it would be more accurate to say that primarily Emacs users read them. I like them because (most manuals) have command and subject indexes, and the browsers have a "back button" (l) to go to the previous page, and because the search functions (C-s and C-M-s) can search beyond the current page. The man format doesn't have indexes, and HTML doesn't support searching across a multi-page document. I also use manpages, but for *quick reference* -- not as a manual, but as a refresher to remind me of the name of a switch or command. I *like* the way GNU coreutils has quick reference content in manpages (e.g. cp.1) and a *separate* manual that describes the package in detail. I prefer this to bash's manpage, where I feel overwhelmed; or to perl's manpages, where it takes me ages to find the right one. >> and future releases might include one of those shell-of-a-manpages >> that simply refer the reader to the Texinfo documentation. Surely >> that's enough to scare a few of you into volunteering? ;) I'd prefer the screen manpage to simply have a one-line synopsis, a two-paragraph description and then a one-line (.TP) description of each switch and :command. >> To my mind, unifying on a single source format would be the best >> long-term approach, rather than having two manuals maintained. So >> far, the approach that makes the most sense to me is to use the >> Texinfo as the source document, generating the manpage with >> texi2pod.pl (see Wget's Texinfo documentation for an understanding >> of this; note that, even with texi2pod.pl, however, Wget's man page >> is still very much inferior to their Texinfo counterparts: only a >> small portion is translated into the man page). However, for Screen >> this would require texi2pod.pl to be modified to allow arbitrary >> sections to be transmitted (it only allows the standard ones, >> currently). > > Or use asciidoc or txt2tags, etc. Do those have good support for large manuals, with cross-referencing and multiple indexes within the document? My memory of them is that they implement headings, literal blocks and emphatic/strong text; if you want anything more, too bad. > I disagree. Having one manpage for screen, and another for the > screenrc is in keeping with "tradition" -- splitting this mythical > screen(1) manpage up would only alienate its use -- how would/are > people supposed to know/remember which manpage to refer to? I'm not bothered by having a second manpage for screenrc; but how do you decide what should go in it? Should :commands be described in screen(1) or screenrc(5)? They can be used both interactively and in .screenrc. The same applies for the description of string escapes. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 21:19:16 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7F742741ECF for ; Tue, 12 Aug 2008 21:19:16 -0400 (EDT) Received: from localhost ([127.0.0.1]:52369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT515-00089X-Tk for erik@plastic-idolatry.com; Tue, 12 Aug 2008 21:19:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KT50n-00087H-26 for screen-users@gnu.org; Tue, 12 Aug 2008 21:18:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KT50l-00085Y-OW for screen-users@gnu.org; Tue, 12 Aug 2008 21:18:52 -0400 Received: from [199.232.76.173] (port=58897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT50l-00085D-Ek for screen-users@gnu.org; Tue, 12 Aug 2008 21:18:51 -0400 Received: from bld-mail10.adl2.internode.on.net ([203.16.214.74]:41230 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KT50l-0000dC-6n for screen-users@gnu.org; Tue, 12 Aug 2008 21:18:51 -0400 Received: from localhost (unverified [59.167.131.60]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 25620921-1927428 for ; Wed, 13 Aug 2008 10:48:44 +0930 (CST) Date: Wed, 13 Aug 2008 11:18:57 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080813011855.GC1232@Clio.twb.ath.cx> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080812180343.GA21417@faui40p> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 637 Lines: 16 On Tue, Aug 12, 2008 at 08:03:43PM +0200, Juergen Weigert wrote: > - [texinfo] just looks great, when printed on paper. On GNU systems, at least, "man -Tps" results in a reasonably good paper version, unless the manpage author made formatting blunders that weren't apparent on his tty (such as using 'foo' instead of `foo'). PDFs generated in this way unfortunately don't have clickable hyperlinks and don't have a PDF ToC; I suspect texinfo (by way of LaTeX) wins on both those points. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Aug 12 21:22:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 65FCA7D7F96 for ; Tue, 12 Aug 2008 21:22:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:52904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT54P-0001b8-78 for erik@plastic-idolatry.com; Tue, 12 Aug 2008 21:22:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KT54A-0001ap-Fz for screen-users@gnu.org; Tue, 12 Aug 2008 21:22:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KT547-0001ZF-Tk for screen-users@gnu.org; Tue, 12 Aug 2008 21:22:21 -0400 Received: from [199.232.76.173] (port=37702 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KT547-0001ZC-QS for screen-users@gnu.org; Tue, 12 Aug 2008 21:22:19 -0400 Received: from bld-mail02.adl2.internode.on.net ([203.16.214.66]:33539 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KT547-0001Qb-I8 for screen-users@gnu.org; Tue, 12 Aug 2008 21:22:20 -0400 Received: from localhost (unverified [59.167.131.60]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 336142753-1927428 for ; Wed, 13 Aug 2008 10:51:51 +0930 (CST) Date: Wed, 13 Aug 2008 11:22:04 +1000 From: "Trent W. Buck" To: screen-users@gnu.org Message-ID: <20080813012202.GD1232@Clio.twb.ath.cx> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <48A1DFA0.7000806@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48A1DFA0.7000806@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 830 Lines: 23 On Tue, Aug 12, 2008 at 12:08:16PM -0700, Micah Cowan wrote: > Obviously incorrect, as I prefer the info manual. Especially since it is > much, _much_ easier to find the node corresponding to a given screen > command via info than via man: > > iscr="info '(screen)Command Index'" > iscr shelltitle > iscr hardstatus > iscr zombie > > The equivalent for man is typing "/^[[:space:]]*shelltitle". and > good luck if your command corresponds to a real word that shows up at > the beginnings of lines... In Emacs' info reader, the "jump to index entry" and "jump to subsection" commands also autocomplete, so it's easy to see what your choices are (by hitting TAB twice). _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 10:56:19 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D8C0F73E3F0 for ; Wed, 13 Aug 2008 10:56:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:44262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTHlj-0006cC-4w for erik@plastic-idolatry.com; Wed, 13 Aug 2008 10:56:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTHlB-0006W2-NT for screen-users@gnu.org; Wed, 13 Aug 2008 10:55:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTHlA-0006VO-Nb for screen-users@gnu.org; Wed, 13 Aug 2008 10:55:36 -0400 Received: from [199.232.76.173] (port=36548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTHl7-0006Ty-Py; Wed, 13 Aug 2008 10:55:33 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:42333) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTHl7-0003aN-M9; Wed, 13 Aug 2008 10:55:33 -0400 Received: from faui40p.informatik.uni-erlangen.de (faui40p.informatik.uni-erlangen.de [131.188.34.77]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id E98835F0DE; Wed, 13 Aug 2008 16:55:27 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id QAA22589; Wed, 13 Aug 2008 16:55:27 +0200 (MEST) Date: Wed, 13 Aug 2008 16:55:26 +0200 From: Juergen Weigert To: Thomas Adam Message-ID: <20080813145526.GB21417@faui40p> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> X-GPG-Key: 1024D/0D47675A User-Agent: Mutt/1.5.7i X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jw@cs.fau.de List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1129 Lines: 35 On Aug 12, 08 19:09:03 +0100, Thomas Adam wrote: > > On Aug 12, 08 17:45:08 +0100, Thomas Adam wrote: > >> Or use asciidoc or txt2tags, etc. > > > > I like that plan! > > Which? ;) I'm going to sit tight on this thread for a few days, so I > know the best direction to take. The choice of weapons is yours. What I wanted to say is, I am glad you know a range of tools that could help with automation. I had no such tools for years, and tried to keep them both in sync manually, which was always a pain. So your plan looks like this: - compare man and texinfo, - bring them back in sync - (later) find a tool to generate both from one source right? cheers, JW. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 10:57:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4839173E3F0 for ; Wed, 13 Aug 2008 10:57:17 -0400 (EDT) Received: from localhost ([127.0.0.1]:44917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTHmi-0007Dl-Q0 for erik@plastic-idolatry.com; Wed, 13 Aug 2008 10:57:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTHm3-0006zz-VO for screen-users@gnu.org; Wed, 13 Aug 2008 10:56:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTHm2-0006yd-7M for screen-users@gnu.org; Wed, 13 Aug 2008 10:56:31 -0400 Received: from [199.232.76.173] (port=36583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTHm1-0006yI-SG for screen-users@gnu.org; Wed, 13 Aug 2008 10:56:29 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]:35610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTHm1-0003tH-Hg for screen-users@gnu.org; Wed, 13 Aug 2008 10:56:29 -0400 Received: by wf-out-1314.google.com with SMTP id 28so14972wfc.24 for ; Wed, 13 Aug 2008 07:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d5hea3ObgK4S5j/gzyfwOjhYRiBcFxgPQRmAg8+RXxI=; b=KkliDVjoQqRud2ND/ncTUbodpO1P/s6YN48b5frrbrvnmGy8fQlp8in+Ozd/rp/cAz nv/TrBWzp/Fu4fAI7wAIcwkeq1/+6mnXUYV21peck7zKDcfJrAiFQSeYQH8G6HnXaBUw +RC+xNncR9hTmF2MU+g+fxC/PTggMcyDNWKC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gk6GFRZilXZ4BQWM7ArUNDi4knIUoCDT10wvA2s9TupJT2+hKwRUbERNtm9aLLLdEl o6nUSz72K1wyOAC/MMm5maHY95p9/lt+Ly90VSHWVnoOfwPsJHJAOSDPnXozMt6czqT0 C0lPRLDmsOmHyeVbHHzC6jVOTGYF+5D3DEg60= Received: by 10.142.52.18 with SMTP id z18mr3351176wfz.31.1218639387609; Wed, 13 Aug 2008 07:56:27 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Wed, 13 Aug 2008 07:56:27 -0700 (PDT) Message-ID: <18071eea0808130756m4176b35cha7033a2b2eee03ca@mail.gmail.com> Date: Wed, 13 Aug 2008 15:56:27 +0100 From: "Thomas Adam" To: jw@cs.fau.de In-Reply-To: <20080813145526.GB21417@faui40p> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> <20080813145526.GB21417@faui40p> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 383 Lines: 17 2008/8/13 Juergen Weigert : > So your plan looks like this: > - compare man and texinfo, > - bring them back in sync > - (later) find a tool to generate both from one source > > right? Yep. Spot on. :) -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 11:46:24 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B045F73F857 for ; Wed, 13 Aug 2008 11:46:24 -0400 (EDT) Received: from localhost ([127.0.0.1]:50199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIYG-0002qL-48 for erik@plastic-idolatry.com; Wed, 13 Aug 2008 11:46:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTIXz-0002pY-83 for screen-users@gnu.org; Wed, 13 Aug 2008 11:46:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTIXx-0002pF-QN for screen-users@gnu.org; Wed, 13 Aug 2008 11:46:03 -0400 Received: from [199.232.76.173] (port=41961 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIXv-0002ou-4c; Wed, 13 Aug 2008 11:45:59 -0400 Received: from yoda.london.02.net ([82.132.130.151]:55258 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTIXu-0002mJ-KN; Wed, 13 Aug 2008 11:45:58 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 48A23487001ED406; Wed, 13 Aug 2008 16:45:39 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KTIXa-0000lU-Kr; Wed, 13 Aug 2008 16:45:38 +0100 Date: Wed, 13 Aug 2008 16:45:38 +0100 From: Stephane Chazelas To: Juergen Weigert Message-ID: <20080813154538.GB5323@sc.homeunix.net> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> <20080813145526.GB21417@faui40p> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20080813145526.GB21417@faui40p> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 510 Lines: 20 On Wed, Aug 13, 2008 at 04:55:26PM +0200, Juergen Weigert wrote: [...] > - (later) find a tool to generate both from one source [...] About that, zsh uses yodl as a format that is then used to produce texinfo and man pages. The result is good at least on the info side. So you may want to consider that. I don't know what other projects use. --=20 St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 11:54:19 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 588F173F857 for ; Wed, 13 Aug 2008 11:54:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:58662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIfu-0005NR-VO for erik@plastic-idolatry.com; Wed, 13 Aug 2008 11:54:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSGWo-0006JV-QL for screen-users@gnu.org; Sun, 10 Aug 2008 15:24:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSGWn-0006JB-OX for screen-users@gnu.org; Sun, 10 Aug 2008 15:24:34 -0400 Received: from [199.232.76.173] (port=45175 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSGWn-0006J8-Hj for screen-users@gnu.org; Sun, 10 Aug 2008 15:24:33 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:35923) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSGWn-0002xs-6d for screen-users@gnu.org; Sun, 10 Aug 2008 15:24:33 -0400 Received: by fg-out-1718.google.com with SMTP id l26so882583fgb.30 for ; Sun, 10 Aug 2008 12:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=drX9/4egOYuxQnZU0m+XCZ4k9w9MztvrHjt5w+HXaaY=; b=fvyLobBQli2Xqmx7F3m9BI8dBbSYCJsjXo4WwiqpdEni96ovdxpzXafBeHcjbAK9cw 8mCeKQ0WHWLocJQOpeESpUbblXpZ83UW2X6To5oinmxjYH8upnRujkjCil6pdJIRLkJC GOQmubM3WoJ4kqU/yznE5YBcghd8KB9qf/POA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=E8VBOaSler+Z5OuubFttIUwXZDD6IS/cB+wdPxuongiDCwc8dFjvjaMearYSN4rYqA SKi40KRGyAqnROhGGWAowGpUFZ2+lRQ69oAuGhJu26WlMe0JPc+aTwVnkEOYIMyFtIhN BqlPCAd85HhW2Jq/DXcMD/Wrv/lsudGTbSTrA= Received: by 10.86.31.19 with SMTP id e19mr6357961fge.42.1218396271782; Sun, 10 Aug 2008 12:24:31 -0700 (PDT) Received: by 10.86.2.15 with HTTP; Sun, 10 Aug 2008 12:24:31 -0700 (PDT) Message-ID: <9044cb320808101224k1e7dd9a2ha651bd6281c1ae0a@mail.gmail.com> Date: Sun, 10 Aug 2008 15:24:31 -0400 From: "Edward Faulkner" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: d2f809bdd671b8b1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 13 Aug 2008 11:52:36 -0400 Subject: Scriptable way to determine current display X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1178 Lines: 38 I'm trying to find a scriptable way to determine the currently active screen display. I have multiple displays connected to a single screen session, and I'd like to use the "at" command to send commands to a particular display. Specifically, I have a script like this: #!/bin/bash screen -r -X select emacs emacsclient "$1" && screen -r -X select . You can use it to open a file in an existing emacs process while simultaneously switching to the "emacs" window. Then when the file is closed, emacsclient returns and we switch back to the window where we started. It works great when there's only one display connected to the session. But if there are multiple displays, the second screen command takes effect on the display most recently created. I know I can use "at" to name a specific display, but I don't know how to determine which display to name. #!/bin/bash screen -r -X select emacs emacsclient "$1" && screen -r -X select . CURRENT_DISPLAY=??? screen -r -X at $CURRENT_DISPLAY% select . Any ideas? Thanks, Ed _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 11:55:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9A3E273F857 for ; Wed, 13 Aug 2008 11:55:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:59115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIge-0005mb-4Q for erik@plastic-idolatry.com; Wed, 13 Aug 2008 11:55:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSTUz-00066q-UP for screen-users@gnu.org; Mon, 11 Aug 2008 05:15:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSTUw-00066E-H0 for screen-users@gnu.org; Mon, 11 Aug 2008 05:15:32 -0400 Received: from [199.232.76.173] (port=35257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSTUv-000663-BM for screen-users@gnu.org; Mon, 11 Aug 2008 05:15:29 -0400 Received: from an-out-0708.google.com ([209.85.132.248]:59694) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSTUv-000167-2M for screen-users@gnu.org; Mon, 11 Aug 2008 05:15:29 -0400 Received: by an-out-0708.google.com with SMTP id c38so367624ana.84 for ; Mon, 11 Aug 2008 02:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=g0AhPZbAi3X30Krv/0LZBpw4NoxxgpnLZycGVvRRkYY=; b=anTqFoz1XAV1ItM50p8nJdBHMQCYXd8R8jX8/I0EXOgiH5qFxKhVy9KT8jp+OPjdX9 fs0s547g5rVmdk6vAPkXNjSoi1BX7fuUu9LucW1dprgCPcjjFaloZF6+mnHtvNBH79zh vZcORODG+XaKuJ4bPndJ4q6dMVtrac7X9nagw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=G3JGIzsSCTl1TBcvgKNhW6Pj7HisRYHie9HgNLL6CqdNnf/fkKkwny0SXGc3Lv1AXJ MtXL7xykIDRV8wJgDgTO/nGw9rv7lwECDXzU8B+5s0TKJwRtby0e/Plbg2kHT2Sdmp0s OQNYCl2B7WrY2/GKm691v02i8eOpt0U3C3tkA= Received: by 10.100.178.13 with SMTP id a13mr9466950anf.29.1218446128140; Mon, 11 Aug 2008 02:15:28 -0700 (PDT) Received: by 10.100.44.12 with HTTP; Mon, 11 Aug 2008 02:15:28 -0700 (PDT) Message-ID: <2bab7e280808110215q620addf4v2876a8a4295e69f8@mail.gmail.com> Date: Mon, 11 Aug 2008 11:15:28 +0200 From: "=?UTF-8?Q?M=C3=B4she_Van_der_Sterre?=" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 13 Aug 2008 11:52:36 -0400 Subject: how to create a 'restricted' screen X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0069200295==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1345 Lines: 32 --===============0069200295== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SGVsbG8sCgpJIHdhbnQgc29tZSBvZiBteSB1c2VycyB0byBoYXZlIGFjY2VzcyB0byBhbiBzZXJp YWwgY29uc29sZSAvIGNvbnRyb2wKc2NyaXB0LCBidXQgbWFrZSBpdCB1bmFibGUgZm9yIHRoZW0g dG8gdXNlIGEgbm9ybWFsIHNoZWxsLgpJJ2xsIHByb2JhYmx5IG1ha2UgdXNlIG9mIGJhc2ggb3Ig ZGFzaCBmb3IgdGhlIGNvbnRyb2wgc2NyaXB0LCBhbmQgaXQKbWFuYWdlcyBvcGVuaW5nIHRoZSBz ZXJpYWwgY29uc29sZSBhbmQgc29tZSBvdGhlciBzdHVmZiwKdGhlIHNlcmlhbCBjb25zb2xlIGlz IHN1cHBvc2VkIHRvIHJ1biBmb3IgYSBsb25nIHRpbWUsIGhlbmNlIEkgbGlrZSB0bwp1c2Ugc2Ny ZWVuLgoKSSB3b3VsZCBsaWtlIGRpc2FibGUgYW55IHBvc3NpYmlsaXR5IHRvIG9wZW4gYSAnbm9y bWFsJyBzaGVsbCwgYnV0IEkKY2FuJ3QgZmluZCBob3cgdG8gZG8gdGhpcy4KSXQgd291bGQgd2Ug bmljZSBpZiBJIGNvdWxkIGNvbXBsZXRlbHkgZGlzYWJsZSB0aGUgQ1RSTCArIGEgYmluZGluZywK bGVhdmluZyBkZXRhY2hpbmcgdG8gdGhlIGF1dG9kZXRhY2ggZmVhdHVyZS4KCkNhbiBzb21lb25l IHRlbGwgbWUgaWYgYW5kIGhvdyB0aGlzIGNhbiBiZSBkb25lPwoKLS0gCkdyZWV0aW5ncywKTcO0 c2hlIHZhbiBkZXIgU3RlcnJlCg== --===============0069200295== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0069200295==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 11:55:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 187E873F857 for ; Wed, 13 Aug 2008 11:55:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:59601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIhT-0006QC-Nb for erik@plastic-idolatry.com; Wed, 13 Aug 2008 11:55:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSWDX-00070Z-ER for screen-users@gnu.org; Mon, 11 Aug 2008 08:09:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSWDU-0006wb-OK for screen-users@gnu.org; Mon, 11 Aug 2008 08:09:43 -0400 Received: from [199.232.76.173] (port=48955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSWDU-0006wR-JN for screen-users@gnu.org; Mon, 11 Aug 2008 08:09:40 -0400 Received: from x219233.ppp.asahi-net.or.jp ([122.249.219.233]:2185 helo=les.ath.cx) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSWDU-0004wA-7V for screen-users@gnu.org; Mon, 11 Aug 2008 08:09:40 -0400 Received: by les.ath.cx (Postfix, from userid 1000) id F0F888661F; Mon, 11 Aug 2008 20:38:47 +0900 (JST) Date: Mon, 11 Aug 2008 20:38:47 +0900 From: YONETANI Tomokazu To: screen-users@gnu.org Message-ID: <20080811113847.GA73597@les.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Greylist: delayed 1848 seconds by postgrey-1.27 at monty-python; Mon, 11 Aug 2008 08:09:38 EDT X-Mailman-Approved-At: Wed, 13 Aug 2008 11:52:36 -0400 Subject: bug #23945 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 706 Lines: 19 Hi. After the fix to #23945 (cb9d14bd8a198447d20ccd4be848df679a3047d9) committed, the cursor temporarily displayed at the wrong place when I enter copy-mode and move the cursor while "Copy mode - ..." caption is displayed. The cursor stays at the wrong place on the terminal until I refresh the screen or select the top-left corner of the region. It only happens when the following conditions are met: - the cursor is at the last line of the screen, without a status line - the cursor is not at the beginning of the line Anyone else seeing this? Cheers. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 12:02:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 65F5673E42B for ; Wed, 13 Aug 2008 12:02:29 -0400 (EDT) Received: from localhost ([127.0.0.1]:52165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTInm-0002uo-IJ for erik@plastic-idolatry.com; Wed, 13 Aug 2008 12:02:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTFAQ-0007Dc-0g for screen-users@gnu.org; Wed, 13 Aug 2008 08:09:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTFAO-0007Bc-Fh for screen-users@gnu.org; Wed, 13 Aug 2008 08:09:29 -0400 Received: from [199.232.76.173] (port=35001 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTFAO-0007BT-Cy for screen-users@gnu.org; Wed, 13 Aug 2008 08:09:28 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]:10048) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTFAO-0008Nh-7s for screen-users@gnu.org; Wed, 13 Aug 2008 08:09:28 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1454441tia.10 for ; Wed, 13 Aug 2008 05:09:25 -0700 (PDT) Received: by 10.110.109.19 with SMTP id h19mr12362042tic.58.1218629365075; Wed, 13 Aug 2008 05:09:25 -0700 (PDT) Received: by 10.110.90.3 with HTTP; Wed, 13 Aug 2008 05:09:25 -0700 (PDT) Message-ID: <77f930110808130509v52091164pc4faa345a9f6db73@mail.gmail.com> Date: Wed, 13 Aug 2008 21:09:25 +0900 From: "Seongsu Lee" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 13 Aug 2008 11:52:36 -0400 Subject: reading custom .bashrc X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1468531700==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1500 Lines: 46 --===============1468531700== Content-Type: multipart/alternative; boundary="----=_Part_248511_7900227.1218629365066" ------=_Part_248511_7900227.1218629365066 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have my own bashrc file named '$HOME/.{USERNAM}/bashrc'. I want the bash shell read the custom bashrc file when I create a new window every time in GNU screen. Do you have some configurations for this in screenrc? Or some tricks to do this? Thank you. -- http://www.senux.com/ ------=_Part_248511_7900227.1218629365066 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
 
I have my own bashrc file named '$HOME/.{USERNAM}/bashrc'. I want the bash shell read the custom bashrc file when I create a new window every time in GNU screen. Do you have some configurations for this in screenrc? Or some tricks to do this? Thank you.

--
http://www.senux.com/

------=_Part_248511_7900227.1218629365066-- --===============1468531700== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1468531700==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 12:13:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8257B73E42B for ; Wed, 13 Aug 2008 12:13:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:49526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIys-00036y-Jj for erik@plastic-idolatry.com; Wed, 13 Aug 2008 12:13:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTIth-0000Ue-Sd for screen-users@gnu.org; Wed, 13 Aug 2008 12:08:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTIte-0000So-EO for screen-users@gnu.org; Wed, 13 Aug 2008 12:08:29 -0400 Received: from [199.232.76.173] (port=60512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIte-0000Sj-7L for screen-users@gnu.org; Wed, 13 Aug 2008 12:08:26 -0400 Received: from vader.london.02.net ([82.132.130.150]:53039 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTItd-0001bW-JG for screen-users@gnu.org; Wed, 13 Aug 2008 12:08:25 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 48A23572001FB07F; Wed, 13 Aug 2008 17:08:18 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1KTItT-0000r0-Uk; Wed, 13 Aug 2008 17:08:16 +0100 Date: Wed, 13 Aug 2008 17:08:15 +0100 From: Stephane Chazelas To: Seongsu Lee Message-ID: <20080813160815.GC5323@sc.homeunix.net> References: <77f930110808130509v52091164pc4faa345a9f6db73@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <77f930110808130509v52091164pc4faa345a9f6db73@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-09-19) Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: screen-users@gnu.org Subject: Re: reading custom .bashrc X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 533 Lines: 19 On Wed, Aug 13, 2008 at 09:09:25PM +0900, Seongsu Lee wrote: > I have my own bashrc file named '$HOME/.{USERNAM}/bashrc'. I want the b= ash > shell read the custom bashrc file when I create a new window every time= in > GNU screen. Do you have some configurations for this in screenrc? Or > some tricks to do this? Thank you. [...] See the --rcfile option to bash. --=20 St=E9phane _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 12:14:53 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 71E47D47A for ; Wed, 13 Aug 2008 12:14:53 -0400 (EDT) Received: from localhost ([127.0.0.1]:50125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIzo-0003eE-VZ for erik@plastic-idolatry.com; Wed, 13 Aug 2008 12:14:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTIvK-0001Mu-HS for screen-users@gnu.org; Wed, 13 Aug 2008 12:10:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTIvJ-0001MC-LJ for screen-users@gnu.org; Wed, 13 Aug 2008 12:10:10 -0400 Received: from [199.232.76.173] (port=39674 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIvG-0001Kq-RN; Wed, 13 Aug 2008 12:10:06 -0400 Received: from cpc1-cdif5-0-0-cust133.cdif.cable.ntl.com ([81.109.152.134]:65080 helo=shaker.sd.yadn.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTIvG-00025v-9R; Wed, 13 Aug 2008 12:10:06 -0400 Received: from gedge by shaker.sd.yadn.org with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KTIv7-000FBO-Tn; Wed, 13 Aug 2008 17:09:57 +0100 Date: Wed, 13 Aug 2008 17:09:57 +0100 From: Geraint Edwards To: jw@cs.fau.de, Screen development Message-ID: <20080813160957.GD1781@yadn.org> References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> <20080813145526.GB21417@faui40p> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080813145526.GB21417@faui40p> User-Agent: Mutt/1.4.2.3i Organisation: Caerdydd, Cymru / Cardiff, Wales X-MotD: Tempus fugit. X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Micah Cowan , screen-users@gnu.org Subject: Re: [screen-devel] Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 488 Lines: 18 Juergen Weigert said (on Wed, Aug 13, 2008 at 04:55:26PM +0200): > - compare man and texinfo, > - bring them back in sync > - (later) find a tool to generate both from one source Count me in. I much prefer manpages to texinfo, so I'm keen to help keep them in sync. -- Geraint A. Edwards (aka "Gedge") gedge@yadn.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 13 15:37:17 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 734D973E42B for ; Wed, 13 Aug 2008 15:37:16 -0400 (EDT) Received: from localhost ([127.0.0.1]:47763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTM9d-0004Px-R6 for erik@plastic-idolatry.com; Wed, 13 Aug 2008 15:37:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTM8i-00046B-Cm for screen-users@gnu.org; Wed, 13 Aug 2008 15:36:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTM8d-00042z-15 for screen-users@gnu.org; Wed, 13 Aug 2008 15:36:11 -0400 Received: from [199.232.76.173] (port=41163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTM8c-00042t-QV for screen-users@gnu.org; Wed, 13 Aug 2008 15:36:06 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:56119) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTM8a-0005AT-Tk for screen-users@gnu.org; Wed, 13 Aug 2008 15:36:06 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 2DE393C9007E; Wed, 13 Aug 2008 12:35:59 -0700 (PDT) Message-ID: <48A3379C.2080306@cowan.name> Date: Wed, 13 Aug 2008 12:35:56 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: YONETANI Tomokazu References: <20080811113847.GA73597@les.ath.cx> In-Reply-To: <20080811113847.GA73597@les.ath.cx> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: bug #23945 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1414 Lines: 41 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 YONETANI Tomokazu wrote: > Hi. > After the fix to #23945 (cb9d14bd8a198447d20ccd4be848df679a3047d9) committed, > the cursor temporarily displayed at the wrong place when I enter copy-mode > and move the cursor while "Copy mode - ..." caption is displayed. The > cursor stays at the wrong place on the terminal until I refresh the screen > or select the top-left corner of the region. It only happens when the > following conditions are met: > - the cursor is at the last line of the screen, without a status line > - the cursor is not at the beginning of the line > > Anyone else seeing this? I do. If I hit "k" immediately upon entering copy-mode, the cursor moves to the first column, but the copy behaves as if it's in its original column. Thanks for the report! Issue filed at https://savannah.gnu.org/bugs/index.php?24058 - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIozec7M8hyUobTrERAjeVAJ9sYK7esYJOdLVxOZv0x0AEX7hgYQCgg39s DiDjP6qO+sKAapldWAxXgAU= =icTN -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 04:08:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6610173DE63 for ; Fri, 15 Aug 2008 04:08:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:34099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTuMG-0008NN-Gq for erik@plastic-idolatry.com; Fri, 15 Aug 2008 04:08:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTuLW-00082o-Ui for screen-users@gnu.org; Fri, 15 Aug 2008 04:07:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTuLV-00081P-7w for screen-users@gnu.org; Fri, 15 Aug 2008 04:07:42 -0400 Received: from [199.232.76.173] (port=38431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTuLU-00080w-TW for screen-users@gnu.org; Fri, 15 Aug 2008 04:07:41 -0400 Received: from rv-out-0708.google.com ([209.85.198.241]:49618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTuLU-0008MJ-1q for screen-users@gnu.org; Fri, 15 Aug 2008 04:07:40 -0400 Received: by rv-out-0708.google.com with SMTP id k29so876214rvb.6 for ; Fri, 15 Aug 2008 01:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vvQacoj8H6fdsbM1OyvcPI6bY3D/cffUHbqKIG6xHfA=; b=e65J0b1ZZpl4rHiJetKN/3SonV9eA35PWgna3DCJZqQkxsq2wCCeTHs+yaPwqLajt3 ZM4AQTcn1gkZPCQDtRDWHySPa1dNSTQjPykNmHp6hnw7woUdOkGcpORMxP4BVu32efY3 WVn1Feb23r7yjr5tpt3e3zCb/l8AZdAhReEVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ePwqXSjcTFYzdVf/KZIVceJoSLFVJXgnLd/scG2CwwTgG6x1byzRQHsb7KRKgZ2spX q8OgLEOshC8c2tbvksUfHpdBsF5i2fS46IX9oXRrkUZEJaEHaL+dWERhAA4t1QRzZr7v Yil/FrDK9Ktg+NiL4tEH7mumu5Owdoo89LA/k= Received: by 10.141.107.13 with SMTP id j13mr1310870rvm.276.1218787658140; Fri, 15 Aug 2008 01:07:38 -0700 (PDT) Received: by 10.140.162.4 with HTTP; Fri, 15 Aug 2008 01:07:38 -0700 (PDT) Message-ID: Date: Fri, 15 Aug 2008 16:07:38 +0800 From: "Aaron Davies" To: "Stephane Chazelas" In-Reply-To: <20080813154538.GB5323@sc.homeunix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> <20080813145526.GB21417@faui40p> <20080813154538.GB5323@sc.homeunix.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Micah Cowan , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 934 Lines: 28 On Wed, Aug 13, 2008 at 11:45 PM, Stephane Chazelas wrote: > On Wed, Aug 13, 2008 at 04:55:26PM +0200, Juergen Weigert wrote: > > - (later) find a tool to generate both from one source > > About that, zsh uses yodl as a format that is then used to > produce texinfo and man pages. The result is good at least on > the info side. > > So you may want to consider that. I don't know what other > projects use. funny you should mention that--the zsh list in the middle of a thread called "Yodl has been discontinued for 13 years... zsh still uses it for texi docs?" otoh, their consensus seems to be that it would be hard enough for them to move to some other tool that they should become the new yodl maintainers.... -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 04:26:32 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 178E873E359 for ; Fri, 15 Aug 2008 04:26:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:60308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTudf-0005tv-D7 for erik@plastic-idolatry.com; Fri, 15 Aug 2008 04:26:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTudK-0005tS-Bm for screen-users@gnu.org; Fri, 15 Aug 2008 04:26:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTudJ-0005sv-1a for screen-users@gnu.org; Fri, 15 Aug 2008 04:26:05 -0400 Received: from [199.232.76.173] (port=59164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTudH-0005sl-V3 for screen-users@gnu.org; Fri, 15 Aug 2008 04:26:03 -0400 Received: from wf-out-1314.google.com ([209.85.200.171]:6877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTudH-00054o-Jc for screen-users@gnu.org; Fri, 15 Aug 2008 04:26:03 -0400 Received: by wf-out-1314.google.com with SMTP id 28so843996wfc.24 for ; Fri, 15 Aug 2008 01:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qvahlLdH8JM5cQ2hGrRrcowy20fnNirXUzH6Cev03zc=; b=WjGlevDWKM6mQEVjaSrCeNJUI1sGjN1lXgGzS4MOuiRqx5c3ch2UCaQGi02c8RvwZz vg56yZqg8wECBzLXIpH6ggtwlaRh+3+4XIArkatkgRR49j/uQ2JRxRClhbg8fjSkSEGQ DPA+TnXkiCfVdrEDuQ8Kzfh9C1PVGYFMx9KqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Eo7kyLpSf2YCc1H0UX7+V8d6ldR0Q3hpKUktxU4zuaKMFwIYhBY7Bk9fg17YfqeEVl Z3wgnwPhj3dOqsd9TxzLS3yeyusNxsxrzpu2qoUjjOAlMdAkRk3X7B6+o5mCzs6L0grk jxbHeQVYEkRmYGPkePFz7EfDYCuqu/Be0K2vk= Received: by 10.142.213.10 with SMTP id l10mr891013wfg.163.1218788761694; Fri, 15 Aug 2008 01:26:01 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Fri, 15 Aug 2008 01:26:01 -0700 (PDT) Message-ID: <18071eea0808150126u4cf2a870uf59b9b75977af2a5@mail.gmail.com> Date: Fri, 15 Aug 2008 09:26:01 +0100 From: "Thomas Adam" To: "Aaron Davies" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <489CAA73.5040208@cowan.name> <18071eea0808120945t727470fdqab25e3c1564412e9@mail.gmail.com> <20080812180343.GA21417@faui40p> <18071eea0808121109o19931c56ic9c8ad2acc087e91@mail.gmail.com> <20080813145526.GB21417@faui40p> <20080813154538.GB5323@sc.homeunix.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Micah Cowan , Stephane Chazelas , Screen development , screen-users@gnu.org Subject: Re: Man-writing volunteers? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1123 Lines: 32 2008/8/15 Aaron Davies : > On Wed, Aug 13, 2008 at 11:45 PM, Stephane Chazelas > wrote: > >> On Wed, Aug 13, 2008 at 04:55:26PM +0200, Juergen Weigert wrote: > >> > - (later) find a tool to generate both from one source >> >> About that, zsh uses yodl as a format that is then used to >> produce texinfo and man pages. The result is good at least on >> the info side. >> >> So you may want to consider that. I don't know what other >> projects use. > > funny you should mention that--the zsh list in the middle of a thread > called "Yodl has been discontinued for 13 years... zsh still uses it > for texi docs?" otoh, their consensus seems to be that it would be > hard enough for them to move to some other tool that they should > become the new yodl maintainers.... Well, I already have a few candidates in mind as potential single-source markup; yodl was never one of them, and certainly won't be now. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 12:44:09 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id F0E1343B225 for ; Fri, 15 Aug 2008 12:44:08 -0400 (EDT) Received: from localhost ([127.0.0.1]:33376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU2PB-0005YM-MR for erik@plastic-idolatry.com; Fri, 15 Aug 2008 12:44:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU2OB-0005AC-8m for screen-users@gnu.org; Fri, 15 Aug 2008 12:42:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU2OA-00059O-Ee for screen-users@gnu.org; Fri, 15 Aug 2008 12:42:58 -0400 Received: from [199.232.76.173] (port=49594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU2O9-00059H-5A for screen-users@gnu.org; Fri, 15 Aug 2008 12:42:57 -0400 Received: from ultra.bl.org ([66.219.34.12]:56472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KU2O8-0003xI-KV for screen-users@gnu.org; Fri, 15 Aug 2008 12:42:56 -0400 Received: from lbb.austin.ibm.com (localhost [127.0.0.1]) by ultra.bl.org (8.14.3/8.13.8) with ESMTP id m7FGgbN5026061 for ; Fri, 15 Aug 2008 11:42:38 -0500 (CDT) Message-Id: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> From: Michael Parson To: screen-users@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 15 Aug 2008 11:42:35 -0500 X-Mailer: Apple Mail (2.928.1) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ultra.bl.org [0.0.0.0]); Fri, 15 Aug 2008 11:42:38 -0500 (CDT) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) Subject: query current window title to stdout? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1036 Lines: 42 I've got a user that wants to be able to, with a single command, rename the title for the current window when he edits a file to the name of the file he is editing. What I've come up with is a bash function: svim () { echo -ne "\ekediting $1 \e\\" /usr/local/bin/vim $1 echo -ne "\ekbash\e\\" } What I would like to be able to do, is query the title of the window before we rename it, so we can set it back to what it was after the editor quits. something like: oldname=`screen -X windowname` So I could change that last echo to be more like echo -ne "\ek$oldname\e\\" However, it seems that just about every screen command only spit output to the status bar, hardline, or a new screen, except 'screen -l'. Can this be done? or is the solution I've come up with going to be about as good as it gets? -- Michael Parson mparson@bl.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 15:07:14 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 65E7E73DC19 for ; Fri, 15 Aug 2008 15:07:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:40485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU4df-0007yF-G3 for erik@plastic-idolatry.com; Fri, 15 Aug 2008 15:07:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU4dN-0007y3-J5 for screen-users@gnu.org; Fri, 15 Aug 2008 15:06:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU4dN-0007xr-3M for screen-users@gnu.org; Fri, 15 Aug 2008 15:06:49 -0400 Received: from [199.232.76.173] (port=59679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU4dM-0007xo-Ug for screen-users@gnu.org; Fri, 15 Aug 2008 15:06:48 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:57584) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KU4dM-00021s-Fh for screen-users@gnu.org; Fri, 15 Aug 2008 15:06:48 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id DC7B63C9007E; Fri, 15 Aug 2008 12:06:41 -0700 (PDT) Message-ID: <48A5D3C0.4020208@cowan.name> Date: Fri, 15 Aug 2008 12:06:40 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Michael Parson References: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> In-Reply-To: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: query current window title to stdout? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2609 Lines: 73 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Parson wrote: > I've got a user that wants to be able to, with a single command, rename > the title for the current window when he edits a file to the name of the > file he is editing. > > What I've come up with is a bash function: > > svim () { > echo -ne "\ekediting $1 \e\\" > /usr/local/bin/vim $1 > echo -ne "\ekbash\e\\" > } > > What I would like to be able to do, is query the title of the window > before we rename it, so we can set it back to what it was after the > editor quits. something like: > > oldname=`screen -X windowname` Well, one problem is that the STY env var doesn't provide enough information for screen to determine what window it's running in. And, as you point out, screen doesn't really do much in the way of printing session information (that would be quite helpful on some occasions, though; I'll have to file an RFE for that - it still wouldn't help you with window names, though). However, you might take advantage of the special "Dynamic Titles" feature. Place something like: shelltitle "$ vim |bash" in your screenrc file, and set your prompt so that it emits "\ek\e\\" at the beginning of the prompt. Screen will show the title as "bash", but when it sees a line containing "$ vim " in it, it will set the window title to the word that follows the "$ vim " instead, until it sees the "\ek\e\\" again, at which point it will revert the title back to "bash". One disadvantage of this technique is that in order to keep this behavior, changing titles means changing them to "$ vim |foo" rather than just plain "foo". Also, not that "$ vim " assumes that those literal characters will appear somewhere; if color escape sequences also appear, those would also have to be made part of the "$ vim " portion. If it ends up being too difficult to handle that, a plain "vim " might work instead. You'll probably want to protect your prompt by only inserting the initial "\ek\e\\" if your .bashrc determines that $TERM matches the pattern "screen*". - -- HTH, Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpdPA7M8hyUobTrERAkd7AJ0R4qOKO6y/fhvyzSQCk98879uNHQCghPou /xFjhSyOzDFJDHtugMBeT74= =GrXk -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 15:09:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6641973DC19 for ; Fri, 15 Aug 2008 15:09:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:60089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU4g8-0008TO-MZ for erik@plastic-idolatry.com; Fri, 15 Aug 2008 15:09:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU4fq-0008TF-J9 for screen-users@gnu.org; Fri, 15 Aug 2008 15:09:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU4fp-0008Sf-95 for screen-users@gnu.org; Fri, 15 Aug 2008 15:09:22 -0400 Received: from [199.232.76.173] (port=56564 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU4fp-0008SR-5E for screen-users@gnu.org; Fri, 15 Aug 2008 15:09:21 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:57754) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KU4fo-0002oe-Ub for screen-users@gnu.org; Fri, 15 Aug 2008 15:09:21 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 308D23C900F4; Fri, 15 Aug 2008 12:09:20 -0700 (PDT) Message-ID: <48A5D45F.1050809@cowan.name> Date: Fri, 15 Aug 2008 12:09:19 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Michael Parson References: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> <48A5D3C0.4020208@cowan.name> In-Reply-To: <48A5D3C0.4020208@cowan.name> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: query current window title to stdout? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 906 Lines: 32 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan wrote: > However, you might take advantage of the special "Dynamic Titles" > feature. Whoops! No, DON'T DO THAT. I forgot that the SEARCH portion of the "SEARCH|NAME" syntax _must_ be seen on the prompt, and before the user starts typing input. Screen halts output until it sees what it wants to see. Sorry... - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpdRf7M8hyUobTrERApmjAJ9ud5RrUAYjQlTwjNWAw+xFF3pnDwCeMwvj CNPah7RWaIvRjPHNIpLDSqY= =Ghjj -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 17:02:26 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DDD8D73DE48 for ; Fri, 15 Aug 2008 17:02:25 -0400 (EDT) Received: from localhost ([127.0.0.1]:35308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU6R8-0005H1-NJ for erik@plastic-idolatry.com; Fri, 15 Aug 2008 17:02:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU6QR-0004tm-PE for screen-users@gnu.org; Fri, 15 Aug 2008 17:01:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU6QN-0004qW-4o for screen-users@gnu.org; Fri, 15 Aug 2008 17:01:35 -0400 Received: from [199.232.76.173] (port=35917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU6QM-0004q9-4e for screen-users@gnu.org; Fri, 15 Aug 2008 17:01:30 -0400 Received: from ultra.bl.org ([66.219.34.12]:55452) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KU6QL-00089V-49 for screen-users@gnu.org; Fri, 15 Aug 2008 17:01:30 -0400 Received: from lbb.austin.ibm.com (localhost [127.0.0.1]) by ultra.bl.org (8.14.3/8.13.8) with ESMTP id m7FL1PPq002413; Fri, 15 Aug 2008 16:01:26 -0500 (CDT) Message-Id: From: Michael Parson To: screen-users@gnu.org In-Reply-To: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 15 Aug 2008 16:01:23 -0500 References: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> X-Mailer: Apple Mail (2.928.1) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ultra.bl.org [0.0.0.0]); Fri, 15 Aug 2008 16:01:26 -0500 (CDT) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) Subject: Re: query current window title to stdout? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1229 Lines: 53 On Aug 15, 2008, at 11:42 AM, Michael Parson wrote: > I've got a user that wants to be able to, with a single command, > rename the title for the current window when he edits a file to the > name of the file he is editing. > Can this be done? or is the solution I've come up with going to be > about as good as it gets? working with a friend, we came up with this: _svim () { /usr/bin/screen -X msgwait 5 echo -ne "\ekediting $1\e\\" /usr/bin/vim $1 exit } svim () { tname=`basename $(mktemp -u)` /usr/bin/screen -t $tname /usr/bin/screen -X msgwait 0 /usr/bin/screen -X at "$tname" stuff "_svim $1^M" } Which lets me do fun things like: for ij in foo1.pl foo2.pl foo3.pl do; svim $ij; done And have 3 new windows pop open with the new files in them, window titles set appropriately, should be race-condition safe. This is all on a Linux box, using bash, and has the gnu mktemp installed. Other systems will have to be modified as needed. -- Michael Parson mparson@bl.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 15 17:51:27 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7EC2573DE84 for ; Fri, 15 Aug 2008 17:51:27 -0400 (EDT) Received: from localhost ([127.0.0.1]:35790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU7Cc-0006st-Kh for erik@plastic-idolatry.com; Fri, 15 Aug 2008 17:51:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU7CJ-0006rB-Cp for screen-users@gnu.org; Fri, 15 Aug 2008 17:51:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU7CI-0006qW-8C for screen-users@gnu.org; Fri, 15 Aug 2008 17:51:02 -0400 Received: from [199.232.76.173] (port=35080 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU7CH-0006qQ-Ut for screen-users@gnu.org; Fri, 15 Aug 2008 17:51:01 -0400 Received: from mail.gmx.net ([213.165.64.20]:47148) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KU7CH-0007zT-8w for screen-users@gnu.org; Fri, 15 Aug 2008 17:51:01 -0400 Received: (qmail invoked by alias); 15 Aug 2008 21:50:56 -0000 Received: from p5791FEDA.dip.t-dialin.net (EHLO blacktrash.org) [87.145.254.218] by mail.gmx.net (mp063) with SMTP; 15 Aug 2008 23:50:56 +0200 X-Authenticated: #11198714 X-Provags-ID: V01U2FsdGVkX19l6bNmHxdlGf5Zt9LLOiS1Dq2geQO1z7NCQ4XJQu hgMF9lTft8o1n1 Date: Fri, 15 Aug 2008 23:50:46 +0200 From: Christian Ebert To: screen-users@gnu.org Message-ID: <20080815215046.GA26876@krille.blacktrash.org> Mail-Followup-To: screen-users@gnu.org References: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0AAD6F58-7E0A-4E56-9A7D-C2CC05336F4D@bl.org> Organization: Black Trash Productions X-Face: )&#alA:[x"-#%%./(nuC&8n;#gqM;=mfY&ivRz@Gnv|AD_0l1Uz{fnJ^BW~OX[d;/)z! yV User-Agent: Mutt/1.5.18 (2008-07-10) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: query current window title to stdout? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1469 Lines: 52 * Michael Parson on Friday, August 15, 2008 at 11:42:35 -0500 > I've got a user that wants to be able to, with a single command, rename > the title for the current window when he edits a file to the name of the > file he is editing. > > What I've come up with is a bash function: > > svim () { > echo -ne "\ekediting $1 \e\\" > /usr/local/bin/vim $1 > echo -ne "\ekbash\e\\" > } > > What I would like to be able to do, is query the title of the window > before we rename it, so we can set it back to what it was after the > editor quits. something like: > > oldname=`screen -X windowname` > > So I could change that last echo to be more like > > echo -ne "\ek$oldname\e\\" > > However, it seems that just about every screen command only spit output > to the status bar, hardline, or a new screen, except 'screen -l'. > > Can this be done? or is the solution I've come up with going to be about > as good as it gets? If it's for vim, it can be (almost) done. I have the follwoing in .vimrc: if &term =~ '^screen' set title " VimTip #1126 set t_ts=^[k set t_fs=^[\ let &titleold = fnamemodify(&shell, ":t") endif The "^[" is entered Ctrl-V [ c -- Vim plugin to paste current GNU Screen buffer in (almost) any mode: _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Aug 17 21:59:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4BB327DAF75 for ; Sun, 17 Aug 2008 21:59:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:46843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUu21-0000dM-4x for erik@plastic-idolatry.com; Sun, 17 Aug 2008 21:59:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUu1i-0000d5-S8 for screen-users@gnu.org; Sun, 17 Aug 2008 21:59:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUu1g-0000ck-8S for screen-users@gnu.org; Sun, 17 Aug 2008 21:59:21 -0400 Received: from [199.232.76.173] (port=51854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUu1g-0000ch-51 for screen-users@gnu.org; Sun, 17 Aug 2008 21:59:20 -0400 Received: from rv-out-0708.google.com ([209.85.198.245]:17945) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KUu1f-0005Mb-NL for screen-users@gnu.org; Sun, 17 Aug 2008 21:59:19 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1946716rvb.6 for ; Sun, 17 Aug 2008 18:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=1P/7OvfG2MO3K2UMNsHE/6CQGCLIQ4xxffV5kIgp+zA=; b=FGMX9WzYKNBk+By/HmJgaDB4i/+7FMGAHeBeoJVhkk7vAYuhEcjXPuZxWUPNCDy3rJ xghnwhZ8PBqsugfuA2MxnOKEKIL8YA3QMMpJukdrCH4sL83jVEEurVvAv3vIdV8/em5e +URr8wQsXyP2ekdHp5wQn8XZy1vBq1rPzhBmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=NX3RX0LeAxRdbB0xIDgSLrQHqsErHCCNiPkmIzgvzuq2bnBr4TrqBjPXq/NdzWm6Et R9fhNPwW1DeqJJZAknQDI7VGu3qO5Tj4QfKHfpVO/zfyB/HsDj0GeMCChzdWsLWfp1FK v2bXtH0TYB53U3nCo0iQaALg0jBglYvGV+t6s= Received: by 10.141.201.1 with SMTP id d1mr2889966rvq.117.1219024757506; Sun, 17 Aug 2008 18:59:17 -0700 (PDT) Received: by 10.140.162.4 with HTTP; Sun, 17 Aug 2008 18:59:17 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 09:59:17 +0800 From: "Aaron Davies" To: "Screen Users" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: set window title from nested screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 500 Lines: 16 i can set the window title from a single-level screen (echo -ne '\e]2;foo^G'), but when i try from a second-level nested screen, nothing happens. i'm running putty-cyg on windows as my terminal, with cygwin zsh running locally, running cygwin screen, ssh'ing into linux boxes, running bash and screen remotely. -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 18 05:35:36 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4CBEF7DBBA5 for ; Mon, 18 Aug 2008 05:35:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:34977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KV196-0001mh-RX for erik@plastic-idolatry.com; Mon, 18 Aug 2008 05:35:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KV17X-0001Jv-1p for screen-users@gnu.org; Mon, 18 Aug 2008 05:33:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KV17V-0001JR-BM for screen-users@gnu.org; Mon, 18 Aug 2008 05:33:50 -0400 Received: from [199.232.76.173] (port=47520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KV17V-0001JK-4t for screen-users@gnu.org; Mon, 18 Aug 2008 05:33:49 -0400 Received: from mail-out1.uio.no ([129.240.10.57]:40194) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KV17V-0000Av-IH for screen-users@gnu.org; Mon, 18 Aug 2008 05:33:49 -0400 Received: from mail-mx6.uio.no ([129.240.10.47]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KV17P-0000ff-7I; Mon, 18 Aug 2008 11:33:43 +0200 Received: from anakin.ifi.uio.no ([129.240.64.199]) by mail-mx6.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KV17P-0000LJ-1B; Mon, 18 Aug 2008 11:33:43 +0200 Received: from peder (helo=localhost) by anakin.ifi.uio.no with local-esmtp (Exim 4.44) id 1KV17O-0003HY-Oj; Mon, 18 Aug 2008 11:33:42 +0200 Date: Mon, 18 Aug 2008 11:33:42 +0200 (CEST) From: Peder Stray X-X-Sender: peder@anakin.ifi.uio.no To: Aaron Davies In-Reply-To: Message-ID: References: User-Agent: Alpine 1.99 (LRH 1136 2008-08-12) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 8BA61B30BD724E71E2817F274C6115FA7974F1DF X-UiO-SPAM-Test: remote_host: 129.240.64.199 spam_score: -49 maxlevel 200 minaction 2 bait 0 mail/h: 2 total 2995 max/h 63 blacklist 0 greylist 0 ratelimit 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: Screen Users Subject: Re: set window title from nested screen? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 788 Lines: 27 On Mon, 18 Aug 2008, Aaron Davies wrote: > i can set the window title from a single-level screen (echo -ne > '\e]2;foo^G'), but when i try from a second-level nested screen, nothing > happens. > > i'm running putty-cyg on windows as my terminal, with cygwin zsh running > locally, running cygwin screen, ssh'ing into linux boxes, running bash > and screen remotely. I use the following in my screenrc: hardstatus on hardstatus string "[%?%h%:%t%?]" and use the normal \e]0;foo\a in my promt, which result in a plain foo in a normal xterm, and [foo] if inside screen, [[foo]] if inside a dual screen and so on. -- Peder Stray _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 20 21:16:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id CBA417DF5E4 for ; Wed, 20 Aug 2008 21:16:47 -0400 (EDT) Received: from localhost ([127.0.0.1]:52136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVyn4-0005w3-FO for erik@plastic-idolatry.com; Wed, 20 Aug 2008 21:16:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVylu-0005d1-35 for screen-users@gnu.org; Wed, 20 Aug 2008 21:15:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVylr-0005bN-DK for screen-users@gnu.org; Wed, 20 Aug 2008 21:15:28 -0400 Received: from [199.232.76.173] (port=59642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVylr-0005bK-8Q for screen-users@gnu.org; Wed, 20 Aug 2008 21:15:27 -0400 Received: from x219233.ppp.asahi-net.or.jp ([122.249.219.233]:3507 helo=les.ath.cx) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVylq-0008Vg-U3 for screen-users@gnu.org; Wed, 20 Aug 2008 21:15:27 -0400 Received: by les.ath.cx (Postfix, from userid 1000) id C9D418661F; Thu, 21 Aug 2008 10:15:16 +0900 (JST) Date: Thu, 21 Aug 2008 10:15:16 +0900 From: YONETANI Tomokazu To: screen-users@gnu.org Message-ID: <20080821011516.GA99283@les.ath.cx> References: <20080811113847.GA73597@les.ath.cx> <48A3379C.2080306@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48A3379C.2080306@cowan.name> User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: bug #23945 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1203 Lines: 32 On Wed, Aug 13, 2008 at 12:35:56PM -0700, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > YONETANI Tomokazu wrote: > > Hi. > > After the fix to #23945 (cb9d14bd8a198447d20ccd4be848df679a3047d9) committed, > > the cursor temporarily displayed at the wrong place when I enter copy-mode > > and move the cursor while "Copy mode - ..." caption is displayed. The > > cursor stays at the wrong place on the terminal until I refresh the screen > > or select the top-left corner of the region. It only happens when the > > following conditions are met: > > - the cursor is at the last line of the screen, without a status line > > - the cursor is not at the beginning of the line > > > > Anyone else seeing this? > > I do. If I hit "k" immediately upon entering copy-mode, the cursor moves > to the first column, but the copy behaves as if it's in its original column. > > Thanks for the report! Issue filed at > https://savannah.gnu.org/bugs/index.php?24058 Oh, thanks for filing it, and I confirmed it's been fixed now. Cheers. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 22 09:14:34 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 51B847E1101 for ; Fri, 22 Aug 2008 09:14:34 -0400 (EDT) Received: from localhost ([127.0.0.1]:44340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWWTD-00032O-Mt for erik@plastic-idolatry.com; Fri, 22 Aug 2008 09:14:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVvo5-00078U-3u for screen-users@gnu.org; Wed, 20 Aug 2008 18:05:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVvo4-00078F-FD for screen-users@gnu.org; Wed, 20 Aug 2008 18:05:32 -0400 Received: from [199.232.76.173] (port=60868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVvo4-00078C-9F for screen-users@gnu.org; Wed, 20 Aug 2008 18:05:32 -0400 Received: from gv-out-0910.google.com ([216.239.58.185]:8758) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVvo3-0007OF-L7 for screen-users@gnu.org; Wed, 20 Aug 2008 18:05:31 -0400 Received: by gv-out-0910.google.com with SMTP id i36so102032gve.17 for ; Wed, 20 Aug 2008 15:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=AVR8CZYn9iyF9weknJBUCRbYaEoK/5nFBly5xwu5Lp4=; b=dUGk+Y5EQP414EH6K0HYBlKVemZ/ARA6RPdjqsCXRqJjq5m6CmUqV6/p055TiT/Skb J7SfFU3gspTcoSbMQVTvnGcCExymIp62SsHQ7Afm7yfg5UUFTo7rxtfYzCIMRuzahX4T ojMEWQhftKd8DU4Tp6oh9XDZzeGBOlHzkt00A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=YO0iwwO7fgBx/UZ84EzJxomUEGNWobd440gDPeKo5Fwj6Z6D+4qa1++jM9LThEZrfF 8Ybp1evIfJNC/7HeKx4t9SqHDfyhZ0cuMnKR2wzLyjEKqbL+irZtJgb7Cs8p7yBHBPiM 0cHX040j7erejHw7Wm3EzUHV6xG0kndFhGOXE= Received: by 10.103.176.2 with SMTP id d2mr451103mup.112.1219269928976; Wed, 20 Aug 2008 15:05:28 -0700 (PDT) Received: by 10.103.22.17 with HTTP; Wed, 20 Aug 2008 15:05:28 -0700 (PDT) Message-ID: Date: Wed, 20 Aug 2008 15:05:28 -0700 From: "Cameron Dale" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 22 Aug 2008 09:14:03 -0400 Subject: F1/F2/F3/F4 don't work on my new laptop X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1389 Lines: 42 Hi, I have been using screen for a while, and I have my function keys bound to changing the selected terminal like so: # Use the function keys to switch among windows. bindkey -k k1 select 1 bindkey -k k2 select 2 bindkey -k k3 select 3 bindkey -k k4 select 4 bindkey -k k5 select 5 I also have this to (according to the comment where I copied it from) enable the function keys in screen: termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' However, with my new eeepc laptop this is causing problems. Now, F1 F2 F3 and F4 no longer work only on the laptop. If I remove the termcapinfo line from .screenrc the laptop works fine, but then on all my other machines F1-F4 stops working! Most frustrating. I understand this might be related to the terminfo database on my laptop, but I'm not sure what change to make so that it works like my other machines. Or, perhaps I need to add another termcapinfo line or more bindkey lines to my .screenrc to make the function keys work with the laptop too. If I press ctrl-q and then the F1 - F4 keys, I get the following key codes from screen: ^[OP ^[OQ ^[OR ^[OS But I'm not sure what I need to add to .screenrc so they get transformed into function keys. Please help! Thanks, Cameron _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 22 09:15:22 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 024917E0FE8 for ; Fri, 22 Aug 2008 09:15:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:44750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWWU0-0003yG-S2 for erik@plastic-idolatry.com; Fri, 22 Aug 2008 09:15:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWHPk-0003xy-KE for screen-users@gnu.org; Thu, 21 Aug 2008 17:09:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWHPj-0003xK-HR for screen-users@gnu.org; Thu, 21 Aug 2008 17:09:52 -0400 Received: from [199.232.76.173] (port=54398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWHPj-0003xE-6m for screen-users@gnu.org; Thu, 21 Aug 2008 17:09:51 -0400 Received: from yx-out-1718.google.com ([74.125.44.153]:55461) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWHPi-0008UY-C8 for screen-users@gnu.org; Thu, 21 Aug 2008 17:09:51 -0400 Received: by yx-out-1718.google.com with SMTP id 34so69204yxf.66 for ; Thu, 21 Aug 2008 14:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=AVR8CZYn9iyF9weknJBUCRbYaEoK/5nFBly5xwu5Lp4=; b=sc4de0F6O2hMwz7C4O/BGMRquI9BLma3/yQKLCmD4tHsXGEQyHCEpLBWG3ufSIsftz R75xTFz1tObG68jn7luE3S9ERhtVhS9NTIitFoMSOn4MgGM9mPEjH4712mkXiQ6Hol37 nDoqruDm8xP+DUGKerdCTnRybCLKETgwt2AOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QJt9dVuLF13rDF4NxFy47puq/pb/ro4UXxA/OBrvz2C6m9axK2PWRevs5mhxyCDRvk U76kqpdxEdtceMxfqcTnocMx92fbcpt/JxM1alMp/qJLvzo1qbuMKm5RqztSCaFZAvDD 79vpXc6knh27gYBv60057IVwhzx9zNefCL2j8= Received: by 10.103.238.4 with SMTP id p4mr165080mur.66.1219352985038; Thu, 21 Aug 2008 14:09:45 -0700 (PDT) Received: by 10.103.22.17 with HTTP; Thu, 21 Aug 2008 14:09:44 -0700 (PDT) Message-ID: Date: Thu, 21 Aug 2008 14:09:44 -0700 From: "Cameron Dale" To: screen-users@gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 22 Aug 2008 09:14:03 -0400 Subject: F1/F2/F3/F4 don't work on my new laptop X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1389 Lines: 42 Hi, I have been using screen for a while, and I have my function keys bound to changing the selected terminal like so: # Use the function keys to switch among windows. bindkey -k k1 select 1 bindkey -k k2 select 2 bindkey -k k3 select 3 bindkey -k k4 select 4 bindkey -k k5 select 5 I also have this to (according to the comment where I copied it from) enable the function keys in screen: termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' However, with my new eeepc laptop this is causing problems. Now, F1 F2 F3 and F4 no longer work only on the laptop. If I remove the termcapinfo line from .screenrc the laptop works fine, but then on all my other machines F1-F4 stops working! Most frustrating. I understand this might be related to the terminfo database on my laptop, but I'm not sure what change to make so that it works like my other machines. Or, perhaps I need to add another termcapinfo line or more bindkey lines to my .screenrc to make the function keys work with the laptop too. If I press ctrl-q and then the F1 - F4 keys, I get the following key codes from screen: ^[OP ^[OQ ^[OR ^[OS But I'm not sure what I need to add to .screenrc so they get transformed into function keys. Please help! Thanks, Cameron _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 22 15:11:21 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 26AD57DB86A for ; Fri, 22 Aug 2008 15:11:21 -0400 (EDT) Received: from localhost ([127.0.0.1]:47185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWc2T-00019I-3L for erik@plastic-idolatry.com; Fri, 22 Aug 2008 15:11:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWc23-00016B-Cy for screen-users@gnu.org; Fri, 22 Aug 2008 15:10:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWc22-00014Z-FN for screen-users@gnu.org; Fri, 22 Aug 2008 15:10:46 -0400 Received: from [199.232.76.173] (port=43905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWc22-00014P-BB for screen-users@gnu.org; Fri, 22 Aug 2008 15:10:46 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:48633) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWc22-0005pp-A3 for screen-users@gnu.org; Fri, 22 Aug 2008 15:10:46 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id EF3E4408803E; Fri, 22 Aug 2008 12:10:44 -0700 (PDT) Message-ID: <48AF0F33.90808@cowan.name> Date: Fri, 22 Aug 2008 12:10:43 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Cameron Dale References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: F1/F2/F3/F4 don't work on my new laptop X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2688 Lines: 74 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Cameron Dale wrote: > Hi, > > I have been using screen for a while, and I have my function keys > bound to changing the selected terminal like so: > > # Use the function keys to switch among windows. > bindkey -k k1 select 1 > bindkey -k k2 select 2 > bindkey -k k3 select 3 > bindkey -k k4 select 4 > bindkey -k k5 select 5 > > I also have this to (according to the comment where I copied it from) > enable the function keys in screen: > > termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' This tells screen to ignore what termcap/terminfo might really have for k1, and use these entries instead. > However, with my new eeepc laptop this is causing problems. Now, F1 F2 > F3 and F4 no longer work only on the laptop. If I remove the > termcapinfo line from .screenrc the laptop works fine, but then on all > my other machines F1-F4 stops working! Most frustrating. Sounds like, on the system you're using for the laptop, the original terminfo lines are correct. > I understand this might be related to the terminfo database on my > laptop, but I'm not sure what change to make so that it works like my > other machines. Or, perhaps I need to add another termcapinfo line or > more bindkey lines to my .screenrc to make the function keys work with > the laptop too. If I press ctrl-q and then the F1 - F4 keys, I get the > following key codes from screen: > > ^[OP ^[OQ ^[OR ^[OS > > But I'm not sure what I need to add to .screenrc so they get > transformed into function keys. Please help! Why not use the .screenrc without those lines on your laptop, and the ones with them on all others? If you have two terminal versions which respect two different sequences, you can't really expect to have both the same terminfo definition and the same .screenrc for them both. What terminal emulator are you using, gnome-terminal? Gnome-terminal isn't perfectly compatible with xterm, especially when it comes to special key controls; but it advertises itself as xterm. Probably because of apps like vim (and screen) that recognize "xterm" as providing mouse support, but not gnome-terminal. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrw8z7M8hyUobTrERAkFDAJ0de+jm7JIBER0PCf1Kolxudfm59wCfbcIB KslBboeIpUocUDFt0LufPk4= =CDpJ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 22 15:27:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EA29C7DB9A2 for ; Fri, 22 Aug 2008 15:27:28 -0400 (EDT) Received: from localhost ([127.0.0.1]:47007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWcI7-0007YJ-9r for erik@plastic-idolatry.com; Fri, 22 Aug 2008 15:27:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWcHm-0007Xn-7m for screen-users@gnu.org; Fri, 22 Aug 2008 15:27:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWcHi-0007R9-40 for screen-users@gnu.org; Fri, 22 Aug 2008 15:27:01 -0400 Received: from [199.232.76.173] (port=54783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWcHh-0007Qy-W7 for screen-users@gnu.org; Fri, 22 Aug 2008 15:26:58 -0400 Received: from gv-out-0910.google.com ([216.239.58.191]:3971) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWcHh-00081p-OE for screen-users@gnu.org; Fri, 22 Aug 2008 15:26:58 -0400 Received: by gv-out-0910.google.com with SMTP id i36so228027gve.17 for ; Fri, 22 Aug 2008 12:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=dgN6CwKFKf3yiQhGFABqupGx/e25v4PiaqwdRnqO1/w=; b=xlh0J0yuqLD60YuZ8Tp1LVXNHZrPdCzBLLGkJw84oErqbFyoi5B3YQX4bExDil9xwk 5JquBwDlq4zmwuwffHbhgZem5NPlPnCCJcwYa9kqgZ93R5xFJMpr2u6p9a4ep2wloVB/ HxaFzXUfHL5g7WMP7cnI9pQqMqZaBgCPpIyJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=m+NddeMzrQKR4Ncwscq6EkreNMiNZ+BPOGm0yeiiWL8qqpgrHSPjPAM9Gxib8sT/OK VYydSYe3LHUdpJPLbo1GPYALwfeNdoeo9Ai6gFaUysTGYU0QwAI2WiOCYgdob4KO23AM bW8Qj2G9iZs9vl7tqYm7y8JHhyXy4Bav3Ql3I= Received: by 10.103.222.1 with SMTP id z1mr920379muq.71.1219433214595; Fri, 22 Aug 2008 12:26:54 -0700 (PDT) Received: by 10.103.22.17 with HTTP; Fri, 22 Aug 2008 12:26:54 -0700 (PDT) Message-ID: Date: Fri, 22 Aug 2008 12:26:54 -0700 From: "Cameron Dale" To: screen-users@gnu.org In-Reply-To: <48AF0F33.90808@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48AF0F33.90808@cowan.name> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: F1/F2/F3/F4 don't work on my new laptop X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2181 Lines: 49 On Fri, Aug 22, 2008 at 12:10 PM, Micah Cowan wrote: > Cameron Dale wrote: >> termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' > > This tells screen to ignore what termcap/terminfo might really have for > k1, and use these entries instead. > >> However, with my new eeepc laptop this is causing problems. Now, F1 F2 >> F3 and F4 no longer work only on the laptop. If I remove the >> termcapinfo line from .screenrc the laptop works fine, but then on all >> my other machines F1-F4 stops working! Most frustrating. > > Sounds like, on the system you're using for the laptop, the original > terminfo lines are correct. If they're correct, shouldn't the termcapinfo line do nothing then, that is overwrite the correct ones with entries that are also correct? Sorry, I know almost nothing about termcap/info. > Why not use the .screenrc without those lines on your laptop, and the > ones with them on all others? If you have two terminal versions which > respect two different sequences, you can't really expect to have both > the same terminfo definition and the same .screenrc for them both. The problem is when I ssh into a server machine from different places, then screen runs on the server and uses the server's .screenrc file. Either I have the termcapinfo line in .screenrc on the server and all desktops work but my laptop doesn't, or I remove the line to get my laptop to work and the desktops no longer work. > What terminal emulator are you using, gnome-terminal? Gnome-terminal > isn't perfectly compatible with xterm, especially when it comes to > special key controls; but it advertises itself as xterm. Probably > because of apps like vim (and screen) that recognize "xterm" as > providing mouse support, but not gnome-terminal. I'm using konsole, and it looks like that might be the culprit. I tried running xterm on my desktop instead, and it behaves just like my laptop (works fine without the termcapinfo line). I'll try on some of my other machines later tonight. Thanks, Cameron _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Aug 25 22:16:50 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BF4E97DE6E4 for ; Mon, 25 Aug 2008 22:16:50 -0400 (EDT) Received: from localhost ([127.0.0.1]:39774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXo6t-0006ix-SQ for erik@plastic-idolatry.com; Mon, 25 Aug 2008 22:16:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXo6Y-0006hJ-V1 for screen-users@gnu.org; Mon, 25 Aug 2008 22:16:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXo6X-0006h7-DD for screen-users@gnu.org; Mon, 25 Aug 2008 22:16:21 -0400 Received: from [199.232.76.173] (port=36244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXo6X-0006h4-78 for screen-users@gnu.org; Mon, 25 Aug 2008 22:16:21 -0400 Received: from ti-out-0910.google.com ([209.85.142.190]:11820) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXo6W-0007wB-RF for screen-users@gnu.org; Mon, 25 Aug 2008 22:16:21 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1109938tia.10 for ; Mon, 25 Aug 2008 19:16:17 -0700 (PDT) Received: by 10.110.105.10 with SMTP id d10mr5830558tic.52.1219716977436; Mon, 25 Aug 2008 19:16:17 -0700 (PDT) Received: by 10.110.90.3 with HTTP; Mon, 25 Aug 2008 19:16:17 -0700 (PDT) Message-ID: <77f930110808251916k19645396je8372951b03c284@mail.gmail.com> Date: Tue, 26 Aug 2008 11:16:17 +0900 From: "Seongsu Lee" To: screen-users@gnu.org In-Reply-To: <77f930110808210016q6805431bkebcc3d69a30b0124@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <77f930110808130509v52091164pc4faa345a9f6db73@mail.gmail.com> <20080813160815.GC5323@sc.homeunix.net> <77f930110808210016q6805431bkebcc3d69a30b0124@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: reading custom .bashrc X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 806 Lines: 24 Hello, I tried following directives in .screenrc but failed. It say it's invalid. Do you know how to specify arguments in launching shell? Thank you. shell -$SHELL --rcfile ~/.my_custom_bashrc On Thu, Aug 14, 2008 at 1:08 AM, Stephane Chazelas wrote: > On Wed, Aug 13, 2008 at 09:09:25PM +0900, Seongsu Lee wrote: >> I have my own bashrc file named '$HOME/.{USERNAM}/bashrc'. I want the bash >> shell read the custom bashrc file when I create a new window every time in >> GNU screen. Do you have some configurations for this in screenrc? Or >> some tricks to do this? Thank you. > [...] > > See the --rcfile option to bash. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 27 05:26:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5CFA57E0C5F for ; Wed, 27 Aug 2008 05:26:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:56537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYHIJ-0006vE-Hd for erik@plastic-idolatry.com; Wed, 27 Aug 2008 05:26:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYHH7-0006gB-Ac for screen-users@gnu.org; Wed, 27 Aug 2008 05:25:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYHH5-0006e0-FU for screen-users@gnu.org; Wed, 27 Aug 2008 05:25:12 -0400 Received: from [199.232.76.173] (port=37224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYHH4-0006dC-MI for screen-users@gnu.org; Wed, 27 Aug 2008 05:25:10 -0400 Received: from rv-out-0708.google.com ([209.85.198.243]:15838) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYHH4-0006cB-9j for screen-users@gnu.org; Wed, 27 Aug 2008 05:25:10 -0400 Received: by rv-out-0708.google.com with SMTP id k29so2533759rvb.6 for ; Wed, 27 Aug 2008 02:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=GPsw9GVqyjP+OTGzYk9tMUFEANadBFV2l4YRL0OOtKk=; b=VBsuI6eiIsnEOFrCZ6VH0/+8VJtmptc7CzfvZU0ifqwCK1yyN0f8mgOA/wxR+OQDEO K+vo6z08bNom0umPCjzgRMPsDf1BUlVzAmIgV/uhUzF2pcC1lHpax8Xxa6jADk3503C9 3viOIORVrTMNrVzwFuXB/J+p6/bVdN5hc3D0U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=chXDgesTnoGpc0BEnywv2L2pLp2Wk87grJKC2dAvgkWndhnVirWiuF7g5LLzp98U7a 4SW6Z4KqA/DSjslfLFCRmbcl7z5STGtwZj+u+HKYvJJDK/+O7b+Dbh7HwZr+R60UEfWx 1qNKpZqYLStMQuMo+rEeJvCsnEKtCl4mvi93g= Received: by 10.140.148.3 with SMTP id v3mr3445136rvd.139.1219829108735; Wed, 27 Aug 2008 02:25:08 -0700 (PDT) Received: by 10.140.178.12 with HTTP; Wed, 27 Aug 2008 02:25:08 -0700 (PDT) Message-ID: Date: Wed, 27 Aug 2008 17:25:08 +0800 From: "Aaron Davies" To: "Screen Users" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: prefer share to hijack? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1087 Lines: 31 is there an easy way to get the "get me a screen at any cost" behavior of -D -RR while still preferring to share (-x) rather than forcibly detach any existing screen? my common case is logging onto linux boxes from my primary work desktop, and there may or may not be previous screens around--i want them back if there are, i want new ones if there aren't. the rare case though is logging onto the same boxes from my work laptop to demo something on the projector, in which case there's almost certainly existing screens around, which are probably still attached on my windows box. i'd prefer if i didn't have to reconnect everything when i get back to my desktop. the only solution i can think of is something like screen -ls && screen -x || screen -D -RR (which is actually redundant, isn't it? shouldn't that reduce to screen -ls && screen -x || screen ?) but that seems kind of inelegant. -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 27 09:21:31 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0E2A07DFDD5 for ; Wed, 27 Aug 2008 09:21:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:36336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYKxg-0007QK-HX for erik@plastic-idolatry.com; Wed, 27 Aug 2008 09:21:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXiGJ-0002nt-A8 for screen-users@gnu.org; Mon, 25 Aug 2008 16:02:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXiGH-0002kd-FD for screen-users@gnu.org; Mon, 25 Aug 2008 16:02:02 -0400 Received: from [199.232.76.173] (port=39580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXiGH-0002kT-BM for screen-users@gnu.org; Mon, 25 Aug 2008 16:02:01 -0400 Received: from mailout1.echostar.com ([204.76.128.101]:1344) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXiGG-0000sH-UE for screen-users@gnu.org; Mon, 25 Aug 2008 16:02:01 -0400 Received: from MER2-EXCHA2.echostar.com ([10.3.215.82]) by MER2-EXCHFE2.echostar.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Aug 2008 13:31:57 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Aug 2008 13:31:57 -0600 Message-ID: <324C88FC4EFDF54EA0E2526D49CA2D5E018EF245@MER2-EXCHA2.echostar.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re-attaching split screens Thread-Index: AckGw+aaCzoK5VHGT5GdiPzz6Fk4oAAEFx+w From: "Gorsuch, Ryan" To: X-OriginalArrivalTime: 25 Aug 2008 19:31:57.0443 (UTC) FILETIME=[3CD3CD30:01C906E9] X-detected-kernel: by monty-python.gnu.org: Windows XP SP1+, 2000 SP3 X-Greylist: delayed 1800 seconds by postgrey-1.27 at monty-python; Mon, 25 Aug 2008 16:01:59 EDT X-Mailman-Approved-At: Wed, 27 Aug 2008 09:19:45 -0400 Subject: Re-attaching split screens X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 935 Lines: 22 Hello fellow screen users. I'd like to be able to detach a screen session, and then reattach and have my split screen restored and showing the same windows as before I detached. Currently when I reattach, my splits are gone, and I get a single window shown. To restore it I have to split my screen a few times, change focus to each window, and switch to the window I want in that region.=20 I found a post by a developer which seemed that it might be possible to "save layouts" but I can't find any documentation for this in the "Changes" file for the most recent release (4.0.3) or in the online manual at /soft/local/common/rman/current. Any ideas about how I might do this, or when a feature like this might be available? I'm running Screen version 4.00.02 (FAU) 5-Dec-03. Ryan=20 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Aug 27 10:17:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6AB707D97F2 for ; Wed, 27 Aug 2008 10:17:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:54837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYLpf-0001Mn-OC for erik@plastic-idolatry.com; Wed, 27 Aug 2008 10:17:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYLo1-0000e0-Qj for screen-users@gnu.org; Wed, 27 Aug 2008 10:15:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYLnz-0000cI-Ke for screen-users@gnu.org; Wed, 27 Aug 2008 10:15:28 -0400 Received: from [199.232.76.173] (port=49514 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYLnz-0000cB-8J for screen-users@gnu.org; Wed, 27 Aug 2008 10:15:27 -0400 Received: from yx-out-1718.google.com ([74.125.44.155]:58440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYLny-0004La-S8 for screen-users@gnu.org; Wed, 27 Aug 2008 10:15:27 -0400 Received: by yx-out-1718.google.com with SMTP id 34so1261618yxf.66 for ; Wed, 27 Aug 2008 07:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nE16WetwIvAvJQ21hlpAhYwrQ0xXf3LGXddPXOKNrkY=; b=Kt6CXoyegSWWfRQzE8aKLUVdU4wsBx2hkSsLhaMvMaiaMIoeoWGKH9MiYiIXXMCw0r agQkff6CI8oaUsNdkspiygBWg6sD5U0Xjls0wRBeSnof3jWFZ43gVLGv/e8nMG4Tm89P icryn8+elESTKr7ObV5RhLmQAGbvKUi4HaRxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BDeSmL1xuBkbFjHYCEhFiaL3MkIx37UImOAhm3zyVN1Afi2gIrIjJC+q3jJoS/dk1W ibqin9hOG8vh6KuzkYcsVn1xQLadD/DZVHQ5d96xvtdSbmxtTHxpJWZdahbA6fsH+GnV QTifMeYHnqUe564hBhYGOQOJOEQ1cvIShKlos= Received: by 10.142.173.14 with SMTP id v14mr2494323wfe.231.1219846520216; Wed, 27 Aug 2008 07:15:20 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Wed, 27 Aug 2008 07:14:53 -0700 (PDT) Message-ID: <18071eea0808270714w6cec6967m3817b48c0cbf55a9@mail.gmail.com> Date: Wed, 27 Aug 2008 15:14:53 +0100 From: "Thomas Adam" To: "Gorsuch, Ryan" In-Reply-To: <324C88FC4EFDF54EA0E2526D49CA2D5E018EF245@MER2-EXCHA2.echostar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <324C88FC4EFDF54EA0E2526D49CA2D5E018EF245@MER2-EXCHA2.echostar.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Re-attaching split screens X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1109 Lines: 26 2008/8/25 Gorsuch, Ryan : > Hello fellow screen users. I'd like to be able to detach a screen > session, and then reattach and have my split screen restored and showing > the same windows as before I detached. Currently when I reattach, my > splits are gone, and I get a single window shown. To restore it I have > to split my screen a few times, change focus to each window, and switch > to the window I want in that region. Running screen within screen is the more "portable" way for versions of screen which aren't the GIT version. > I found a post by a developer which seemed that it might be possible to > "save layouts" but I can't find any documentation for this in the > "Changes" file for the most recent release (4.0.3) or in the online > manual at /soft/local/common/rman/current. Any ideas about how I might > do this, or when a feature like this might be available? http://savannah.gnu.org/bugs/?23597 -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 08:55:05 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3E5B47DC3C2 for ; Fri, 29 Aug 2008 08:55:05 -0400 (EDT) Received: from localhost ([127.0.0.1]:50638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ3VD-0000J5-6n for erik@plastic-idolatry.com; Fri, 29 Aug 2008 08:54:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYQPJ-0002lh-GB for screen-users@gnu.org; Wed, 27 Aug 2008 15:10:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYQPH-0002kr-KU for screen-users@gnu.org; Wed, 27 Aug 2008 15:10:16 -0400 Received: from [199.232.76.173] (port=35975 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYQPH-0002kh-DK for screen-users@gnu.org; Wed, 27 Aug 2008 15:10:15 -0400 Received: from quesera.com ([208.72.84.33]:62907) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYQPH-00048B-AE for screen-users@gnu.org; Wed, 27 Aug 2008 15:10:15 -0400 Received: from lorelei.quesera.com (localhost [127.0.0.1]) by quesera.com (Postfix) with ESMTP id DC9E41D27F for ; Wed, 27 Aug 2008 19:09:53 +0000 (UTC) Received: (from reynhout@localhost) by lorelei.quesera.com (8.14.2+Sun/8.14.2/Submit) id m7RJ9rGk016216 for screen-users@gnu.org; Wed, 27 Aug 2008 19:09:53 GMT Date: Wed, 27 Aug 2008 19:09:53 +0000 From: reynhout@quesera.com To: screen-users@gnu.org Message-ID: <20080827190953.GB4745@quesera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Fri, 29 Aug 2008 08:54:35 -0400 Subject: Patch to move and renumber windows, screen-4.0.3 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1797 Lines: 48 Hi, I've written a minor patch against 4.0.3 to add the ability to move windows right or left (up or down?) slot-by-slot (without using the :number UI), and also to renumber all active windows starting with 0, eliminating gaps created by exited windows. See http://www.quesera.com/reynhout/misc/screen+bumpandcollapse for more. This is useful to me -- I often have very long-lived screen instances on gateway machines that I use to reach dozens of other machines. Some of those sessions are also very long-lived, but some are very ephemeral, so I frequently have a mess of windows that I'd like to reorganize. :number works well, but can be tedious for large sets. If this is useful to anyone else, let me know and I'll work out the remaining details. Namely: - I stole the key sequences from readbuf, writebuf, removebuf. Dreadful etiquette, I realize, but the keys (<, >, =) were ideal for the purpose, and acceptable for private build use. Please let me know if you can think of another good set! - The patch is for 4.0.3, but a quick glance at the 4.1.0 code suggests that it'll be simple to port. - I've written no documentation in the patch. Actions are bumpleft (C-a <), bumpright (C-a >), and collapse (C-a =). They all use the code from RC_NUMBER, extracted out into a fun called SwapWindows. I'm not doing any direct wtab manipulation, so hopefully the patch is as stable as the existing code. I've tested on OSX and Solaris in my fairly simple config and use cases, and it works for me. If you're able to test the patch out, I'll happily take bug reports. Thank you, Andrew -- reynhout@quesera.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 08:56:01 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D0FC47DC3C2 for ; Fri, 29 Aug 2008 08:56:01 -0400 (EDT) Received: from localhost ([127.0.0.1]:51039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ3W8-0001T6-Df for erik@plastic-idolatry.com; Fri, 29 Aug 2008 08:55:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYZOd-0004Nv-AL for screen-users@gnu.org; Thu, 28 Aug 2008 00:46:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYZOb-0004Nf-S3 for screen-users@gnu.org; Thu, 28 Aug 2008 00:46:10 -0400 Received: from [199.232.76.173] (port=38790 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYZOb-0004Nc-Ez for screen-users@gnu.org; Thu, 28 Aug 2008 00:46:09 -0400 Received: from vilnius.csail.mit.edu ([18.26.0.69]:52718) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYZOb-0001xF-9P for screen-users@gnu.org; Thu, 28 Aug 2008 00:46:09 -0400 Received: from vilnius.csail.mit.edu (vilnius.csail.mit.edu [127.0.0.1]) by vilnius.csail.mit.edu (8.13.6/8.13.4) with ESMTP id m7S4k8JT016427 for ; Thu, 28 Aug 2008 00:46:08 -0400 Received: (from richman@localhost) by vilnius.csail.mit.edu (8.13.6/8.13.6/Submit) id m7S4k8NP016426 for screen-users@gnu.org; Thu, 28 Aug 2008 00:46:08 -0400 Date: Thu, 28 Aug 2008 00:46:08 -0400 From: Steven Richman To: screen-users@gnu.org Message-ID: <20080828044608.GA16101@vilnius.csail.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 29 Aug 2008 08:54:35 -0400 Subject: "sleep" only works at startup/reattach? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 583 Lines: 20 Hi, Is it possible to do a "sleep" outside of my startup screenrc? If I put "sleep 5" in my screenrc, then screen sleeps as expected at startup. If I later source screenrc or any other script with a sleep in it, though, the sleep gets skipped. Similarly, if I "bindkey x eval 'sleep 5' 'stuff moose'" the sleep gets skipped. So, is there any way to get a pause in the action within a key binding or sourced script? Thanks, Steven _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 09:38:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BCE0C7D9F05 for ; Fri, 29 Aug 2008 09:38:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:42199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ4Ap-0005BU-4h for erik@plastic-idolatry.com; Fri, 29 Aug 2008 09:37:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ46z-0001n4-L6 for screen-users@gnu.org; Fri, 29 Aug 2008 09:34:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ46x-0001l1-UD for screen-users@gnu.org; Fri, 29 Aug 2008 09:34:01 -0400 Received: from [199.232.76.173] (port=35854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ46x-0001kn-Oi for screen-users@gnu.org; Fri, 29 Aug 2008 09:33:59 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]:48558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ46x-0002ki-Hf for screen-users@gnu.org; Fri, 29 Aug 2008 09:33:59 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1064593wfc.24 for ; Fri, 29 Aug 2008 06:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=54qsEaaj6uyxGj4f3QAWVPhQKdXkDvFZNWqkJfmbZP4=; b=oi23h4doRkD1qwHD/UBi3It1MVNejo1Rfonaw99oF2os5fRO0gIoC9WCoD4kp1+fZM K7WWYel9x96zsXmjyxwpiKj7sR6NBsCxOd4RWpu+O+3zlHPHPKtDe2llpayyb1W/Vay4 5eg39JP5DXxujxE9GDMICxjN/YfD0CKkX2gWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CzeapcLDLyhKc6jHS4YtsXVOS/lbyuOWtnYVmVaTpNe2DR8lLFPArzE96EmFKeuWpU UxxPXApPGUJI8dkEjFbdKM/b9LBSihsLFaMgPRj0qbYWY/qZw/topvdZ8pjIuo/QHEJ1 WQxrqd/aneryrXOAIeuj5upXaUaasFL6fqTb8= Received: by 10.142.47.6 with SMTP id u6mr967956wfu.91.1220016837700; Fri, 29 Aug 2008 06:33:57 -0700 (PDT) Received: by 10.142.104.15 with HTTP; Fri, 29 Aug 2008 06:33:57 -0700 (PDT) Message-ID: <18071eea0808290633q4ce88940t9eb6fe55a4c22fd0@mail.gmail.com> Date: Fri, 29 Aug 2008 14:33:57 +0100 From: "Thomas Adam" To: reynhout@quesera.com In-Reply-To: <20080827190953.GB4745@quesera.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080827190953.GB4745@quesera.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Patch to move and renumber windows, screen-4.0.3 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 858 Lines: 24 Hello -- 2008/8/27 : > - I've written no documentation in the patch. Then until you do, I am going to reject this patch outright. Regardless of whether or not this patch is applied to GIT in time for the next release is another matter entirely. But since you're making user-visible changes and adding in a new command, the documentation is a vital part of your patch. Not having ever looked at the patch (sorry, no time) does it handle renumbering window in layouts correctly? Recall that a layout can have any number of differently numbered windows -- renumbering those such that it doesn't conflict with another window number in a layout is going to be an issue. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 10:04:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 90E037DC544 for ; Fri, 29 Aug 2008 10:04:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:50075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ4aX-0000Ps-HX for erik@plastic-idolatry.com; Fri, 29 Aug 2008 10:04:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ4Zs-0000FF-Jk for screen-users@gnu.org; Fri, 29 Aug 2008 10:03:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ4Zo-0000Dg-OE for screen-users@gnu.org; Fri, 29 Aug 2008 10:03:52 -0400 Received: from [199.232.76.173] (port=46501 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ4Zo-0000Db-JG for screen-users@gnu.org; Fri, 29 Aug 2008 10:03:48 -0400 Received: from quesera.com ([208.72.84.33]:37721) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ4Zo-0007V2-ES for screen-users@gnu.org; Fri, 29 Aug 2008 10:03:48 -0400 Received: from lorelei.quesera.com (localhost [127.0.0.1]) by quesera.com (Postfix) with ESMTP id 447CD1D4BB; Fri, 29 Aug 2008 14:03:31 +0000 (UTC) Received: (from reynhout@localhost) by lorelei.quesera.com (8.14.2+Sun/8.14.2/Submit) id m7TE3U6d028958; Fri, 29 Aug 2008 14:03:30 GMT Date: Fri, 29 Aug 2008 14:03:30 +0000 From: reynhout@quesera.com To: Thomas Adam Message-ID: <20080829140330.GF4745@quesera.com> References: <20080827190953.GB4745@quesera.com> <18071eea0808290633q4ce88940t9eb6fe55a4c22fd0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0808290633q4ce88940t9eb6fe55a4c22fd0@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: screen-users@gnu.org Subject: Re: Patch to move and renumber windows, screen-4.0.3 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1050 Lines: 31 On Fri, Aug 29, 2008 at 02:33:57PM +0100, Thomas Adam wrote: > 2008/8/27 : > > - I've written no documentation in the patch. > > Then until you do, I am going to reject this patch outright. Absolutely. The patch is not prepared for submission to the repo, for the above reason as well as the others I mentioned. And you raise a new question too, w/r/t layouts, which I'll investigate. There might well be other things I haven't thought of too, which is why I posted the patch info -- I've spent a total of about three hours in the screen source, so if the functionality offered by the patch has resonance with other folks on the list, I'm interested in hearing more contextually-aware perspectives on the approach. In the meantime, the patch works for me in my simple config and use model, so it might be useful as-is to others. Thanks, Andrew -- reynhout@quesera.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 11:51:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4C0587DC716 for ; Fri, 29 Aug 2008 11:51:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:56352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ6GC-0003Xc-65 for erik@plastic-idolatry.com; Fri, 29 Aug 2008 11:51:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ6FY-0003OU-MW for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ6FX-0003Nn-6m for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:00 -0400 Received: from [199.232.76.173] (port=52741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ6FW-0003Ni-TJ for screen-users@gnu.org; Fri, 29 Aug 2008 11:50:58 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:59897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ6FX-0007sX-3O for screen-users@gnu.org; Fri, 29 Aug 2008 11:50:59 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 3639E3C8C066; Fri, 29 Aug 2008 08:50:51 -0700 (PDT) Message-ID: <48B81AD9.4010209@cowan.name> Date: Fri, 29 Aug 2008 08:50:49 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Thomas Adam References: <20080827190953.GB4745@quesera.com> <18071eea0808290633q4ce88940t9eb6fe55a4c22fd0@mail.gmail.com> In-Reply-To: <18071eea0808290633q4ce88940t9eb6fe55a4c22fd0@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Patch to move and renumber windows, screen-4.0.3 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 991 Lines: 32 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Adam wrote: > Not having ever looked at the patch (sorry, no time) does it handle > renumbering window in layouts correctly? Recall that a layout can > have any number of differently numbered windows -- renumbering those > such that it doesn't conflict with another window number in a layout > is going to be an issue. If that's true, wouldn't it already be an issue with the current RC_NUMBER code? - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIuBrZ7M8hyUobTrERAghvAJ4+3uXSHo5YKKDuBidhiXaN/oAMqwCbBfCb GQiOJnrIDqkHBKW0V2/+ly8= =h6na -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Aug 29 11:52:35 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3B71B7D9C7F for ; Fri, 29 Aug 2008 11:52:35 -0400 (EDT) Received: from localhost ([127.0.0.1]:56819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ6Gz-00041h-EM for erik@plastic-idolatry.com; Fri, 29 Aug 2008 11:52:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ6Ff-0003Rv-3u for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ6Fe-0003RR-Ai for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:06 -0400 Received: from [199.232.76.173] (port=52742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ6Fe-0003RF-2y for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:06 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:59955) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZ6Fe-0007wg-2T for screen-users@gnu.org; Fri, 29 Aug 2008 11:51:06 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 18F0D3C8C066; Fri, 29 Aug 2008 08:51:05 -0700 (PDT) Message-ID: <48B81AE8.9000601@cowan.name> Date: Fri, 29 Aug 2008 08:51:04 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: reynhout@quesera.com References: <20080827190953.GB4745@quesera.com> In-Reply-To: <20080827190953.GB4745@quesera.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Patch to move and renumber windows, screen-4.0.3 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1443 Lines: 43 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 reynhout@quesera.com wrote: > Hi, > > I've written a minor patch against 4.0.3 to add the ability to move > windows right or left (up or down?) slot-by-slot (without using the > :number UI), and also to renumber all active windows starting with 0, > eliminating gaps created by exited windows. Hi, reynhout, thanks for the patch. > Actions are bumpleft (C-a <), bumpright (C-a >), and collapse (C-a =). Sadrul has already added the equivalent functionality for "bumpleft" and "bumpright", with "number -1" and "number +1" (which are also probably not yet in the documentation). These don't have bindings by default, but of course one is quite welcome to set them up in one's ~/.screenrc. Collapse looks useful, but we'll hold off on this for the time being. This is the sort of thing that could also make a good use case for Sadrul's scripting extensions. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIuBro7M8hyUobTrERAmzAAJwN31vVOcdaQSfcm/8dFQk+JwAUgwCfaUyE 2Td3cllWT4ilnJSg0qu+a90= =a4R/ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 2 21:33:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5C7EC7DBFD1 for ; Tue, 2 Sep 2008 21:33:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:57864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KahF4-0002dg-Oe for erik@plastic-idolatry.com; Tue, 02 Sep 2008 21:33:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KahEk-0002cD-7c for screen-users@gnu.org; Tue, 02 Sep 2008 21:32:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KahEi-0002aE-11 for screen-users@gnu.org; Tue, 02 Sep 2008 21:32:45 -0400 Received: from [199.232.76.173] (port=45114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KahEh-0002aB-Rw for screen-users@gnu.org; Tue, 02 Sep 2008 21:32:43 -0400 Received: from wa-out-1112.google.com ([209.85.146.183]:59433) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KahEh-0001wl-Bv for screen-users@gnu.org; Tue, 02 Sep 2008 21:32:43 -0400 Received: by wa-out-1112.google.com with SMTP id m34so1913507wag.10 for ; Tue, 02 Sep 2008 18:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=38Pb6wwj01tEWbq8p1jxZ+j0zOyGbDKwi/m1wOq2Ea0=; b=ohpG3fZqEu4FVzy9y5IS+tsRxCxaMgMCoPxQ3LG1D+144HynPcLDZ/TTmfNAje+/sr XJd91O5r9aLhpLegUaTYQkhz96SfcKpSqThE4hlc8t07l2n/bqbRWv5J8xu3Kv+XgOPP qv6KiaRd28F2K7okTfgb7aw2y119AWcyARkHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=H8G4zlCYWHRw57IAOP+kgqd2ukB5hVg2SzNIYRPo8GTs9GVYlxuTX8z7KQ9fAIHMry xKymQZgcyhl2Cx1Pq6fo+e0oo5smoD1NWFUPq3LqAV4rwihVZsNVU46k6AiFz6E2EgaQ x+CqBipzF9kpqTUpu9KvsEEN46REsYRR6jh5A= Received: by 10.114.15.1 with SMTP id 1mr7005924wao.184.1220405561518; Tue, 02 Sep 2008 18:32:41 -0700 (PDT) Received: by 10.114.53.14 with HTTP; Tue, 2 Sep 2008 18:32:40 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 09:32:40 +0800 From: "Aaron Davies" To: "Screen Users" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: resize a screen on creation? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 910 Lines: 20 this is trivial, but it's been bugging me for a while. when i add a bunch of screens at once from inside a running screen (using a shell loop or something) all but the first don't resize to match the terminal window until they're focused--when i first jump to them, if it's running a shell, the prompt will be positioned 24 lines from the bottom of the window, not at the top; if it's running a curses app, it will be sized for 24x80; etc. Also, my caption won't add any but the first new screen until I change screens again (or issue :redisplay). Any way around either of these? (i should mention i'm running screen 4.00.02, the stock version for SuSE 9.3, so if these are fixed in HEAD or something, that's cool too. :) -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Sep 3 13:35:00 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7CB167DC7CA for ; Wed, 3 Sep 2008 13:35:00 -0400 (EDT) Received: from localhost ([127.0.0.1]:44281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KawFo-0007vI-0g for erik@plastic-idolatry.com; Wed, 03 Sep 2008 13:34:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KawEF-0007Ca-5u for screen-users@gnu.org; Wed, 03 Sep 2008 13:33:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KawEE-0007AV-94 for screen-users@gnu.org; Wed, 03 Sep 2008 13:33:14 -0400 Received: from [199.232.76.173] (port=35919 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KawED-0007AA-OO for screen-users@gnu.org; Wed, 03 Sep 2008 13:33:13 -0400 Received: from rv-out-0708.google.com ([209.85.198.241]:17093) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KawED-0008Qw-7a for screen-users@gnu.org; Wed, 03 Sep 2008 13:33:13 -0400 Received: by rv-out-0708.google.com with SMTP id k29so2948002rvb.6 for ; Wed, 03 Sep 2008 10:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rtLyOtNBJXhRMYbeKJ6X6Vy6rlTim8M854sj0lhL3kQ=; b=lgXCLBiK0gjDDZhd4WOYKwcRJtJ2FyTN8L31Ma5Gd+OBdinl6I3XINUK820V8nJ2JK 5lgtlpljGToa/a0WHqLWBYBumxbVCdnE8yzO/Ans/7KawxEvbb0bcSvRgt0woy//mk+p Vty9lGDR6qgqi4CbsuhMrwFi37iY9Am7105dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QTFs0QIvY6ORzFSRnuV5WUDk5HAJbiRBD+jQDS+nLWRb6Hjcak7qdcX+DTBteveyj7 9A+CIR0VvhLTAZckFyVKFFdWg13J9eNJDwdmdKxqVqmoEHsvCL6TcPTO3v5mgCK+1Urs Mo9XXY3zNhX6oMy0KFYX7Mw09DeMahJQlevMg= Received: by 10.141.171.1 with SMTP id y1mr5060193rvo.252.1220463191579; Wed, 03 Sep 2008 10:33:11 -0700 (PDT) Received: by 10.141.153.19 with HTTP; Wed, 3 Sep 2008 10:33:11 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 13:33:11 -0400 From: "Andy Harrison" To: "Screen Users" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: resize a screen on creation? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1784 Lines: 61 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Sep 2, 2008 at 9:32 PM, Aaron Davies wrote: > this is trivial, but it's been bugging me for a while. when i add a > bunch of screens at once from inside a running screen (using a shell > loop or something) all but the first don't resize to match the > terminal window until they're focused--when i first jump to them, if > it's running a shell, the prompt will be positioned 24 lines from the > bottom of the window, not at the top; if it's running a curses app, it > will be sized for 24x80; etc. Also, my caption won't add any but the > first new screen until I change screens again (or issue :redisplay). > Any way around either of these? (i should mention i'm running screen > 4.00.02, the stock version for SuSE 9.3, so if these are fixed in HEAD > or something, that's cool too. :) If you have your COLUMNS and LINES environment variables populated, screen honors them. I tried this in my .tcshrc file (which would be much much simpler to express in your .bashrc file) and it seems to solve that annoyance just fine. set screen_size = ( `stty size` ) if ( ! $?LINES && ! $?COLUMNS ) then foreach element ( $screen_size ) if ( ! $?LINES ) then setenv LINES $element endif if ( ! $?COLUMNS ) then setenv COLUMNS $element endif end endif - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIvspXNTm8fWdRgmIRApMGAKCBlZ6Tf7noznRHYdzQmcFUffljpwCfdTxD 80XxC4mfSKFMMZcMUpaUPdU= =PCrX -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Sep 3 20:43:25 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 223A87E0C4C for ; Wed, 3 Sep 2008 20:43:23 -0400 (EDT) Received: from localhost ([127.0.0.1]:40198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb2wM-0003dg-4o for erik@plastic-idolatry.com; Wed, 03 Sep 2008 20:43:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kb2vx-0003XG-PC for screen-users@gnu.org; Wed, 03 Sep 2008 20:42:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kb2vw-0003Uf-Ku for screen-users@gnu.org; Wed, 03 Sep 2008 20:42:49 -0400 Received: from [199.232.76.173] (port=47407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb2vw-0003US-G7 for screen-users@gnu.org; Wed, 03 Sep 2008 20:42:48 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]:1962) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kb2vv-00036D-UR for screen-users@gnu.org; Wed, 03 Sep 2008 20:42:48 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3103020rvb.6 for ; Wed, 03 Sep 2008 17:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0dnO2CqMa6FRrCNIOWRw6Uw9sN/0UbwR0i74xsO1xbs=; b=sVU687cOWW5MHKq0vudgEjAILN0vTwHXXeVu0enEsMPYbFWi+4ZIeaCnnnhsuZuA+O Lvikmxkng9P7u0SlQaZL6/2bHLZuZeycEAMS6gqcQ13usYza7mO0A7YGpobxDWKOphBX TZiqAvwzvmez0EVk1sOBXsPJ5OgKAx8aocpRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NxRoGr2HJKkKDImHvLWfJNif5+nL3YOYCT4nWy+mgDfBRCP29xn1jyVUO3EInzceBN i/ahXH8Y7kzQHoKskHLP0vikgoDYH2+LNvCvDfyqQa5GRH7XEFuxQgUe4bQND/P1eFTY 5RFcn8PHmSALLzlAdRw20LXMF+avlj4KrzvUI= Received: by 10.141.53.4 with SMTP id f4mr5314801rvk.82.1220488966319; Wed, 03 Sep 2008 17:42:46 -0700 (PDT) Received: by 10.140.178.12 with HTTP; Wed, 3 Sep 2008 17:42:46 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 08:42:46 +0800 From: "Aaron Davies" To: "Screen Users" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: resize a screen on creation? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1984 Lines: 40 On Thu, Sep 4, 2008 at 1:33 AM, Andy Harrison wrote: > On Tue, Sep 2, 2008 at 9:32 PM, Aaron Davies wrote: >> this is trivial, but it's been bugging me for a while. when i add a >> bunch of screens at once from inside a running screen (using a shell >> loop or something) all but the first don't resize to match the >> terminal window until they're focused--when i first jump to them, if >> it's running a shell, the prompt will be positioned 24 lines from the >> bottom of the window, not at the top; if it's running a curses app, it >> will be sized for 24x80; etc. Also, my caption won't add any but the >> first new screen until I change screens again (or issue :redisplay). >> Any way around either of these? (i should mention i'm running screen >> 4.00.02, the stock version for SuSE 9.3, so if these are fixed in HEAD >> or something, that's cool too. :) > > If you have your COLUMNS and LINES environment variables populated, > screen honors them. > > I tried this in my .tcshrc file (which would be much much simpler to > express in your .bashrc file) and it seems to solve that annoyance > just fine. hmm. before i can see if that works for me, i think i need to solve a possibly related problem: my LINES and COLUMNS vars don't even make it into screen. i have `eval resize` near the end of my .bash_profile, which sets and exports them, so they should show up in any subprocess, right? i don't have any shell setting in my .screenrc, so screen should run non-login instances of my regular shell, i.e. bash w/the .bashrc executed, but not the .bash_profile. nonetheless, after login but before starting screen, i find that LINES and COLUMNS are set; after starting screen and checking from inside, i find that they're not. why are they not getting passed down? -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:25:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3E7B47DC776 for ; Thu, 4 Sep 2008 09:25:42 -0400 (EDT) Received: from localhost ([127.0.0.1]:46913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbEq2-0007o7-TI for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:25:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaXgw-0007NI-4M for screen-users@gnu.org; Tue, 02 Sep 2008 11:21:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaXgu-0007MA-Sj for screen-users@gnu.org; Tue, 02 Sep 2008 11:21:13 -0400 Received: from [199.232.76.173] (port=38554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaXgu-0007Lu-Fw for screen-users@gnu.org; Tue, 02 Sep 2008 11:21:12 -0400 Received: from web31813.mail.mud.yahoo.com ([68.142.207.76]:46943) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KaXgt-00084R-FG for screen-users@gnu.org; Tue, 02 Sep 2008 11:21:12 -0400 Received: (qmail 40478 invoked by uid 60001); 2 Sep 2008 15:21:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=AYx3HT74dje8OqgOpQ1nz664lYDge4HOG9K1qhNyJ9bGYo+CcfKkWBQFUTRFEwxC0wNHinCUWTOVriA5yVybzjgTvHkPYlWPLQTUwhGv1EqTMFZ+E2CzTOR1/4bu1SGPOVw2H7RxQwhRM2Kwk+YgjS1DUHvytHvpkFo45aWeFSo=; X-YMail-OSG: PYlBgyIVM1lNRVSnxNK4SQ75st0U0IQw6Op2Z2gxcNvPKQMd_OwNMWqeYaJAGa37M3RojnH5.md_BN9niFUb4zw8InMctPNsue4G5DkVgXeOCcfm5xSjD2xGzPTdEDKfdhDBAh0IJxJ4yl6mmxgifECE Received: from [201.14.100.26] by web31813.mail.mud.yahoo.com via HTTP; Tue, 02 Sep 2008 08:21:06 PDT X-Mailer: YahooMailRC/1096.29 YahooMailWebService/0.7.218.2 Date: Tue, 2 Sep 2008 08:21:06 -0700 (PDT) From: Cesar Inacio Martins To: screen-users@gnu.org MIME-Version: 1.0 Message-ID: <214031.39923.qm@web31813.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Thu, 04 Sep 2008 09:25:07 -0400 Subject: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1279010893==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 15771 Lines: 231 --===============1279010893== Content-Type: multipart/alternative; boundary="0-1630891515-1220368866=:39923" --0-1630891515-1220368866=:39923 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, =0A=0AI'm new with screen utils. I love it! =0AA few days I'm using= it over Linux machine without problems. =0ANow I trying install over a Sun= Solaris 10 (SPARC) and got a little problem.=0A=0AHere is the information = about the version:=0A=0A# screen --version=0AScreen version 4.00.02 (FAU) 5= -Dec-03=0A=0A# cat /etc/release=0A Solaris 10 8/07 s1= 0s_u4wos_12b SPARC=0A Copyright 2007 Sun Microsystems, Inc. All = Rights Reserved.=0A Use is subject to license terms.= =0A Assembled 16 August 2007=0A=0A# pkginfo -l S= FWscrn=0A PKGINST: SFWscrn=0A NAME: screen - A full-screen window = manager=0A CATEGORY: system=0A ARCH: sparc=0A VERSION: 4.0.2,REV= =3D2006.10.04.21.15=0A BASEDIR: /opt=0A VENDOR: http://www.gnu.org/s= oftware/screen/=0A DESC: screen - A full-screen window manager=0A = PSTAMP: freeware20061004212406=0A INSTDATE: ago 29 2008 14:37=0A HOTLI= NE: Please contact the owners of this software=0A STATUS: completely i= nstalled=0A FILES: 37 installed pathnames=0A 7 = shared pathnames=0A 10 directories=0A 1 = executables=0A 1915 blocks used (approx)=0A=0AWell , my prob= lem is with "shell" parameter on the ".screenrc".=0AI put the shell to work= with login shell "-" .=0Ashell - =0A=0AIn this sample, I using the user "c= martins":=0A> grep cmartins /etc/passwd=0Acmartins:x:198:106::/home/cmartin= s:/bin/bash=0A=0AOn my $HOME/.profile I add a command and this works fine w= hen I login on the system. But when screen are started , a weird syntax err= or occur. =0AThis is my profile:=0A> cat .profile=0A #=0A # Copyright= (c) 2001 by Sun Microsystems, Inc.=0A # All rights reserved.=0A #=0A= # ident "@(#)local.profile 1.10 01/06/23 SMI"=0A stty istrip= =0A PATH=3D/usr/bin:/usr/ucb:/etc:.=0A export PATH=0A vSO=3D$(unam= e)=0A=0AI just add the "vSO" variable.=0AWhen screen are started this messa= ge appear:=0A :screen (-): -=0A -: syntax error: `vSO=3D$' unexpected= =0A=0AIf I remove the ".screenrc" file and start screen with "-s -" paramet= er, the same error occur.=0A=0ABTW: I have the same commands of the profile= and .screenrc running on a linux =0Amachine without problems.=0A=0A=0A=0A = Novos endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email no= vo com a sua cara @ymail.com ou @rocketmail.com.=0Ahttp://br.new.mail.yahoo= .com/addresses --0-1630891515-1220368866=:39923 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I'm new with screen utils. I love it!
A few days = I'm using it over Linux machine without problems.
Now I trying install = over a Sun Solaris 10 (SPARC) and got a little problem.

Here is the = information about the version:

# screen --version

Screen v= ersion 4.00.02 (FAU) 5-Dec-03

# cat /etc/release
            &n= bsp;          Solaris 10 8/07 = s10s_u4wos_12b SPARC
       &n= bsp;   Copyright 2007 Sun Microsystems, Inc.  All Rights Res= erved.
         &nbs= p;            &= nbsp; Use is subject to license terms.
     = ;            &n= bsp;          Assembled 16 Aug= ust 2007

# pkginfo -l SFWscrn
   PKGINST:&nb= sp; SFWscrn
      NAME:  screen - A full-screen window manager
  CATEGORY:  system<= br style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;">=       ARCH:  sparc
   = VERSION:  4.0.2,REV=3D2006.10.04.21.15
   BASEDIR:=   /opt
    VENDOR: = http://www.gnu.org/software/screen/
    &nbs= p; DESC:  screen - A full-screen window manager
  =   PSTAMP:  freeware20061004212406
  INSTDATE: = ; ago 29 2008 14:37
   HOTLINE:  Please contact th= e owners of this software
    STATUS:  completely ins= talled
     FILES:    &nb= sp;  37 installed pathnames
     &n= bsp;            = ; 7 shared pathnames
     &n= bsp;            10 d= irectories
         =           1 executables=
            = ;    1915 blocks used (approx)

Well , my problem = is with "shell" parameter on the ".screenrc".
I put the shell to work wi= th login shell "-" .
shell -

In this sample, I using = the user "cmartins":
> grep cmartins /etc/passwd
cm= artins:x:198:106::/home/cmartins:/bin/bash

On my $HOME/.profile = I add a command and this works fine when I login on the system. But when sc= reen are started , a weird syntax error occur.
This is my profil= e:
> cat .profile
    #
&= nbsp;   # Copyright (c) 2001 by Sun Microsystems, Inc.
=     # All rights reserved.
    #

    # ident "@(#)local.profile   &nbs= p;  1.10    01/06/23 SMI"
    stty istri= p
    PATH=3D/usr/bin:/usr/ucb:/etc:.
&n= bsp;   export PATH
    vSO=3D$(uname)

I just add the "vSO" variable.
When screen are started this message app= ear:
    :screen (-): -
  &nbs= p; -: syntax error: `vSO=3D$' unexpected

If I remove the ".scree= nrc" file and start screen with "-s -" parameter, the same error occur.

BTW: I have the same commands of the profile and .screenrc running on = a linux
machine without problems.


=0A=0A=0A Novos endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.co= m. --0-1630891515-1220368866=:39923-- --===============1279010893== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1279010893==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:26:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2B6A77DC776 for ; Thu, 4 Sep 2008 09:26:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:47309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbEqo-0008Dy-Az for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:26:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaXqM-0001SL-RI for screen-users@gnu.org; Tue, 02 Sep 2008 11:30:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaXqM-0001S7-5n for screen-users@gnu.org; Tue, 02 Sep 2008 11:30:58 -0400 Received: from [199.232.76.173] (port=45365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaXqM-0001S4-2z for screen-users@gnu.org; Tue, 02 Sep 2008 11:30:58 -0400 Received: from web31811.mail.mud.yahoo.com ([68.142.207.74]:47807) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KaXqK-0001To-Or for screen-users@gnu.org; Tue, 02 Sep 2008 11:30:57 -0400 Received: (qmail 86290 invoked by uid 60001); 2 Sep 2008 15:30:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=C5Mqw4prYMSIILKBcK6+HpqIjMESJ8hLk2dauF3dJVGCgCdOlHI5k6zq1Hd46mqhIPHnDMF16NoyAXNni6Dly76nNQJpsgRE6nan7/563wfswdJsI5nIC9ohPpWiQ1KI+3DZKE7coQBHXAc0G/V822IpjaKVDGzY2XJXucHsLw4=; X-YMail-OSG: tfQAmDsVM1nQj5rxDctsE6Fb1DrXT9Ivw5L.5AdSdesbIcrxedXB5uyzE8D50XpGZ.s2utRrxNDSf8DfulaGYpV256VYvvzpR5cmCoI.LYR2AGTxvqMXqo_BrfVFkjy9Ag_jmL5LwdFUfUjNNKoOy.La Received: from [201.14.100.26] by web31811.mail.mud.yahoo.com via HTTP; Tue, 02 Sep 2008 08:30:52 PDT X-Mailer: YahooMailRC/1096.29 YahooMailWebService/0.7.218.2 Date: Tue, 2 Sep 2008 08:30:52 -0700 (PDT) From: cesarmartins_2004-linux@yahoo.com.br To: screen-users@gnu.org MIME-Version: 1.0 Message-ID: <859795.86052.qm@web31811.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Thu, 04 Sep 2008 09:25:07 -0400 Subject: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1626383494==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 16168 Lines: 235 --===============1626383494== Content-Type: multipart/alternative; boundary="0-960347715-1220369452=:86052" --0-960347715-1220369452=:86052 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, =0A=0A=0AI'm new with screen utils. I love it! =0AA few days I'm us= ing it over Linux machine without problems. =0ANow I trying install over a = Sun Solaris 10 (SPARC) and got a little problem.=0A=0AHere is the informati= on about the version:=0A=0A# screen --version=0AScreen version 4.00.02 (FAU= ) 5-Dec-03=0A=0A# cat /etc/release=0A Solaris 10 8/07= s10s_u4wos_12b SPARC=0A Copyright 2007 Sun Microsystems, Inc. A= ll Rights Reserved.=0A Use is subject to license ter= ms.=0A Assembled 16 August 2007=0A=0A# pkginfo -= l SFWscrn=0A PKGINST: SFWscrn=0A NAME: screen - A full-screen wind= ow manager=0A CATEGORY: system=0A ARCH: sparc=0A VERSION: 4.0.2,= REV=3D2006.10.04.21.15=0A BASEDIR: /opt=0A VENDOR: http://www.gnu.or= g/software/screen/=0A DESC: screen - A full-screen window manager=0A = PSTAMP: freeware20061004212406=0A INSTDATE: ago 29 2008 14:37=0A HO= TLINE: Please contact the owners of this software=0A STATUS: completel= y installed=0A FILES: 37 installed pathnames=0A = 7 shared pathnames=0A 10 directories=0A = 1 executables=0A 1915 blocks used (approx)=0A=0AWell , my p= roblem is with "shell" parameter on the ".screenrc".=0AI put the shell to w= ork with login shell "-" .=0Ashell - =0A=0AIn this sample, I using the user= "cmartins":=0A> grep cmartins /etc/passwd=0Acmartins:x:198:106::/home/cmar= tins:/bin/bash=0A=0AOn my $HOME/.profile I add a command and this works fin= e when I login on the system. But when screen are started , a weird syntax = error occur. =0AThis is my profile:=0A> cat .profile=0A #=0A # Copyri= ght (c) 2001 by Sun Microsystems, Inc.=0A # All rights reserved.=0A #= =0A # ident "@(#)local.profile 1.10 01/06/23 SMI"=0A stty ist= rip=0A PATH=3D/usr/bin:/usr/ucb:/etc:.=0A export PATH=0A vSO=3D$(u= name)=0A=0AI just add the "vSO" variable.=0AWhen screen are started this me= ssage appear:=0A :screen (-): -=0A -: syntax error: `vSO=3D$' unexpec= ted=0A=0AIf I remove the ".screenrc" file and start screen with "-s -" para= meter, the same error occur.=0A=0ABTW: I have the same commands of the prof= ile and .screenrc running on a linux =0Amachine without problems.=0A=0A=0A = Novos endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email no= vo com a sua cara @ymail.com ou @rocketmail.com.=0Ahttp://br.new.mail.yahoo= .com/addresses --0-960347715-1220369452=:86052 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi all,
<= br>I'm new with screen utils. I love it!
A few days I'm using it over L= inux machine without problems.
Now I trying install over a Sun Solaris = 10 (SPARC) and got a little problem.

Here is the information about t= he version:

# screen --version
Screen version 4.00.02 (FAU) 5-D= ec-03

# cat /etc/release
     = ;            &n= bsp;     Solaris 10 8/07 s10s_u4wos_12b SPARC           Copyright 200= 7 Sun Microsystems, Inc.  All Rights Reserved.
   &nb= sp;            =         Use is subject to license terms.=
          &nbs= p;            &= nbsp;    Assembled 16 August 2007

# pkginfo -l SF= Wscrn
   PKGINST:  S= FWscrn
      NAME:  screen - A=0A f= ull-screen window manager
  CATEGORY:  system      ARCH:  sparc
   VE= RSION:  4.0.2,REV=3D2006.10.04.21.15
   BASEDIR:&n= bsp; /opt
    VENDOR: = http://www.gnu.org/software/screen/
    &nbs= p; DESC:  screen - A full-screen window manager
  =   PSTAMP:  freeware20061004212406
  INSTDATE: = ; ago 29 2008 14:37
   HOTLINE:  Please contact th= e owners=0A of this software
    STATUS:  com= pletely installed
     FILES:  &nbs= p;    37 installed pathnames
   &nb= sp;            =    7 shared pathnames
     &n= bsp;            10 d= irectories
         =           1 executables=
            = ;    1915 blocks used (approx)

Well , my problem = is with=0A "shell" parameter on the ".screenrc".
I put the shell = to work with login shell "-" .
shell -

In this sample= , I using the user "cmartins":
> grep cmartins /etc/passwd
cm= artins:x:198:106::/home/cmartins:/bin/bash

On my $HOME/.profile = I add a command and this works fine when I login on the system. But when sc= reen are started , a weird syntax error occur.
This is my profil= e:
> cat .profile
    #
&= nbsp;   # Copyright (c) 2001 by Sun Microsystems, Inc.

=     # All rights reserved.
    #

    # ident "@(#)local.profile   &nbs= p;  1.10    01/06/23 SMI"
    stty istri= p
    PATH=3D/usr/bin:/usr/ucb:/etc:.
&n= bsp;   export PATH
    vSO=3D$(uname)


I just=0A add the "vSO" variable.
When screen are starte= d this message appear:
    :screen (-): -<= span style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;= ">    -: syntax error: `vSO=3D$' unexpected

If I= remove the ".screenrc" file and start screen with "-s -" parameter, the sa= me error occur.

BTW: I have the same commands of the profile and .screenrc running on = a linux
machine without problems.


=0A=0A=0A
Novos endere=C3=A7os, o Yahoo! que voc=C3= =AA conhece. Crie um email novo com a sua cara @ymai= l.com ou @rocketmail.com. --0-960347715-1220369452=:86052-- --===============1626383494== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1626383494==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:27:47 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,HTML_MESSAGE, MIME_HTML_MOSTLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7481A7DB67F for ; Thu, 4 Sep 2008 09:27:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:47725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbEs8-0000ZS-AD for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:27:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaYqN-0005de-Cb for screen-users@gnu.org; Tue, 02 Sep 2008 12:35:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaYqK-0005cB-Ix for screen-users@gnu.org; Tue, 02 Sep 2008 12:35:02 -0400 Received: from [199.232.76.173] (port=40834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaYqK-0005bv-7D for screen-users@gnu.org; Tue, 02 Sep 2008 12:35:00 -0400 Received: from web31806.mail.mud.yahoo.com ([68.142.207.69]:23043) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KaYqI-0003pc-6O for screen-users@gnu.org; Tue, 02 Sep 2008 12:34:59 -0400 Received: (qmail 52695 invoked by uid 60001); 2 Sep 2008 16:34:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=xU2eAEZYX7IXviBlS6LCOes+mZv3x1RLAhswIHaMMU9qgAr4RKws1FvLoXN9sshrAwl8UWewl1b/KxbGz5CFfAVscjiRTM1549zr/YCDW+agqVGydmgZy+bLxHLJpdnfsI5GOUGyxrFnuj0BOomcAjZvyryXtKCNsaihhrlt3IE=; X-YMail-OSG: A20hrL8VM1k1ormIknFbytm0gysGicGeivoEhQn8yHg9BuMb3sAnXS3wwLH8dC7hpZtuMnXH54rxyNsPMO4z1Sbm2XOJlyGzGh9IKpCMAjk8lnPmP.BGy.UCnlMHD03suBzNWJl6msiUmz7NmUCf2F_G Received: from [201.14.100.26] by web31806.mail.mud.yahoo.com via HTTP; Tue, 02 Sep 2008 09:34:55 PDT X-Mailer: YahooMailRC/1096.29 YahooMailWebService/0.7.218.2 Date: Tue, 2 Sep 2008 09:34:55 -0700 (PDT) From: cesarmartins_2004-linux@yahoo.com.br To: screen-users@gnu.org MIME-Version: 1.0 Message-ID: <449979.52654.qm@web31806.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Thu, 04 Sep 2008 09:25:07 -0400 Subject: Res: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1287834980==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 18969 Lines: 270 --===============1287834980== Content-Type: multipart/alternative; boundary="0-1185300945-1220373295=:52654" --0-1185300945-1220373295=:52654 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0AComplementing the previous message. =0AAfter some tests, I believed t= his is a Bug. =0AWhen executed with option "-s -" the "sh" shell are execut= ed , and not the shell on the /etc/passwd.=0A=0AAfter remove the ".screenrc= " I execute:=0A=0A SunOS cmartins:~> screen -s -=0A SunOS \u:\w> ps= =0A PID TTY TIME CMD=0A 6859 pts/5 0:00 ps=0A = 6852 pts/5 0:00 sh=0A SunOS \u:\w> echo $$=0A 6852=0A=0A=0A = =0A=0A=0A=0A=0A----- Mensagem original ----=0ADe: "cesarmartins_2004-linux@= yahoo.com.br" =0APara: screen-users@g= nu.org=0AEnviadas: Ter=C3=A7a-feira, 2 de Setembro de 2008 12:30:52=0AAssun= to: Solaris 10 - login shell error=0A=0A=0AHi all, =0A=0A=0AI'm new with sc= reen utils. I love it! =0AA few days I'm using it over Linux machine withou= t problems. =0ANow I trying install over a Sun Solaris 10 (SPARC) and got a= little problem.=0A=0AHere is the information about the version:=0A=0A# scr= een --version=0AScreen version 4.00.02 (FAU) 5-Dec-03=0A=0A# cat /etc/relea= se=0A Solaris 10 8/07 s10s_u4wos_12b SPARC=0A = Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.=0A = Use is subject to license terms.=0A = Assembled 16 August 2007=0A=0A# pkginfo -l SFWscrn=0A PKGINST: SFWscrn= =0A NAME: screen - A full-screen window manager=0A CATEGORY: system= =0A ARCH: sparc=0A VERSION: 4.0.2,REV=3D2006.10.04.21.15=0A BASE= DIR: /opt=0A VENDOR: http://www.gnu.org/software/screen/=0A DESC:= screen - A full-screen window manager=0A PSTAMP: freeware200610042124= 06=0A INSTDATE: ago 29 2008 14:37=0A HOTLINE: Please contact the owner= s of this software=0A STATUS: completely installed=0A FILES: = 37 installed pathnames=0A 7 shared pathnames=0A = 10 directories=0A 1 executables=0A = 1915 blocks used (approx)=0A=0AWell , my problem is with "shell" parameter= on the ".screenrc".=0AI put the shell to work with login shell "-" .=0Ashe= ll - =0A=0AIn this sample, I using the user "cmartins":=0A> grep cmartins /= etc/passwd=0Acmartins:x:198:106::/home/cmartins:/bin/bash=0A=0AOn my $HOME/= .profile I add a command and this works fine when I login on the system. Bu= t when screen are started , a weird syntax error occur. =0AThis is my profi= le:=0A> cat .profile=0A #=0A # Copyright (c) 2001 by Sun Microsystems= , Inc.=0A # All rights reserved.=0A #=0A # ident "@(#)local.profil= e 1.10 01/06/23 SMI"=0A stty istrip=0A PATH=3D/usr/bin:/usr/u= cb:/etc:.=0A export PATH=0A vSO=3D$(uname)=0A=0AI just add the "vSO" = variable.=0AWhen screen are started this message appear:=0A :screen (-):= -=0A -: syntax error: `vSO=3D$' unexpected=0A=0AIf I remove the ".scree= nrc" file and start screen with "-s -" parameter, the same error occur.=0A= =0ABTW: I have the same commands of the profile and .screenrc running on a = linux =0Amachine without problems.=0A=0A=0A________________________________= =0ANovos endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email novo= com a sua cara @ymail.com ou @rocketmail.com.=0A=0A=0A=0A Novos ender= e=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email novo com a sua car= a @ymail.com ou @rocketmail.com.=0Ahttp://br.new.mail.yahoo.com/addresses --0-1185300945-1220373295=:52654 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

C= omplementing the previous message.
After some tests, I believed this is= a Bug.
When executed with option "-s -" the "sh" shell are executed , = and not the shell on the /etc/passwd.

After remove the ".screenrc" I= execute:

    SunOS cmartins:~> screen -s -
&nb= sp;   SunOS \u:\w> ps
       PID T= TY         TIME CMD
  =     6859 pts/5       0:00 ps
      6852 pts/5     &n= bsp; 0:00 sh
    SunOS \u:\w> echo $$
  &= nbsp; 6852

 


-= ---- Mensagem original ----
De: "cesarmartins_2004-linux@yahoo.com.br" &= lt;cesarmartins_2004-linux@yahoo.com.br>
Para: screen-users@gnu.orgEnviadas: Ter=C3=A7a-feira, 2 de Setembro de 2008 12:30:52
Assunto: So= laris 10 - login shell error

<= div style=3D"font-family: times new roman,new york,times,serif; font-size: = 12pt;">Hi all,

I'm new = with screen utils. I love it!
A few days I'm using it over Linux machin= e without problems.=0A
Now I trying install over a Sun Solaris 10 (SPAR= C) and got a little problem.

Here is the information about the versi= on:

# screen --version

Screen version 4.00.02 (FAU) 5-Dec-= 03

# cat /etc/release
     &n= bsp;            = ;     Solaris 10 8/07 s10s_u4wos_12b SPARC
     = ;      Copyright 2007 Sun Microsystems, Inc. = All Rights Reserved.
       &= nbsp;           &nbs= p;    Use is subject to license terms.
  = ;            &n= bsp;            = ; Assembled 16 August 2007

# pkginfo -l SFWscrn<= br style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;">=    PKGINST:  SFWscrn
    &n= bsp; NAME:  screen - A=0A full-screen window manager
 = ; CATEGORY:  system
      ARCH:&nbs= p; sparc
   VERSION:  4.0.2,REV=3D2006.10.04.21.15=
   BASEDIR:  /opt
    VENDOR: = http://www.gnu.org/software/screen/
    &nbs= p; DESC:  screen - A full-screen window manager
  =   PSTAMP:  freeware20061004212406
  INSTDATE: = ; ago 29 2008 14:37
   HOTLINE:  Please contact th= e owners=0A of this software
    STATUS:  com= pletely installed
     FILES:  &nbs= p;    37 installed pathnames
   &nb= sp;            =    7 shared pathnames
     &n= bsp;            10 d= irectories
         =           1 executables=
            = ;    1915 blocks used (approx)

Well , my problem = is with=0A "shell" parameter on the ".screenrc".
I put the shell = to work with login shell "-" .
shell -

In this sample= , I using the user "cmartins":
> grep cmartins /etc/passwd
cm= artins:x:198:106::/home/cmartins:/bin/bash

On my $HOME/.profile = I add a command and this works fine when I login on the system. But when sc= reen are started , a weird syntax error occur.
This is my profil= e:
> cat .profile
    #
&= nbsp;   # Copyright (c) 2001 by Sun Microsystems, Inc.

=     # All rights reserved.
    #
    # ident "@(#)local.profile   &nbs= p;  1.10    01/06/23 SMI"
    stty istri= p
    PATH=3D/usr/bin:/usr/ucb:/etc:.
&n= bsp;   export PATH

    vSO=3D$(uname)

I just=0A add the "vSO" variable.
When screen are starte= d this message appear:
    :screen (-): -<= span style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;= ">    -: syntax error: `vSO=3D$' unexpected


If I= remove the ".screenrc" file and start screen with "-s -" parameter, the sa= me error occur.

BTW: I have the same commands of the profile and .screenrc running on = a linux
machine without problems.


=0A=0A=0A
Novos endere=C3=A7os, o Yahoo! que voc= =C3=AA conhece. Crie = um email novo com a sua cara @ymail.com ou @rocketmail.com.
=


=0A=0A=0A
Novos endere=C3= =A7os, o Yahoo! que voc=C3=AA conhece. Crie um email nov= o com a sua cara @ymail.com ou @rocketmail.com. --0-1185300945-1220373295=:52654-- --===============1287834980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1287834980==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:28:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 6DD727DC776 for ; Thu, 4 Sep 2008 09:28:41 -0400 (EDT) Received: from localhost ([127.0.0.1]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbEt1-0001ZM-ET for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:28:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kb62c-0001d6-Jd for screen-users@gnu.org; Thu, 04 Sep 2008 00:01:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kb62b-0001ci-0C for screen-users@gnu.org; Thu, 04 Sep 2008 00:01:54 -0400 Received: from [199.232.76.173] (port=60741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kb62a-0001cf-QB for screen-users@gnu.org; Thu, 04 Sep 2008 00:01:52 -0400 Received: from rv-out-0708.google.com ([209.85.198.251]:17309) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kb62a-0000KT-Pv for screen-users@gnu.org; Thu, 04 Sep 2008 00:01:52 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3179533rvb.6 for ; Wed, 03 Sep 2008 21:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=bEwPWdRrG6HOO6mubZzyJ0ZZOf63zFJTMASXlbct+wc=; b=xLO3u/vPi2BiRMMaFV1W9pAfJs4/cK7KvcLfHt5MspKPbbo0z8nW9uJ6fWgEdr3ZSN LseRyrjHUn4LygD9FfsfxrXZwzfT+cjXJwtV5+qKYCs1qGjSJ+FsM0wY/eGhO9iMYZSN 2/8e2KLTyYBS1ZQM/FiWRYOgbR4KiGaiHWDjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=JilWylL7bmTbYxuykOZO7P5ysjWTr1xCpWveOhPdb9tZSE+LdYFh2ga7i5ss4cqYJG SAllgZOUpiRsg9BUu6vmWrCMq03IQjGV1Y86THr/UA4cZbCWB7rHiQ+iUZ7oPbMTIzCU P1Tgc4UNlkDXad/Xf3V5Z4BaDrLysw7cSrbh8= Received: by 10.141.49.6 with SMTP id b6mr5392619rvk.89.1220500910506; Wed, 03 Sep 2008 21:01:50 -0700 (PDT) Received: from Xenia.local ( [61.9.142.180]) by mx.google.com with ESMTPS id l31sm16037487rvb.2.2008.09.03.21.01.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Sep 2008 21:01:49 -0700 (PDT) Message-ID: <48BF5DA6.4050607@gmail.com> Date: Thu, 04 Sep 2008 14:01:42 +1000 From: Rich Healey User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: screen-users@gnu.org X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 04 Sep 2008 09:25:07 -0400 Subject: Trunk Builds X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 658 Lines: 22 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Head just built and ran perfectly on OSX.. I'd been fighting with this on and off for sometime, but now I have my beloved Verticle Splits without resorting to ugly patches on the 4.0.2 tree. Thanks Guys! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAki/XaYACgkQLeTfO4yBSAc7gwCeOTrX+EfOjaS7QC5CHbpAe/HJ lRQAoLfEYmquEowbt/j4BYOK097OPZG6 =R/dm -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:31:10 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id ADF1A7DC776 for ; Thu, 4 Sep 2008 09:31:09 -0400 (EDT) Received: from localhost ([127.0.0.1]:37690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbEvN-0003dp-Gv for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:31:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaYpz-0005T1-JR for screen-users@gnu.org; Tue, 02 Sep 2008 12:34:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaYpt-0005Py-DW for screen-users@gnu.org; Tue, 02 Sep 2008 12:34:39 -0400 Received: from [199.232.76.173] (port=40827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaYpt-0005Pt-8T for screen-users@gnu.org; Tue, 02 Sep 2008 12:34:33 -0400 Received: from web31809.mail.mud.yahoo.com ([68.142.207.72]:36465) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KaYpq-0003mo-6a for screen-users@gnu.org; Tue, 02 Sep 2008 12:34:32 -0400 Received: (qmail 86538 invoked by uid 60001); 2 Sep 2008 16:34:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0Nhgykmo+JbYBqbQ03OYVMDmVJp+VUftFLSuh/7pqTJC7hJMADD5bdPYSLdYYGcFr4fI6Xn0PvDpHWWUqmk7Q7I3tczftaVCFzYlidnpTINsnEiTLWXa5D6lsDLgXdwQpliVtvL8MjfSJaCn5aSbrVbH4OUz26A0Hn9pf0qywwU=; X-YMail-OSG: rmWElX8VM1m63rJ_uW2PzPxLstaL8kPGvhhf8YF0J_c4V6CLNwgMGlnmdfcWGd4DXEVywHeko._j9U1QMctPkYxW3bTXqj_rclERNdfY2jtikvDzsCsxV2Y6TKHXUff1OAfMfeRsYJ.ijWLGObmcicSl Received: from [201.14.100.26] by web31809.mail.mud.yahoo.com via HTTP; Tue, 02 Sep 2008 09:34:19 PDT X-Mailer: YahooMailRC/1096.29 YahooMailWebService/0.7.218.2 Date: Tue, 2 Sep 2008 09:34:19 -0700 (PDT) From: Cesar Inacio Martins To: screen-users@gnu.org MIME-Version: 1.0 Message-ID: <959093.86110.qm@web31809.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Thu, 04 Sep 2008 09:25:07 -0400 Subject: Res: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0210134678==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 18646 Lines: 267 --===============0210134678== Content-Type: multipart/alternative; boundary="0-96972169-1220373259=:86110" --0-96972169-1220373259=:86110 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Complementing the previous message. =0AAfter some tests, I believed this is= a Bug. =0AWhen executed with option "-s -" the "sh" shell are executed , a= nd not the shell on the /etc/passwd.=0A=0AAfter remove the ".screenrc" I ex= ecute:=0A=0A SunOS cmartins:~> screen -s -=0A SunOS \u:\w> ps=0A = PID TTY TIME CMD=0A 6859 pts/5 0:00 ps=0A 6852 pt= s/5 0:00 sh=0A SunOS \u:\w> echo $$=0A 6852=0A=0A=0A =0A=0A=0A= =0A=0A----- Mensagem original ----=0ADe: "cesarmartins_2004-linux@yahoo.com= .br" =0APara: screen-users@gnu.org=0A= Enviadas: Ter=C3=A7a-feira, 2 de Setembro de 2008 12:30:52=0AAssunto: Solar= is 10 - login shell error=0A=0A=0AHi all, =0A=0A=0AI'm new with screen util= s. I love it! =0AA few days I'm using it over Linux machine without problem= s. =0ANow I trying install over a Sun Solaris 10 (SPARC) and got a little p= roblem.=0A=0AHere is the information about the version:=0A=0A# screen --ver= sion=0AScreen version 4.00.02 (FAU) 5-Dec-03=0A=0A# cat /etc/release=0A = Solaris 10 8/07 s10s_u4wos_12b SPARC=0A Copyri= ght 2007 Sun Microsystems, Inc. All Rights Reserved.=0A = Use is subject to license terms.=0A Assembl= ed 16 August 2007=0A=0A# pkginfo -l SFWscrn=0A PKGINST: SFWscrn=0A = NAME: screen - A full-screen window manager=0A CATEGORY: system=0A = ARCH: sparc=0A VERSION: 4.0.2,REV=3D2006.10.04.21.15=0A BASEDIR: /op= t=0A VENDOR: http://www.gnu.org/software/screen/=0A DESC: screen = - A full-screen window manager=0A PSTAMP: freeware20061004212406=0A IN= STDATE: ago 29 2008 14:37=0A HOTLINE: Please contact the owners of this= software=0A STATUS: completely installed=0A FILES: 37 instal= led pathnames=0A 7 shared pathnames=0A 1= 0 directories=0A 1 executables=0A 1915 blo= cks used (approx)=0A=0AWell , my problem is with "shell" parameter on the "= .screenrc".=0AI put the shell to work with login shell "-" .=0Ashell - =0A= =0AIn this sample, I using the user "cmartins":=0A> grep cmartins /etc/pass= wd=0Acmartins:x:198:106::/home/cmartins:/bin/bash=0A=0AOn my $HOME/.profile= I add a command and this works fine when I login on the system. But when s= creen are started , a weird syntax error occur. =0AThis is my profile:=0A> = cat .profile=0A #=0A # Copyright (c) 2001 by Sun Microsystems, Inc.= =0A # All rights reserved.=0A #=0A # ident "@(#)local.profile = 1.10 01/06/23 SMI"=0A stty istrip=0A PATH=3D/usr/bin:/usr/ucb:/et= c:.=0A export PATH=0A vSO=3D$(uname)=0A=0AI just add the "vSO" variab= le.=0AWhen screen are started this message appear:=0A :screen (-): -=0A = -: syntax error: `vSO=3D$' unexpected=0A=0AIf I remove the ".screenrc" f= ile and start screen with "-s -" parameter, the same error occur.=0A=0ABTW:= I have the same commands of the profile and .screenrc running on a linux = =0Amachine without problems.=0A=0A=0A________________________________=0ANov= os endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email novo com a= sua cara @ymail.com ou @rocketmail.com.=0A=0A=0A Novos endere=C3=A7os= , o Yahoo! que voc=C3=AA conhece. Crie um email novo com a sua cara @ymail.= com ou @rocketmail.com.=0Ahttp://br.new.mail.yahoo.com/addresses --0-96972169-1220373259=:86110 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Complementing the previous message.
After some = tests, I believed this is a Bug.
When executed with option "-s -" the "= sh" shell are executed , and not the shell on the /etc/passwd.

After= remove the ".screenrc" I execute:

    SunOS cmartins= :~> screen -s -
    SunOS \u:\w> ps
  =      PID TTY        = TIME CMD
      6859 pts/5    &n= bsp;  0:00 ps
      6852 pts/5   = ;    0:00 sh
    SunOS \u:\w> echo $$    6852

 


----- Mensagem original ----
De: "cesarmartins_2004-= linux@yahoo.com.br" <cesarmartins_2004-linux@yahoo.com.br>
Para: s= creen-users@gnu.org
Enviadas: Ter=C3=A7a-feira, 2 de Setembro de 2008 12= :30:52
Assunto: Solaris 10 - login shell error

Hi all,

I'm new with screen = utils. I love it!
A few days I'm using it over Linux machine without pr= oblems.
Now I trying install over a Sun Solaris 10 (SPARC) and got a little pr= oblem.

Here is the information about the version:

# screen --= version

Screen version 4.00.02 (FAU) 5-Dec-03

# cat /e= tc/release
         =             &nb= sp; Solaris 10 8/07 s10s_u4wos_12b SPARC
     = ;      Copyright 2007 Sun Microsystems, Inc. = All Rights Reserved.
       &= nbsp;           &nbs= p;    Use is subject to license terms.
  = ;            &n= bsp;            = ; Assembled 16 August 2007

# pkginfo -l SFWscrn<= br style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;">=    PKGINST:  SFWscrn
    &n= bsp; NAME:  screen - A=0A full-screen window manager
 = ; CATEGORY:  system
      ARCH:&nbs= p; sparc
   VERSION:  4.0.2,REV=3D2006.10.04.21.15=
   BASEDIR:  /opt
    VENDOR: = http://www.gnu.org/software/screen/
    &nbs= p; DESC:  screen - A full-screen window manager
  =   PSTAMP:  freeware20061004212406
  INSTDATE: = ; ago 29 2008 14:37
   HOTLINE:  Please contact th= e owners=0A of this software
    STATUS:  com= pletely installed
     FILES:  &nbs= p;    37 installed pathnames
   &nb= sp;            =    7 shared pathnames
     &n= bsp;            10 d= irectories
         =           1 executables=
            = ;    1915 blocks used (approx)

Well , my problem = is with=0A "shell" parameter on the ".screenrc".
I put the shell = to work with login shell "-" .
shell -

In this sample= , I using the user "cmartins":
> grep cmartins /etc/passwd
cm= artins:x:198:106::/home/cmartins:/bin/bash

On my $HOME/.profile = I add a command and this works fine when I login on the system. But when sc= reen are started , a weird syntax error occur.
This is my profil= e:
> cat .profile
    #
&= nbsp;   # Copyright (c) 2001 by Sun Microsystems, Inc.

=     # All rights reserved.
    #
    # ident "@(#)local.profile   &nbs= p;  1.10    01/06/23 SMI"
    stty istri= p
    PATH=3D/usr/bin:/usr/ucb:/etc:.
&n= bsp;   export PATH

    vSO=3D$(uname)

I just=0A add the "vSO" variable.
When screen are starte= d this message appear:
    :screen (-): -<= span style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif;= ">    -: syntax error: `vSO=3D$' unexpected


If I= remove the ".screenrc" file and start screen with "-s -" parameter, the sa= me error occur.

BTW: I have the same commands of the profile and .screenrc running on = a linux
machine without problems.


=0A=0A=0A
Novos endere=C3=A7os, o Yahoo! que voc= =C3=AA conhece. Crie = um email novo com a sua cara @ymail.com ou @rocketmail.com.
=

=0A=0A=0A
Novos endere=C3=A7os, o Yahoo! que vo= c=C3=AA conhece. Crie um email novo com a sua cara @= ymail.com ou @rocketmail.com. --0-96972169-1220373259=:86110-- --===============0210134678== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0210134678==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 09:48:07 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1C5327E0FE0 for ; Thu, 4 Sep 2008 09:48:07 -0400 (EDT) Received: from localhost ([127.0.0.1]:60252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFBo-0004go-NK for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:48:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbFBU-0004fz-6w for screen-users@gnu.org; Thu, 04 Sep 2008 09:47:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbFBS-0004fG-BO for screen-users@gnu.org; Thu, 04 Sep 2008 09:47:39 -0400 Received: from [199.232.76.173] (port=60701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFBS-0004f5-1e for screen-users@gnu.org; Thu, 04 Sep 2008 09:47:38 -0400 Received: from rv-out-0708.google.com ([209.85.198.248]:27392) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbFBR-0007G9-Ri for screen-users@gnu.org; Thu, 04 Sep 2008 09:47:38 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3390966rvb.6 for ; Thu, 04 Sep 2008 06:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bV0MotP0DVhvigJi/jcZWz+5GUQ7NWFMcTnXXULTfU4=; b=BZqea9SmUNFMZ8NpwLlTl6s5G+vQA3l2ofL5aRZb15Eyr2d6Ngj1Y5aNQ9uCw2bGU8 f3edhIXwgzHS2jWzl+zCy3GZOi8ceCu7du0uwM/B+BiiCtKFznfxSSvbghQhGcvdU1P2 0DvkYc4Y4ykRfPdwPCkLL4qZ1gUlyxlsSN5LU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=F4NtN5jKYnNllJ2Jn/Ly9eTmQwnlNPoaIo+ncbtL/plALZW0PVWy4tz+x3UkIE9ul+ GryCwTSc1krr7QMq2qnAhBsEUSkD5foqFtRX7VhjDC04sW92CFNEVDzF2UaSrUDUUfZ0 YhnjmOB/HIL+zLrwBDT/CFYWgv4tDmv5xc85U= Received: by 10.140.127.20 with SMTP id z20mr5709901rvc.77.1220536056520; Thu, 04 Sep 2008 06:47:36 -0700 (PDT) Received: by 10.141.153.19 with HTTP; Thu, 4 Sep 2008 06:47:36 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 09:47:36 -0400 From: "Andy Harrison" To: "Screen Users" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: resize a screen on creation? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1900 Lines: 52 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Sep 3, 2008 at 8:42 PM, Aaron Davies wrote: >> If you have your COLUMNS and LINES environment variables populated, >> screen honors them. >> >> I tried this in my .tcshrc file (which would be much much simpler to >> express in your .bashrc file) and it seems to solve that annoyance >> just fine. > > hmm. before i can see if that works for me, i think i need to solve a > possibly related problem: my LINES and COLUMNS vars don't even make it > into screen. i have `eval resize` near the end of my .bash_profile, > which sets and exports them, so they should show up in any subprocess, > right? i don't have any shell setting in my .screenrc, so screen > should run non-login instances of my regular shell, i.e. bash w/the > .bashrc executed, but not the .bash_profile. nonetheless, after login > but before starting screen, i find that LINES and COLUMNS are set; > after starting screen and checking from inside, i find that they're > not. why are they not getting passed down? Sorry, this important tidbit slipped my mind. It's not screen that honors COLUMNS and LINES, it's the shell itself. So you need to make sure the snippet of code that determines LINES and COLUMNS is in your shell's rc file on the remote host as well. I tested it to make sure and doing it this way works fine for me. I didn't test bash, just tcsh (including a very very old tcsh version 6.11.0 on one of my boxes) and the annoyance vanishes. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIv+b5NTm8fWdRgmIRAuwSAKCobDjk8ShqsifVSwd2aSd87AvA5gCfZkFA zMIeJn4J5P/L7h8y7eT2bPg= =L1b+ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 10:00:05 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D2D737E0A85 for ; Thu, 4 Sep 2008 10:00:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:43385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFNN-0006Z3-HZ for erik@plastic-idolatry.com; Thu, 04 Sep 2008 09:59:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbFMV-0005sp-G9 for screen-users@gnu.org; Thu, 04 Sep 2008 09:59:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbFMT-0005qI-DD for screen-users@gnu.org; Thu, 04 Sep 2008 09:59:02 -0400 Received: from [199.232.76.173] (port=35241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFMT-0005q0-3L for screen-users@gnu.org; Thu, 04 Sep 2008 09:59:01 -0400 Received: from rv-out-0708.google.com ([209.85.198.249]:25743) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbFMS-0000WJ-TO for screen-users@gnu.org; Thu, 04 Sep 2008 09:59:01 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3395170rvb.6 for ; Thu, 04 Sep 2008 06:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vCtaCVj2SaWRzDAbtbwab7g5amE3qoOhLfZX+7uvbmg=; b=JH9WDDsfnJ4z158T9mr+WdiXrz9TCTJ01SRV+H1AstmMiTo18EBss8zXTETIg5KYtj Xt0bo8vX7AMn9mJav8YJ+O6zPaDkgECSapCU0A2wROLCXeDYbaeDo2wLdkHcMeRNYxdM 4MxMfsJ4zozjUyhm9SelLlEMaMp6t5V87H8VE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=x2O3QTDIExf7pUOLm11AwsvCGTCDqfw6NYRJD0Bl+DBQkozR5+P4F7VIUs8lSmcKwS GEG/ufgQ7ZX6OWHUQMlQNf4FSlvABnSf1jZyHnf5WtRw33uazHYK9exsxAhW4OwiJeOu mUAMyVJWPgaWIHK+bS/IU7yMzSWU5sz2MTWlM= Received: by 10.141.97.5 with SMTP id z5mr5694541rvl.197.1220536739770; Thu, 04 Sep 2008 06:58:59 -0700 (PDT) Received: by 10.141.153.19 with HTTP; Thu, 4 Sep 2008 06:58:59 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 09:58:59 -0400 From: "Andy Harrison" To: "Screen Users" In-Reply-To: <449979.52654.qm@web31806.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <449979.52654.qm@web31806.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1181 Lines: 54 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Sep 2, 2008 at 12:34 PM, wrote: > > Complementing the previous message. > After some tests, I believed this is a Bug. > When executed with option "-s -" the "sh" shell are executed , and not the > shell on the /etc/passwd. > > After remove the ".screenrc" I execute: > > SunOS cmartins:~> screen -s - > SunOS \u:\w> ps > PID TTY TIME CMD > 6859 pts/5 0:00 ps > 6852 pts/5 0:00 sh > SunOS \u:\w> echo $$ > 6852 > I don't believe it's a bug. If you consult the manpage, it says: * If the command begins with a '-' character, the shell will * be started as a login-shell. So you've got the preceding '-' character, but no command following it. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIv+mkNTm8fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+ /7Tm2UGoqydWqacjH5U1l1U= =yLI6 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 11:29:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 48DC47DAF30 for ; Thu, 4 Sep 2008 11:29:41 -0400 (EDT) Received: from localhost ([127.0.0.1]:45382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbGm4-0003KM-FQ for erik@plastic-idolatry.com; Thu, 04 Sep 2008 11:29:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbGOM-0008KT-BZ for screen-users@gnu.org; Thu, 04 Sep 2008 11:05:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbGOK-0008J5-2s for screen-users@gnu.org; Thu, 04 Sep 2008 11:05:01 -0400 Received: from [199.232.76.173] (port=40874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbGOJ-0008Io-BL for screen-users@gnu.org; Thu, 04 Sep 2008 11:04:59 -0400 Received: from wf-out-1314.google.com ([209.85.200.173]:13016) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbGOI-0002iw-Kl for screen-users@gnu.org; Thu, 04 Sep 2008 11:04:58 -0400 Received: by wf-out-1314.google.com with SMTP id 28so4318442wfc.24 for ; Thu, 04 Sep 2008 08:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=obWl58/IWaEeDT3juHiN+AvNe+7yVpKb/AUiwYqWKxU=; b=mkqODbl/fdLx+zwKYAcZGpZ2KGfqXtm4mAMwM+eRNuAGzqXe3wIk7tBsO8XQpojD/a zCj3no5gTSgkrydfSOXGz8Xtp8DaJ+pYZfZ8N3gLJGg54+xZSVc4ag4etrF/QK/HGylv cXdviMlTVgg+T9UyniAWCmBWOt8vWOs6p92ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=xvE5+9bekP/3LH0pCFDDwDc9kZ1OBkXv9cmcP11j2E3DsTZgM+nTdRwuVkgcwvarOS BEIYv2/ZZZnUmeeOQtq5MxEtHiFegUQf0rXchSOYQ9cpaV1BU+fDtUEgP88UMUdKimXL WOZ5rQJQcecKtL1OKFNtr26opraAeFTG8TaBU= Received: by 10.143.42.3 with SMTP id u3mr3589384wfj.148.1220540696502; Thu, 04 Sep 2008 08:04:56 -0700 (PDT) Received: by 10.142.13.4 with HTTP; Thu, 4 Sep 2008 08:04:56 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 11:04:56 -0400 From: "Tom Scogland" To: "Andy Harrison" In-Reply-To: MIME-Version: 1.0 References: <449979.52654.qm@web31806.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Screen Users Subject: Re: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1415454221==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4926 Lines: 160 --===============1415454221== Content-Type: multipart/alternative; boundary="----=_Part_29376_22970393.1220540696497" ------=_Part_29376_22970393.1220540696497 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Perhaps 'shell -$SHELL' would be more what you're after? On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On Tue, Sep 2, 2008 at 12:34 PM, wrote: > > > > Complementing the previous message. > > After some tests, I believed this is a Bug. > > When executed with option "-s -" the "sh" shell are executed , and not > the > > shell on the /etc/passwd. > > > > After remove the ".screenrc" I execute: > > > > SunOS cmartins:~> screen -s - > > SunOS \u:\w> ps > > PID TTY TIME CMD > > 6859 pts/5 0:00 ps > > 6852 pts/5 0:00 sh > > SunOS \u:\w> echo $$ > > 6852 > > > > > > I don't believe it's a bug. If you consult the manpage, it says: > > * If the command begins with a '-' character, the shell will > * be started as a login-shell. > > > So you've got the preceding '-' character, but no command > following it. > > > - -- > Andy Harrison > public key: 0x67518262 > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: http://getfiregpg.org > > iD8DBQFIv+mkNTm8fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+ > /7Tm2UGoqydWqacjH5U1l1U= > =yLI6 > -----END PGP SIGNATURE----- > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_29376_22970393.1220540696497 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Perhaps 'shell -$SHELL' would be more what you're after?

On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison <aharrison@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tue, Sep 2, 2008 at 12:34 PM,   wrote:
>
> Complementing the previous message.
> After some tests, I believed this is a Bug.
> When executed with option "-s -" the "sh" shell are executed , and not the
> shell on the /etc/passwd.
>
> After remove the ".screenrc" I execute:
>
>     SunOS cmartins:~> screen -s -
>     SunOS \u:\w> ps
>        PID TTY         TIME CMD
>       6859 pts/5       0:00 ps
>       6852 pts/5       0:00 sh
>     SunOS \u:\w> echo $$
>     6852
>



I don't believe it's a bug. If you consult the manpage, it says:

  * If the command begins with a '-' character, the shell will
  * be started as a login-shell.


So you've got the preceding '-' character, but no command
following it.


- --
Andy Harrison
public key: 0x67518262


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIv+mkNTm8fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+
/7Tm2UGoqydWqacjH5U1l1U=
=yLI6
-----END PGP SIGNATURE-----


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users



--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_29376_22970393.1220540696497-- --===============1415454221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1415454221==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 11:38:42 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B12957DA293 for ; Thu, 4 Sep 2008 11:38:42 -0400 (EDT) Received: from localhost ([127.0.0.1]:40503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbGuq-0001ja-L0 for erik@plastic-idolatry.com; Thu, 04 Sep 2008 11:38:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbGuU-0001hy-RE for screen-users@gnu.org; Thu, 04 Sep 2008 11:38:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbGuT-0001fe-MG for screen-users@gnu.org; Thu, 04 Sep 2008 11:38:14 -0400 Received: from [199.232.76.173] (port=37464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbGuT-0001fW-GR for screen-users@gnu.org; Thu, 04 Sep 2008 11:38:13 -0400 Received: from web31812.mail.mud.yahoo.com ([68.142.207.75]:27788) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KbGqM-0007X7-JA for screen-users@gnu.org; Thu, 04 Sep 2008 11:33:59 -0400 Received: (qmail 65313 invoked by uid 60001); 4 Sep 2008 15:33:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=e75NnYYjuUs8z/gdLzx3nPQkCYX0JtmKFXsfYWL74lYcOUaKXjjjFhKMsJafgMgCHpPB34lKJcwkkLd0rjUxNxd3gfCT9mGNWs3NZlv289O4LJUfYamxWTCJ9TII6QzgITgAP7vgQmCjmSKbjSN9QIWKqOVKy/7y0EE7INlCX28=; X-YMail-OSG: EH1Vk8QVM1kF5dEGGaFn7Hh67ZsrTLmzA4JpibRLmZFzRWXjEdKdqW_Pogm3ZGpT3Utvyvx_3GVFAM86BPT.XaXZXbyr._vWoqdk_3IEmcM4y9ISkdi34ADT8VazF_w7eFjLQ02TcT6kjM9Db37IgSXY Received: from [201.14.100.26] by web31812.mail.mud.yahoo.com via HTTP; Thu, 04 Sep 2008 08:33:53 PDT X-Mailer: YahooMailRC/1096.29 YahooMailWebService/0.7.218.2 Date: Thu, 4 Sep 2008 08:33:53 -0700 (PDT) From: cesarmartins_2004-linux@yahoo.com.br To: Tom Scogland MIME-Version: 1.0 Message-ID: <199262.64436.qm@web31812.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Res: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2056185727==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 6847 Lines: 109 --===============2056185727== Content-Type: multipart/alternative; boundary="0-1822990755-1220542433=:64436" --0-1822990755-1220542433=:64436 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hummm... thanks! this way works fine!!=0A=0AThanks again!=0A=0A =0A=0A=0A--= --- Mensagem original ----=0ADe: Tom Scogland =0APara: An= dy Harrison =0ACc: Screen Users = =0AEnviadas: Quinta-feira, 4 de Setembro de 2008 12:04:56=0AAssunto: Re: So= laris 10 - login shell error=0A=0A=0APerhaps 'shell -$SHELL' would be more = what you're after?=0A=0A=0AOn Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison wrote:=0A=0A-----BEGIN PGP SIGNED MESSAGE-----=0AHash: = SHA1=0A=0A=0A=0A=0AOn Tue, Sep 2, 2008 at 12:34 PM, wrote:=0A>=0A> Comple= menting the previous message.=0A> After some tests, I believed this is a Bu= g.=0A> When executed with option "-s -" the "sh" shell are executed , and n= ot the=0A> shell on the /etc/passwd.=0A>=0A> After remove the ".screenrc" I= execute:=0A>=0A> SunOS cmartins:~> screen -s -=0A> SunOS \u:\w> ps= =0A> PID TTY TIME CMD=0A> 6859 pts/5 0:00 ps=0A>= 6852 pts/5 0:00 sh=0A> SunOS \u:\w> echo $$=0A> 6852= =0A>=0A=0A=0A=0AI don't believe it's a bug. If you consult the manpage, it = says:=0A=0A * If the command begins with a '-' character, the shell will= =0A * be started as a login-shell.=0A=0A=0ASo you've got the preceding '-'= character, but no command=0Afollowing it.=0A=0A=0A- --=0AAndy Harrison=0Ap= ublic key: 0x67518262=0A=0A=0A-----BEGIN PGP SIGNATURE-----=0AVersion: GnuP= G v1.4.5 (GNU/Linux)=0AComment: http://getfiregpg.org=0A=0AiD8DBQFIv+mkNTm8= fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+=0A/7Tm2UGoqydWqacjH5U1l1U= =3D=0A=3DyLI6=0A-----END PGP SIGNATURE-----=0A=0A=0A_______________________= ________________________=0Ascreen-users mailing list=0Ascreen-users@gnu.org= =0Ahttp://lists.gnu.org/mailman/listinfo/screen-users=0A=0A=0A=0A-- =0A-N= =0AAKA:Tom Scogland=0AI am enough of an artist to draw freely upon my imagi= nation. Imagination is more important than knowledge. Knowledge is limited.= Imagination encircles the world.=0A-Albert Einstein=0A=0A=0A=0A Novos= endere=C3=A7os, o Yahoo! que voc=C3=AA conhece. Crie um email novo com a s= ua cara @ymail.com ou @rocketmail.com.=0Ahttp://br.new.mail.yahoo.com/addre= sses --0-1822990755-1220542433=:64436 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hummm... thanks! this way works fine!!

Thank= s again!
 

----- Mensagem = original ----
De: Tom Scogland <njustn@gmail.com>
Para: Andy Ha= rrison <aharrison@gmail.com>
Cc: Screen Users <screen-users@gnu= .org>
Enviadas: Quinta-feira, 4 de Setembro de 2008 12:04:56
Assun= to: Re: Solaris 10 - login shell error

Perhaps 'she= ll -$SHELL' would be more what you're after?

On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison <aharrison@gmail.com> wro= te:
=0A
-----BE= GIN PGP SIGNED MESSAGE-----
=0AHash: SHA1
=0A
=0A
=0A
=0AOn Tue, Sep 2, 2008 at 12:34 PM,   wrote:
=0A>= ;
=0A> Complementing the previous message.
=0A> After some test= s, I believed this is a Bug.
=0A> When executed with option "-s -" th= e "sh" shell are executed , and not the
=0A> shell on the /etc/passwd= .
=0A>
=0A> After remove the ".screenrc" I execute:
=0A><= br>=0A>     SunOS cmartins:~> screen -s -
=0A>  =   SunOS \u:\w> ps
=0A>        PID TTY &n= bsp;       TIME CMD
=0A>       6859 pts= /5       0:00 ps
=0A>       6852 pts/5 =       0:00 sh
=0A>     SunOS \u:\w> echo = $$
=0A>     6852
=0A>
=0A
=0A
=0A
=0AI don't believe it's a bug. If you consult the manpage, it says:
=0A=0A   * If the command begins with a '-' character, the shell will=0A   * be started as a login-shell.
=0A
=0A
=0ASo you've g= ot the preceding '-' character, but no command
=0Afollowing it.
=0A=0A
=0A- --
=0AAndy Harrison
=0Apublic key: 0x67518262
=0A=0A
=0A-----BEGIN PGP SIGNATURE-----
=0AVersion: GnuPG v1.4.5 (GNU/L= inux)
=0AComment: http://getfiregpg.org
=0A
=0AiD8DBQFIv+mkNTm8fWdRg= mIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+
=0A/7Tm2UGoqydWqacjH5U1l1U= =3D
=0A=3DyLI6
=0A-----END PGP SIGNATURE-----
=0A
=0A
=0A___= ____________________________________________
=0Ascreen-users mailing lis= t
=0Ascreen-users@gnu.org=0Ahttp://lists.gnu.org/mailman/listinfo/screen-us= ers
=0A



--
-N
AKA= :Tom Scogland
I am enough of an artist to draw freely upon my imaginatio= n. Imagination is more important than knowledge. Knowledge is limited. Imag= ination encircles the world.
=0A-Albert Einstein
=0A
=0A

=0A=0A=0A
Novos endere=C3=A7os, o Yah= oo! que voc=C3=AA conhece. Crie um email novo com a = sua cara @ymail.com ou @rocketmail.com. --0-1822990755-1220542433=:64436-- --===============2056185727== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============2056185727==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 12:32:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 09E0D7D9464 for ; Thu, 4 Sep 2008 12:32:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:55074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHkh-0002gk-SS for erik@plastic-idolatry.com; Thu, 04 Sep 2008 12:32:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbHkJ-0002eh-Mq for screen-users@gnu.org; Thu, 04 Sep 2008 12:31:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbHkH-0002dr-LT for screen-users@gnu.org; Thu, 04 Sep 2008 12:31:46 -0400 Received: from [199.232.76.173] (port=37473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHkH-0002dk-Cd for screen-users@gnu.org; Thu, 04 Sep 2008 12:31:45 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbHkH-0002Rv-7V for screen-users@gnu.org; Thu, 04 Sep 2008 12:31:45 -0400 Received: from [10.0.0.5] (adsl-76-247-109-113.dsl.pltn13.sbcglobal.net [76.247.109.113]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 4761F3C8C066; Thu, 4 Sep 2008 09:31:42 -0700 (PDT) Message-ID: <48C00D6D.7050300@cowan.name> Date: Thu, 04 Sep 2008 09:31:41 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: cesarmartins_2004-linux@yahoo.com.br References: <449979.52654.qm@web31806.mail.mud.yahoo.com> In-Reply-To: <449979.52654.qm@web31806.mail.mud.yahoo.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Res: Solaris 10 - login shell error X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1459 Lines: 47 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 cesarmartins_2004-linux@yahoo.com.br wrote: > > Complementing the previous message. If you write a followup to a previous message, please do so by using the "Reply" button of your mailer; this keeps the messages together in one thread. Also, are you aware that both of your messages were sent twice? > After some tests, I believed this is a Bug. > When executed with option "-s -" the "sh" shell are executed , and not > the shell on the /etc/passwd. > > After remove the ".screenrc" I execute: > > SunOS cmartins:~> screen -s - "-" is not the name of the shell, which is what -s (and the "shell" screenrc command) expects. I'm somewhat surprised it works at all, but I'm guessing screen just falls back to /bin/sh when the supplied shell isn't valid (personally, I'd prefer a failure with a message). If you want a login version of, say, ksh, then supply "ksh -". - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwA1t7M8hyUobTrERAphYAJ4j7sjj2uWwgcMpGfPOyqJDb56TXwCdHzVn K5knx8H/2wUj8Nqoql2lGP4= =h3xp -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 4 12:33:35 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D5EF17DD716 for ; Thu, 4 Sep 2008 12:33:35 -0400 (EDT) Received: from localhost ([127.0.0.1]:54477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHlx-0003HK-W0 for erik@plastic-idolatry.com; Thu, 04 Sep 2008 12:33:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbHla-0003Fm-Sj for screen-users@gnu.org; Thu, 04 Sep 2008 12:33:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbHlZ-0003Es-4L for screen-users@gnu.org; Thu, 04 Sep 2008 12:33:06 -0400 Received: from [199.232.76.173] (port=37525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHlY-0003Em-TK for screen-users@gnu.org; Thu, 04 Sep 2008 12:33:04 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbHlY-0002i8-KI for screen-users@gnu.org; Thu, 04 Sep 2008 12:33:04 -0400 Received: from [10.0.0.5] (adsl-76-247-109-113.dsl.pltn13.sbcglobal.net [76.247.109.113]) by mabruk.micah.cowan.name (Postfix) with ESMTP id E94633C8C218; Thu, 4 Sep 2008 09:33:02 -0700 (PDT) Message-ID: <48C00DBD.9010100@cowan.name> Date: Thu, 04 Sep 2008 09:33:01 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Rich Healey References: <48BF5DA6.4050607@gmail.com> In-Reply-To: <48BF5DA6.4050607@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Trunk Builds X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 819 Lines: 29 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rich Healey wrote: > Head just built and ran perfectly on OSX.. I'd been fighting with this > on and off for sometime, but now I have my beloved Verticle Splits > without resorting to ugly patches on the 4.0.2 tree. Glad to hear it! :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwA297M8hyUobTrERAlw7AJ0bxO+tJTwUTI6iezphM4WNlwyHfwCfSmHH 85YjEOY6JG7Rl8gFf0RiOs0= =9Usa -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Sep 5 01:34:14 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BD67F73E489 for ; Fri, 5 Sep 2008 01:34:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:56646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbTxQ-0004Lw-4y for erik@plastic-idolatry.com; Fri, 05 Sep 2008 01:34:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbTwz-0004Ll-N4 for screen-users@gnu.org; Fri, 05 Sep 2008 01:33:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbTwx-0004LZ-TC for screen-users@gnu.org; Fri, 05 Sep 2008 01:33:40 -0400 Received: from [199.232.76.173] (port=43804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbTwx-0004LW-M5 for screen-users@gnu.org; Fri, 05 Sep 2008 01:33:39 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:48278) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbTwx-0006jF-D6 for screen-users@gnu.org; Fri, 05 Sep 2008 01:33:39 -0400 Received: by rv-out-0708.google.com with SMTP id k29so323718rvb.6 for ; Thu, 04 Sep 2008 22:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=39dcX8koLu9bgluHsnt6J26piuN98gGwza7epHGklZ0=; b=wXTD/xNYi0QJ1UeeUMWuBwOunbBEF7vShwY7ZqyV4SszINqHFwZLD1M33DKRGd7hW+ JbAasQHaUB+xVOOb6IzMEpqBo/ci1zyyyycH7bLRUC2cQP1r455+zYlqBh6LIqWKo15H uyyZOzPDaLOCcTFmASy7aqCE9pZ/mpeOnVBJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=adkitgMHtwEa0RmKLP8Lc/BPzBgQ2zq39sacYuRMc0yRD+y6rnPEsk4Q+P1ZYL1inE KNJ9ERygl3agFDDUvHcb5BToVrhVgC7kn7VjgF0gkKjdqQftSSE/tMiI6IOPHRy/+chD mP8M6CURo5oBYwNDSkyHT2mJEfrcfUa8mnU3M= Received: by 10.140.203.9 with SMTP id a9mr6291149rvg.288.1220592817408; Thu, 04 Sep 2008 22:33:37 -0700 (PDT) Received: by 10.140.178.12 with HTTP; Thu, 4 Sep 2008 22:33:37 -0700 (PDT) Message-ID: Date: Fri, 5 Sep 2008 13:33:37 +0800 From: "Aaron Davies" To: "Screen Users" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: branching in screenrc? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 951 Lines: 21 any support for any "if" branching in screenrc's? i two windows boxes using a common (network-based) homedir, and i want screen to start two completely different sets of ssh sessions depending on which box it's executed on. i suppose i can allias screen to "screen -c .screenrc.`hostname` or something, but a.) that's clumsy and b.) it doesn't easily handle any common settings between the two. hmm. can screenrc's include other files? can it be read from stdin? ("screen -c -" or "screen -c /dev/stdin" or something?) then i could say "cat .screenrc .screenrc.`hostname` | screen -c -". or maybe there's some other way to just do the actual variant part (create various screens)--execute a shell script or something, and let that handle the branching. thoughts? -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Sep 5 01:38:46 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8F27677114D for ; Fri, 5 Sep 2008 01:38:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:34382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbU1o-00089o-GP for erik@plastic-idolatry.com; Fri, 05 Sep 2008 01:38:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbU16-00086T-DI for screen-users@gnu.org; Fri, 05 Sep 2008 01:37:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbU14-00084v-Un for screen-users@gnu.org; Fri, 05 Sep 2008 01:37:55 -0400 Received: from [199.232.76.173] (port=45815 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbU14-00084S-Ga for screen-users@gnu.org; Fri, 05 Sep 2008 01:37:54 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]:23137) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbU14-0007JD-1Q for screen-users@gnu.org; Fri, 05 Sep 2008 01:37:54 -0400 Received: by wf-out-1314.google.com with SMTP id 28so297755wfc.24 for ; Thu, 04 Sep 2008 22:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=JUg4NoqwugqGHcaiuLd5YSQ9HfxDudXmvwFEdqR4at4=; b=EGh5QNW69oiZ1v7ma66dHhMbfVYIQvjGrtGX+qyffX063pT17ivwMcOIzTJB/xeJPx Xb7Cz6XIHJ65Sv/NWkWo0HK4AlUNAwVeIjYN0UvAcFIJV4TeXUUlCCjFpUQbteHbxh/u 3YEswgvt7627065Go1n0h4GJJiAq8HCjqV7uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lvfFxU4kvKiCkvybW5eRQ+GSvSTBClzq/esLiB4XnEHx9m/DOPJRAfBTo/0+p+FJOg novLxK3X2HUdm0N6ubNNixADYmYCAD8JoiW8Qde1v1Z5DCA++oJHuZoN81suCKVz+UJ0 PXgjXP7DPYHaUUoFYvVot2e3iCrRukg5LP5NA= Received: by 10.142.200.20 with SMTP id x20mr3895653wff.108.1220593072918; Thu, 04 Sep 2008 22:37:52 -0700 (PDT) Received: by 10.142.13.4 with HTTP; Thu, 4 Sep 2008 22:37:52 -0700 (PDT) Message-ID: Date: Fri, 5 Sep 2008 01:37:52 -0400 From: "Tom Scogland" To: "Aaron Davies" In-Reply-To: MIME-Version: 1.0 References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: Screen Users Subject: Re: branching in screenrc? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1367671292==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 4153 Lines: 95 --===============1367671292== Content-Type: multipart/alternative; boundary="----=_Part_38774_11581452.1220593072905" ------=_Part_38774_11581452.1220593072905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Including is how I do this, in fact the following is from my screenrc. source ${HOME}/.screenrc-${TERM} On Fri, Sep 5, 2008 at 1:33 AM, Aaron Davies wrote: > any support for any "if" branching in screenrc's? i two windows boxes > using a common (network-based) homedir, and i want screen to start two > completely different sets of ssh sessions depending on which box it's > executed on. i suppose i can allias screen to "screen -c > .screenrc.`hostname` or something, but a.) that's clumsy and b.) it > doesn't easily handle any common settings between the two. hmm. can > screenrc's include other files? can it be read from stdin? ("screen -c > -" or "screen -c /dev/stdin" or something?) then i could say "cat > .screenrc .screenrc.`hostname` | screen -c -". or maybe there's some > other way to just do the actual variant part (create various > screens)--execute a shell script or something, and let that handle the > branching. thoughts? > -- > Aaron Davies > aaron.davies@gmail.com > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_38774_11581452.1220593072905 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Including is how I do this, in fact the following is from my screenrc.

source ${HOME}/.screenrc-${TERM}

On Fri, Sep 5, 2008 at 1:33 AM, Aaron Davies <aaron.davies@gmail.com> wrote:
any support for any "if" branching in screenrc's? i two windows boxes
using a common (network-based) homedir, and i want screen to start two
completely different sets of ssh sessions depending on which box it's
executed on. i suppose i can allias screen to "screen -c
.screenrc.`hostname` or something, but a.) that's clumsy and b.) it
doesn't easily handle any common settings between the two. hmm. can
screenrc's include other files? can it be read from stdin? ("screen -c
-" or "screen -c /dev/stdin" or something?) then i could say "cat
.screenrc .screenrc.`hostname` | screen -c -". or maybe there's some
other way to just do the actual variant part (create various
screens)--execute a shell script or something, and let that handle the
branching. thoughts?
--
Aaron Davies
aaron.davies@gmail.com


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users



--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein
------=_Part_38774_11581452.1220593072905-- --===============1367671292== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1367671292==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 7 10:01:19 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 59A607DB0FC for ; Sun, 7 Sep 2008 10:01:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:58029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcKpC-0003Ru-RE for erik@plastic-idolatry.com; Sun, 07 Sep 2008 10:01:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbbiQ-0000cI-P9 for screen-users@gnu.org; Fri, 05 Sep 2008 09:51:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbbiL-0000Tx-PL for screen-users@gnu.org; Fri, 05 Sep 2008 09:51:10 -0400 Received: from [199.232.76.173] (port=49420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbiL-0000Tq-MN for screen-users@gnu.org; Fri, 05 Sep 2008 09:51:05 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]:38199) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbbiL-00027m-9L for screen-users@gnu.org; Fri, 05 Sep 2008 09:51:06 -0400 Received: by wf-out-1314.google.com with SMTP id 28so455275wfc.24 for ; Fri, 05 Sep 2008 06:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-pgp-agent:x-mailer; bh=zOY1CP34gfkFeHp35e4DyKb2ACeQko5ef/lwzHhU7vU=; b=LgBPZap+i5+Jh5d6c31lOnMzHwLscTSOe+zkKJFn3kFPfGGgsLKCKaAPKpNLPPX3BV 0Ven0CquGuo7D4NwpQe2jgMWn7m8Ht6NGxVVeY8S7rS29Rx1DV17x9H1bPObNkuWgjsP RiPLokw0kZb1J500G0ye3WgIo5p/urhNoxikg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-pgp-agent:x-mailer; b=Nu31fpO1ZIFbUJ7XXhSOutDQaumeBTlWps8RTg8gsq0dvsrNT8ApnSV1h5agTG8O0K qlEIi/sNaJNWBweGqRJ8uxzOOWZ0hY6MgvfEwveihasLe1hp/xOO5AffmGuMBJicZGIG AJ2g0d2B+YaC6w66aoqiN5JfOlzrmbEl5N1zQ= Received: by 10.142.142.14 with SMTP id p14mr4065509wfd.139.1220622658087; Fri, 05 Sep 2008 06:50:58 -0700 (PDT) Received: from ?192.168.1.65? ( [220.233.244.95]) by mx.google.com with ESMTPS id 9sm315126wfc.19.2008.09.05.06.50.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Sep 2008 06:50:57 -0700 (PDT) Message-Id: From: David Marsh To: screen-users@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 5 Sep 2008 23:50:52 +1000 X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.928.1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 07 Sep 2008 10:00:51 -0400 Subject: Recreate windows when reattaching to session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1766 Lines: 65 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Is there a way to recreate windows that were previously closed when reattaching to a session? Example: I have vi in 0 and emacs in 1, created from .screenrc like this: ~~~~ screen -t vi 0 vi screen -t emacs 1 emacs ~~~~ If I quit vi (:wq) and window 0 closes, then I detach with a C-a d, is there a way when I reattach using "screen -D -RR" to recreate the missing vi window? Ideally the command would be this "screen -D -RR -t vi 0 vi" which would put vi back in window 0 only if there wasn't already a window 0. Unfortunately that command only reconnects to the detached session and does not recreate window 0. I could use ":screen -t vi 0 vi" from inside the screen session, but this will be for end users and I don't want them spawning new windows, they have to be locked down to two only (eg vi, emacs). This also rules out using C-a c. I'll also attach a shell script is being run from the .profile, it might give you an idea of where I've gone so far: ~~~~ #!/bin/bash if screen -ls | grep -q "No Sockets" ; then #check we aren't already running screen screen -dm #start in detached mode, allows us to use -p below fi case $1 in vi) screen -D -RR -p 0;; emacs) screen -D -RR -p 1;; *) echo "usage: $0 [vi|emacs]" esac exit ~~~~ Thanks for any help of suggestions you'd be able to provide. I'm stumped with this. - -Dave -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjBOT0ACgkQRTj13dyLvnr9+gCfSvC44cktA8jjRoPEc2gu+5fv PLAAnipjABjgkUoeA9LTKgW6nsS6YXdK =xIGz -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 7 10:02:04 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 761177D8D66 for ; Sun, 7 Sep 2008 10:02:02 -0400 (EDT) Received: from localhost ([127.0.0.1]:58431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcKpw-0003lH-Ba for erik@plastic-idolatry.com; Sun, 07 Sep 2008 10:01:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc54c-0008Tx-Ha for screen-users@gnu.org; Sat, 06 Sep 2008 17:12:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc54X-0008T1-5F for screen-users@gnu.org; Sat, 06 Sep 2008 17:12:02 -0400 Received: from [199.232.76.173] (port=59116 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc54W-0008Sy-Vd for screen-users@gnu.org; Sat, 06 Sep 2008 17:11:57 -0400 Received: from wf-out-1314.google.com ([209.85.200.170]:50656) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kc54W-0000bv-4O for screen-users@gnu.org; Sat, 06 Sep 2008 17:11:57 -0400 Received: by wf-out-1314.google.com with SMTP id 28so981601wfc.24 for ; Sat, 06 Sep 2008 14:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-pgp-agent:x-mailer; bh=PlzAsYyXi+fKELgdKWVjV6nxV9G/0va5S1KIviRqu7s=; b=Fp/xfGrw4zlWe6w2xHSBHMoOH4X7KkKc1MwsnGSQO0EFqTmHhKHzXUJ4GEJ2Xq77zc wHLv8+2aiJXXcVtmZ/7kMBQi20nwTmLnkb5JlslkBH9ZXqI3cpHq/enZ5LqCNg+yaKUi 4bj/3zurvcf69xxYKv7JlPvpy9ZbkzdLO7NGw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-pgp-agent:x-mailer; b=HX08qqX3/dZXC9HgvIMikUolpYGWqbI0y2SxdGdpS0K4hn4csWI7zaZFYVRlqYq0xo 41HUJc9kKZlP8rV1eRuDKvlkYXuqnEFI+I9RH0iclQeoTkPYg3NLN/IUzSnTxUtCVnqM /6Gfq/OWK6f1wvevgETF1EpHy6n81sflTyhZE= Received: by 10.142.229.5 with SMTP id b5mr4612857wfh.50.1220735510369; Sat, 06 Sep 2008 14:11:50 -0700 (PDT) Received: from ?192.168.1.65? ( [220.233.244.95]) by mx.google.com with ESMTPS id 30sm2802829wfd.1.2008.09.06.14.11.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 06 Sep 2008 14:11:49 -0700 (PDT) Message-Id: <7FB4F41C-A283-46E4-9B0B-94463A67B439@gmail.com> From: David Marsh To: screen-users@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Sun, 7 Sep 2008 07:11:39 +1000 X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.928.1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 07 Sep 2008 10:00:51 -0400 Subject: Recreate windows when reattaching to session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1767 Lines: 64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Is there a way to recreate windows that were previously closed when reattaching to a session? Example: I have vi in 0 and emacs in 1, created from .screenrc like this: ~~~~ screen -t vi 0 vi screen -t emacs 1 emacs ~~~~ If I quit vi (:wq) and window 0 closes, then I detach with a C-a d, is there a way when I reattach using "screen -D -RR" to recreate the missing vi window? Ideally the command would be this "screen -D -RR -t vi 0 vi" which would put vi back in window 0 only if there wasn't already a window 0. Unfortunately that command only reconnects to the detached session and does not recreate window 0. I could use ":screen -t vi 0 vi" from inside the screen session, but this will be for end users and I don't want them spawning new windows, they have to be locked down to two only (eg vi, emacs). This also rules out using C-a c. I'll also attach a shell script is being run from the .profile, it might give you an idea of where I've gone so far: ~~~~ #!/bin/bash if screen -ls | grep -q "No Sockets" ; then #check we aren't already running screen screen -dm #start in detached mode, allows us to use -p below fi case $1 in vi) screen -D -RR -p 0;; emacs) screen -D -RR -p 1;; *) echo "usage: $0 [vi|emacs]" esac exit ~~~~ Thanks for any help of suggestions you'd be able to provide. I'm stumped with this. - - -Dave -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjC8gsACgkQRTj13dyLvnq9cACdHHpTr9dE9PoSo2t9BW81zNFI okgAnjVkHDKEpjvMJllCxyg2pCRKwHxJ =65G+ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Sep 11 14:55:31 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BF2267E8C18 for ; Thu, 11 Sep 2008 14:55:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:57541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdrK5-0006xT-Av for erik@plastic-idolatry.com; Thu, 11 Sep 2008 14:55:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdrJe-0006uH-RS for screen-users@gnu.org; Thu, 11 Sep 2008 14:54:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdrJe-0006sa-0s for screen-users@gnu.org; Thu, 11 Sep 2008 14:54:54 -0400 Received: from [199.232.76.173] (port=47214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdrJd-0006sL-O0 for screen-users@gnu.org; Thu, 11 Sep 2008 14:54:53 -0400 Received: from ss47.shared.server-system.net ([64.207.182.3]:45669) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdrJd-0001DR-Ly for screen-users@gnu.org; Thu, 11 Sep 2008 14:54:53 -0400 Received: from gaia (adsl-70-132-12-207.dsl.snfc21.sbcglobal.net [70.132.12.207]) (authenticated bits=0) by ss47.shared.server-system.net (8.12.11.20060308/8.12.11) with ESMTP id m8BIsm5k013380 for ; Thu, 11 Sep 2008 11:54:48 -0700 Received: by gaia (Postfix, from userid 1000) id 6DF2413FAD9; Thu, 11 Sep 2008 18:54:42 +0000 (UTC) Date: Thu, 11 Sep 2008 11:54:42 -0700 From: John Magolske To: screen-users@gnu.org Message-ID: <20080911185441.GA4824@mail.b79.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-kernel: by monty-python.gnu.org: Linux 2.4 in cluster Subject: directly acessing the Linux framebuffer console X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1651 Lines: 55 I'm using Screen in a Linux framebuffer console. To view images I'm using fbi, but it requires direct access to the framebuffer console, and cannot run within a Screen psuedo tty. So I use openvt in a script like so: #!/bin/sh sudo openvt -sw -- fbi -e --autodown $1 sudo deallocvt Or for viewing videos: #!/bin/sh sudo openvt -sw -- mplayer -really-quiet -vo fbdev -fs $1 sudo deallocvt openvt seems to require being run as root in order to switch to a VT from within Screen, so I put this in /etc/sudoers : username ALL=NOPASSWD: /usr/bin/openvt This has the effect of running fbi or mplayer as root, which doesn't seem optimal. Is there a way around running openvt as root? Alternatively, I can do this manually: C-A :detach % fbi imagefile.jpg && screen -d -r Is there a way to script this sequence? It's not as smooth as using openvt in some ways (the detach/re-attach seems to cause some of the contents in Screen's tty's to 'blink' when coming back to them), but it could also be handy for something like using ctheme to change the color theme of the VT Screen is running in. There's also fim [http://www.autistici.org/dezperado/FIM.html] an image viewer that does work within Screen. So that's a way around fbi's limitations. But for other uses (w3m w/images, mplayer, ctheme) I'd like to better understand how to access the framebuffer console from within screen. TIA for any suggestions, John -- John Magolske http://B79.net/contact _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Sep 13 09:08:34 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B21617F0423 for ; Sat, 13 Sep 2008 09:08:34 -0400 (EDT) Received: from localhost ([127.0.0.1]:39404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeUrQ-0002zL-Aq for erik@plastic-idolatry.com; Sat, 13 Sep 2008 09:08:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kd7ae-0001bZ-PE for screen-users@gnu.org; Tue, 09 Sep 2008 14:05:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kd7ab-0001Yt-Hx for screen-users@gnu.org; Tue, 09 Sep 2008 14:05:23 -0400 Received: from [199.232.76.173] (port=39506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd7ab-0001Yn-En for screen-users@gnu.org; Tue, 09 Sep 2008 14:05:21 -0400 Received: from web34805.mail.mud.yahoo.com ([209.191.68.169]:23793) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kd7ab-0001YQ-Gx for screen-users@gnu.org; Tue, 09 Sep 2008 14:05:21 -0400 Received: (qmail 80979 invoked by uid 60001); 9 Sep 2008 18:05:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=wIMLZWZeFi+VyzZF49egw7gQQ4AeWGG+jshGqg/2mlK8tOPCvhSnJXFnXyD4vl+ncdQ8DEU7pGPp9Rw0Haj2jrEh9vmmvJIzmz6W2jLVH/RTAjCshNVg4A+MpXu2lCa/+6RSg0JgBESmWU9YXy8RIY5k2bwfSaKq41GZJQivBHo=; X-YMail-OSG: ruJb_E4VM1nN2JSfwQUg1iQxNIVlJGjFZs7LN3brMb6tDIati.gB6RoerdOF85ct6wdjLIvkvROyY8xOSFYVm0OntSJfj1D3EdT3lUhCfNKIsQbKIaJMZqAtbSUiJPXhRJU- Received: from [129.219.110.112] by web34805.mail.mud.yahoo.com via HTTP; Tue, 09 Sep 2008 11:05:19 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 9 Sep 2008 11:05:19 -0700 (PDT) From: Ken Johnson To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <530750.80704.qm@web34805.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Sat, 13 Sep 2008 09:07:59 -0400 Subject: Editing the paste buffer X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: othojunk@yahoo.com List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 282 Lines: 12 Is there a way to edit the paste buffer inside of screen (without using buffer files) before pasting it to a window? Thanks _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 09:34:00 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EAE057F4FDE for ; Sun, 21 Sep 2008 09:33:59 -0400 (EDT) Received: from localhost ([127.0.0.1]:53019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhP4S-0004BV-8l for erik@plastic-idolatry.com; Sun, 21 Sep 2008 09:33:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgL4i-0003n7-R3 for screen-users@gnu.org; Thu, 18 Sep 2008 11:05:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgL4h-0003mv-57 for screen-users@gnu.org; Thu, 18 Sep 2008 11:05:43 -0400 Received: from [199.232.76.173] (port=56893 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgL4g-0003ms-Vo for screen-users@gnu.org; Thu, 18 Sep 2008 11:05:43 -0400 Received: from smtp-vbr13.xs4all.nl ([194.109.24.33]:4258) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KgL4g-0005Tt-E2 for screen-users@gnu.org; Thu, 18 Sep 2008 11:05:42 -0400 Received: from [192.168.9.212] (eljakimit.xs4all.nl [80.100.178.156]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m8IF5d9o073857 for ; Thu, 18 Sep 2008 17:05:39 +0200 (CEST) (envelope-from jtaal@eljakim.nl) Message-ID: <48D26E43.4090700@eljakim.nl> Date: Thu, 18 Sep 2008 17:05:39 +0200 From: Jaap Taal User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: screen-users@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-Mailman-Approved-At: Sun, 21 Sep 2008 09:33:32 -0400 Subject: sockname in hardstatus X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 833 Lines: 27 I'm looking on the net for a method to print the sockname/sessionname in the hardstatus. I've only found some messages from 2003 that say this would be nice to have => directed to wishlist. I was trying the following workaround: screenrc: backtick 84 0 0 /home/jtaal/bin/screen_sockname hardstatus string "%84` ..." and the following bashscript in screen_sockname #!/bin/sh echo $STY Executing the command inside a screen session works like a charm, but it doesn't show anything in the hardstatus. If I echo another environment variable all goes well. Is the backtick command executed with the original enviroment instead of the environment a shell inside screen would have? _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 09:34:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2C2F67E2282 for ; Sun, 21 Sep 2008 09:34:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:53420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhP5C-0004dJ-CB for erik@plastic-idolatry.com; Sun, 21 Sep 2008 09:34:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgLcb-0007Xj-51 for screen-users@gnu.org; Thu, 18 Sep 2008 11:40:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgLcZ-0007WO-Ix for screen-users@gnu.org; Thu, 18 Sep 2008 11:40:44 -0400 Received: from [199.232.76.173] (port=42153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgLcZ-0007W9-DS for screen-users@gnu.org; Thu, 18 Sep 2008 11:40:43 -0400 Received: from web55201.mail.re4.yahoo.com ([206.190.58.165]:21515) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KgLcZ-0002Sk-2p for screen-users@gnu.org; Thu, 18 Sep 2008 11:40:43 -0400 Received: (qmail 65839 invoked by uid 60001); 18 Sep 2008 15:40:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=mV9tkdF4nSlbBkkz6I2VHO349SNmzGnOjfVjrBOaqLawEszbEe+pugfnLH0QOCRzA99OQlAguqqTGCcPHuGbIIrHRjHoCghK1GnjoLHX3Jyv+bgDUpJ+HW1yyanc/pkdfStUq7Soqfrx3mqdMiu4v5+AT+GwvTDz7krqkD11VFU=; X-YMail-OSG: pJp56ysVM1mRyod_ICZjufWA6Q_Ne2MTmATGhJGZAScbgLu40gJBeQMX5p4tr7ucugXr6XNqBK6wHEOoNHXtZWYBOy1r_AWSpGOO2qL9hGKXjh.s1ZUQJ0ARNloBzDUmlDw93YkJ7oAe_vyI7MVQdSbbt4.dLA-- Received: from [216.10.193.24] by web55201.mail.re4.yahoo.com via HTTP; Thu, 18 Sep 2008 08:40:42 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Thu, 18 Sep 2008 08:40:42 -0700 (PDT) From: menxit@yahoo.com To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <552706.65820.qm@web55201.mail.re4.yahoo.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Sun, 21 Sep 2008 09:33:32 -0400 Subject: Vertical splits on Fedora 9 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: menxit@yahoo.com List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 626 Lines: 18 Hi, I=E2=80=99ve tried to compile the code from git with no luck. I was wonder= ing if anybody knows of where I can find a binary or RPM that would support= vertical splits on Fedora 9. also when I get vertical splits working how do I setup screen so it would a= utomatically open up 3 by 3 regions already split . I hope to use screen to= monitor persistence testing where each region is monitoring a different pr= ocess or machine. thanks in advance -Mike=0A=0A=0A _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 09:35:31 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A0DBA7E452F for ; Sun, 21 Sep 2008 09:35:31 -0400 (EDT) Received: from localhost ([127.0.0.1]:53827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhP5w-00052o-Na for erik@plastic-idolatry.com; Sun, 21 Sep 2008 09:35:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgkAz-0008Cl-QL for screen-users@gnu.org; Fri, 19 Sep 2008 13:53:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgkAz-0008CZ-2h for screen-users@gnu.org; Fri, 19 Sep 2008 13:53:53 -0400 Received: from [199.232.76.173] (port=37268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgkAy-0008CW-PP for screen-users@gnu.org; Fri, 19 Sep 2008 13:53:52 -0400 Received: from xmnp015.utc.com ([159.82.164.203]:52563) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgkAy-0002Ti-ML for screen-users@gnu.org; Fri, 19 Sep 2008 13:53:52 -0400 Received: from uusnws09.utc.com (uusnws09.utc.com [159.82.105.23]) by xmnp015.utc.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id m8JHrgn1015868 for ; Fri, 19 Sep 2008 13:53:45 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by uusnws09.utc.com (postfix) with ESMTP id F16DDE0776 for ; Fri, 19 Sep 2008 13:53:44 -0400 (EDT) Received: from uusnwa1u.utc.com (uusnwa1u.utc.com [159.82.82.46]) by uusnws09.utc.com (postfix) with ESMTP for ; Fri, 19 Sep 2008 13:53:43 -0400 (EDT) Received: from uusnwa1u.utc.com (localhost [127.0.0.1]) by uusnwa1u.utc.com (Switch-3.1.9/Switch-3.1.0) with ESMTP id m8JHrgbK002231 for ; Fri, 19 Sep 2008 13:53:42 -0400 (EDT) Received: from uusnwg04.na.utcmail.com (uusnwg04.na.utcmail.com [159.82.90.218]) by uusnwa1u.utc.com (Switch-3.1.9/Switch-3.1.0) with ESMTP id m8JHrg1J002227 for ; Fri, 19 Sep 2008 13:53:42 -0400 (EDT) Received: from UUSNWEH4.na.utcmail.com ([159.82.106.7]) by uusnwg04.na.utcmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Sep 2008 13:53:42 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 19 Sep 2008 13:53:42 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question on compiling screen on Solaris 10 Thread-Index: AckagKdEpVwDk2oGSuemm3EjaAy6FA== From: "Yi, William CSC" To: X-OriginalArrivalTime: 19 Sep 2008 17:53:42.0609 (UTC) FILETIME=[A78F4410:01C91A80] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 21 Sep 2008 09:33:32 -0400 Subject: Question on compiling screen on Solaris 10 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0091850923==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2435 Lines: 95 This is a multi-part message in MIME format. --===============0091850923== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C91A80.A7240606" This is a multi-part message in MIME format. ------_=_NextPart_001_01C91A80.A7240606 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi; When I compile screen I got this message, do you have any idea what it is? gcc -c -I. -I/opt/screen-4.0.3 -g -O2 misc.c misc.c: In function `xsetenv': misc.c:619: error: too few arguments to function `setenv' *** Error code 1 make: Fatal error: Command failed for target `misc.o' William P. Yi (Bill) Email: wyi@sikorsky.com / wyi@csc.com ------_=_NextPart_001_01C91A80.A7240606 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Question on compiling screen on Solaris 10

Hi;

When I compile screen I got this = message, do you have any idea what it is?

gcc -c -I. = -I/opt/screen-4.0.3    -g -O2 misc.c
misc.c: In function `xsetenv':
misc.c:619: error: too few arguments = to function `setenv'
*** Error code 1
make: Fatal error: Command failed for = target `misc.o'

William P. = Yi (Bill)
Email: = wyi@sikorsky.com / wyi@csc.com


------_=_NextPart_001_01C91A80.A7240606-- --===============0091850923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0091850923==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 09:36:14 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3B0527E6EF3 for ; Sun, 21 Sep 2008 09:36:14 -0400 (EDT) Received: from localhost ([127.0.0.1]:54227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhP6d-0005Sd-Cp for erik@plastic-idolatry.com; Sun, 21 Sep 2008 09:36:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhCtf-0006ab-7T for screen-users@gnu.org; Sat, 20 Sep 2008 20:33:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhCte-0006aP-6b for screen-users@gnu.org; Sat, 20 Sep 2008 20:33:54 -0400 Received: from [199.232.76.173] (port=48813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhCte-0006aM-3e for screen-users@gnu.org; Sat, 20 Sep 2008 20:33:54 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]:56974) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhCtd-0001Nc-Oc for screen-users@gnu.org; Sat, 20 Sep 2008 20:33:53 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1410510wfc.24 for ; Sat, 20 Sep 2008 17:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=YINoCkEzacB1OtL1xZrdAQYPqc2DxORkccDHHsy/how=; b=kA+N7mPM0NnEyV+wB5nGlfkgSlSkDzfngr2fBT3qztEETLsV+h93iQJzWlmN4Fr1Qi gWxjO5EgJj3thIIlMVji46crv5EmGYtNu7z+hvWTRHpuz4FEv4mRyM6FP+j1YCLXe5/m VjkqQ7cB+xvNBsMnNcl86C1xmKLP0iOBdz4jo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=xLltxrqPdKAmFUl4TlV6X8ijNhFyUsxues1HPmmRNre1pDSXIP9jm8f3pQw4Vu0hQj m//8rJ6oWkHu/dkWfstixbE4UhbXNWyQ9rNZFGfoLniqWRPRcry5mpLwf+ADhxcVYJmi Kd5xjwZWmWdkNIVcZgL+gnQkYCieS2osFS42c= Received: by 10.142.128.6 with SMTP id a6mr719416wfd.236.1221957232141; Sat, 20 Sep 2008 17:33:52 -0700 (PDT) Received: by 10.142.110.1 with HTTP; Sat, 20 Sep 2008 17:33:52 -0700 (PDT) Message-ID: <5992e17f0809201733hf579428rbdf2f63928ba3221@mail.gmail.com> Date: Sat, 20 Sep 2008 21:33:52 -0300 From: "Kazuo Teramoto" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sun, 21 Sep 2008 09:33:32 -0400 Subject: Open a window relative to the current X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1441807661==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1013 Lines: 28 --===============1441807661== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SGVsbG8hCgpJIGxvb2tlZCBvbiB0aGUgZ2l0IHJlcG8gYW5kIGZvdW5kIGEgY29tbWl0IHdpdGgg cmVsYXRpdmUgYXJndW1lbnRzIHRvCjpudW1iZXIgKDVlOTdmNmI3MjU4NmFmODBkZWU5MjM5NmJi N2U3OTU5MDJiNTkyMDApIG5vdyBJIGxpa2UgdG8gYXNrCmlmIGlzIHBvc3NpYmxlIHRvIG9wZW4g YSBuZXcgd2luZG93IChsaWtlICdzY3JlZW4gdmltIC56c2hyYycpCnJlbGF0aXZlIHRvIHRoZSBj dXJyZW50PyBJcyB0aGlzIHBvc3NpYmxlIG5vdyBvciBpcyBhIGZlYXR1cmUgcmVxdWVzdD8KClRo YW5rcyEKCkthenVvIFRlcmFtb3RvCgotLSAKwqtEYW5zIGxhIHZpZSwgcmllbiBuJ2VzdCDDoCBj cmFpbmRyZSwgdG91dCBlc3Qgw6AgY29tcHJlbmRyZcK7Ck1hcmllIFNrbG9kb3dza2EgQ3VyaWUu Cg== --===============1441807661== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1441807661==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 12:10:40 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 161047F163C for ; Sun, 21 Sep 2008 12:10:39 -0400 (EDT) Received: from localhost ([127.0.0.1]:48567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhRW1-0005Ka-EE for erik@plastic-idolatry.com; Sun, 21 Sep 2008 12:10:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhRV3-0005BZ-6k for screen-users@gnu.org; Sun, 21 Sep 2008 12:09:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhRV1-00059r-Ch for screen-users@gnu.org; Sun, 21 Sep 2008 12:09:28 -0400 Received: from [199.232.76.173] (port=42418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhRV1-00059d-4A for screen-users@gnu.org; Sun, 21 Sep 2008 12:09:27 -0400 Received: from mu-out-0910.google.com ([209.85.134.185]:57995) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhRV0-0006NT-O5 for screen-users@gnu.org; Sun, 21 Sep 2008 12:09:27 -0400 Received: by mu-out-0910.google.com with SMTP id i2so1049045mue.6 for ; Sun, 21 Sep 2008 09:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LWcXM5FsKfWA2YuKjD6II9tOy08xZiRqj0AKLAjiQsk=; b=TjZx+cJg3oGYWLPyPdB3Go7a/o6K7JIo91SoUSH4cyaSJq1iPBvBjl7vyXCI3eqMW5 mIV7bgu8m7PVDc0XJqrqLIbZcdsk7e27ck8ZcksiRPYf9RYDL/OJCRqQqfcOt32nEnRw whsC81Uf4KFRWRc7lSvgjW1v04wFgNsZaIbGw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=A1HGkw5xQ7e3lSGh1MkDL/Grt7vb7jqoDZIjSkZ/HX5LesbvAdrdSFJ3xY3c2oFxcf kHKaz8jD1K4vuknudRsZbUo0hdkEFFV1eOJCzUhoqSRS14YtWLuKYVsSW1Oj7UURt4Gl l/0aavOdM96H+WCI6KgtNykCUqnSYx942ZcXI= Received: by 10.103.212.20 with SMTP id o20mr1959417muq.22.1222013362647; Sun, 21 Sep 2008 09:09:22 -0700 (PDT) Received: by 10.103.182.8 with HTTP; Sun, 21 Sep 2008 09:09:22 -0700 (PDT) Message-ID: <18071eea0809210909q283465bfmeb6427ff34c92ee5@mail.gmail.com> Date: Sun, 21 Sep 2008 17:09:22 +0100 From: "Thomas Adam" To: menxit@yahoo.com In-Reply-To: <552706.65820.qm@web55201.mail.re4.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <552706.65820.qm@web55201.mail.re4.yahoo.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Vertical splits on Fedora 9 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1066 Lines: 34 Hello -- 2008/9/18 : > Hi, > I've tried to compile the code from git with no luck. I was wondering if anybody knows of where I can find a binary or RPM that would support vertical splits on Fedora 9. Can you perhaps provide more details as to why it's not compiling? > also when I get vertical splits working how do I setup screen so it would automatically open up 3 by 3 regions already split . I hope to use screen to monitor persistence testing where each region is monitoring a different process or machine. Again you'll need the GIT version to this. It's possible to do so via the use of layouts. Example: layout splitthree screen -t One //group split focus screen -t Two split focus screen -t Three layout save splitthree (That ought to work -- not tried it.) Putting that in your .screenrc file should do what you ask of it. I am working on documentation for this. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 12:16:14 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D47987F4F38 for ; Sun, 21 Sep 2008 12:16:13 -0400 (EDT) Received: from localhost ([127.0.0.1]:51625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhRbR-0006MZ-TM for erik@plastic-idolatry.com; Sun, 21 Sep 2008 12:16:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhRb8-0006M5-F0 for screen-users@gnu.org; Sun, 21 Sep 2008 12:15:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhRb6-0006L0-KE for screen-users@gnu.org; Sun, 21 Sep 2008 12:15:45 -0400 Received: from [199.232.76.173] (port=53901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhRb6-0006Kv-Es for screen-users@gnu.org; Sun, 21 Sep 2008 12:15:44 -0400 Received: from fk-out-0910.google.com ([209.85.128.188]:1588) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhRb6-0000X5-4x for screen-users@gnu.org; Sun, 21 Sep 2008 12:15:44 -0400 Received: by fk-out-0910.google.com with SMTP id 18so1268971fkq.10 for ; Sun, 21 Sep 2008 09:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8NWJoIChlxlbyJuZFUj9N+4vVHWWTQzpxWBuFAz14AI=; b=CS43chRU9Ld5WbR+w/Rr9tGe3IxvoWjtPEDg5giFCAmVebxJAaU7NNxEq+wuBwaK7X JAlpLlaPv2Hi4yH2IrMU9ubRVMH1ufsEZfRxJpJp/0bPqyug4XNGOBj63hdX2JTT71pY SZeEfj4g5WL1EQ/31sffmYV2DfYxTyvoNkt6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BCeYU//YMUuIG40F96r8VGQWqsCi8E3weOQwTYPZSm6kWKJfVqzRekO9JSsbBIaP/8 X8MYJ3BTlr3BYEpX4iRqUwz44vA+mm/nXr7cS89Lk8KibETzF71vAQzk5vyRAVMHmOXA mMs/PSzhHa0h1enkwbe85GXr3gIl0avhiKDtw= Received: by 10.103.239.5 with SMTP id q5mr1946412mur.58.1222013740626; Sun, 21 Sep 2008 09:15:40 -0700 (PDT) Received: by 10.103.182.8 with HTTP; Sun, 21 Sep 2008 09:15:40 -0700 (PDT) Message-ID: <18071eea0809210915q4711dcaeo8a05ddfc304ce0d5@mail.gmail.com> Date: Sun, 21 Sep 2008 17:15:40 +0100 From: "Thomas Adam" To: "Jaap Taal" In-Reply-To: <48D26E43.4090700@eljakim.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D26E43.4090700@eljakim.nl> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Screen Users Subject: Re: sockname in hardstatus X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 443 Lines: 16 Hello -- 2008/9/18 Jaap Taal : > Is the backtick command executed with the original enviroment instead of the > environment a shell inside screen would have? Yes. And note that in the GIT version of screen, there's now a "%S" identifier to do what you want. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 14:51:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0588E7F5113 for ; Sun, 21 Sep 2008 14:51:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:39686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhU1v-0007zu-1x for erik@plastic-idolatry.com; Sun, 21 Sep 2008 14:51:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhU1d-0007yT-Cv for screen-users@gnu.org; Sun, 21 Sep 2008 14:51:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhU1b-0007wd-L0 for screen-users@gnu.org; Sun, 21 Sep 2008 14:51:17 -0400 Received: from [199.232.76.173] (port=56208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhU1b-0007wX-AX for screen-users@gnu.org; Sun, 21 Sep 2008 14:51:15 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:56077) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhU1b-0008UG-5b for screen-users@gnu.org; Sun, 21 Sep 2008 14:51:15 -0400 Received: from [10.0.0.4] (adsl-76-195-163-233.dsl.pltn13.sbcglobal.net [76.195.163.233]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 5FC903E88026; Sun, 21 Sep 2008 11:51:13 -0700 (PDT) Message-ID: <48D697B1.105@cowan.name> Date: Sun, 21 Sep 2008 11:51:29 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: "Yi, William CSC" References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Question on compiling screen on Solaris 10 X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1106 Lines: 38 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yi, William CSC wrote: > Hi; > > When I compile screen I got this message, do you have any idea what it is? > > gcc -c -I. -I/opt/screen-4.0.3 -g -O2 misc.c > misc.c: In function `xsetenv': > misc.c:619: error: too few arguments to function `setenv' > *** Error code 1 > make: Fatal error: Command failed for target `misc.o' Yes; this has been fixed in the current sources, which you should be able to compile. Follow the instructions at https://savannah.gnu.org/git/?group=screen (you'll need to have Git installed). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI1pex7M8hyUobTrERAsaHAJ4o+GzuIILQqpk0xCd+59LPNOOwIACgiB0a Bwq3KTGPnqsZSlE71jfTy88= =/6zI -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 15:03:18 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM, MIME_BASE64_BLANKS autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4328A7F513A for ; Sun, 21 Sep 2008 15:03:18 -0400 (EDT) Received: from localhost ([127.0.0.1]:47516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhUD9-0003NL-C5 for erik@plastic-idolatry.com; Sun, 21 Sep 2008 15:03:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhUCo-0003Lf-KC for screen-users@gnu.org; Sun, 21 Sep 2008 15:02:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhUCm-0003Ji-EL for screen-users@gnu.org; Sun, 21 Sep 2008 15:02:49 -0400 Received: from [199.232.76.173] (port=42608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhUCm-0003Jf-6e for screen-users@gnu.org; Sun, 21 Sep 2008 15:02:48 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:17512) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhUCl-0004BP-HM for screen-users@gnu.org; Sun, 21 Sep 2008 15:02:47 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1770614wfc.24 for ; Sun, 21 Sep 2008 12:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yVOYnXq1b+Doupwcp8hDTG+0GD4YFa9ek+sbCyxa66I=; b=aMtg5EIE0xny98msza/cXKBSg9PQtpMGRDq9VtevqZ1aBGEigGwmYAXCG18YDeDjk/ K3QEZ+c5zRrqEMWgrRGX5TP6QYgCewyGNoOKKOmICQhEfBjqhsYc8Qbjz98iVgYsHcGo EEuXN0sHM53QVbNcIcNe5jWIxNiVl3ueccD7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TGsAX+sM8H44NL4XOV7bsap4ycvMsBINe+gAuQR7GQTrHpdktXnkIXhOkLmK4NCKBt as3bH1dmV8WF06qfFNV/T6QGGTQJkPMpuA42auHd5lmix0k+cHf3ebC4pbfzLdZgn9l6 rntGI3yuf/+kvARxshfYWjePSJhTkrwIwATcg= Received: by 10.142.162.9 with SMTP id k9mr1029204wfe.93.1222023766860; Sun, 21 Sep 2008 12:02:46 -0700 (PDT) Received: by 10.142.110.1 with HTTP; Sun, 21 Sep 2008 12:02:46 -0700 (PDT) Message-ID: <5992e17f0809211202v7ea402b0ka31eec7f73328ed4@mail.gmail.com> Date: Sun, 21 Sep 2008 16:02:46 -0300 From: "Kazuo Teramoto" To: "Micah Cowan" , screen-users@gnu.org In-Reply-To: <48D69845.5060701@cowan.name> MIME-Version: 1.0 References: <5992e17f0809201733hf579428rbdf2f63928ba3221@mail.gmail.com> <48D69845.5060701@cowan.name> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: Re: Open a window relative to the current X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0112470562==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1515 Lines: 34 --===============0112470562== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline T24gU3VuLCBTZXAgMjEsIDIwMDggYXQgMzo1MyBQTSwgTWljYWggQ293YW4gPG1pY2FoQGNvd2Fu Lm5hbWU+IHdyb3RlOgo+IEknbSBub3Qgc3VyZSB3aGF0IHlvdSBtZWFuIGJ5IHRoaXMuIFRoZSBk ZWZhdWx0IGZvciB0aGUgInNjcmVlbiIgY29tbWFuZAo+IGhhcyBhbHdheXMgYmVlbiB0byBvcGVu IHRoZSBmaXJzdCBhdmFpbGFibGUgbnVtYmVyIChzdGFydGluZyBhdCAwKTsgeW91Cj4gY2FuIGFs d2F5cyBnaXZlIGl0IHRoZSB3aW5kb3cgbnVtYmVyIHlvdSB3YW50LCB0aG91Z2guCgpMZXQgbWUg Z2l2ZSBhIGV4YW1wbGUsIGlmIEkgaGF2ZSAzIG9wZW4gd2luZG93czoKfDA6enNofDE6enNofDI6 aXJzc2l8CmFuZCBjYWxsICdzY3JlZW4gdmltJyBvbiB0ZXJtaW5hbCAxOnpzaCBJIGxpa2UgdGhl IHdpbmRvdyBvcGVuIHRvIHRoZQpsZWZ0IHNpZGUgb2YgMSwgYW5kIG5vdyBJIGhhdmU6CnwwOnpz aHwxOnpzaHwyOnZpbXwzOmlyc3NpfAoKSWYgeW91IHJlYWQgdGhlIGZlYXR1cmUgcmVxdWVzdCBw b3N0ZWQgYXQKaHR0cHM6Ly9zYXZhbm5haC5nbnUub3JnL2J1Z3MvPzE1NDY5IHRoYXQgb3JpZ2lu YXRlZCB0aGUgcGF0Y2ggZnJvbQpTYWRydWwgdG8gaW1wbGVtZW50IHJlbGF0aXZlIGFyZ3MgdG8g bnVtYmVyIHlvdSBzZWUgdGhhdCB0aGlzIHdoYXQgdGhlCnJlcXVlc3QgaXMgYWJvdXQuCgotLSAK wqtEYW5zIGxhIHZpZSwgcmllbiBuJ2VzdCDDoCBjcmFpbmRyZSwgdG91dCBlc3Qgw6AgY29tcHJl bmRyZcK7Ck1hcmllIFNrbG9kb3dza2EgQ3VyaWUuCg== --===============0112470562== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0112470562==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Sep 21 19:17:47 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HS_INDEX_PARAM autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4467B7EA16D for ; Sun, 21 Sep 2008 19:17:47 -0400 (EDT) Received: from localhost ([127.0.0.1]:52814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhYBO-0001hb-2z for erik@plastic-idolatry.com; Sun, 21 Sep 2008 19:17:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhYAh-0001gS-KN for screen-users@gnu.org; Sun, 21 Sep 2008 19:16:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhYAf-0001gG-9g for screen-users@gnu.org; Sun, 21 Sep 2008 19:16:54 -0400 Received: from [199.232.76.173] (port=33833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhYAf-0001gD-3L for screen-users@gnu.org; Sun, 21 Sep 2008 19:16:53 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:33412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhYAe-0005Bh-VO for screen-users@gnu.org; Sun, 21 Sep 2008 19:16:53 -0400 Received: from [10.0.0.4] (adsl-76-195-163-233.dsl.pltn13.sbcglobal.net [76.195.163.233]) by mabruk.micah.cowan.name (Postfix) with ESMTP id B933E3E88026; Sun, 21 Sep 2008 16:16:51 -0700 (PDT) Message-ID: <48D6D5F4.4090601@cowan.name> Date: Sun, 21 Sep 2008 16:17:08 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Kazuo Teramoto References: <5992e17f0809201733hf579428rbdf2f63928ba3221@mail.gmail.com> <48D69845.5060701@cowan.name> <5992e17f0809211202v7ea402b0ka31eec7f73328ed4@mail.gmail.com> In-Reply-To: <5992e17f0809211202v7ea402b0ka31eec7f73328ed4@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Open a window relative to the current X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1778 Lines: 48 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kazuo Teramoto wrote: > On Sun, Sep 21, 2008 at 3:53 PM, Micah Cowan wrote: >> I'm not sure what you mean by this. The default for the "screen" command >> has always been to open the first available number (starting at 0); you >> can always give it the window number you want, though. > > Let me give a example, if I have 3 open windows: > |0:zsh|1:zsh|2:irssi| > and call 'screen vim' on terminal 1:zsh I like the window open to the > left side of 1, and now I have: > |0:zsh|1:zsh|2:vim|3:irssi| > > If you read the feature request posted at > https://savannah.gnu.org/bugs/?15469 that originated the patch from > Sadrul to implement relative args to number you see that this what the > request is about. It doesn't look to me like that's what it was about. It looks to me like Sadrul's fix is what it was about. It says things about moving existing windows via the "number" command; there's nothing on that report regarding where new "screen" windows are placed. I have to say that I'd be rather disinclined to add this feature. However, when scripting support is available (or if you'd like to try Sadrul's lua patch), such a thing should be implementable by the user. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI1tX07M8hyUobTrERAgsSAJwJckrYYaZh+GB0dRs7/2yUrQj7mACffgIS wdAvocMWjSTidgMA/SXStGU= =r3+u -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Sep 22 16:37:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id E452C7EAD0C for ; Mon, 22 Sep 2008 16:37:40 -0400 (EDT) Received: from localhost ([127.0.0.1]:39105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhsA0-0004Zj-PD for erik@plastic-idolatry.com; Mon, 22 Sep 2008 16:37:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Khs8z-0004H0-2E for screen-users@gnu.org; Mon, 22 Sep 2008 16:36:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Khs8x-0004GG-HA for screen-users@gnu.org; Mon, 22 Sep 2008 16:36:28 -0400 Received: from [199.232.76.173] (port=54776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Khs8x-0004GB-EZ for screen-users@gnu.org; Mon, 22 Sep 2008 16:36:27 -0400 Received: from wf-out-1314.google.com ([209.85.200.174]:49407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Khs8w-0006BR-VO for screen-users@gnu.org; Mon, 22 Sep 2008 16:36:27 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2443747wfc.24 for ; Mon, 22 Sep 2008 13:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=WtO8oHFclXO+0tb5s0aiD1RC64IAl+EJnXxHXD/ZtXw=; b=RnC3egxy6QED8nbPDW8DA1kykLfNvdX0tJ4xQeSttDsvuON1vfEReD70meWXyJR4YU EZ/oEzUkwlCHUNyydr/FQBe3Bf6UgVCE0sJ6YKM4LbtEjm6nQPAc1jCU3WpRwGRq5mC8 1QCCKSGHGsoJZjQk8wP5ZvOO4JlJ7wYPVDfrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=VBZglePqd8bV4djwoFPuTwbYNDSc4rdivDaIC9KePuVuCFiISvRXGBg68WDxpnV3p8 fGeBmaLCChpphHpG2MpAGoTR9frK/63evmDR6rBGgah1v8+N5ifa3QfP96nD9k4TCEcF 7Nm9sBKr5RthfKIl6demAQYX7Txcdfl+bSUko= Received: by 10.142.174.18 with SMTP id w18mr1614139wfe.325.1222115783339; Mon, 22 Sep 2008 13:36:23 -0700 (PDT) Received: by 10.142.110.1 with HTTP; Mon, 22 Sep 2008 13:36:23 -0700 (PDT) Message-ID: <5992e17f0809221336o193d55b3t27fceb2d3902cc0c@mail.gmail.com> Date: Mon, 22 Sep 2008 17:36:23 -0300 From: "Kazuo Teramoto" To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Italic text with screen inside urxvt and some termcap questions X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0736737229==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1730 Lines: 37 --===============0736737229== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SGVsbG8sIHNvbWV0aW1lIGFnbyAoaW4gMjAwNikgc29tZW9uZSBhc2tlZCBpZiBpcyBwb3NzaWJs ZSB0byBwcmludAppdGFsaWMgdGV4dCB3aGVuIHVzaW5nIHNjcmVlbiBpbnNpZGUgdXJ4dnQsIGJ1 dCBpdCByZWNlaXZlZCBubwpyZXBsaWVzLi4uCgpTb21lb25lIGtub3cgaWYgaXQgaXMgcG9zc2li bGU/IEkgdHJpZWQgc29tZSB0aGluZ3Mgd2l0aCB0ZXJtY2FwIChidXQKdG8gYmUgc2luY2VyZSBJ IGRvbid0IGZ1bGx5IHVuZGVyc3RhbmQgdGhlIGNvbmNlcHQgb2YKdGVybWNhcHMvdGVybWluZm8p IGxpa2UgYWRkaW5nIHRoZSBmb2xsb3dpbmcgbGluZSB0byBzY3JlZW5yYzoKCiAgdGVybWNhcGlu Zm8gcnh2dCogc289OnNlPSBaSD1cRVszbTpaUj1cRVttCgpNeSBpZGVhIGlzIHRoYXQgaSBuZWVk ZWQgdG8gcmVtb3ZlIHRoZSBkZWZpbml0aW9uIG9mIHN0YW5kb3V0IGFuZCBwdXQKdGhlIGl0YWxp YyBpbiB0aGUgcGxhY2Ugb2YgXEVbM20uIEJ1dCB0aGF0IGRvbid0IHdvcmtzICh3ZWxsIGkgdGhp bmsKdGhhdCBpcyBub3Qgc3VwcG9zZWQgdG8gd29yaywgYnV0IGFzIEkgc2FkIGkgZG9udCBmdWxs eSB1bmRlcnN0YW5kCndoYXQgdGhlIHRlcm1jYXAgaXMgYWxsIGFib3V0KS4uLiBJbiB1cnh2dCwg b3V0c2lkZSBvZiBzY3JlZW4sIHRoZQpzdHJpbmcgJ1wzM1szbUhlbGxvXDMzW20nIHByaW50cyBo ZWxsbyBpbiBpdGFsaWMuCgpJbiB0aGUgc2NyZWVuIG1hbnVhbCAnU3RhbmRvdXQnIGhhdmUgYSAn KEFOU0k6IEl0YWxpY2l6ZWQpJyB3aGF0IGlzCnRoYXQgaXMgc3VwcG9zZWQgdG8gbWVhbj8KClRo YW5rcyBmb3IgYW55IGFud3NlciEKCkJ5ZSwKS2F6dW8gVGVyYW1vdG8KCi0tIArCq0RhbnMgbGEg dmllLCByaWVuIG4nZXN0IMOgIGNyYWluZHJlLCB0b3V0IGVzdCDDoCBjb21wcmVuZHJlwrsKTWFy aWUgU2tsb2Rvd3NrYSBDdXJpZS4K --===============0736737229== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0736737229==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Sep 22 17:10:13 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4819C7E572D for ; Mon, 22 Sep 2008 17:10:11 -0400 (EDT) Received: from localhost ([127.0.0.1]:34820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhsfS-0005vt-Fx for erik@plastic-idolatry.com; Mon, 22 Sep 2008 17:10:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Khsf9-0005ve-Gf for screen-users@gnu.org; Mon, 22 Sep 2008 17:09:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Khsf6-0005v6-0I for screen-users@gnu.org; Mon, 22 Sep 2008 17:09:42 -0400 Received: from [199.232.76.173] (port=46062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Khsf5-0005v3-RG for screen-users@gnu.org; Mon, 22 Sep 2008 17:09:39 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:35838) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Khsf5-00052B-QD for screen-users@gnu.org; Mon, 22 Sep 2008 17:09:39 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 4C3CA408804A; Mon, 22 Sep 2008 14:09:38 -0700 (PDT) Message-ID: <48D80990.3000203@cowan.name> Date: Mon, 22 Sep 2008 14:09:36 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Kazuo Teramoto References: <5992e17f0809221336o193d55b3t27fceb2d3902cc0c@mail.gmail.com> In-Reply-To: <5992e17f0809221336o193d55b3t27fceb2d3902cc0c@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Italic text with screen inside urxvt and some termcap questions X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2181 Lines: 56 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kazuo Teramoto wrote: > Hello, sometime ago (in 2006) someone asked if is possible to print > italic text when using screen inside urxvt, but it received no > replies... > > Someone know if it is possible? I tried some things with termcap (but > to be sincere I don't fully understand the concept of > termcaps/terminfo) like adding the following line to screenrc: > > termcapinfo rxvt* so=:se= ZH=\E[3m:ZR=\E[m > > My idea is that i needed to remove the definition of standout and put > the italic in the place of \E[3m. But that don't works (well i think > that is not supposed to work, but as I sad i dont fully understand > what the termcap is all about)... In urxvt, outside of screen, the > string '\33[3mHello\33[m' prints hello in italic. > > In the screen manual 'Standout' have a '(ANSI: Italicized)' what is > that is supposed to mean? It means that what Screen uses for standout mode, ANSI (and rxvt) uses for italics mode. I don't know why this is the case, but the fact that it is means that making screen support italics would be a PITA. If we make screen use \033[3m for italics (instead of its current use for standout), and \033[7m for standout (ANSI's "negative image"), then all pre-existing termcap/terminfo definitions for screen will be wrong, and users will have to be especially careful not to use newer versions of screen with older termcap/terminfo definitions for screen. Nevertheless, it seems like it might not be a terrible idea to start migration, or at least support a configuration option for it. I don't know when such a change might be effected, though. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI2AmQ7M8hyUobTrERAtIiAKCFfoYYtSKss4YFaImxxDV0bQqDdgCfZ95g K/sIU1J3e8XZgcRuA3GdLd8= =snpb -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 23 08:56:54 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 096CD7E7408 for ; Tue, 23 Sep 2008 08:56:54 -0400 (EDT) Received: from localhost ([127.0.0.1]:55240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki7Rc-0005CS-O3 for erik@plastic-idolatry.com; Tue, 23 Sep 2008 08:56:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhRcQ-0006fX-5x for screen-users@gnu.org; Sun, 21 Sep 2008 12:17:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhRcO-0006fH-Hh for screen-users@gnu.org; Sun, 21 Sep 2008 12:17:05 -0400 Received: from [199.232.76.173] (port=53927 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhRcO-0006fA-FK for screen-users@gnu.org; Sun, 21 Sep 2008 12:17:04 -0400 Received: from mx.freeshell.org ([192.94.73.19]:52716 helo=sdf.lonestar.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhRcN-0000sW-Q5 for screen-users@gnu.org; Sun, 21 Sep 2008 12:17:04 -0400 Received: from sdf.lonestar.org (IDENT:chr@svalbard.freeshell.org [192.94.73.10]) by sdf.lonestar.org (8.14.2/8.13.8) with ESMTP id m8LGGSdq009172 for ; Sun, 21 Sep 2008 16:16:28 GMT Received: (from chr@localhost) by sdf.lonestar.org (8.14.2/8.12.8/Submit) id m8LGGR9G013459 for screen-users@gnu.org; Sun, 21 Sep 2008 18:16:27 +0200 (CEST) Date: Sun, 21 Sep 2008 18:16:27 +0200 From: Christian Mongeau To: screen-users@gnu.org Message-ID: <20080921161627.GA24335@SDF.LONESTAR.ORG> References: <48D26E43.4090700@eljakim.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48D26E43.4090700@eljakim.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (sdf.lonestar.org [192.94.73.19]); Sun, 21 Sep 2008 16:16:28 +0000 (UTC) X-detected-operating-system: by monty-python.gnu.org: NetBSD 1.6Z or 2.0 (DF) X-Mailman-Approved-At: Tue, 23 Sep 2008 08:53:59 -0400 Subject: Re: sockname in hardstatus X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 963 Lines: 35 On 2008-09-18, Jaap Taal wrote: > I'm looking on the net for a method to print the sockname/sessionname in > the hardstatus.> I was trying the following workaround: > [...] > screenrc: > backtick 84 0 0 /home/jtaal/bin/screen_sockname > hardstatus string "%84` ..." > > and the following bashscript in screen_sockname > #!/bin/sh > echo $STY Changing your screen_sockname with: #!/bin/sh screen -ls|sed '/(Attached)/!d;s/(Attached)//;s/ //' works (it deletes every line that doesn't have an "(Attached)", then sustitutes that string with an empty one and removes the tab (notice that the last pattern is a tab, i.e. s/TAB//, though it's not really necessary)). I hope there's a better solution, but you can adapt the previous one. Regards. chr -- SDF Public Access UNIX System - http://sdf.lonestar.org _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Sep 27 08:32:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A3C6D7ED310 for ; Sat, 27 Sep 2008 08:32:29 -0400 (EDT) Received: from localhost ([127.0.0.1]:51837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjYyD-0002eu-Rd for erik@plastic-idolatry.com; Sat, 27 Sep 2008 08:32:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kii9x-0001Rz-GN for screen-users@gnu.org; Thu, 25 Sep 2008 00:08:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kii9w-0001Rj-I9 for screen-users@gnu.org; Thu, 25 Sep 2008 00:08:56 -0400 Received: from [199.232.76.173] (port=53636 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kii9w-0001Rg-Ez for screen-users@gnu.org; Thu, 25 Sep 2008 00:08:56 -0400 Received: from dirtybill.solutionsforprogress.com ([216.158.3.70]:40409) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kii9w-0008CL-Cf for screen-users@gnu.org; Thu, 25 Sep 2008 00:08:56 -0400 Received: from [207.245.124.125] (port=40768 helo=worlock.plastic-idolatry.com) by dirtybill.solutionsforprogress.com with esmtpa (Exim 4.50) id 1Kii9r-0003wE-CD for screen-users@gnu.org; Thu, 25 Sep 2008 00:08:51 -0400 Received: by worlock.plastic-idolatry.com (Postfix, from userid 1014) id 256127F284C; Thu, 25 Sep 2008 00:08:58 -0400 (EDT) Date: Thu, 25 Sep 2008 00:08:58 -0400 From: Erik Osheim To: screen-users@gnu.org Message-ID: <20080925040858.GA4106@worlock.plastic-idolatry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 207.245.124.125 X-SA-Exim-Mail-From: erik@plastic-idolatry.com X-SA-Exim-Scanned: No (on dirtybill.solutionsforprogress.com); SAEximRunCond expanded to false X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-Mailman-Approved-At: Sat, 27 Sep 2008 08:31:50 -0400 Subject: full command shown in aka mode X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 595 Lines: 28 Would it be possible to include an option to display the full command run (rather than just the first word of it)? In other words, instead of: 0 vi 1 bash 2 watch 3 tail You might see: 0 vi .bashrc 1 bash 2 watch df -h 3 tail -f /var/log/messages Awhile ago I had a patch that provided this behavior. Is there any chance of such a patch being accepted into git? If so, are there preferred names, etc. for this functionality? Thanks, -- Erik _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Sep 27 08:33:29 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D41407ED310 for ; Sat, 27 Sep 2008 08:33:28 -0400 (EDT) Received: from localhost ([127.0.0.1]:52263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjYzB-0003eU-JK for erik@plastic-idolatry.com; Sat, 27 Sep 2008 08:33:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kj8xL-0005qS-R4 for screen-users@gnu.org; Fri, 26 Sep 2008 04:45:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kj8xI-0005os-Ml for screen-users@gnu.org; Fri, 26 Sep 2008 04:45:41 -0400 Received: from [199.232.76.173] (port=49914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kj8xI-0005oi-Ix for screen-users@gnu.org; Fri, 26 Sep 2008 04:45:40 -0400 Received: from max81.rrze.uni-erlangen.de ([131.188.3.48]:36661) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kj8xI-000317-C3 for screen-users@gnu.org; Fri, 26 Sep 2008 04:45:40 -0400 Received: from max81.rrze.uni-erlangen.de (max81.rrze.uni-erlangen.de [131.188.3.48]) by max81.rrze.uni-erlangen.de with ESMTP id BT-MMP-2494861 for screen-users@gnu.org; Fri, 26 Sep 2008 10:45:13 +0200 Received: from max81.rrze.uni-erlangen.de ([131.188.3.48]) by max81.rrze.uni-erlangen.de (max81.rrze.uni-erlangen.de [127.0.0.1]) (amavisd-new) with ESMTP id 10567-01-7414 for ; Fri, 26 Sep 2008 10:45:13 +0200 (MEST) Received: from biochem.uni-erlangen.de (bioc01.biochem.uni-erlangen.de [131.188.174.10]) by mailhub.rrze.uni-erlangen.de with ESMTP id BT-MMP-806768 for screen-users@gnu.org; Fri, 26 Sep 2008 10:45:13 +0200 Received: from BIOCHEM2/SpoolDir by biochem.uni-erlangen.de (Mercury 1.48); 26 Sep 08 10:45:13 +0100 Received: from SpoolDir by BIOCHEM2 (Mercury 1.48); 26 Sep 08 10:45:00 +0100 Received: from biochem.uni-erlangen.de (131.188.174.197) by biochem.uni-erlangen.de (Mercury 1.48) with ESMTP; 26 Sep 08 10:44:55 +0100 Date: Fri, 26 Sep 2008 10:47:30 +0200 From: holger.dinkel@gmail.com To: screen-users@gnu.org Message-ID: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by amavisd-new (RRZE) on max81.rrze.uni-erlangen.de X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Sat, 27 Sep 2008 08:31:50 -0400 Subject: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: holger.dinkel@gmail.com List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1104 Lines: 31 Hi, I've been using screen for many years now, and find it indispensable. Still, I know quite some people, who never managed to get a hold of it. The initial learning curve is too steep for them, I guess... Some years ago, I tried several Linux-Distros (Debian, SuSe, Fedora) and found the initial .screenrc-configuration-file quite, umm, minimalistic. (I don't know if that is still the case? Can anyone confirm?) It took me a long time to adapt the .screenrc to my needs. In most cases, I searched the web as well as this mailinglist (+archive) to find out what I needed... So, my idea was: Why not use the combined knowledge of the people on this mailinglist to compile a user-friendly, yet powerful initial .screenrc-configuration and ship it to the individual package-maintainers? (The screen-wiki already links to some dotfiles which could be used for starters.) I would be glad to hear your comments on this idea... Best wishes, Holger _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Sep 27 08:42:28 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,HS_INDEX_PARAM, PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5FC3A7EF36D for ; Sat, 27 Sep 2008 08:42:28 -0400 (EDT) Received: from localhost ([127.0.0.1]:43437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjZ7s-0001Pq-7u for erik@plastic-idolatry.com; Sat, 27 Sep 2008 08:42:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjZ7X-0001PS-W4 for screen-users@gnu.org; Sat, 27 Sep 2008 08:42:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjZ7V-0001PD-N8 for screen-users@gnu.org; Sat, 27 Sep 2008 08:41:58 -0400 Received: from [199.232.76.173] (port=37010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjZ7V-0001PA-Hf for screen-users@gnu.org; Sat, 27 Sep 2008 08:41:57 -0400 Received: from fk-out-0910.google.com ([209.85.128.189]:21493) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjZ7V-0004jS-7N for screen-users@gnu.org; Sat, 27 Sep 2008 08:41:57 -0400 Received: by fk-out-0910.google.com with SMTP id 18so1329880fkq.10 for ; Sat, 27 Sep 2008 05:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=D3cyWmbYPJFakN8WxeaTyAs0zZturq771q8YVSbsQ9E=; b=pTH6aT9J8lIhv5C/ggSfzc605XvjGQpeBzMFpYuc02/UBHoH4GkJ5qLgEjtAba8uIC VyuU0jgh2J1U3t7Fy8xnhfvA7dtXzUPTiqt9NCV8Hu4VlmqEq2L4i5FZZEeY+GXY8eMt shCjqAcLgPAhY1OKCv5BgfFzHnF/Yf4w4tbM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RoKGUGS7vOyTKEPu31rruxtUG2JA9xWvecmbr6A19j+Uc4eAZ+EPTYm7QkPMLWeS+K iLyrsU1ozp+Z4y8wEG1pG6cDIFGjT/TPfM76zYw2bp3SoeQmfX0HmG4O1Nh4nTB8dyhp o13FpSrgSlzkuXF2S00/Rpghpc+nhpmtFNlB0= Received: by 10.103.252.17 with SMTP id e17mr1830456mus.115.1222519313566; Sat, 27 Sep 2008 05:41:53 -0700 (PDT) Received: by 10.103.182.8 with HTTP; Sat, 27 Sep 2008 05:41:53 -0700 (PDT) Message-ID: <18071eea0809270541w426508esaf6d355740d18f25@mail.gmail.com> Date: Sat, 27 Sep 2008 13:41:53 +0100 From: "Thomas Adam" To: holger.dinkel@gmail.com In-Reply-To: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 585 Lines: 19 Hello -- 2008/9/26 : > So, my idea was: Why not use the combined knowledge of the people > on this mailinglist to compile a user-friendly, yet powerful initial > .screenrc-configuration and ship it to the individual package-maintainers? > (The screen-wiki already links to some dotfiles which could be used for starters.) It's a nice idea. See: http://savannah.gnu.org/bugs/index.php?24387 -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 30 08:28:09 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,HS_INDEX_PARAM, PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0EAD77F55FB for ; Tue, 30 Sep 2008 08:28:09 -0400 (EDT) Received: from localhost ([127.0.0.1]:51479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkeKc-00033z-FQ for erik@plastic-idolatry.com; Tue, 30 Sep 2008 08:27:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjbLc-0007Uf-H7 for screen-users@gnu.org; Sat, 27 Sep 2008 11:04:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjbLa-0007TD-Rr for screen-users@gnu.org; Sat, 27 Sep 2008 11:04:40 -0400 Received: from [199.232.76.173] (port=50808 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjbLa-0007T7-Lo for screen-users@gnu.org; Sat, 27 Sep 2008 11:04:38 -0400 Received: from mail-gx0-f12.google.com ([209.85.217.12]:36093) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjbLa-0002Tp-Bp for screen-users@gnu.org; Sat, 27 Sep 2008 11:04:38 -0400 Received: by gxk5 with SMTP id 5so9439618gxk.18 for ; Sat, 27 Sep 2008 08:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:x-gpg-key:user-agent; bh=rw+jMcq1lTCZIO9eC+s+tGPE7G9mqn/YgXqIo2SRwc4=; b=StlsSr0rvLIRO4o+7hqX44Nsm+ivb7enW82QkpTa8fJT+R/fJ7mG8f4wLG7rQEyfss qRbEYPBEEXzwpt5VE67AfNjM2kdUiwVPz58Y2xdW/nqElSPVVMhuA2UbLkIvDCojJ1Gr x1qKAigaemVK0lYcF6znUJMVDB+00aB7J0+3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gpg-key:user-agent; b=CLyP1B4VhjQd3b6/SaQ9n4302jBy2aiXz9gwvqRJBgwU/Wm/iTqLR8aMI21Trgwzjj 1lwh13e223JcSlP4lXbb+mP2U7VtMBTfOr2Pw3z6iJcW4tdoyy6cHMfrOxUXtx/XBBc9 uVE8z6bWHb+FiiqIkD0zVrRN/EhGlfQqzIj98= Received: by 10.151.27.15 with SMTP id e15mr4152263ybj.33.1222527876584; Sat, 27 Sep 2008 08:04:36 -0700 (PDT) Received: from lavaramano@gmail.com (24-120-231-201.fibertel.com.ar [201.231.120.24]) by mx.google.com with ESMTPS id s30sm16401elf.9.2008.09.27.08.04.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 27 Sep 2008 08:04:35 -0700 (PDT) Received: by lavaramano@gmail.com (sSMTP sendmail emulation); Sat, 27 Sep 2008 12:04:22 -0300 Date: Sat, 27 Sep 2008 12:04:22 -0300 From: Mauro Lizaur To: screen-users@gnu.org Message-ID: <20080927150422.GE7731@lusers.com.ar> References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> <18071eea0809270541w426508esaf6d355740d18f25@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0809270541w426508esaf6d355740d18f25@mail.gmail.com> X-GPG-Key: http://lusers.com.ar/mliz.asc User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 30 Sep 2008 08:27:30 -0400 Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 915 Lines: 31 On Sat, 27 Sep 2008, Thomas Adam wrote: > Hello -- > > 2008/9/26 : > > So, my idea was: Why not use the combined knowledge of the people > > on this mailinglist to compile a user-friendly, yet powerful initial > > .screenrc-configuration and ship it to the individual package-maintainers? > > (The screen-wiki already links to some dotfiles which could be used for starters.) > > It's a nice idea. See: > > http://savannah.gnu.org/bugs/index.php?24387 > It's a really good idea, also i think that a small example of how to use the hardstatus line (plus the backtick option) on the .screenrc would be great too. Regards, Mauro -- JID: lavaramano@jabber.org http://lusers.com.ar/ 2B82 A38D 1BA5 847A A74D 6C34 6AB7 9ED6 C8FD F9C1 _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 30 08:29:16 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2626C740A99 for ; Tue, 30 Sep 2008 08:29:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:51903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkeLk-00041h-ET for erik@plastic-idolatry.com; Tue, 30 Sep 2008 08:29:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kk5jr-0002i0-7g for screen-users@gnu.org; Sun, 28 Sep 2008 19:31:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kk5jp-0002hc-AP for screen-users@gnu.org; Sun, 28 Sep 2008 19:31:42 -0400 Received: from [199.232.76.173] (port=52813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kk5jp-0002hZ-4e for screen-users@gnu.org; Sun, 28 Sep 2008 19:31:41 -0400 Received: from kuber.nabble.com ([216.139.236.158]:45653) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kk5jo-0004Xz-QV for screen-users@gnu.org; Sun, 28 Sep 2008 19:31:40 -0400 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kk5jm-0001eN-HO for screen-users@gnu.org; Sun, 28 Sep 2008 16:31:38 -0700 Message-ID: <19716613.post@talk.nabble.com> Date: Sun, 28 Sep 2008 16:31:38 -0700 (PDT) From: victorbrca To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: victorbrca@yahoo.ca X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 30 Sep 2008 08:27:30 -0400 Subject: Help attaching 3 running screens X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1001 Lines: 42 Hi all, I have a little script that takes a list of torrent files in a folder and opens a new screen with ctorrent for each of those files (max of 3). I wanted to write another script that would create a new screen, split it in 3 and attach to those running screens. I have not clue where to start of if that's even possible. Any ideas? This is my script: $ cat run_tor #!/bin/bash ## Last edit: Set the folder for download - 2008-08-31 _tor=0 _port=( 10 11 12 ) _tor2=`ls $HOME/downloads/tor/*.torrent | tail -n 3` for i in $_tor2 ; do cd $HOME/downloads/tor /usr/bin/screen -d -m /usr/bin/ctorrent $i -p ${_port[_tor]} _tor=$(( _tor + 1 )) done Thanks! Vic. -- View this message in context: http://www.nabble.com/Help-attaching-3-running-screens-tp19716613p19716613.html Sent from the Gnu - Screen mailing list archive at Nabble.com. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 30 08:30:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 14B0A7F2A52 for ; Tue, 30 Sep 2008 08:30:20 -0400 (EDT) Received: from localhost ([127.0.0.1]:52344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkeMm-00053y-Le for erik@plastic-idolatry.com; Tue, 30 Sep 2008 08:30:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkPbF-0002Bs-9K for screen-users@gnu.org; Mon, 29 Sep 2008 16:44:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkPbE-0002BW-IB for screen-users@gnu.org; Mon, 29 Sep 2008 16:44:08 -0400 Received: from [199.232.76.173] (port=42569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkPbE-0002BT-Cw for screen-users@gnu.org; Mon, 29 Sep 2008 16:44:08 -0400 Received: from asmtpout024.mac.com ([17.148.16.99]:39076) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkPbD-000573-VD for screen-users@gnu.org; Mon, 29 Sep 2008 16:44:08 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [172.26.107.237] ([72.14.228.89]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K7Z009855LF0U40@asmtp024.mac.com> for screen-users@gnu.org; Mon, 29 Sep 2008 13:44:05 -0700 (PDT) Message-id: <1825B91A-6F08-4910-A02E-447B2A16B2D5@me.com> From: Ed Wagner To: screen-users@gnu.org Date: Mon, 29 Sep 2008 16:43:48 -0400 X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-Mailman-Approved-At: Tue, 30 Sep 2008 08:27:30 -0400 Subject: Screen has odd blank out behaviour X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2864 Lines: 88 Hello, I use Apple OS 10.5.5 Terminal.app ,xterm and Ubuntu Xterm in Gnome. I'm all for CLI and spend most of my time there either on local or remote machines which lead me to use gnu screen to save state and other handy features. this issue I have is easy to resolve when not using screen and I feel I have isolated the issue to GNU screen and will aproch there user list next. but I have been searching and reading up on the man pages for a while now and feel its time to ask if others have a solution. This the the famous screen clear on exit. this is fix on all my systems that needed the fix. ssh or direct login on all systems works they way I wish. Enter screen. No there are a few different methods I have tried: > infocmp >.terminfo/screen.xterm-color.terminfo > cd .terminfo > emacs screen.xterm-color.terminfo # # changed line 2 |# Reconstructed via infocmp from file: /Users/ewagner/.terminfo/ 78/xterm-color |xterm-color|nxterm|screen-xterm|screen-xterm-color|generic color xterm, > tic screen.xterm-color.terminfo > sceen this does not work, I've also made sure that LESS is unset and that TERM is not set in my profiles thus everything works outside of screen. Now the odd part: Is seems screen is doing something odd. for if I export LESS=-X the screen does a full clear and the prompt is at the top. if I use clear or ctrl-l the screen clears and places the prompt at the top. but if I emacs or less..... the prompt remains at the same level on the screen but all the characters are missing... or that is to say there apear to be 'blank lines' where the content was before and the prompt is left one line down from before I invoced emacs or less.. This lead me to think it was the autonuke on|off setting becuase that seems to mention something about how the screen is cleared indicating that the contents will be re-written using the background collor. I can't highlight or copy-past content to verify if this is the case. So this is where I am and it is worse then my past two configurations without screen where either the screen would clear on exit or do nothing leving the emacs/less output visible and providing a prompt. any help would be apreiciated.. Thanks! Ed -- PS -- aditional boring version information: Terminal.app verison:2.0.1 (240) apple xterm: X.Org 6.8.99.903(235) ubuntu xterm -version reports: XTerm(229) ubuntu screen version: Screen version 4.00.03 (FAU) 23-Oct-06 apple screen version: Screen version 4.00.03 (FAU) 23-Oct-06 redhat ES 4 screen version: Screen version 4.00.02 (FAU) 5-Dec-03 (Red hat mahcines are remote...so no gui terminal emulation thought I could if need be... _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 30 08:55:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C47877E4F73 for ; Tue, 30 Sep 2008 08:55:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:37993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkelY-0000Fh-9Q for erik@plastic-idolatry.com; Tue, 30 Sep 2008 08:55:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkelF-0000Du-TF for screen-users@gnu.org; Tue, 30 Sep 2008 08:55:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkelD-0000Dd-10 for screen-users@gnu.org; Tue, 30 Sep 2008 08:55:28 -0400 Received: from [199.232.76.173] (port=57824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkelC-0000Da-ST for screen-users@gnu.org; Tue, 30 Sep 2008 08:55:26 -0400 Received: from harvee.org ([70.91.135.121]:40135 helo=harvee2pb.harvee.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkelC-0005t7-Iy for screen-users@gnu.org; Tue, 30 Sep 2008 08:55:26 -0400 Received: from harvee2pb.harvee.org (localhost [127.0.0.1]) by harvee2pb.harvee.org (Postfix) with ESMTP id 09D1F112A41 for ; Tue, 30 Sep 2008 08:56:51 -0400 (EDT) Received: from ceres.harvee.org (ceres.harvee.org [192.168.25.34]) by harvee2pb.harvee.org (Postfix) with ESMTP id 31CC8112A41; Tue, 30 Sep 2008 08:56:36 -0400 (EDT) Received: from [192.168.253.10] (unknown [192.168.0.14]) by ceres.harvee.org (Postfix) with ESMTPS id A0184E57C2; Tue, 30 Sep 2008 08:55:10 -0400 (EDT) Message-ID: <48E221AD.9090207@harvee.org> Date: Tue, 30 Sep 2008 08:55:09 -0400 From: "Eric S. Johansson" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: holger.dinkel@gmail.com, screen-users@gnu.org References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> In-Reply-To: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hashcash: 1:23:080930:screen-users@gnu.org::6oj+st6g045gQnOC:00000000000000000000000000000000000000000r8Qt X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1489 Lines: 31 holger.dinkel@gmail.com wrote: > Hi, > > I've been using screen for many years now, and find it indispensable. Still, > I know quite some people, who never managed to get a hold of it. The initial > learning curve is too steep for them, I guess... I use screen because I have to, not because I want to. What I value most about screen is the ability to preserve a running session should I lose my connection. What I value second is the ability to share a session. What I value least is the multiple windows stuff and all that crap... err, those features. I found dtach which is 90% of what I need and I created a wrapper (Boleyn) to try automatically reestablish connections on login but, I ran into some problems and I haven't had time to revisit it. If I were a code god (which I most certainly am not), I would give screen a mode where it does nothing but share and preserve connections and reestablish a connection automatically if one is available. Although it probably be easier to start with dtach if I can ever figure out how to differentiate between a "in use" connection versus a detached connection. However, if you're trying to push screen adoption, your suggestions are good ones. You could probably help matters/adoption if you created a "GUI" tool usign dialogue with an eye to easing the option discovery process. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Sep 30 13:30:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id ED2807F56DC for ; Tue, 30 Sep 2008 13:30:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:43341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkj3e-0002wA-6F for erik@plastic-idolatry.com; Tue, 30 Sep 2008 13:30:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kkj2Q-0002f5-AR for screen-users@gnu.org; Tue, 30 Sep 2008 13:29:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kkj2O-0002dF-8B for screen-users@gnu.org; Tue, 30 Sep 2008 13:29:29 -0400 Received: from [199.232.76.173] (port=42624 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkj2O-0002d1-2d for screen-users@gnu.org; Tue, 30 Sep 2008 13:29:28 -0400 Received: from silene.metacarta.com ([208.80.142.18]:32943) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kkj2N-0002yO-Sl for screen-users@gnu.org; Tue, 30 Sep 2008 13:29:27 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 6BE1014C8086 for ; Tue, 30 Sep 2008 13:29:24 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 06822-11 for ; Tue, 30 Sep 2008 13:29:23 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 91B5B14C8085 for ; Tue, 30 Sep 2008 13:29:23 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1Kkj2J-00068B-E7 for screen-users@gnu.org; Tue, 30 Sep 2008 13:29:23 -0400 From: Mark Eichin To: screen-users@gnu.org References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> <48E221AD.9090207@harvee.org> Date: Tue, 30 Sep 2008 13:29:23 -0400 In-Reply-To: <48E221AD.9090207@harvee.org> (Eric S. Johansson's message of "Tue, 30 Sep 2008 08:55:09 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1218 Lines: 33 Yeah, I don't quite see how a screenrc would help either; mine is nine lines, but 5 of them are trivial choices, and the others are arguably workarounds for screen bugs: vbell off escape ^\a # let prompts appear in the titlebar # any xterm, change xterm, change screen... termcapinfo xterm* hs:ts=\E]0;:fs=^G:ds=\E]0;^G hs:ts=\E]0;:fs=^G:ds=\E]0;^G hardstatus on bind q windows # let xterm scrollback behave termcapinfo xterm* te@:ti@ unsetenv DISPLAY unsetenv WINDOWID defscrollback 1000 and most of the time I go to a new machine, I only bother with the escape setting. (I do have a few uses of screen as an "end-user init" where it runs a bunch of processes, but practically application development, it isn't useful to beginners either...) The real issue I've found getting people to use it is that you mostly need to *show* them; the man page is a fine reference (it's one of the ones that I reread every couple of years to look for new things to use) but I'm a unix geek - I suspect a well done *screencast* would be more useful than a screenrc... _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 1 15:06:43 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 26B817F46BD for ; Wed, 1 Oct 2008 15:06:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:47680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl71v-00052J-07 for erik@plastic-idolatry.com; Wed, 01 Oct 2008 15:06:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl71E-0004rF-6d for screen-users@gnu.org; Wed, 01 Oct 2008 15:05:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl71B-0004pa-RB for screen-users@gnu.org; Wed, 01 Oct 2008 15:05:51 -0400 Received: from [199.232.76.173] (port=57984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl71B-0004pG-6F for screen-users@gnu.org; Wed, 01 Oct 2008 15:05:49 -0400 Received: from ik-out-1112.google.com ([66.249.90.182]:46001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kl719-0001IX-Py for screen-users@gnu.org; Wed, 01 Oct 2008 15:05:48 -0400 Received: by ik-out-1112.google.com with SMTP id c21so492939ika.2 for ; Wed, 01 Oct 2008 12:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=qEq2yzehIPT5BibDK6y+4+J7eZg6qY2/m6r5HEv3f3c=; b=lSm5wKj9Hduji9TEv/4ZwNX/jaNycy7NWoNf7ULl1QC0MMXaE8Vcu4jfHZP14W93V6 H8ohS2WB2yfHq/OMZaNDRnxjlCVRHjzZv3YKxup59BFI75HFUL7sWinSoiJATpGB805g xSBcyxtPpEPX7sbTpRdt3Odm6GTPNF+3635Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ebX54Ibl/4f2i0hDy7BZmTBJaNXpgOmvDSEMQ7t/pZ6h+iuT8VYeXPNMDOKYKXaaBD 5Cfg1bO16h9d4P8mcpJKo8NdFroSXhRbyK3FSjDVI53DJK1vsas6ChgkU9ha3GgGE07u T0z2ottNpcBnBcYBc6CWwFLmUux0N2Wdaf4Sc= Received: by 10.210.24.7 with SMTP id 7mr10112314ebx.117.1222887931833; Wed, 01 Oct 2008 12:05:31 -0700 (PDT) Received: from clam.local (5ad934a0.bb.sky.com [90.217.52.160]) by mx.google.com with ESMTPS id j8sm728516gvb.1.2008.10.01.12.05.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 12:05:30 -0700 (PDT) Message-ID: <48E3C9EE.6090007@gmail.com> Date: Wed, 01 Oct 2008 20:05:18 +0100 From: William Pursell User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: screen-users@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: sticky modifier keys X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 544 Lines: 20 I've recently started using sticky modifier keys (eg, touch and release modifier, then hit a key to get the modified key). KDE can be configured to do this, and I can use loadkeys on a console, but I recently was stuck on a console where I didn't have root and couldn't do loadkeys to set the modifiers to be sticky. Is there anyway to get this functionality with screen? -- William Pursell _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 1 17:13:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C6AD27F470E for ; Wed, 1 Oct 2008 17:13:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:35638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl90n-00064L-LG for erik@plastic-idolatry.com; Wed, 01 Oct 2008 17:13:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl8zh-0005DP-3b for screen-users@gnu.org; Wed, 01 Oct 2008 17:12:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl8ze-0005A9-7y for screen-users@gnu.org; Wed, 01 Oct 2008 17:12:24 -0400 Received: from [199.232.76.173] (port=54542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl8zd-00059Z-3o for screen-users@gnu.org; Wed, 01 Oct 2008 17:12:21 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]:14982) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kl8zc-0004pS-Mn for screen-users@gnu.org; Wed, 01 Oct 2008 17:12:20 -0400 Received: by ti-out-0910.google.com with SMTP id u5so2854337tia.10 for ; Wed, 01 Oct 2008 14:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=n7Ppp3pErHAJUCw5ELWAaeceLsLj9SiqQNMk/wcfrX4=; b=Qaw55ZZYUxi9YGs1lf7l94ONiiRYMmEJrb2S5C4NdoHkKrsFNNqJ50N2i+uzeZeKwr 48qI0lzsRtVkmGzHroQtxh18/iBZZQh/aEv7bB63VRdJ8tN+WQWab2Rw5e4fqNvxH7Pp 4huD9q92cBw6OjVsnoYklgzp6HcYHB8DIukvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=UCgysb976IZYy8gVzz93Pcs78Qwewbs1urwAG+C17GNRygzcVoCasYL/aSW75H5KM7 GGEGSG3hG6sXCnBopgr5dSkSLbHVz0uDnfOsmD/WxcRRUFgd9GoWDEEVMlbXZl7GIg3G 9sYFg6DNvb5Krng9hQ72v3q9Evx+qNK6oIa/w= Received: by 10.110.46.3 with SMTP id t3mr12509488tit.33.1222895537842; Wed, 01 Oct 2008 14:12:17 -0700 (PDT) Received: from ?192.168.1.64? (95.244.233.220.exetel.com.au [220.233.244.95]) by mx.google.com with ESMTPS id d1sm1093007tid.13.2008.10.01.14.12.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 14:12:17 -0700 (PDT) Message-Id: <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> From: David Marsh To: screen-users@gnu.org In-Reply-To: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 2 Oct 2008 07:12:11 +1000 References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 871 Lines: 27 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Yeah, I don't quite see how a screenrc would help either; I had the same problem. When I first tried it I couldn't see the point. Then I had problems with a machine constantly disconnecting me due to network problems, and out of frustration I tried screen to keep my session. I worked great. I started signing it's praises to my colleagues once I learned that I could have multiple connections to other machines in their own windown on startup (with the help of ssh). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjj56sACgkQRTj13dyLvnqIPACeJ++xCwBmzwbzq9+47K9Q0NYY j1gAn25UTUq8sjZEPfrGiGiPlga0bLYp =QFcj -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 1 18:55:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 69C9D7F4195 for ; Wed, 1 Oct 2008 18:55:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:46345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlAbP-0000kg-Qm for erik@plastic-idolatry.com; Wed, 01 Oct 2008 18:55:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlAb5-0000jj-To for screen-users@gnu.org; Wed, 01 Oct 2008 18:55:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlAb3-0000ib-Cg for screen-users@gnu.org; Wed, 01 Oct 2008 18:55:07 -0400 Received: from [199.232.76.173] (port=35229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlAb3-0000iT-2u for screen-users@gnu.org; Wed, 01 Oct 2008 18:55:05 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:44965) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlAb2-0004Jm-H5 for screen-users@gnu.org; Wed, 01 Oct 2008 18:55:04 -0400 Received: from [10.0.0.4] (adsl-76-247-115-14.dsl.pltn13.sbcglobal.net [76.247.115.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id EF3D4408804A; Wed, 1 Oct 2008 15:55:02 -0700 (PDT) Message-ID: <48E3FFEC.2050503@cowan.name> Date: Wed, 01 Oct 2008 15:55:40 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: David Marsh References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> In-Reply-To: <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Screen Users Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 890 Lines: 27 David Marsh wrote: >> Yeah, I don't quite see how a screenrc would help either; > > I had the same problem. When I first tried it I couldn't see the point. > > Then I had problems with a machine constantly disconnecting me due to > network problems, and out of frustration I tried screen to keep my > session. I worked great. > > I started signing it's praises to my colleagues once I learned that I > could have multiple connections to other machines in their own windown > on startup (with the help of ssh). Sounds more like praise of screen, rather than an argument for a large sample screenrc file. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 1 18:59:07 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 32282DA5F for ; Wed, 1 Oct 2008 18:59:04 -0400 (EDT) Received: from localhost ([127.0.0.1]:59943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlAem-0002lS-Sz for erik@plastic-idolatry.com; Wed, 01 Oct 2008 18:58:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlAeU-0002lN-Px for screen-users@gnu.org; Wed, 01 Oct 2008 18:58:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlAeS-0002lB-Nq for screen-users@gnu.org; Wed, 01 Oct 2008 18:58:37 -0400 Received: from [199.232.76.173] (port=43107 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlAeS-0002l8-Jx for screen-users@gnu.org; Wed, 01 Oct 2008 18:58:36 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:45309) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlAeS-0004nO-C8 for screen-users@gnu.org; Wed, 01 Oct 2008 18:58:36 -0400 Received: from [10.0.0.4] (adsl-76-247-115-14.dsl.pltn13.sbcglobal.net [76.247.115.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id ABD08408804A; Wed, 1 Oct 2008 15:58:35 -0700 (PDT) Message-ID: <48E400C3.7080806@cowan.name> Date: Wed, 01 Oct 2008 15:59:15 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: holger.dinkel@gmail.com References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> In-Reply-To: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Screen Users Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1395 Lines: 39 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 holger.dinkel@gmail.com wrote: > Hi, > > Some years ago, I tried several Linux-Distros (Debian, SuSe, Fedora) and found > the initial .screenrc-configuration-file quite, umm, minimalistic. > (I don't know if that is still the case? Can anyone confirm?) I think the main problem with this discussion is no one really has a particularly clear understanding of what it is we're talking about having. At least, I know I don't. I think it'd be more fruitful to mention specific deficiencies or improvements that may be made to the current example screenrc and/or etc/screenrc (from our sources, obviously, and not any that might be packager-specific). A diff against the currently-shipped screenrc, or even a wholly new one, with justifications for why it's an improvement over its predecessor, would help greatly. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5ADC7M8hyUobTrERAoP0AJ9C1oa/j0BqxojIx83xD2XlYI/VuQCfYhgo TnS3upaJeVSOlfyq5QzO5MY= =qmme -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 05:00:36 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 437BF7E346A for ; Thu, 2 Oct 2008 05:00:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:35918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlK2t-0004SE-03 for erik@plastic-idolatry.com; Thu, 02 Oct 2008 05:00:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlK2U-0004PF-It for screen-users@gnu.org; Thu, 02 Oct 2008 05:00:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlK2T-0004NJ-3C for screen-users@gnu.org; Thu, 02 Oct 2008 05:00:02 -0400 Received: from [199.232.76.173] (port=49058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlK2S-0004NB-Sh for screen-users@gnu.org; Thu, 02 Oct 2008 05:00:00 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]:54764) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlK2S-0001O2-4l for screen-users@gnu.org; Thu, 02 Oct 2008 05:00:00 -0400 Received: by ti-out-0910.google.com with SMTP id u5so3882634tia.10 for ; Thu, 02 Oct 2008 01:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=9+OJAIyQCPl+ScReytLBIK0oYUeNHgTFd+CXX5gusu0=; b=PzfYINSAylgnb76cUVJwIvCBsnYT8Xohl2cj4/FjewCbF0B5lje1UglDdKW3pWunwu xzFWLpWQGf3ZQVdjjSyjyr1naKJ+CJO4pE8S5p6mI61bJzCwBtp725iU1+IB7Olr71ju uDgFIewjWvC1Si6IbLD9t0IaFpefCimYTVty0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=Mujehz4cJbTgrFZY1y7HPOtcQ1eVEDeWhgOKTYp4VM+Oj4PVwK3/VRRxIq8L2xxeec xVwhpXYXt6G0PHmebqZx/NlmamDv1BX7MuK6aPXLkIkhZwJlXK6WVI9AHACkN+5m5uI8 tVedyE6JZy/SrDTiuSOHcfYEeoz2T3qy6ItMM= Received: by 10.110.95.15 with SMTP id s15mr13637356tib.45.1222937997920; Thu, 02 Oct 2008 01:59:57 -0700 (PDT) Received: from ?192.168.1.64? (95.244.233.220.exetel.com.au [220.233.244.95]) by mx.google.com with ESMTPS id a14sm3293985tia.12.2008.10.02.01.59.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Oct 2008 01:59:57 -0700 (PDT) Message-Id: <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> From: David Marsh To: Micah Cowan In-Reply-To: <48E3FFEC.2050503@cowan.name> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 2 Oct 2008 18:59:50 +1000 References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Screen Users Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1200 Lines: 39 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/10/2008, at 8:55 AM, Micah Cowan wrote: > David Marsh wrote: >>> Yeah, I don't quite see how a screenrc would help either; >> >> I had the same problem. When I first tried it I couldn't see the >> point. > > Sounds more like praise of screen, rather than an argument for a large > sample screenrc file. Oh, indeed it is certainly praise for screen. Maybe I didn't explain what I meant very well; When I tried screen for the very first time I really didn't understand how it worked or even what it did that I couldn't do with a tabbed terminal manager. A simple .screenrc file that opened two windows with shell in each, plus a nice simple hardstatus line might have help me to understand how screen was useful sooner. Maybe put a very simple example on http://www.gnu.org/software/screen/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkjkjYcACgkQRTj13dyLvnoBtgCeKrnaKvoU7X/nP4ALOs6E/Cbl HkEAnj7LY2NjXSGwfi+CbC712e9az2/q =terw -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 06:16:46 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 694287EE5D9 for ; Thu, 2 Oct 2008 06:16:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:45291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLEa-0006DW-ES for erik@plastic-idolatry.com; Thu, 02 Oct 2008 06:16:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlLE5-0006B3-Bo for screen-users@gnu.org; Thu, 02 Oct 2008 06:16:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlLE1-00066t-BX for screen-users@gnu.org; Thu, 02 Oct 2008 06:16:04 -0400 Received: from [199.232.76.173] (port=44381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLE1-00066e-3x for screen-users@gnu.org; Thu, 02 Oct 2008 06:16:01 -0400 Received: from rv-out-0708.google.com ([209.85.198.245]:13094) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlLE0-0008R9-JJ for screen-users@gnu.org; Thu, 02 Oct 2008 06:16:00 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1159031rvb.6 for ; Thu, 02 Oct 2008 03:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Yiy98W1hpSYiTCBCJHbV40BtJrgjka2vOOtqSuT31no=; b=e2rgK0swYBe8xuZ9KR8V/2/oezXla0HVtA8Hw6HwdqiLm7ba3fEz87rapQjdInJAc6 n/tHo39NfpjJWoC0o2E93k/ROrh7gvyWHf1QsIPO2/jaQlDDor8OzyxidBG+vA7LtcWF mmkMYY6HePOfTxG/x3T2WmMyef+kuwlWWmErE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WQe7A3gDPJsJRBJLpfqJq6EfDUO9G59EJXYc97gHdIw4r4a6Zua5XvoxIOlvnZOYp4 6TKefX//gaa9Sc1KqYFrNOboRrjQCuNmfdjyWrICLCfAZN1cUhPQ0vZS3tjaTENufvPo ckdZ6g+m+bZzURWgRSOyIvMYdyoL5o1JyU5MM= Received: by 10.141.98.18 with SMTP id a18mr5133523rvm.60.1222942558866; Thu, 02 Oct 2008 03:15:58 -0700 (PDT) Received: by 10.140.226.21 with HTTP; Thu, 2 Oct 2008 03:15:58 -0700 (PDT) Message-ID: Date: Thu, 2 Oct 2008 18:15:58 +0800 From: "Aaron Davies" To: "Screen Users" In-Reply-To: <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1622 Lines: 45 On Thu, Oct 2, 2008 at 4:59 PM, David Marsh wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 02/10/2008, at 8:55 AM, Micah Cowan wrote: > >> David Marsh wrote: >>>> >>>> Yeah, I don't quite see how a screenrc would help either; >>> >>> I had the same problem. When I first tried it I couldn't see the point. >> >> Sounds more like praise of screen, rather than an argument for a large >> sample screenrc file. > > Oh, indeed it is certainly praise for screen. > > Maybe I didn't explain what I meant very well; When I tried screen for the > very first time I really didn't understand how it worked or even what it did > that I couldn't do with a tabbed terminal manager. > > A simple .screenrc file that opened two windows with shell in each, plus a > nice simple hardstatus line might have help me to understand how screen was > useful sooner. i don't remember off the top of my head what the /etc/screenrc and/or default settings are in the source distro of screen, but i've seen plenty of installations where not having a ~/.screenrc leads to screen starting with no status line at all--you can't tell anything's happened, even once you start creating new windows. the only way to know you're inside screen would be by the odd things that happen once you hit ctrl-A. a default hardstatus/caption showing, at minimum, the list of screens with the current one highlighted would be a huge help. -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:12:45 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,PLING_QUERY, RCVD_NUMERIC_HELO autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7F52C7E8C4C for ; Thu, 2 Oct 2008 10:12:45 -0400 (EDT) Received: from localhost ([127.0.0.1]:39250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlOuz-0001I1-2e for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:12:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkqMb-0000P1-J5 for screen-users@gnu.org; Tue, 30 Sep 2008 21:18:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkqMY-0000M3-NR for screen-users@gnu.org; Tue, 30 Sep 2008 21:18:49 -0400 Received: from [199.232.76.173] (port=36121 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkqMY-0000Lm-EG for screen-users@gnu.org; Tue, 30 Sep 2008 21:18:46 -0400 Received: from main.gmane.org ([80.91.229.2]:44188 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KkqMY-0006Ul-2t for screen-users@gnu.org; Tue, 30 Sep 2008 21:18:46 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KkqMN-0002cj-LO for screen-users@gnu.org; Wed, 01 Oct 2008 01:18:35 +0000 Received: from 203.7.155.64 ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 01:18:35 +0000 Received: from trentbuck by 203.7.155.64 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 01:18:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Wed, 01 Oct 2008 11:18:40 +1000 Message-ID: <30myhpf6z3.fsf@Clio.twb.ath.cx> References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.7.155.64 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:RY1kWWa77raQmoRcf726cvkvdiI= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 02 Oct 2008 10:12:15 -0400 Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2856 Lines: 51 holger.dinkel@gmail.com writes: > Some years ago, I tried several Linux distros and found /etc/screenrc > quite minimalistic. It took me a long time to adapt the .screenrc to > my needs. Screen definitely has a big problem with discoverability. Very often, I'll be chatting to someone and they'll say "oh wow, screen can do that? I never knew!" And "that" could be anything from auto-naming windows with :shelltitle to connecting to talking to serial ttys (replacing minicom) to entering latin-1 characters using :digraph. (Incidentally Micah, implementing all the digraphs documented in the RFC would be a neat Unicode-related enhancement.) > So, my idea was: Why not use the combined knowledge of the people > on this mailinglist to compile a user-friendly, yet powerful initial > .screenrc-configuration and ship it to the individual package-maintainers? I'm strongly against integrators shipping their favourite customizations as the default configuration. Let me give an example: a few months ago, RMS decided that the colour red was too hard to read on his terminal, so he changed the DEFAULT emacs configuration so that comments have the same colour as normal text on the terminal. To get the old behaviour back, I have to add about 30 lines to my .emacs -- whereas RMS could have just added a single line to *his* emacs to turn that color off. Summary: fixing unwanted changes to distro-specific on-by-default features is difficult and annoying. Don't make distro-specific tweaks unless you have a REALLY good reason. IMO a better approach would be to have a documentation resource that has a number of articles that explain how to use Screen features in "real world" scenarios. For example, rather than just saying "use ^A^M to turn monitoring on", you'd start with a problem "how do I know when people are talking in IRC, using irssi?" and then discuss how to implement it effectively -- which would include not only discussion of :monitor, but also how to do things like turning off the clock in irssi, so you don't get "spurious" activity every minute when it changes. (I started writing a "Screen Hacks" book along these lines, but got distracted appallingly quickly.) If you just dump a bunch of .screenrcs somewhere with the (typically limited) commentary to explain what each part does, all you'll end up with is the scenario where people just copy-and-paste other people's .screenrcs wholesale, with no understanding of what they do. This tends to cause regressions -- for example, someone might accidentally copy my "sorendition = dd" line when they are trying to get my hardstatus configuration, and then complain that their hardstatus line doesn't have colour anymore. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:13:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0753B7E8C4C for ; Thu, 2 Oct 2008 10:13:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:39719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlOvl-0001hF-3c for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:13:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkqiT-00035v-4h for screen-users@gnu.org; Tue, 30 Sep 2008 21:41:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkqiS-00035f-5H for screen-users@gnu.org; Tue, 30 Sep 2008 21:41:24 -0400 Received: from [199.232.76.173] (port=35262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkqiS-00035c-2t for screen-users@gnu.org; Tue, 30 Sep 2008 21:41:24 -0400 Received: from main.gmane.org ([80.91.229.2]:39729 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KkqiR-0000hU-2h for screen-users@gnu.org; Tue, 30 Sep 2008 21:41:23 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KkqiO-0003KW-Ne for screen-users@gnu.org; Wed, 01 Oct 2008 01:41:20 +0000 Received: from 203.7.155.64 ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 01:41:20 +0000 Received: from trentbuck by 203.7.155.64 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 01:41:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Wed, 01 Oct 2008 11:41:22 +1000 Message-ID: <307i8tf5x9.fsf@Clio.twb.ath.cx> References: <1825B91A-6F08-4910-A02E-447B2A16B2D5@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.7.155.64 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:zXorS+8nJbA+mnmX7A0q4Qt7/P8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 02 Oct 2008 10:12:15 -0400 Subject: Re: Screen has odd blank out behaviour X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2315 Lines: 50 Ed Wagner writes: > [a long, confusing post] I'm sorry, Ed, but I just couldn't understand that post. Please answer the following questions *separately*: 1) what are the steps to reproduce the problem? 2) what happens when you follow the steps in (1)? 3) what do you want/expect to happen when you follow the steps in (1)? In your previous post you have mixed up the answers with - your guesses as to what the problem is; - what references you consulted; and - your attempts to fix the problem These data get in the way when we're trying to understand what the problem *is* (the first three questions). It's like going to your doctor and saying "I need this leg amputated" (your guess) instead of "my knee make a funny cracking noise when I bend over" (the problem). By all means give your guesses, but do that *after* answering the first three questions. Here's an example of a good report: From Terminal.app in OS X, I ssh to a Debian Etch server and run screen there. In screen if I then run less(1), when I quit less the screen is cleared -- I just get a shell prompt at the top of the screen. I want it to go back to showing the shell output from before I ran less. For example, if I ran "ls -l" before I ran "less", I expect the ls output to be displayed again when I quit less. This problem also happens if I connect to the Debian server from an Ubuntu 8.04 laptop using xterm or gnome-terminal. It also happens if I run "emacs" instead of "less". The problem goes away if I just ssh to the server and run less or emacs straight away (without starting screen), the problem goes away. The problem still happens if I remove my .screenrc on both OS X and on the Debian server. I'm starting a new screen session each time, not using "screen -R" to reconnect to an old one. I looked at the screen manual and the mailing list archive, but I couldn't work out how to fix this. I tried putting "autonuke off" in my .screenrc on the Debian server, but it didn't help. References: http://www.catb.org/~esr/faqs/smart-questions.html German translation: http://www.tty1.net/smart-questions_de.html _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:14:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9C97A742C7F for ; Thu, 2 Oct 2008 10:14:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:40206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlOwR-00026F-SK for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:14:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl7Hs-0002Sy-Ew for screen-users@gnu.org; Wed, 01 Oct 2008 15:23:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl7Hq-0002RI-Sg for screen-users@gnu.org; Wed, 01 Oct 2008 15:23:04 -0400 Received: from [199.232.76.173] (port=39477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl7Hq-0002R3-Lq for screen-users@gnu.org; Wed, 01 Oct 2008 15:23:02 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:22105) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kl7Hq-0004u9-C4 for screen-users@gnu.org; Wed, 01 Oct 2008 15:23:02 -0400 Received: by ug-out-1314.google.com with SMTP id z36so1161643uge.17 for ; Wed, 01 Oct 2008 12:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=knT7fuoLlbGFOWdAgVupUYtrIcIEIqRvrCuqJpAHKGk=; b=ETOcmJYt3iiZW3Lib1lqDP/KBj041RS4GCHj9P/9CoGSdwiUHtYsefSHZbZy2bnTyk iI64u/6RE1Mn5tVGp9kN8vCNPHTkPW7BSlzvqmELtb5vnHNvoBn/U2q2Q//511AFeODR c02YDxAk7HtVVL6J+OBtXnxUxFAiOHBYRJ+8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=hda9/Uco28EFm3he0LY1AlsLdXLBerDlNZDu5gZq+uXJF2apPb+6rqzXff00AKxbj3 iqpQz+4uMHedGkogUDV4nwp58fPUaK8yl4Aa/ZN3MBAtX8FHpnl/2VdBaa2VI8FLeQpv UIAgy2NsTYgyywg4kewRrmsg8by41fMDenU8Q= Received: by 10.66.233.10 with SMTP id f10mr3105028ugh.8.1222888981516; Wed, 01 Oct 2008 12:23:01 -0700 (PDT) Received: from ?192.168.1.3? (f80-217-5-188.bredband.comhem.se [80.217.5.188]) by mx.google.com with ESMTPS id m1sm9605956uge.51.2008.10.01.12.22.59 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 12:23:00 -0700 (PDT) From: peter holm To: screen-users@gnu.org Content-Type: text/plain Date: Wed, 01 Oct 2008 21:22:58 +0200 Message-Id: <1222888978.6095.13.camel@ubTop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 02 Oct 2008 10:12:16 -0400 Subject: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 377 Lines: 16 I am running Ubuntu Hardy I use screen mostley locallly. I have this problem. When i deatacch a screensession and then reboot its gone. is there anything i can do to make my computer save the sessions between reboots.? /Peter _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:15:02 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0CE517EA317 for ; Thu, 2 Oct 2008 10:15:02 -0400 (EDT) Received: from localhost ([127.0.0.1]:40694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlOxC-0002Wp-CY for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:14:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl9Oq-0003Cr-9r for screen-users@gnu.org; Wed, 01 Oct 2008 17:38:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl9Op-0003BX-EL for screen-users@gnu.org; Wed, 01 Oct 2008 17:38:23 -0400 Received: from [199.232.76.173] (port=51963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl9Op-0003BQ-6P for screen-users@gnu.org; Wed, 01 Oct 2008 17:38:23 -0400 Received: from dsl081-056-026.sfo1.dsl.speakeasy.net ([64.81.56.26]:43987 helo=mail.funkware.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kl9Oo-00024U-OR for screen-users@gnu.org; Wed, 01 Oct 2008 17:38:23 -0400 Received: from [127.0.0.1] (Host-93.okwhatever.com [207.111.254.93] (may be forged)) (authenticated bits=0) by mail.funkware.com (8.13.1/8.13.1) with ESMTP id m91Kh5tw007373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 1 Oct 2008 13:43:14 -0700 Message-ID: <48E3E0D7.20503@funkware.com> Date: Wed, 01 Oct 2008 13:43:03 -0700 From: Alex Tang User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: screen-users@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7160:2.4.4, 1.2.40, 4.0.166 definitions=2008-10-01_04:2008-09-29, 2008-10-01, 2008-10-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0805090000 definitions=main-0810010141 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Greylist: delayed 3304 seconds by postgrey-1.27 at monty-python; Wed, 01 Oct 2008 17:38:20 EDT X-Mailman-Approved-At: Thu, 02 Oct 2008 10:12:16 -0400 Subject: config to get screen to never touch the hardware status line in xterm X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1122 Lines: 30 Hi folks. I've been reading on google and in the archives about how folks do cool things with the hardstatus and "hardware status" line in xterms. I'm trying to do exactly the opposite...I want screen (when used in a terminal program that announces itself as "xterm" e.g. real xterm or putty) to never touch the hardware status line (title bar) of the window. I tried "hardstatus off", which makes the "C-a w" command and other informational messages appear in the last line of the terminal in reverse text (as if i was using a vt100 or some other terminal type that doesn't have the hardware status capability), however there are still some actions (creating a new window, switching windows), that muck with the title bar. I don't have access to the termcap/terminfos so i can't change those. I'm looking for a way to do this via command line or via .screenrc. Is there a config param i missed? Or does anyone have any other ideas? Thanks. ...alex... _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:15:48 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5F7867EA317 for ; Thu, 2 Oct 2008 10:15:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:41161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlOxw-0002yj-Ej for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:15:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlCcv-0005dl-2u for screen-users@gnu.org; Wed, 01 Oct 2008 21:05:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlCct-0005cb-Lj for screen-users@gnu.org; Wed, 01 Oct 2008 21:05:08 -0400 Received: from [199.232.76.173] (port=51087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlCct-0005cY-FO for screen-users@gnu.org; Wed, 01 Oct 2008 21:05:07 -0400 Received: from main.gmane.org ([80.91.229.2]:41550 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlCct-0007Ng-2t for screen-users@gnu.org; Wed, 01 Oct 2008 21:05:07 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KlCco-0006ig-Uh for screen-users@gnu.org; Thu, 02 Oct 2008 01:05:02 +0000 Received: from 203.7.155.64 ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 01:05:02 +0000 Received: from trentbuck by 203.7.155.64 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 01:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Thu, 02 Oct 2008 11:05:06 +1000 Message-ID: <30fxnfzu0t.fsf@Clio.twb.ath.cx> References: <48E3C9EE.6090007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.7.155.64 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:r8R8dxpleVI96Jf7rYYoH5xL4oc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 02 Oct 2008 10:12:16 -0400 Subject: Re: sticky modifier keys X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 676 Lines: 14 William Pursell writes: > I've recently started using sticky modifier keys [...] > Is there anyway to get this functionality with screen? I think it's impossible. X11 clients can see keydown and keyup events for the modifier key(s) and the non-mod key separately. Screen just sees a single event (a keydownup, essentially) of the entire chord. For example if you press Control_L and Alt_L, nothing is sent to screen until you also press (say) f -- at which point Screen sees the two chords ^[ ^F. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:29:55 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 72C4F7E436E for ; Thu, 2 Oct 2008 10:29:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:48075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPBb-00064U-7J for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:29:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlPAV-0005ZL-IM for screen-users@gnu.org; Thu, 02 Oct 2008 10:28:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlPAT-0005Yb-Qi for screen-users@gnu.org; Thu, 02 Oct 2008 10:28:39 -0400 Received: from [199.232.76.173] (port=60153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPAT-0005YW-Ku for screen-users@gnu.org; Thu, 02 Oct 2008 10:28:37 -0400 Received: from mail5.dslextreme.com ([66.51.199.81]:45920) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KlPAT-00037V-Al for screen-users@gnu.org; Thu, 02 Oct 2008 10:28:37 -0400 Received: (qmail 13382 invoked from network); 2 Oct 2008 14:28:34 -0000 Received: from unknown (HELO arthur.bludgeon.org) (208.127.177.191) by mail5.dslextreme.com with SMTP; Thu, 02 Oct 2008 07:28:34 -0700 Received: by arthur.bludgeon.org (Postfix, from userid 500) id AE201D989E8; Thu, 2 Oct 2008 07:28:33 -0700 (PDT) Date: Thu, 2 Oct 2008 07:28:33 -0700 From: Ray Van Dolson To: screen-users@gnu.org Message-ID: <20081002142833.GA24310@bludgeon.org> References: <1222888978.6095.13.camel@ubTop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1222888978.6095.13.camel@ubTop> User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 570 Lines: 19 On Wed, Oct 01, 2008 at 09:22:58PM +0200, peter holm wrote: > I am running Ubuntu Hardy > I use screen mostley locallly. > I have this problem. > When i deatacch a screensession and then reboot its gone. > > is there anything i can do to make my computer save the sessions between > reboots.? No. The actual shell process gets killed on reboot. There would be nothing for the session data to point to any longer. Ray _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 10:43:42 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 53B297F0F6D for ; Thu, 2 Oct 2008 10:43:42 -0400 (EDT) Received: from localhost ([127.0.0.1]:39070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPOw-0002tx-IV for erik@plastic-idolatry.com; Thu, 02 Oct 2008 10:43:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlPOb-0002ta-9r for screen-users@gnu.org; Thu, 02 Oct 2008 10:43:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlPOa-0002tO-Qj for screen-users@gnu.org; Thu, 02 Oct 2008 10:43:12 -0400 Received: from [199.232.76.173] (port=46226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPOa-0002tL-NE for screen-users@gnu.org; Thu, 02 Oct 2008 10:43:12 -0400 Received: from qw-out-1920.google.com ([74.125.92.150]:6000) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlPOa-0001mX-Fh for screen-users@gnu.org; Thu, 02 Oct 2008 10:43:12 -0400 Received: by qw-out-1920.google.com with SMTP id 4so283077qwk.24 for ; Thu, 02 Oct 2008 07:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pFxM3eHgAkOVTqAjadFxeAUMPwhroOKMgiI75MKe3mw=; b=h6kH7VXDDi5ioqWrg/0GA7FoZzKjXXfc3vNBT+d2sQzfNVCHELU5dacOWewRiJVk6O JodcHCx2ZY35LPuIB8BGDKVZqt45yV/PSeyQXOUUHJJTKqwspq7AkqRE9aS9gUbjwuk8 ZLwOHwja2Pt9fEvu/B93VQ8W1zeeA2cDt2dFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DpiVrmvk3FP8G6RDMIbtuZA2MehvVfSOWZ2+uAU+nOWkPx3Y3coEr+1xgtZM17JsjK xgw0e90gZbEVCE88DmRjGh8+DL9HDzdRQZAyIBSOprGKeIRJjwWZcgl1f3PgAtlTyZ+C tFp5zUMm3T1a2JUa9Ego/Va6Qtznag+xsiH3w= Received: by 10.214.26.18 with SMTP id 18mr9769922qaz.83.1222958589816; Thu, 02 Oct 2008 07:43:09 -0700 (PDT) Received: by 10.215.100.13 with HTTP; Thu, 2 Oct 2008 07:43:09 -0700 (PDT) Message-ID: <1b30fd140810020743g29942786n77e3e392c462f85@mail.gmail.com> Date: Thu, 2 Oct 2008 15:43:09 +0100 From: davidcollins001@gmail.com To: "Ray Van Dolson" In-Reply-To: <20081002142833.GA24310@bludgeon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222888978.6095.13.camel@ubTop> <20081002142833.GA24310@bludgeon.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO X-Status: A Content-Length: 1232 Lines: 36 I generally have long running screen sessions that have certain windows open, not always the same so not worth setting in .screenrc. Is it possible for screen to save session? Or at least just save the window name, number, path and just some basic info that would be able to use to reopen the same configuration? Sorry if this is seen as ambushing the thread I thought it was a relavent enough question to ask in this thread. On 02/10/2008, Ray Van Dolson wrote: > On Wed, Oct 01, 2008 at 09:22:58PM +0200, peter holm wrote: >> I am running Ubuntu Hardy >> I use screen mostley locallly. >> I have this problem. >> When i deatacch a screensession and then reboot its gone. >> >> is there anything i can do to make my computer save the sessions between >> reboots.? > > No. The actual shell process gets killed on reboot. There would be > nothing for the session data to point to any longer. > > Ray > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 11:36:37 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 822877EBF82 for ; Thu, 2 Oct 2008 11:36:37 -0400 (EDT) Received: from localhost ([127.0.0.1]:33266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlQE7-0000K0-2K for erik@plastic-idolatry.com; Thu, 02 Oct 2008 11:36:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlQDn-0000JW-6P for screen-users@gnu.org; Thu, 02 Oct 2008 11:36:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlQDl-0000Ie-IT for screen-users@gnu.org; Thu, 02 Oct 2008 11:36:06 -0400 Received: from [199.232.76.173] (port=33699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlQDl-0000IX-Fm for screen-users@gnu.org; Thu, 02 Oct 2008 11:36:05 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58438) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlQDl-0000af-5V for screen-users@gnu.org; Thu, 02 Oct 2008 11:36:05 -0400 Received: from [10.0.0.4] (adsl-76-247-115-14.dsl.pltn13.sbcglobal.net [76.247.115.14]) by mabruk.micah.cowan.name (Postfix) with ESMTP id F06E7408804A; Thu, 2 Oct 2008 08:36:03 -0700 (PDT) Message-ID: <48E4EA8F.2060602@cowan.name> Date: Thu, 02 Oct 2008 08:36:47 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Alex Tang References: <48E3E0D7.20503@funkware.com> In-Reply-To: <48E3E0D7.20503@funkware.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: config to get screen to never touch the hardware status line in xterm X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1134 Lines: 34 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alex Tang wrote: > Hi folks. > I've been reading on google and in the archives about how folks do cool > things with the hardstatus and "hardware status" line in xterms. I'm > trying to do exactly the opposite...I want screen (when used in a > terminal program that announces itself as "xterm" e.g. real xterm or > putty) to never touch the hardware status line (title bar) of the window. AIUI, Screen will only ever touch the xterm title bar if it has been told it's the "hardstatus line" via "termcapinfo" lines that define the fs and ts features. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5OqO7M8hyUobTrERApy2AJ9EV4bdrQlMBBOZ/hIfuaJZdzk5sQCcCQJJ Ts2ANwXb+GuXv5h+Uuj7A7Q= =p9sy -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 13:23:23 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C16867ED63B for ; Thu, 2 Oct 2008 13:23:23 -0400 (EDT) Received: from localhost ([127.0.0.1]:32882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlRtR-0001Kc-8n for erik@plastic-idolatry.com; Thu, 02 Oct 2008 13:23:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlRt7-0001KL-Hy for screen-users@gnu.org; Thu, 02 Oct 2008 13:22:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlRt6-0001K5-NG for screen-users@gnu.org; Thu, 02 Oct 2008 13:22:53 -0400 Received: from [199.232.76.173] (port=53827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlRt6-0001K2-JP for screen-users@gnu.org; Thu, 02 Oct 2008 13:22:52 -0400 Received: from silene.metacarta.com ([208.80.142.18]:45052) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlRt6-00024h-9I for screen-users@gnu.org; Thu, 02 Oct 2008 13:22:52 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 01C8D14C8094 for ; Thu, 2 Oct 2008 13:22:49 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 16321-11 for ; Thu, 2 Oct 2008 13:22:48 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 1D04E14C8091 for ; Thu, 2 Oct 2008 13:22:48 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1KlRt1-00060O-UJ for screen-users@gnu.org; Thu, 02 Oct 2008 13:22:48 -0400 From: Mark Eichin To: screen-users@gnu.org References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> Date: Thu, 02 Oct 2008 13:22:47 -0400 In-Reply-To: <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> (David Marsh's message of "Thu, 2 Oct 2008 07:12:11 +1000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1294 Lines: 29 David Marsh writes: >> Yeah, I don't quite see how a screenrc would help either; > > I had the same problem. When I first tried it I couldn't see the point. > > Then I had problems with a machine constantly disconnecting me due to > network problems, and out of frustration I tried screen to keep my > session. I worked great. > > I started signing it's praises to my colleagues once I learned that I > could have multiple connections to other machines in their own > windown on startup (with the help of ssh). My take on that is that it's still not a screenrc that's important, but getting the user to understand screen-management in the first place - those features don't make sense until you "get" screen selection (I have some colleagues who still don't, but are quite happy to use screen for single-session preservation.) Once you get that, "oh yeah, you can stuff things you like in .screenrc, just like you do with your .bashrc or .login" is a *very* small step; it's the features themselves that need promotion. (Thus my suggestion of screencasts, as a substitute for the look-over-my-shoulder approach.) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 14:15:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BBA157F4FC4 for ; Thu, 2 Oct 2008 14:15:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:36133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlSi8-0007qM-WC for erik@plastic-idolatry.com; Thu, 02 Oct 2008 14:15:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlSgE-0007GF-QZ for screen-users@gnu.org; Thu, 02 Oct 2008 14:13:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlSgC-0007Fs-1x for screen-users@gnu.org; Thu, 02 Oct 2008 14:13:38 -0400 Received: from [199.232.76.173] (port=49505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlSgB-0007Fj-SS for screen-users@gnu.org; Thu, 02 Oct 2008 14:13:35 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:50997) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlSgB-0002qC-Hb for screen-users@gnu.org; Thu, 02 Oct 2008 14:13:35 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 87649408804A; Thu, 2 Oct 2008 11:12:46 -0700 (PDT) Message-ID: <48E50F1D.4030300@cowan.name> Date: Thu, 02 Oct 2008 11:12:45 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: David Marsh References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> In-Reply-To: <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Error: This connection is not (no longer?) in the cache. Cc: Screen Users Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1059 Lines: 34 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Marsh wrote: > A simple .screenrc file that opened two windows with shell in each, plus > a nice simple hardstatus line might have help me to understand how > screen was useful sooner. Yes, but then it's not a useful default .screenrc, more of a sample of what you might do. IMO, that makes it a better candidate for the Wiki than inclusion in the source package. Really, screen could do with a nice tutorial, in addition to its current reference-manual documentation. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5Q8d7M8hyUobTrERAm4TAKCFxz8TQVevvU7GCUls4JpBMn9rnACfSBMm JB+nnRToK9YP6DENjsXWpZc= =HF0r -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 19:47:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A00FE7EF9F2 for ; Thu, 2 Oct 2008 19:47:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:52746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlXsy-0000Tf-P5 for erik@plastic-idolatry.com; Thu, 02 Oct 2008 19:47:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlXsg-0000Ta-0n for screen-users@gnu.org; Thu, 02 Oct 2008 19:46:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlXse-0000TO-Nh for screen-users@gnu.org; Thu, 02 Oct 2008 19:46:49 -0400 Received: from [199.232.76.173] (port=48133 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlXse-0000TL-IH for screen-users@gnu.org; Thu, 02 Oct 2008 19:46:48 -0400 Received: from main.gmane.org ([80.91.229.2]:60388 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlXse-0003Ps-7x for screen-users@gnu.org; Thu, 02 Oct 2008 19:46:48 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KlXsb-0000yk-2Q for screen-users@gnu.org; Thu, 02 Oct 2008 23:46:45 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 23:46:45 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 23:46:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Fri, 03 Oct 2008 09:46:53 +1000 Message-ID: <30prmir24y.fsf@Clio.twb.ath.cx> References: <1222888978.6095.13.camel@ubTop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Kp/OR6YH5XB6FKA9uqi7TAl6AAs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1101 Lines: 22 peter holm writes: > I am running Ubuntu Hardy > I use screen mostley locallly. > I have this problem. > When i deatacch a screensession and then reboot its gone. > > is there anything i can do to make my computer save the sessions between > reboots.? Like all other processes, the screen session's status is stored in volatile memory. That means when the hardware loses power, the process state vanishes. Nothing you can do inside screen can stop this. What you *can* do is investigate the ACPI sleep status sometimes called "suspend to ram" or "suspend to disk". The former will put your machine into a low-power mode, but still provide power to the volatile memory. The latter, which is probably what you want, writes a copy of the volatile memory to a swap partition, and restores it when you turn the machine back on. This gives you (some) benefits of an always-on machine without the continuous power consumption. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 19:55:35 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DB7707ED8E1 for ; Thu, 2 Oct 2008 19:55:34 -0400 (EDT) Received: from localhost ([127.0.0.1]:60044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlY10-0002vT-7Q for erik@plastic-idolatry.com; Thu, 02 Oct 2008 19:55:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlY0i-0002vE-Gi for screen-users@gnu.org; Thu, 02 Oct 2008 19:55:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlY0h-0002v2-4R for screen-users@gnu.org; Thu, 02 Oct 2008 19:55:07 -0400 Received: from [199.232.76.173] (port=45611 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlY0g-0002uz-Up for screen-users@gnu.org; Thu, 02 Oct 2008 19:55:06 -0400 Received: from main.gmane.org ([80.91.229.2]:49850 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlY0g-0006Qg-Bf for screen-users@gnu.org; Thu, 02 Oct 2008 19:55:06 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KlY0c-0001PE-OS for screen-users@gnu.org; Thu, 02 Oct 2008 23:55:02 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 23:55:02 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 23:55:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Fri, 03 Oct 2008 09:50:22 +1000 Message-ID: <30iqsar1z5.fsf@Clio.twb.ath.cx> References: <48E3E0D7.20503@funkware.com> <48E4EA8F.2060602@cowan.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:/8pASetEjvP0LTRE/z2cmTgx/1Q= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: config to get screen to never touch the hardware status line in xterm X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1021 Lines: 18 Micah Cowan writes: > Alex Tang wrote: >> Hi folks. >> I've been reading on google and in the archives about how folks do cool >> things with the hardstatus and "hardware status" line in xterms. I'm >> trying to do exactly the opposite...I want screen (when used in a >> terminal program that announces itself as "xterm" e.g. real xterm or >> putty) to never touch the hardware status line (title bar) of the window. > > AIUI, Screen will only ever touch the xterm title bar if it has been > told it's the "hardstatus line" via "termcapinfo" lines that define the > fs and ts features. When I've had the misfortune to use CentOS-based hosts, I noticed they fucked with the xterm window title by default. This probably means that either RHEL or the guy who built our SOE put stupid nonstandard things in /etc/screenrc (or /etc/X11/Xresources/xterm). _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 19:59:41 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id F3C4F7EC34C for ; Thu, 2 Oct 2008 19:59:40 -0400 (EDT) Received: from localhost ([127.0.0.1]:36992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlY4y-0004ea-FE for erik@plastic-idolatry.com; Thu, 02 Oct 2008 19:59:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlY4h-0004eV-As for screen-users@gnu.org; Thu, 02 Oct 2008 19:59:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlY4e-0004eJ-Qj for screen-users@gnu.org; Thu, 02 Oct 2008 19:59:14 -0400 Received: from [199.232.76.173] (port=57768 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlY4e-0004eG-Ln for screen-users@gnu.org; Thu, 02 Oct 2008 19:59:12 -0400 Received: from dirtybill.solutionsforprogress.com ([216.158.3.70]:56831) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlY4e-0007qM-7Z for screen-users@gnu.org; Thu, 02 Oct 2008 19:59:12 -0400 Received: from [207.245.124.125] (port=58135 helo=worlock.plastic-idolatry.com) by dirtybill.solutionsforprogress.com with esmtpa (Exim 4.50) id 1KlY4a-0000RW-V7 for screen-users@gnu.org; Thu, 02 Oct 2008 19:59:09 -0400 Received: by worlock.plastic-idolatry.com (Postfix, from userid 1014) id 211A6770974; Thu, 2 Oct 2008 19:59:16 -0400 (EDT) Date: Thu, 2 Oct 2008 19:59:16 -0400 From: Erik Osheim To: screen-users@gnu.org Message-ID: <20081002235912.GB32049@worlock.plastic-idolatry.com> References: <1222888978.6095.13.camel@ubTop> <20081002142833.GA24310@bludgeon.org> <1b30fd140810020743g29942786n77e3e392c462f85@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b30fd140810020743g29942786n77e3e392c462f85@mail.gmail.com> X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 207.245.124.125 X-SA-Exim-Mail-From: erik@plastic-idolatry.com X-SA-Exim-Scanned: No (on dirtybill.solutionsforprogress.com); SAEximRunCond expanded to false X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1953 Lines: 45 On Thu, Oct 02, 2008 at 03:43:09PM +0100, davidcollins001@gmail.com wrote: > I generally have long running screen sessions that have certain > windows open, not always the same so not worth setting in .screenrc. > Is it possible for screen to save session? Or at least just save the > window name, number, path and just some basic info that would be able > to use to reopen the same configuration? > > Sorry if this is seen as ambushing the thread I thought it was a > relavent enough question to ask in this thread. It might be possible for screen to detect what it "thinks" is the last command you ran in each window, and write that out to a file. Just off the top of my head, here are the problems with that: 1. Job control/shell tricks 2. Whether to re-run commands from absolute or relative locations (e.g. if you are in ~/alpha, run "xyz ./foo", then later resume from ~/beta, should you do "xyz ./foo" or "xyz ~/alpha/foo". 3. Commands you would not want to repeat (e.g. rm, cvs, svn, dd, tar, mv, cp, gunzip, yum, apt-get, etc.) The recurring theme is that commands would very probably go wrong, potentially catastrophically wrong, and that users would probably not want a 95% success for a mildly convenient action if 5% of the time something really horrible happened. For commands that it's (presumably) always safe to run a .screenrc or script is much more reliable than this sort of feature. I imagine it would probably be possible to save a log of what windows existed with some info, so that if screen crashes you could at least see what was going on, but that's about it. -- Erik P.S. It's certainly true that many of my coworkers are surprised to see their screen sessions die when the servers get turned over every year or so. People expect this feature, despite its complexity. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 2 20:37:44 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 609057EC7B9 for ; Thu, 2 Oct 2008 20:37:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:39543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlYfn-0001Lw-Mn for erik@plastic-idolatry.com; Thu, 02 Oct 2008 20:37:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlYfW-0001Lr-9V for screen-users@gnu.org; Thu, 02 Oct 2008 20:37:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlYfT-0001Lf-Vh for screen-users@gnu.org; Thu, 02 Oct 2008 20:37:17 -0400 Received: from [199.232.76.173] (port=36180 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlYfT-0001Lc-Py for screen-users@gnu.org; Thu, 02 Oct 2008 20:37:15 -0400 Received: from rv-out-0708.google.com ([209.85.198.247]:56467) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlYfT-0004iW-Ha for screen-users@gnu.org; Thu, 02 Oct 2008 20:37:15 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1556261rvb.6 for ; Thu, 02 Oct 2008 17:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uHf/juahvS7byiAbANboH/RdhFfd3pn7+e3kKLBkrzQ=; b=dSdDA0YOrsl9TRh1Wl5Rs+bXj/JGJ7iZ8nZb86fejzBT9l3b+wCNgsPQC9njpOh3Ka IstUIiC1UEK2Fnwo9K0ZPJL+X0CEbRsMMQlQCcYNm8tPNK8P4yUZAqHYdjQSvL2p5YWr 3KUDmJCUfdsJqndtPK0l8hMIFth6Jweaig0xk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PYyM4ZP0okLrpRJrHQ9q5n1h2D0NEqas7FmdzXP/1Q7MjUPtVxSGhlw3n20JmHaVrQ 9Lb/3B8m/b7R/pPYejbEJQYpHH6hvWl+7oP+OcDWlMj4+T8mAsXJuuKPQ9x9mjqBvHDj BXx0BQPYphS8HMwy5lGSbpEhsJmT+bZmTBQcw= Received: by 10.141.210.13 with SMTP id m13mr205936rvq.25.1222994232563; Thu, 02 Oct 2008 17:37:12 -0700 (PDT) Received: by 10.140.226.21 with HTTP; Thu, 2 Oct 2008 17:37:12 -0700 (PDT) Message-ID: Date: Fri, 3 Oct 2008 08:37:12 +0800 From: "Aaron Davies" To: "Screen Users" In-Reply-To: <1222888978.6095.13.camel@ubTop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222888978.6095.13.camel@ubTop> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Deatached Sessions Dissapair after reboot. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 523 Lines: 19 On Thu, Oct 2, 2008 at 3:22 AM, peter holm wrote: > I am running Ubuntu Hardy > I use screen mostley locallly. > I have this problem. > When i deatacch a screensession and then reboot its gone. > > is there anything i can do to make my computer save the sessions between > reboots.? well, there's CryoPID.... -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 3 13:38:27 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id BB9527EBF83 for ; Fri, 3 Oct 2008 13:38:26 -0400 (EDT) Received: from localhost ([127.0.0.1]:51136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlobX-0008Bn-Ep for erik@plastic-idolatry.com; Fri, 03 Oct 2008 13:38:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlobE-0008Bi-Lq for screen-users@gnu.org; Fri, 03 Oct 2008 13:37:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlobC-0008BW-BS for screen-users@gnu.org; Fri, 03 Oct 2008 13:37:55 -0400 Received: from [199.232.76.173] (port=51841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlobC-0008BT-4B for screen-users@gnu.org; Fri, 03 Oct 2008 13:37:54 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58443) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlobB-0006XV-V3 for screen-users@gnu.org; Fri, 03 Oct 2008 13:37:54 -0400 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id EAC5F408804C for ; Fri, 3 Oct 2008 10:37:52 -0700 (PDT) Message-ID: <48E6586E.3020600@cowan.name> Date: Fri, 03 Oct 2008 10:37:50 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: Screen Users X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Help Wanted Ad at Savannah X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 705 Lines: 26 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've just posted the following job ad with Savannah: https://savannah.gnu.org/people/viewjob.php?group_id=4235&job_id=512 - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI5lhu7M8hyUobTrERAiQVAJ9dErgQEttraqtuQKcJWkdwtTkOewCfUOvN ITvD10jKBxNjD5Wzgw4op2I= =a1mN -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 3 15:53:09 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 262207F5AE3 for ; Fri, 3 Oct 2008 15:53:09 -0400 (EDT) Received: from localhost ([127.0.0.1]:35033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klqhx-0005GD-2h for erik@plastic-idolatry.com; Fri, 03 Oct 2008 15:53:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Klmnw-0004o3-7x for screen-users@gnu.org; Fri, 03 Oct 2008 11:42:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Klmnt-0004mR-Mi for screen-users@gnu.org; Fri, 03 Oct 2008 11:42:55 -0400 Received: from [199.232.76.173] (port=60568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Klmnt-0004lt-71 for screen-users@gnu.org; Fri, 03 Oct 2008 11:42:53 -0400 Received: from dsl081-056-026.sfo1.dsl.speakeasy.net ([64.81.56.26]:30901 helo=mail.funkware.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Klmnr-0002VJ-JY for screen-users@gnu.org; Fri, 03 Oct 2008 11:42:51 -0400 Received: from lostzilla.funkware.com (unauthorized-7-7.funkware.com [127.0.0.1]) by mail.funkware.com (8.13.1/8.13.1) with ESMTP id m93FgcRD000393 for ; Fri, 3 Oct 2008 08:42:38 -0700 Message-ID: <48E63D6E.8050706@funkware.com> Date: Fri, 03 Oct 2008 08:42:38 -0700 From: Alex Tang User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: screen-users@gnu.org References: <48E3E0D7.20503@funkware.com> In-Reply-To: <48E3E0D7.20503@funkware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 03 Oct 2008 15:52:41 -0400 Subject: Re: config to get screen to never touch the hardware status line in xterm X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1382 Lines: 42 Hi again folks. Thanks for the info. I primarily use RHEL and CentOS based systems, so poking around teh /etc/screenrc shows that they added the hardstatus stuff specifically. I am able to get what i want by putting termcapinfo xterm hs@ in my .screenrc and it works like a charm. Thanks very much! ...alex... >Micah Cowan writes: > >>/ Alex Tang wrote:/ >/>> Hi folks./ >/>> I've been reading on google and in the archives about how folks do cool/ >/>> things with the hardstatus and "hardware status" line in xterms. I'm/ >/>> trying to do exactly the opposite...I want screen (when used in a/ >/>> terminal program that announces itself as "xterm" e.g. real xterm or/ >/>> putty) to never touch the hardware status line (title bar) of the window./ >> >/> AIUI, Screen will only ever touch the xterm title bar if it has been/ >/> told it's the "hardstatus line" via "termcapinfo" lines that define the/ >/> fs and ts features./ > >When I've had the misfortune to use CentOS-based hosts, I noticed they >fucked with the xterm window title by default. This probably means that >either RHEL or the guy who built our SOE put stupid nonstandard things >in /etc/screenrc (or /etc/X11/Xresources/xterm). _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Oct 4 16:33:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id F0CA77E30B4 for ; Sat, 4 Oct 2008 16:33:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:58334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmDou-0002iu-6I for erik@plastic-idolatry.com; Sat, 04 Oct 2008 16:33:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmCJY-00079I-HY for screen-users@gnu.org; Sat, 04 Oct 2008 14:57:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmCJX-00078l-03 for screen-users@gnu.org; Sat, 04 Oct 2008 14:57:16 -0400 Received: from [199.232.76.173] (port=40262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmCJW-00078i-SB for screen-users@gnu.org; Sat, 04 Oct 2008 14:57:14 -0400 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]:54285) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmCJW-0000hn-FP for screen-users@gnu.org; Sat, 04 Oct 2008 14:57:14 -0400 Received: from turki (ool-45704694.dyn.optonline.net [69.112.70.148]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K8800EXZ9ZCHQB0@mta5.srv.hcvlny.cv.net> for screen-users@gnu.org; Sat, 04 Oct 2008 14:57:13 -0400 (EDT) Received: from gavron by turki with local (Exim 4.63) (envelope-from ) id 1KmCIo-0002Yr-B2 for screen-users@gnu.org; Sat, 04 Oct 2008 14:56:30 -0400 Date: Sat, 04 Oct 2008 14:56:30 -0400 From: Chris Jones In-reply-to: <48E50F1D.4030300@cowan.name> To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org Message-id: <20081004185630.GC15208@turki.gavron.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> <48E50F1D.4030300@cowan.name> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Sat, 04 Oct 2008 16:33:26 -0400 Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1434 Lines: 47 On Thu, Oct 02, 2008 at 02:12:45PM EDT, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Marsh wrote: > > A simple .screenrc file that opened two windows with shell in each, plus > > a nice simple hardstatus line might have help me to understand how > > screen was useful sooner. > > Yes, but then it's not a useful default .screenrc, more of a sample of > what you might do. IMO, that makes it a better candidate for the Wiki > than inclusion in the source package. > > Really, screen could do with a nice tutorial, in addition to its current > reference-manual documentation. Has anyone here taken a peek at David Douthitt's "GNU Screen A Comprehensive Introduction" ??? > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer. > GNU Maintainer: wget, screen, teseq > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFI5Q8d7M8hyUobTrERAm4TAKCFxz8TQVevvU7GCUls4JpBMn9rnACfSBMm > JB+nnRToK9YP6DENjsXWpZc= > =HF0r > -----END PGP SIGNATURE----- > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Oct 4 16:38:31 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3FD1A7EE11F for ; Sat, 4 Oct 2008 16:38:31 -0400 (EDT) Received: from localhost ([127.0.0.1]:34388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmDtP-00046I-IV for erik@plastic-idolatry.com; Sat, 04 Oct 2008 16:38:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmDt6-00046B-BE for screen-users@gnu.org; Sat, 04 Oct 2008 16:38:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmDt2-00045j-9e for screen-users@gnu.org; Sat, 04 Oct 2008 16:38:03 -0400 Received: from [199.232.76.173] (port=37558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmDt2-00045g-41 for screen-users@gnu.org; Sat, 04 Oct 2008 16:38:00 -0400 Received: from mu-out-0910.google.com ([209.85.134.184]:59401) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmDt1-0000SI-JN for screen-users@gnu.org; Sat, 04 Oct 2008 16:37:59 -0400 Received: by mu-out-0910.google.com with SMTP id i2so1902207mue.6 for ; Sat, 04 Oct 2008 13:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aFswTGWqTXMafGLnM4RAqnZn9WD/sTKiD9/kPEw12JQ=; b=CQ8chOOwl2vuXlmDv8afwmmr3CwXD/D9a1/QnCx/oEpLOqdpb+HXLe7yu4TI2ktdmt W/lcKf36JJqB9HXA/mVbVH8wHc0I7atXmuYIvEKiCZDItC5/t6HDtkn0akHivVvFJ5dm fV29OQXMVmQx6XpcEf7PQeSP2qT6WrgM5Yha0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xUUNPnXHtM3qbOa9IIBnm+kUs+fwPKyzntZ8MJGGda/eoSkdmVAPZmK7P7bGQILP5A Gx8aW15jQypdj23RYi0MXQH4crrffzcjcZ+tZ5XIuP/Ds96mRf0/8NRmuX0WJMjb1hZA riGV3MusVJFNzpbonJ5U9IG7+HrnbqolR2TE4= Received: by 10.103.251.3 with SMTP id d3mr1672632mus.73.1223152676691; Sat, 04 Oct 2008 13:37:56 -0700 (PDT) Received: by 10.103.182.8 with HTTP; Sat, 4 Oct 2008 13:37:56 -0700 (PDT) Message-ID: <18071eea0810041337i4ddbee39pda3108ca7ec93e0@mail.gmail.com> Date: Sat, 4 Oct 2008 21:37:56 +0100 From: "Thomas Adam" To: screen-users@gnu.org In-Reply-To: <20081004185630.GC15208@turki.gavron.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> <48E50F1D.4030300@cowan.name> <20081004185630.GC15208@turki.gavron.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 412 Lines: 15 2008/10/4 Chris Jones : > Has anyone here taken a peek at David Douthitt's > > "GNU Screen A Comprehensive Introduction" Yes -- it's not that comprehensive, and reads like an annotated version of the screen users' manual. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Oct 4 22:53:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DNS_FROM_DOB, PLING_QUERY,RCVD_IN_DOB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 216697E83BF for ; Sat, 4 Oct 2008 22:53:20 -0400 (EDT) Received: from localhost ([127.0.0.1]:49361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmJk5-0006VW-B2 for erik@plastic-idolatry.com; Sat, 04 Oct 2008 22:53:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmJjl-0006VR-2f for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmJjj-0006VF-Ha for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:47 -0400 Received: from [199.232.76.173] (port=54392 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmJjj-0006VC-Cr for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:47 -0400 Received: from mta5.srv.hcvlny.cv.net ([167.206.4.200]:56628) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmJjj-000846-Bd for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:47 -0400 Received: from turki (ool-45704694.dyn.optonline.net [69.112.70.148]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K88007TMVZXUS30@mta5.srv.hcvlny.cv.net> for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:46 -0400 (EDT) Received: from gavron by turki with local (Exim 4.63) (envelope-from ) id 1KmJiy-0004XQ-EI for screen-users@gnu.org; Sat, 04 Oct 2008 22:52:00 -0400 Date: Sat, 04 Oct 2008 22:52:00 -0400 From: Chris Jones In-reply-to: <18071eea0810041337i4ddbee39pda3108ca7ec93e0@mail.gmail.com> To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org Message-id: <20081005025200.GF19121@turki.gavron.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline References: <48e39f41.030ad00a.0be3.0456SMTPIN_ADDED@mx.google.com> <3D807F23-5FC3-4217-918C-C85CBCB2D424@gmail.com> <48E3FFEC.2050503@cowan.name> <99DDE341-8A29-4E86-913D-282E7549CC8C@gmail.com> <48E50F1D.4030300@cowan.name> <20081004185630.GC15208@turki.gavron.org> <18071eea0810041337i4ddbee39pda3108ca7ec93e0@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 989 Lines: 28 On Sat, Oct 04, 2008 at 04:37:56PM EDT, Thomas Adam wrote: > 2008/10/4 Chris Jones : > > Has anyone here taken a peek at David Douthitt's > > > > "GNU Screen A Comprehensive Introduction" > > Yes -- it's not that comprehensive, and reads like an annotated > version of the screen users' manual. I guess whether it's worth the money all depends on the quality of the annotations, then.. :-) As another poster stated, what's missing to jumpstart new users (in the few hours/days before they give up) is a document that describes the different things that you can do with screen and for each of them how you set it up .. helping them build their .screenrc as they go along and understanding what they're doing. I was hoping the book above took this approach but from what you're saying, this is not not the case. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Oct 5 08:48:47 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DNS_FROM_DOB, DNS_FROM_SECURITYSAGE,PLING_QUERY,RCVD_IN_DOB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EF2F87E7CB6 for ; Sun, 5 Oct 2008 08:48:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:32886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmT2K-0008BX-P2 for erik@plastic-idolatry.com; Sun, 05 Oct 2008 08:48:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmT1k-0008A3-Qo for screen-users@gnu.org; Sun, 05 Oct 2008 08:48:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmT1h-00088t-Sb for screen-users@gnu.org; Sun, 05 Oct 2008 08:47:59 -0400 Received: from [199.232.76.173] (port=57950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmT1g-00088c-0k for screen-users@gnu.org; Sun, 05 Oct 2008 08:47:56 -0400 Received: from max81.rrze.uni-erlangen.de ([131.188.3.48]:59792) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmT1f-0006uZ-Tn for screen-users@gnu.org; Sun, 05 Oct 2008 08:47:56 -0400 Received: from max81.rrze.uni-erlangen.de (max81.rrze.uni-erlangen.de [131.188.3.48]) by max81.rrze.uni-erlangen.de with ESMTP id BT-MMP-2854148 for screen-users@gnu.org; Sun, 5 Oct 2008 14:47:28 +0200 Received: from max81.rrze.uni-erlangen.de ([131.188.3.48]) by max81.rrze.uni-erlangen.de (max81.rrze.uni-erlangen.de [127.0.0.1]) (amavisd-new) with ESMTP id 10754-01 for ; Sun, 5 Oct 2008 14:47:28 +0200 (MEST) Received: from biochem.uni-erlangen.de (bioc01.biochem.uni-erlangen.de [131.188.174.10]) by mailhub.rrze.uni-erlangen.de with ESMTP id BT-MMP-927484 for screen-users@gnu.org; Sun, 5 Oct 2008 14:47:28 +0200 Received: from BIOCHEM2/SpoolDir by biochem.uni-erlangen.de (Mercury 1.48); 5 Oct 08 14:47:28 +0100 Received: from SpoolDir by BIOCHEM2 (Mercury 1.48); 5 Oct 08 14:47:09 +0100 Received: from biochem.uni-erlangen.de (131.188.174.197) by biochem.uni-erlangen.de (Mercury 1.48) with ESMTP; 5 Oct 08 14:47:06 +0100 Date: Sun, 5 Oct 2008 14:50:41 +0200 From: holger.dinkel@gmail.com To: screen-users@gnu.org Message-ID: <20081005125041.GV11358@megaira.biochem.uni-erlangen.de> References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> <48E221AD.9090207@harvee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E400C3.7080806@cowan.name> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by amavisd-new (RRZE) on max81.rrze.uni-erlangen.de X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: holger.dinkel@gmail.com List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2956 Lines: 71 Hi, first of all: Thanks to all for the positive feedback! What became clear to me is that indeed it might be a tedious task to create a full-fledged .screenrc that fits every user's needs. This is just impossible as the tasks that screen is used for are diverse. But the most important point of this discussion is the reason that made me start it: Screen lacks hints for the initial user. Like said, the screen-newbie is greeted with a minimal welcome message about legal issues, whereas IMHO he should be told e.g. the most important key commands... The second most important feature would be a reasonable caption line that displays the list of screens and highlights the current one (as suggested by Aaron Davies). The caption need not be too fancy, like ____________________________________________________________________________________________________ caption always "%{rk}%H %{wk}%n %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?" ____________________________________________________________________________________________________ but it should present at least the screen titles. So I propose a minimal configuration like this: ____________________________________________________________________________________________________ caption always "%-Lw%{= W}%50>%n%f* %t%{-}%+Lw%<" startup_message on screen -t top 0 top screen -t bash 1 ____________________________________________________________________________________________________ The "top" window is created, so that the user can test the -, functionality... Additionally, the startup notification could also include the most important key-bindings. Such as: ____________________________________________________________________________________________________ Press - to switch to the last used screen window\n\ Press - to create a new screen window\n\ Press - to see a list of screen windows\n\ Press - to see a short help page\n\ \n\ Also see the screen man page for extensive documentation\n\ ____________________________________________________________________________________________________ PS: A good screencast would be a very good idea and a helful ressource. Right now, I don't have the time to do it, but if someone can recommend a good screenrecorder, I might look into this in a couple of months... PPS:I once gave a short introductory talk about screen to my colleagues, and especially the reconnect feature was of interest to them. A couple of days later, I saw one colleague running several instances of screen on the server so that she could reconnect to several shell instances running batch jobs (instead of using ONE screen instance with several windows ;-> ) Best wishes, Holger Dinkel _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Oct 5 10:58:13 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DNS_FROM_DOB, DNS_FROM_SECURITYSAGE,RCVD_IN_DOB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0A3267F2336 for ; Sun, 5 Oct 2008 10:58:12 -0400 (EDT) Received: from localhost ([127.0.0.1]:34527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmV3a-0005nB-Un for erik@plastic-idolatry.com; Sun, 05 Oct 2008 10:58:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmV33-0005c7-Jk for screen-users@gnu.org; Sun, 05 Oct 2008 10:57:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmV32-0005bO-82 for screen-users@gnu.org; Sun, 05 Oct 2008 10:57:29 -0400 Received: from [199.232.76.173] (port=39194 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmV31-0005bJ-Uk for screen-users@gnu.org; Sun, 05 Oct 2008 10:57:28 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]:32610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmV31-0001my-RM for screen-users@gnu.org; Sun, 05 Oct 2008 10:57:28 -0400 Received: by nf-out-0910.google.com with SMTP id c7so953754nfi.26 for ; Sun, 05 Oct 2008 07:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=pqgFC2BjG31T1Tbf5MIATUDG5yGj+cwiAebKxe+cJ9M=; b=iWIMLCdKrCn9K+njBko7W8GTVn22vbJD+peJhUdC0UZlZF8b5pm6ER1l9nxmVuGpfN m9vAGHGGLh/g36Vk2leGoGSP/XgolQ42toYUr799RtqyQz1r0Dds5v8Z+OChPij7EYUF +rrJYwCk5fK5KIIrStv0ipLOTn/sxZV1x9p3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=k66yVltcNkF80KM6vACYs6rSliiH/c+hFdyg2DM1XZ/A5RqjNtFh9Ki7pITjmS9EpC 6KVmxBhgI9K36NtC29bJIXS+J9jQ8nsU0J3fzPPeAihoxjTbOllhQBh6g7wV2zESqqRs 8AOt71UbkZH8qph4NBPsOWvg4k4BSh/7Y9l6w= Received: by 10.210.18.8 with SMTP id 8mr4707253ebr.189.1223218645289; Sun, 05 Oct 2008 07:57:25 -0700 (PDT) Received: from ?192.168.1.3? ([80.217.5.188]) by mx.google.com with ESMTPS id k9sm29843090nfh.23.2008.10.05.07.57.22 (version=SSLv3 cipher=RC4-MD5); Sun, 05 Oct 2008 07:57:23 -0700 (PDT) From: peter holm To: screen-users@gnu.org In-Reply-To: <48E3C9EE.6090007@gmail.com> References: <48E3C9EE.6090007@gmail.com> Content-Type: text/plain Date: Sun, 05 Oct 2008 16:57:20 +0200 Message-Id: <1223218640.6325.0.camel@ubTop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: sticky modifier keys X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 887 Lines: 30 ons 2008-10-01 klockan 20:05 +0100 skrev William Pursell: > I've recently started using sticky modifier keys > (eg, touch and release modifier, then hit a key to > get the modified key). KDE can be configured > to do this, and I can use loadkeys on a console, > but I recently was stuck on a console where I > didn't have root and couldn't do loadkeys to > set the modifiers to be sticky. > > Is there anyway to get this functionality with > screen? > May this be a solution to you.? http://tsdh.wordpress.com/2007/04/12/sticky-keys-save-my-hands-from-rsi/ http://www.oesf.org/forum/index.php?s=1d9fce9ecb853fc3d777d11e63d8ee4c&showtopic=10404 I have just glanced the text, so please don't flame if it not suit your needs. /Peter _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Oct 5 18:54:08 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DNS_FROM_DOB, DNS_FROM_SECURITYSAGE,PLING_QUERY,RCVD_IN_DOB autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7CBF4740C35 for ; Sun, 5 Oct 2008 18:54:08 -0400 (EDT) Received: from localhost ([127.0.0.1]:43264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmcU9-0007vF-8z for erik@plastic-idolatry.com; Sun, 05 Oct 2008 18:53:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmcTr-0007uo-Rg for screen-users@gnu.org; Sun, 05 Oct 2008 18:53:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmcTn-0007ps-H3 for screen-users@gnu.org; Sun, 05 Oct 2008 18:53:38 -0400 Received: from [199.232.76.173] (port=57087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmcTn-0007pp-D7 for screen-users@gnu.org; Sun, 05 Oct 2008 18:53:35 -0400 Received: from main.gmane.org ([80.91.229.2]:44824 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmcTn-0002GK-2w for screen-users@gnu.org; Sun, 05 Oct 2008 18:53:35 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KmcTg-0001eh-0v for screen-users@gnu.org; Sun, 05 Oct 2008 22:53:28 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2008 22:53:28 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Oct 2008 22:53:28 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Mon, 06 Oct 2008 09:53:36 +1100 Message-ID: <30od1yd573.fsf@Clio.twb.ath.cx> References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> <48E221AD.9090207@harvee.org> <20081005125041.GV11358@megaira.biochem.uni-erlangen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Nr7hZ673EDa5zLCm1HkuSnwSghY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 621 Lines: 12 holger.dinkel@gmail.com writes: > The caption need not be too fancy, like > ____________________________________________________________________________________________________ > > caption always "%{rk}%H %{wk}%n %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?" Here's a thought: maybe the hardstatus could be on by default, but set to a "quick help" string like nano has. E.g. hardstatus string '^Ac: new window ^An: next window ^Ad: disconnect' _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Oct 6 14:22:56 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,PLING_QUERY autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 44A1B7713BB for ; Mon, 6 Oct 2008 14:22:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:42290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmujG-0001rJ-4Z for erik@plastic-idolatry.com; Mon, 06 Oct 2008 14:22:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kmugm-0000k3-Ks for screen-users@gnu.org; Mon, 06 Oct 2008 14:20:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kmugk-0000ga-D2 for screen-users@gnu.org; Mon, 06 Oct 2008 14:20:12 -0400 Received: from [199.232.76.173] (port=42519 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmugk-0000gF-1g for screen-users@gnu.org; Mon, 06 Oct 2008 14:20:10 -0400 Received: from silene.metacarta.com ([208.80.142.18]:41214) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kmugj-0001Bk-9v for screen-users@gnu.org; Mon, 06 Oct 2008 14:20:09 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 76EBE14C8089 for ; Mon, 6 Oct 2008 14:20:01 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 22716-16 for ; Mon, 6 Oct 2008 14:20:00 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id B87C414C8086 for ; Mon, 6 Oct 2008 14:20:00 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from ) id 1Kmuga-0006yr-IB for screen-users@gnu.org; Mon, 06 Oct 2008 14:20:00 -0400 From: Mark Eichin To: screen-users@gnu.org References: <20080926084730.GA11358@megaira.biochem.uni-erlangen.de> <48E221AD.9090207@harvee.org> <20081005125041.GV11358@megaira.biochem.uni-erlangen.de> Date: Mon, 06 Oct 2008 14:20:00 -0400 In-Reply-To: <20081005125041.GV11358@megaira.biochem.uni-erlangen.de> (holger dinkel's message of "Sun, 5 Oct 2008 14:50:41 +0200") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Promote Screen? Include .screenrc! X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 874 Lines: 21 > later, I saw one colleague running several instances of screen on the server so > that she could reconnect to several shell instances running batch jobs (instead > of using ONE screen instance with several windows ;-> ) Eh, for some applications, multiple windows is wrong - if you're going to have to "screen -x" multiple connections to them anyway, it's actually cleaner to be able to manage them with names and "screen -ls". (This approach is particularly useful with, for example, a "builder" account that runs autobuilders but different people may need to check on...) That said, yes, windows are a more "advanced" feature than just attach/detach... but that doesn't actually mean they're *necessary*. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 10 22:25:33 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 72D427E771D for ; Fri, 10 Oct 2008 22:25:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:47750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoUAW-0006PL-Rq for erik@plastic-idolatry.com; Fri, 10 Oct 2008 22:25:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoUAD-0006Nu-2A for screen-users@gnu.org; Fri, 10 Oct 2008 22:25:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoUAB-0006LO-EP for screen-users@gnu.org; Fri, 10 Oct 2008 22:25:04 -0400 Received: from [199.232.76.173] (port=35852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoUAB-0006L8-5J for screen-users@gnu.org; Fri, 10 Oct 2008 22:25:03 -0400 Received: from main.gmane.org ([80.91.229.2]:46520 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KoUAA-0004wC-C8 for screen-users@gnu.org; Fri, 10 Oct 2008 22:25:02 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KoUA3-0003PH-E9 for screen-users@gnu.org; Sat, 11 Oct 2008 02:24:55 +0000 Received: from ppp59-167-65-160.lns1.mel6.internode.on.net ([59.167.65.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Oct 2008 02:24:55 +0000 Received: from trentbuck by ppp59-167-65-160.lns1.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Oct 2008 02:24:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Sat, 11 Oct 2008 13:25:12 +1100 Message-ID: <307i8fswaf.fsf@Clio.twb.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp59-167-65-160.lns1.mel6.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:rWwiVrs1dfjaQDB8xf0jePNeI50= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Customizing hardcopy X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 702 Lines: 18 "Jean-Baptiste Aviat" writes: > Hello dears, > > I would like to be able to do harcopies in new files, in order to never overwrite any. Files could be named this way : > - hardcopy_2008-10-10_at_12h59m01 > - hardcopy_2008-10-10_at_12h59m05 > - hardcopy_2008-10-10_at_13h01m37 > - ... > > I'm trying to define a new shortcut in .screenrc like : > > bind g "screen -X hardcopy ./hardcopy_`date +%Y-%m-%d_at_%Hh%Mm%S`" Untested, but I think you want bind g exec sh -c 'screen -X hardcopy hardcopy_`date +%Y-%m-%d_at_%Hh%Mm%S`' _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Oct 13 23:46:20 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 740897EE80E for ; Mon, 13 Oct 2008 23:46:20 -0400 (EDT) Received: from localhost ([127.0.0.1]:39066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KparJ-0000g6-UF for erik@plastic-idolatry.com; Mon, 13 Oct 2008 23:46:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpOAK-00013q-2g for screen-users@gnu.org; Mon, 13 Oct 2008 10:12:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpOAI-000108-E6 for screen-users@gnu.org; Mon, 13 Oct 2008 10:12:55 -0400 Received: from [199.232.76.173] (port=44637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpOAI-0000zj-3O for screen-users@gnu.org; Mon, 13 Oct 2008 10:12:54 -0400 Received: from wa-out-1112.google.com ([209.85.146.183]:35315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpOAH-0005K9-Dt for screen-users@gnu.org; Mon, 13 Oct 2008 10:12:53 -0400 Received: by wa-out-1112.google.com with SMTP id k40so944483wah.26 for ; Mon, 13 Oct 2008 07:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=I3DVcs6BMv57yUjB6X9GwCdQFkvNXZTo9Wabp65QTWE=; b=bY+Rbb1tKF5WCB9T9KBLl/ljgNQLxM0OBpmWD3vjkosgk3LIwiXWUHJu6oq4ynAPNL p+XCVa4oDDxvz0qoykiK3Mjgf0dwRkxwR5fLim5sz1qClDhf/D/9UEfhzAGAORZfH8m0 S1bb4v+qHtF48dSpQ+yQh0k1pGgYgrswrspYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qI9BSv4cC5vlf6NfCAKbTOMhxsg7fQ3XHOVUDHbtOUvkRHKd51FLUc1OzBKgEVRjVv VuCOpCeRfQgCbJbFwxqd7WHAFB0j3TlmO9sHQln2Muv5pOIGJL98z/uuPANFTL966lUx OQk55NiBb9DpGiq2DeqHqC6M0BZqzqXuywflQ= Received: by 10.114.192.3 with SMTP id p3mr5269913waf.189.1223907172225; Mon, 13 Oct 2008 07:12:52 -0700 (PDT) Received: by 10.114.67.20 with HTTP; Mon, 13 Oct 2008 07:12:52 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 16:12:52 +0200 From: "Sven Hazejager" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 13 Oct 2008 23:43:14 -0400 Subject: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 678 Lines: 25 Hi all, I'm using screen to keep some applications open over a remote SSH connection that sometimes is killed. What I would like to do, is to somehow find out whether I am logged in (attached) or disconnected from the screen session. Reason is that I want procmail to send incoming mail to my BlackBerry if I'm disconnected, but NOT do that when I'm SSH-ing into my Pine session. Using ps to see if Pine is active doesn't work of course, because it always runs, even when screen is detached... Any suggestions? Thanks! Sven _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Oct 14 00:12:15 2008 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 2745B7E9E5F for ; Tue, 14 Oct 2008 00:12:15 -0400 (EDT) Received: from localhost ([127.0.0.1]:47344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpbGQ-0005Gi-96 for erik@plastic-idolatry.com; Tue, 14 Oct 2008 00:12:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpbG9-0005Gb-IF for screen-users@gnu.org; Tue, 14 Oct 2008 00:11:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpbG8-0005GP-4l for screen-users@gnu.org; Tue, 14 Oct 2008 00:11:49 -0400 Received: from [199.232.76.173] (port=34775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpbG7-0005GM-Uh for screen-users@gnu.org; Tue, 14 Oct 2008 00:11:47 -0400 Received: from rv-out-0708.google.com ([209.85.198.247]:45190) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpbG7-0004Aj-LE for screen-users@gnu.org; Tue, 14 Oct 2008 00:11:47 -0400 Received: by rv-out-0708.google.com with SMTP id k29so2286330rvb.6 for ; Mon, 13 Oct 2008 21:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JWdLINoE+9tB88Fy3uW1jRTOdGjkzRpGIsZztVBDIfo=; b=uQiRu6KJEy9EbLt86wkXRIt0uA21dMX5FcOQTQ39mbkNjAr+5PeMLOseMnJozPK2NC WVlAE40nsHFXoYRiu2I9FVeFAsXGKpmyWALejNffPcpZRLfgzoIb9wyWXIwOtN08xTni f+MZnSAcb0YRgHwbNmO+INSI+KA/0ZrgVEhoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FtZd7p/T4MtolCrMvRnQkSSub44ayvQcpV77ghJInlBbz7u10L1+B9N/lUztfNzuND u25C2id9Q5e5MaoU6jJ25Q/a6f4CbUYFLYU52w5ZALv2UjE8HatWHHRWYJY5QlRTAmRJ nIUdT/kt3e+/YqONsN1FkC3q/X4Pqht53iuQs= Received: by 10.141.45.16 with SMTP id x16mr4474698rvj.34.1223957506301; Mon, 13 Oct 2008 21:11:46 -0700 (PDT) Received: by 10.140.178.12 with HTTP; Mon, 13 Oct 2008 21:11:46 -0700 (PDT) Message-ID: Date: Tue, 14 Oct 2008 12:11:46 +0800 From: "Aaron Davies" To: "Screen Users" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: branching in screenrc? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2150 Lines: 64 finally got round to trying this, and i'm having some problems it's reading the file, and i can see the connections come up, but they disappear after a second or two the commands in the box-specific .screenrc file are just ordinary "screen" commands of the general form "screen -t ssh <host>", and they all work fine when type/pasted directly into the shell :source'ing the file has the same effect tho--they come up for a sec, then go down ideas? On Fri, Sep 5, 2008 at 1:37 PM, Tom Scogland <njustn@gmail.com> wrote: > Including is how I do this, in fact the following is from my screenrc. > source ${HOME}/.screenrc-${TERM} > > On Fri, Sep 5, 2008 at 1:33 AM, Aaron Davies <aaron.davies@gmail.com> wrote: >> >> any support for any "if" branching in screenrc's? i two windows boxes >> using a common (network-based) homedir, and i want screen to start two >> completely different sets of ssh sessions depending on which box it's >> executed on. i suppose i can allias screen to "screen -c >> .screenrc.`hostname` or something, but a.) that's clumsy and b.) it >> doesn't easily handle any common settings between the two. hmm. can >> screenrc's include other files? can it be read from stdin? ("screen -c >> -" or "screen -c /dev/stdin" or something?) then i could say "cat >> .screenrc .screenrc.`hostname` | screen -c -". or maybe there's some >> other way to just do the actual variant part (create various >> screens)--execute a shell script or something, and let that handle the >> branching. thoughts? >> -- >> Aaron Davies >> aaron.davies@gmail.com >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users > > > > -- > -N > AKA:Tom Scogland > I am enough of an artist to draw freely upon my imagination. Imagination is > more important than knowledge. Knowledge is limited. Imagination encircles > the world. > -Albert Einstein > -- Aaron Davies aaron.davies@gmail.com _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Oct 14 00:35:39 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 103197F59F0 for <erik@plastic-idolatry.com>; Tue, 14 Oct 2008 00:35:39 -0400 (EDT) Received: from localhost ([127.0.0.1]:56940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpbd4-0006mp-Mo for erik@plastic-idolatry.com; Tue, 14 Oct 2008 00:35:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpbcm-0006kC-8e for screen-users@gnu.org; Tue, 14 Oct 2008 00:35:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpbck-0006k0-55 for screen-users@gnu.org; Tue, 14 Oct 2008 00:35:11 -0400 Received: from [199.232.76.173] (port=43594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpbck-0006jx-0D for screen-users@gnu.org; Tue, 14 Oct 2008 00:35:10 -0400 Received: from main.gmane.org ([80.91.229.2]:42798 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1Kpbcj-0000BK-LH for screen-users@gnu.org; Tue, 14 Oct 2008 00:35:09 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Kpbcc-0007TZ-Oz for screen-users@gnu.org; Tue, 14 Oct 2008 04:35:02 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Tue, 14 Oct 2008 04:35:02 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Tue, 14 Oct 2008 04:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Tue, 14 Oct 2008 15:32:10 +1100 Message-ID: <30ej2jssol.fsf@Clio.twb.ath.cx> References: <cbdeb7680810130712q4561a65cm9a040b63c0fc56d8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:ilUqLyccCznlU3Jlk5nmYyjaQp0= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 797 Lines: 15 "Sven Hazejager" <sven.hazejager@gmail.com> writes: > I'm using screen to keep some applications open over a remote SSH > connection that sometimes is killed. What I would like to do, is to > somehow find out whether I am logged in (attached) or disconnected > from the screen session. > > Reason is that I want procmail to send incoming mail to my BlackBerry > if I'm disconnected, but NOT do that when I'm SSH-ing into my Pine > session. I don't know how to achieve that, but perhaps there's a different approach to the problem -- such as always forwarding all mail to an IMAP server that you can access from both the blackberry and from pine. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Oct 14 01:43:48 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 540197D8FF9 for <erik@plastic-idolatry.com>; Tue, 14 Oct 2008 01:43:48 -0400 (EDT) Received: from localhost ([127.0.0.1]:50522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpch0-0008Kx-T7 for erik@plastic-idolatry.com; Tue, 14 Oct 2008 01:43:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpcgQ-0008IX-V8 for screen-users@gnu.org; Tue, 14 Oct 2008 01:43:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpcgL-0008BW-6B for screen-users@gnu.org; Tue, 14 Oct 2008 01:43:01 -0400 Received: from [199.232.76.173] (port=52268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpcgL-0008BF-0Z for screen-users@gnu.org; Tue, 14 Oct 2008 01:42:57 -0400 Received: from mail-out2.uio.no ([129.240.10.58]:44875) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpcGC-0003Lf-Vg for screen-users@gnu.org; Tue, 14 Oct 2008 01:15:57 -0400 Received: from mail-mx6.uio.no ([129.240.10.47]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpcG6-00081F-Pf for screen-users@gnu.org; Tue, 14 Oct 2008 07:15:50 +0200 Received: from anakin.ifi.uio.no ([129.240.64.199]) by mail-mx6.uio.no with esmtp (Exim 4.69) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpcG6-0001Uz-K2 for screen-users@gnu.org; Tue, 14 Oct 2008 07:15:50 +0200 Received: from peder (helo=localhost) by anakin.ifi.uio.no with local-esmtp (Exim 4.44) id 1KpcG6-0007Kb-Bj; Tue, 14 Oct 2008 07:15:50 +0200 Date: Tue, 14 Oct 2008 07:15:50 +0200 (CEST) From: Peder Stray <peder+screen@ifi.uio.no> X-X-Sender: peder@anakin.ifi.uio.no To: Screen Users <screen-users@gnu.org> cc: screen-users@gnu.org In-Reply-To: <30ej2jssol.fsf@Clio.twb.ath.cx> Message-ID: <alpine.LRH.2.00.0810140703480.5109@anakin.ifi.uio.no> References: <cbdeb7680810130712q4561a65cm9a040b63c0fc56d8@mail.gmail.com> <30ej2jssol.fsf@Clio.twb.ath.cx> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001, NO_RECEIVED=-0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 061730485AC8B6D240CF6FC40EA4B93F4C6E1667 X-UiO-SPAM-Test: remote_host: 129.240.64.199 spam_score: -49 maxlevel 200 minaction 2 bait 0 mail/h: 3 total 5591 max/h 104 blacklist 0 greylist 0 ratelimit 0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1373 Lines: 44 On Tue, 14 Oct 2008, Trent W. Buck wrote: > "Sven Hazejager" > <sven.hazejager@gmail.com> writes: > >> I'm using screen to keep some applications open over a remote SSH >> connection that sometimes is killed. What I would like to do, is to >> somehow find out whether I am logged in (attached) or disconnected >> from the screen session. >> >> Reason is that I want procmail to send incoming mail to my BlackBerry >> if I'm disconnected, but NOT do that when I'm SSH-ing into my Pine >> session. > > I don't know how to achieve that, but perhaps there's a different > approach to the problem -- such as always forwarding all mail to an IMAP > server that you can access from both the blackberry and from pine. The screen-socket has execute permissions when attached, and none when detached, like this: attached: ls -l /tmp/uscreens/S-peder/4598.irc prwx------ 1 peder peder 0 Oct 14 00:00 /tmp/uscreens/S-peder/4598.irc detached: ls -l /tmp/uscreens/S-peder/4598.irc prw------- 1 peder peder 0 Oct 14 07:06 /tmp/uscreens/S-peder/4598.irc Guess you can test for that i procmail by something like: :0c *? perl -e 'exit ! grep { (stat $_)[2] & 0100 } </tmp/uscreens/S-peder/*>' !foobar@example.com -- Peder Stray _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Oct 14 11:41:53 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id CC1FD7F5ABC for <erik@plastic-idolatry.com>; Tue, 14 Oct 2008 11:41:52 -0400 (EDT) Received: from localhost ([127.0.0.1]:50495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpm1l-0005eR-V5 for erik@plastic-idolatry.com; Tue, 14 Oct 2008 11:41:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpm1C-0005V3-6p for screen-users@gnu.org; Tue, 14 Oct 2008 11:41:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpm1A-0005Te-Us for screen-users@gnu.org; Tue, 14 Oct 2008 11:41:05 -0400 Received: from [199.232.76.173] (port=60506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpm1A-0005TS-Na for screen-users@gnu.org; Tue, 14 Oct 2008 11:41:04 -0400 Received: from silene.metacarta.com ([208.80.142.18]:59529) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <eichin@metacarta.com>) id 1Kpm19-0003Mn-QT for screen-users@gnu.org; Tue, 14 Oct 2008 11:41:04 -0400 Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 8C22D14C80A1 for <screen-users@gnu.org>; Tue, 14 Oct 2008 11:41:01 -0400 (EDT) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 26064-07 for <screen-users@gnu.org>; Tue, 14 Oct 2008 11:41:00 -0400 (EDT) Received: from maneki-neko.metacarta.com (maneki-neko.metacarta.com [208.80.142.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by silene.metacarta.com (Postfix) with ESMTP id 8C6DF14C80A0 for <screen-users@gnu.org>; Tue, 14 Oct 2008 11:41:00 -0400 (EDT) Received: from eichin by maneki-neko.metacarta.com with local (Exim 4.63) (envelope-from <eichin@metacarta.com>) id 1Kpm16-0000P6-BX for screen-users@gnu.org; Tue, 14 Oct 2008 11:41:00 -0400 From: Mark Eichin <eichin@metacarta.com> To: Screen Users <screen-users@gnu.org> References: <cbdeb7680810130712q4561a65cm9a040b63c0fc56d8@mail.gmail.com> <30ej2jssol.fsf@Clio.twb.ath.cx> <alpine.LRH.2.00.0810140703480.5109@anakin.ifi.uio.no> Date: Tue, 14 Oct 2008 11:41:00 -0400 In-Reply-To: <alpine.LRH.2.00.0810140703480.5109@anakin.ifi.uio.no> (Peder Stray's message of "Tue, 14 Oct 2008 07:15:50 +0200 (CEST)") Message-ID: <s9xzll7b2wj.fsf@maneki-neko.metacarta.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1853 Lines: 55 Peder Stray <peder+screen@ifi.uio.no> writes: > On Tue, 14 Oct 2008, Trent W. Buck wrote: > >> "Sven Hazejager" >> <sven.hazejager@gmail.com> writes: >> >>> I'm using screen to keep some applications open over a remote SSH >>> connection that sometimes is killed. What I would like to do, is to >>> somehow find out whether I am logged in (attached) or disconnected >>> from the screen session. >>> >>> Reason is that I want procmail to send incoming mail to my BlackBerry >>> if I'm disconnected, but NOT do that when I'm SSH-ing into my Pine >>> session. >> >> I don't know how to achieve that, but perhaps there's a different >> approach to the problem -- such as always forwarding all mail to an >> IMAP server that you can access from both the blackberry and from >> pine. > > The screen-socket has execute permissions when attached, and none when > detached, like this: > > attached: > > ls -l /tmp/uscreens/S-peder/4598.irc > prwx------ 1 peder peder 0 Oct 14 00:00 /tmp/uscreens/S-peder/4598.irc > > detached: > ls -l /tmp/uscreens/S-peder/4598.irc > prw------- 1 peder peder 0 Oct 14 07:06 /tmp/uscreens/S-peder/4598.irc > > Guess you can test for that i procmail by something like: > > :0c > *? perl -e 'exit ! grep { (stat $_)[2] & 0100 } </tmp/uscreens/S-peder/*>' > !foobar@example.com Parsing "screen -ls" output (for "Attached" or not) might be less sensitive to implementation details, but that's a pretty clever test... I'm not familiar with procmail, but it might be cleaner to use ! test -x /tmp/uscreens/S-peder/* (to avoid starting perl on every message - I think both of these assume there's only one socket that matches the rule, though it's pretty easy to change if not...) _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Oct 14 16:32:43 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 328887F5B5C for <erik@plastic-idolatry.com>; Tue, 14 Oct 2008 16:32:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:58574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpqZB-0002Bk-KK for erik@plastic-idolatry.com; Tue, 14 Oct 2008 16:32:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpqX6-0000Dm-Ab for screen-users@gnu.org; Tue, 14 Oct 2008 16:30:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpqX3-0000Aa-9Q for screen-users@gnu.org; Tue, 14 Oct 2008 16:30:19 -0400 Received: from [199.232.76.173] (port=38414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpqX3-0000AK-3w for screen-users@gnu.org; Tue, 14 Oct 2008 16:30:17 -0400 Received: from mail-out2.uio.no ([129.240.10.58]:34563) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpqX2-0000BV-Hh for screen-users@gnu.org; Tue, 14 Oct 2008 16:30:16 -0400 Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpqX0-0000nC-MW for screen-users@gnu.org; Tue, 14 Oct 2008 22:30:14 +0200 Received: from anakin.ifi.uio.no ([129.240.64.199]) by mail-mx1.uio.no with esmtp (Exim 4.69) (envelope-from <peder@anakin.ifi.uio.no>) id 1KpqX0-0006pk-Hp for screen-users@gnu.org; Tue, 14 Oct 2008 22:30:14 +0200 Received: from peder (helo=localhost) by anakin.ifi.uio.no with local-esmtp (Exim 4.44) id 1KpqX0-0007BA-CE for screen-users@gnu.org; Tue, 14 Oct 2008 22:30:14 +0200 Date: Tue, 14 Oct 2008 22:30:14 +0200 (CEST) From: Peder Stray <peder+screen@ifi.uio.no> X-X-Sender: peder@anakin.ifi.uio.no To: Screen Users <screen-users@gnu.org> In-Reply-To: <s9xzll7b2wj.fsf@maneki-neko.metacarta.com> Message-ID: <alpine.LRH.2.00.0810142220550.5109@anakin.ifi.uio.no> References: <cbdeb7680810130712q4561a65cm9a040b63c0fc56d8@mail.gmail.com> <30ej2jssol.fsf@Clio.twb.ath.cx> <alpine.LRH.2.00.0810140703480.5109@anakin.ifi.uio.no> <s9xzll7b2wj.fsf@maneki-neko.metacarta.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001, NO_RECEIVED=-0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 6FF5D48548BAF4793F5E85E12C39D462449D324E X-UiO-SPAM-Test: remote_host: 129.240.64.199 spam_score: -49 maxlevel 200 minaction 2 bait 0 mail/h: 2 total 5621 max/h 104 blacklist 0 greylist 0 ratelimit 0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2783 Lines: 74 On Tue, 14 Oct 2008, Mark Eichin wrote: > Peder Stray <peder+screen@ifi.uio.no> writes: > >> On Tue, 14 Oct 2008, Trent W. Buck wrote: >> >>> "Sven Hazejager" >>> <sven.hazejager@gmail.com> writes: >>> >>>> I'm using screen to keep some applications open over a remote SSH >>>> connection that sometimes is killed. What I would like to do, is to >>>> somehow find out whether I am logged in (attached) or disconnected >>>> from the screen session. >>>> >>>> Reason is that I want procmail to send incoming mail to my BlackBerry >>>> if I'm disconnected, but NOT do that when I'm SSH-ing into my Pine >>>> session. >>> >>> I don't know how to achieve that, but perhaps there's a different >>> approach to the problem -- such as always forwarding all mail to an >>> IMAP server that you can access from both the blackberry and from >>> pine. >> >> The screen-socket has execute permissions when attached, and none when >> detached, like this: >> >> attached: >> >> ls -l /tmp/uscreens/S-peder/4598.irc >> prwx------ 1 peder peder 0 Oct 14 00:00 /tmp/uscreens/S-peder/4598.irc >> >> detached: >> ls -l /tmp/uscreens/S-peder/4598.irc >> prw------- 1 peder peder 0 Oct 14 07:06 /tmp/uscreens/S-peder/4598.irc >> >> Guess you can test for that i procmail by something like: >> >> :0c >> *? perl -e 'exit ! grep { (stat $_)[2] & 0100 } </tmp/uscreens/S-peder/*>' >> !foobar@example.com > > Parsing "screen -ls" output (for "Attached" or not) might be less > sensitive to implementation details, but that's a pretty clever test... > > I'm not familiar with procmail, but it might be cleaner to use > > ! test -x /tmp/uscreens/S-peder/* > > (to avoid starting perl on every message - I think both of these assume > there's only one socket that matches the rule, though it's pretty easy > to change if not...) True, perl is bigger than test, but i guess you mailserver should be real slow for you to actually notice :) The perl test actually checks for any attaced screen, so it should work for cases where there is more than one socket in the dir. Using the test-line as above would break violently in that case since it expect only one argument. Parsing the output from screen -ls would of course be even more expensive that either perl or test. Of course, all of this expects that screens tmp-dir is available on the mailserver, which it may not be. In that case, it may be easier to make a wrapper for screen that touches a statusfile before starting screen and maybe doing the perl-test after and remove the file if no screens are attached (so you actually can attached more than once to the screen) -- Peder Stray _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 15 04:26:37 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D24647F6506 for <erik@plastic-idolatry.com>; Wed, 15 Oct 2008 04:26:36 -0400 (EDT) Received: from localhost ([127.0.0.1]:38682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq1i5-0005zh-EH for erik@plastic-idolatry.com; Wed, 15 Oct 2008 04:26:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kq1hj-0005xn-0v for screen-users@gnu.org; Wed, 15 Oct 2008 04:26:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kq1hh-0005xA-Dc for screen-users@gnu.org; Wed, 15 Oct 2008 04:26:02 -0400 Received: from [199.232.76.173] (port=37926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq1hh-0005x4-24 for screen-users@gnu.org; Wed, 15 Oct 2008 04:26:01 -0400 Received: from wa-out-1112.google.com ([209.85.146.177]:34029) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <sven.hazejager@gmail.com>) id 1Kq1hg-0003HP-Vz for screen-users@gnu.org; Wed, 15 Oct 2008 04:26:01 -0400 Received: by wa-out-1112.google.com with SMTP id k40so1538587wah.26 for <screen-users@gnu.org>; Wed, 15 Oct 2008 01:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=JQeJ2sgJhxhZt7rz+96vBaNOeOup4LiHZX7v0sFqb8c=; b=d+z75QsmCKFmFspnhyJgC6Er25afkqSYVWgXTn0vh6Hu+e9Dx0dxZ4NTH8oL0i3e9u bZXnxXls5DNTFGdEPjsgNnQX3tImUu1y/5KzI3nURn0v6XBHmYLoJ6/zWqini/fg5oSW dCiogBUDpLCRGeS4+RWEDHC5CG1JuFUj8RZVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HWOdqH8/cc1W7jZ+I2ehTwnNQLq9zJ8ioMVmF7B4m0n/+NwstFs8lYK9D2Td67TIXQ bBshq6+jKE7dQ6N7orLh/lWyGb5OoMJkjrZlUWnb7D4yI9q6cnnmkq7OMqA2WPlkwrkV kRpHFbh7WeCmPirHk+kD1H9G0sHvjAbEX4YGQ= Received: by 10.114.24.5 with SMTP id 5mr481053wax.160.1224059158592; Wed, 15 Oct 2008 01:25:58 -0700 (PDT) Received: by 10.114.67.20 with HTTP; Wed, 15 Oct 2008 01:25:58 -0700 (PDT) Message-ID: <cbdeb7680810150125yb4ad447te0f89c063b309f60@mail.gmail.com> Date: Wed, 15 Oct 2008 10:25:58 +0200 From: "Sven Hazejager" <sven.hazejager@gmail.com> To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Detect whether attached or detached from screen session? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 454 Lines: 18 > I'm not familiar with procmail, but it might be cleaner to use > > ! test -x /tmp/uscreens/S-peder/* Thanks to all for the great suggestions! For the record, here's the full procmail recipe that I'm now using: :0c * ? test ! -x /tmp/screens/S-sven/* !sven@blackberry.mail It's working great, cheers! _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Oct 18 02:51:46 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 211FF7FAD31 for <erik@plastic-idolatry.com>; Sat, 18 Oct 2008 02:51:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:53683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kr5ez-0001Fc-L8 for erik@plastic-idolatry.com; Sat, 18 Oct 2008 02:51:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kr5ec-0001CN-Rb for screen-users@gnu.org; Sat, 18 Oct 2008 02:51:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kr5ea-00018B-AQ for screen-users@gnu.org; Sat, 18 Oct 2008 02:51:13 -0400 Received: from [199.232.76.173] (port=38379 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kr5ea-00017v-4e for screen-users@gnu.org; Sat, 18 Oct 2008 02:51:12 -0400 Received: from mx20.gnu.org ([199.232.41.8]:64984) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1Kr5ea-0006gN-Cs for screen-users@gnu.org; Sat, 18 Oct 2008 02:51:12 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1Kr5eY-0007mR-4E for screen-users@gnu.org; Sat, 18 Oct 2008 02:51:10 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kr5eU-0005b3-R3 for screen-users@gnu.org; Sat, 18 Oct 2008 06:51:06 +0000 Received: from ppp118-208-197-252.lns10.mel6.internode.on.net ([118.208.197.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 18 Oct 2008 06:51:06 +0000 Received: from trentbuck by ppp118-208-197-252.lns10.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 18 Oct 2008 06:51:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Sat, 18 Oct 2008 17:51:34 +1100 Message-ID: <30bpxiiefd.fsf@Clio.twb.ath.cx> References: <7C11DC8E5E8EFC45B9D6CB07CE796B6BF0B472@DL-MAIL.uel.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-208-197-252.lns10.mel6.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:eubfK9YSwwqO1RIrkMPXrLtzPAM= X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Operation X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 950 Lines: 17 "Tony Bernard" <J.A.Bernard@uel.ac.uk> writes: > I am a technician working for a University and have developed a VB6 > program which controls a projector on a weekly basis. It takes room > booking information and activates the device accordingly via a pc. My > current problem is that I wish to log out and leave the program > running in the back ground, irrespective of who is logged on to the > controlling computer. Having done some research on the internet I cam > across info on GNU Screen and thought this may be the answer to my > problems - will you please confirm this. What operating system are you using? If your utility talks to stdio or a tty, sure. But I suspect that your "VB6" means "I'm on Windows, and it's a GUI". In which case it may work, but I'm not interested in helping. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 22 00:30:55 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EBEBA7F95AB for <erik@plastic-idolatry.com>; Wed, 22 Oct 2008 00:30:54 -0400 (EDT) Received: from localhost ([127.0.0.1]:57088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsVMr-00046h-W9 for erik@plastic-idolatry.com; Wed, 22 Oct 2008 00:30:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsNyx-0004w9-PH for screen-users@gnu.org; Tue, 21 Oct 2008 16:37:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsNyv-0004vj-Dm for screen-users@gnu.org; Tue, 21 Oct 2008 16:37:34 -0400 Received: from [199.232.76.173] (port=39234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsNyv-0004vf-Am for screen-users@gnu.org; Tue, 21 Oct 2008 16:37:33 -0400 Received: from nf-out-0910.google.com ([64.233.182.185]:26326) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <nils.schlupp@gmail.com>) id 1KsNyu-0006FA-0c for screen-users@gnu.org; Tue, 21 Oct 2008 16:37:33 -0400 Received: by nf-out-0910.google.com with SMTP id c7so1216725nfi.26 for <screen-users@gnu.org>; Tue, 21 Oct 2008 13:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=rAvXnzbs/D6xPHnj5ExDmX6c0lp7fZx5d+jaMkh3nlk=; b=PzVUcDZsZDB9qGwQy3Bt87BX5xL/wFibZOdDovsErVBaQynUpHythgQQRZ+mSuaVUk ONoij8H/yFsX7PKWyK5NgJq9jT1Uufb9N1tA/BKGmindXvf6ZzMSc/7xIls4ByTSSR0u WKqav5EEPxSViO9z9oIOrTduQ4DlWUq4tBME4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=MStnXIx+MISq6fwFMEnIhA2XuSmxTdHAnupezeA5s9i5BbNhkWOWVIuNNKo07NrCFW J43uzW0QA4oeVypGDIZ/WwvZtOJkUFhYKKERGZzki8son6Z8cjTZ0YjxXSIdfGRCYL1u zL16foNhpoifQostXHXyV3cNhkuSwebH8c0hw= Received: by 10.103.229.19 with SMTP id g19mr4715907mur.19.1224621448365; Tue, 21 Oct 2008 13:37:28 -0700 (PDT) Received: by 10.103.141.5 with HTTP; Tue, 21 Oct 2008 13:37:28 -0700 (PDT) Message-ID: <e584d3a60810211337o4446bdeard3542fb1426d00dc@mail.gmail.com> Date: Tue, 21 Oct 2008 15:37:28 -0500 From: Nils <nils.schlupp@gmail.com> To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 22 Oct 2008 00:28:49 -0400 Subject: auto connect to screen and open a new shell? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============1158656406==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1672 Lines: 46 --===============1158656406== Content-Type: multipart/alternative; boundary="----=_Part_9253_1047391.1224621448361" ------=_Part_9253_1047391.1224621448361 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey guys. I am trying to get this working: i open op a new terminal, which the opens my shell (zsh). I want the zsh to check if it is already inside of a screen session, and if it is not, to connect to one, and open a new shell in there. essentially i would like i to do a screen -x, C-a c. I check if i am inside a shell with the STY variable, but i have not found a good way to connect while creating a new shell Thanks, Nils ------=_Part_9253_1047391.1224621448361 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey guys.<br>I am trying to get this working:<br>i open op a new terminal, which the opens my shell (zsh). I want the zsh to check if it is already inside of a screen session, and if it is not, to connect to one, and open a new shell in there.<br> essentially i would like i to do a screen -x, C-a c. I check if i am inside a shell with the STY variable, but i have not found a good way to connect while creating a new shell<br><br>Thanks,<br>Nils<br> ------=_Part_9253_1047391.1224621448361-- --===============1158656406== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1158656406==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 22 00:40:57 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EFD957F9732 for <erik@plastic-idolatry.com>; Wed, 22 Oct 2008 00:40:55 -0400 (EDT) Received: from localhost ([127.0.0.1]:45861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsVWV-0006Mu-K0 for erik@plastic-idolatry.com; Wed, 22 Oct 2008 00:40:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsVW6-0006Ma-Jq for screen-users@gnu.org; Wed, 22 Oct 2008 00:40:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsVW2-0006Lm-Bw for screen-users@gnu.org; Wed, 22 Oct 2008 00:40:17 -0400 Received: from [199.232.76.173] (port=43137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsVW2-0006Lj-5n for screen-users@gnu.org; Wed, 22 Oct 2008 00:40:14 -0400 Received: from main.gmane.org ([80.91.229.2]:56871 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1KsVW1-0004ig-6i for screen-users@gnu.org; Wed, 22 Oct 2008 00:40:13 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsVVk-0007JT-S2 for screen-users@gnu.org; Wed, 22 Oct 2008 04:39:56 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Wed, 22 Oct 2008 04:39:56 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Wed, 22 Oct 2008 04:39:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Wed, 22 Oct 2008 15:40:28 +1100 Message-ID: <3063nlmedf.fsf@Clio.twb.ath.cx> References: <e584d3a60810211337o4446bdeard3542fb1426d00dc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Clo9+3TBbCERVpixS3s+6jdu+Oo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: auto connect to screen and open a new shell? X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2583 Lines: 57 Nils <nils.schlupp@gmail.com> writes: > i open op a new terminal, which the opens my shell (zsh). I want the > zsh to check if it is already inside of a screen session, and if it is > not, to connect to one, and open a new shell in there. I have almost that for sh: ### ~/.profile: sourced by bourne-compatible login shells. ### If ~/.bash_profile exists, this will NOT be read by bash! ### SUS bookmark: http://www.opengroup.org/onlinepubs/009695399/ # [unrelated code elided.] ## The naive "chsh -s /usr/bin/screen" breaks scp (and other things). ## Have sh start screen automatically "when appropriate". That is, ## 1) not in a screen window (STY); ## 2) stdin is a tty; ## 3) screen is installed; and ## 4) terminal is capable of displaying screen. ## Replace "$STY" with "$STY$SSH_CLIENT$SSH_ORIGINAL_COMMAND" to avoid ## nesting screens when sshing (untested). test -z "$STY" -a -t 0 && { type screen && tput clear && tput cup && ! tput hc && ! tput os } 2>/dev/null >&2 && # ignore boring, expected error messages { ## Set the window title to the host name. ## Note that using echo -e \e for ^[ is not portable. type uname >/dev/null 2>&1 && test -n "${HOSTNAME:=`uname -n`}" && case "$TERM" in screen*) printf %bk%s%b%b \\033 "${HOSTNAME%%.*}" \\033 \\0134;; esac ## If new session, start agents. screen -ls | grep -i 'No Sockets found' >/dev/null 2>&1 && eval "$(twb-agents)" ## Start screen. exec screen -DRR } ## If execution reaches this point, screen isn't the login shell. In ## that case, if this is a bash shell, it's a good idea to do the ## bashisms in .bashrc. test -n "$BASH" && test -f ~/.bashrc && . ~/.bashrc > essentially i would like i to do a screen -x, C-a c. I check if i am > inside a shell with the STY variable, but i have not found a good way > to connect while creating a new shell I'm not sure if you can do exactly that. I suppose it depends if you're starting xterm from within the screen session, or from some other X client. When STY is set you can just do "screen foo" and it'll pop up a new window running foo inside the screen session. Otherwise you might be able to do something like "screen -X screen && screen -xRR" to first start a new window, *then* connect to the session. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Oct 22 23:57:19 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8EE1F7FA413 for <erik@plastic-idolatry.com>; Wed, 22 Oct 2008 23:57:19 -0400 (EDT) Received: from localhost ([127.0.0.1]:36218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsrJs-0001iv-Lv for erik@plastic-idolatry.com; Wed, 22 Oct 2008 23:57:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsnkO-00086t-SK for screen-users@gnu.org; Wed, 22 Oct 2008 20:08:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsnkN-00085t-5B for screen-users@gnu.org; Wed, 22 Oct 2008 20:08:16 -0400 Received: from [199.232.76.173] (port=38879 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsnkN-00085q-1u for screen-users@gnu.org; Wed, 22 Oct 2008 20:08:15 -0400 Received: from bay0-omc3-s16.bay0.hotmail.com ([65.54.246.216]:9552) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <s_atiany@hotmail.com>) id 1KsnkN-0001At-6Q for screen-users@gnu.org; Wed, 22 Oct 2008 20:08:15 -0400 Received: from BAY102-W26 ([64.4.61.126]) by bay0-omc3-s16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 22 Oct 2008 17:08:09 -0700 Message-ID: <BAY102-W2649EB7343F4FB6C29AAC2E9280@phx.gbl> X-Originating-IP: [38.117.159.162] From: Samer Atiani <s_atiany@hotmail.com> To: <screen-users@gnu.org> Date: Wed, 22 Oct 2008 20:08:09 -0400 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 23 Oct 2008 00:08:10.0018 (UTC) FILETIME=[6ECF9020:01C934A3] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Mailman-Approved-At: Wed, 22 Oct 2008 23:56:50 -0400 Subject: Screen and 256 Colors, again :) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO X-Status: A Content-Length: 1145 Lines: 38 Hello=2C I'm trying to get screen working properly with 256 colors (mostly so I can = utilize my favorite VIM colorschemes)=2C and so far I've done this successf= ully except that I've lost the ability to display bright/bold colors on the= screen. I've configured my screenrc like this: attrcolor b ".I" termcapinfo xterm 'Co#256:AB=3D\E[48=3B5=3B%p1%dm:AF=3D\E[38=3B5=3B%p1%dm' defbce "on" An example of my problem: When I do 'ls' outside of screen=2C it would prin= t each directory in a bright blue color. I ran 'script' and then ls=2C and = here is an example of how it would output a directory called "etc": ^[[01=3B34metc^[[00m Inside of screen=2C that same directory would be output like this: ^[[1m^[[38=3B5=3B4m^[[94metc^[[0m How do I fix that? I notice if I screen did not print the leading ^[[1m (i.= e. just ^[[38=3B5=3B4m^[[94metc^[[0m) then highlighting would work ok. I'm using the GNU screen supplied with ubuntu hardy heron 8.10 on a 32 bit = computer. Thanks! Samer= _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 23 00:12:11 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3AE687FA0FC for <erik@plastic-idolatry.com>; Thu, 23 Oct 2008 00:12:10 -0400 (EDT) Received: from localhost ([127.0.0.1]:50200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsrYG-0008WC-Fu for erik@plastic-idolatry.com; Thu, 23 Oct 2008 00:12:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsrXy-0008Uo-BN for screen-users@gnu.org; Thu, 23 Oct 2008 00:11:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsrXu-0008SK-UG for screen-users@gnu.org; Thu, 23 Oct 2008 00:11:41 -0400 Received: from [199.232.76.173] (port=45206 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsrXu-0008SH-RP for screen-users@gnu.org; Thu, 23 Oct 2008 00:11:38 -0400 Received: from main.gmane.org ([80.91.229.2]:54723 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1KsrXu-0001qv-AS for screen-users@gnu.org; Thu, 23 Oct 2008 00:11:38 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsrXk-0006jo-F5 for screen-users@gnu.org; Thu, 23 Oct 2008 04:11:28 +0000 Received: from nat064.cyber.com.au ([203.7.155.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Thu, 23 Oct 2008 04:11:28 +0000 Received: from trentbuck by nat064.cyber.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Thu, 23 Oct 2008 04:11:28 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Thu, 23 Oct 2008 15:12:01 +1100 Message-ID: <30k5c0gdbi.fsf@Clio.twb.ath.cx> References: <BAY102-W2649EB7343F4FB6C29AAC2E9280@phx.gbl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat064.cyber.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:RH1ot712L11uX62YpJVSgFirpqs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Screen and 256 Colors, again :) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 360 Lines: 7 Samer Atiani <s_atiany@hotmail.com> writes: > I'm using the GNU screen supplied with ubuntu hardy heron 8.10 on a 32 > bit computer. Ubuntu 8.04 has the codename Hardy. Ubuntu 8.10 has the codename Intrepid. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 23 14:56:48 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DD4487FB532 for <erik@plastic-idolatry.com>; Thu, 23 Oct 2008 14:56:47 -0400 (EDT) Received: from localhost ([127.0.0.1]:54850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt5MM-00019x-UE for erik@plastic-idolatry.com; Thu, 23 Oct 2008 14:56:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt5M1-00017x-0G for screen-users@gnu.org; Thu, 23 Oct 2008 14:56:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt5Lv-000179-EF for screen-users@gnu.org; Thu, 23 Oct 2008 14:56:16 -0400 Received: from [199.232.76.173] (port=34381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt5Lv-000176-8j for screen-users@gnu.org; Thu, 23 Oct 2008 14:56:11 -0400 Received: from dirtybill.solutionsforprogress.com ([216.158.3.70]:40257) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <erik@plastic-idolatry.com>) id 1Kt5Lv-0003TV-5H for screen-users@gnu.org; Thu, 23 Oct 2008 14:56:11 -0400 Received: from [207.245.124.125] (port=56515 helo=worlock.plastic-idolatry.com) by dirtybill.solutionsforprogress.com with esmtpa (Exim 4.50) id 1Kt5Lq-0008KZ-Lt for screen-users@gnu.org; Thu, 23 Oct 2008 14:56:06 -0400 Received: by worlock.plastic-idolatry.com (Postfix, from userid 1014) id 8F2BC7FB624; Thu, 23 Oct 2008 14:56:12 -0400 (EDT) Date: Thu, 23 Oct 2008 14:56:12 -0400 From: Erik Osheim <erik@plastic-idolatry.com> To: screen-users@gnu.org Message-ID: <20081023185612.GA11144@worlock.plastic-idolatry.com> References: <BAY102-W2649EB7343F4FB6C29AAC2E9280@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <BAY102-W2649EB7343F4FB6C29AAC2E9280@phx.gbl> X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 207.245.124.125 X-SA-Exim-Mail-From: erik@plastic-idolatry.com X-SA-Exim-Scanned: No (on dirtybill.solutionsforprogress.com); SAEximRunCond expanded to false X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: Screen and 256 Colors, again :) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1156 Lines: 32 On Wed, Oct 22, 2008 at 08:08:09PM -0400, Samer Atiani wrote: > An example of my problem: When I do 'ls' outside of screen, it would print each directory in a bright blue color. I ran 'script' and then ls, and here is an example of how it would output a directory called "etc": > > ^[[01;34metc^[[00m > > Inside of screen, that same directory would be output like this: > > ^[[1m^[[38;5;4m^[[94metc^[[0m You forgot to specify what terminal emulator (or terminal) you are using. From my xterm, those two sequences display identically. As I understand it, the "^[[1m" part should turn bold on until it is turned off later by "^[[0m". Your terminal emulator may not correctly be combining the various state-changes that the three initial escape sequences specify. I tested this from bash via: printf "\033[01;34mfoo\n\033[00m" printf "\033[1m\033[38;5;4m\033[94mfoo\n\033[0m" It worked correctly inside of screen (attached to xterm). Screen's TERM is 'screen-bce', and xterm's TERM is 'xterm'. -- Erik _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 09:13:34 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D332F7FBF16 for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 09:13:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:43320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtMTh-0002M1-5X for erik@plastic-idolatry.com; Fri, 24 Oct 2008 09:13:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtCow-0000Wn-Bh for screen-users@gnu.org; Thu, 23 Oct 2008 22:54:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtCou-0000Uo-Gd for screen-users@gnu.org; Thu, 23 Oct 2008 22:54:37 -0400 Received: from [199.232.76.173] (port=49777 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtCou-0000UZ-3B for screen-users@gnu.org; Thu, 23 Oct 2008 22:54:36 -0400 Received: from mail5.sea5.speakeasy.net ([69.17.117.7]:49487) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtCot-0000Ve-Us for screen-users@gnu.org; Thu, 23 Oct 2008 22:54:36 -0400 Received: (qmail 4705 invoked from network); 24 Oct 2008 02:54:31 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <screen-users@gnu.org>; 24 Oct 2008 02:54:30 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtCon-0006vx-0C for screen-users@gnu.org; Thu, 23 Oct 2008 19:54:29 -0700 Date: Thu, 23 Oct 2008 19:54:28 -0700 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: screen-users@gnu.org Message-ID: <20081024025428.GP31898@digitalkingdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 24 Oct 2008 09:12:45 -0400 Subject: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 768 Lines: 24 I'm playing around with vertical split. I'm using Screen version 4.00.03jw4 (FAU) 2-May-06 on Debian. When I have vertical split on, less is slow. *Really* slow. So is more. vim is OK. When I say "slow", I mean that when I say "less file", it takes ~20 seconds for it to put the first screenful of data up. Any idea what's up? -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 09:27:06 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 578E77FC56B for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 09:27:06 -0400 (EDT) Received: from localhost ([127.0.0.1]:37367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtMgq-0007au-UF for erik@plastic-idolatry.com; Fri, 24 Oct 2008 09:26:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtMgX-0007aN-6y for screen-users@gnu.org; Fri, 24 Oct 2008 09:26:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtMgV-0007a5-Js for screen-users@gnu.org; Fri, 24 Oct 2008 09:26:36 -0400 Received: from [199.232.76.173] (port=46857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtMgV-0007a2-91 for screen-users@gnu.org; Fri, 24 Oct 2008 09:26:35 -0400 Received: from nf-out-0910.google.com ([64.233.182.189]:38133) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <thomas.adam22@gmail.com>) id 1KtMgV-0002BO-5E for screen-users@gnu.org; Fri, 24 Oct 2008 09:26:35 -0400 Received: by nf-out-0910.google.com with SMTP id c7so406311nfi.26 for <screen-users@gnu.org>; Fri, 24 Oct 2008 06:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GN7jEaHbVe16vHHMZ3q3Diyl+sdm+e/c0+JlgeMs+1Y=; b=hmVkp+MHFSMkIS1s9F/nXpDU/hsEBLU6pdSROYX4QubF9urfHweDn0toGMlIfJAm1P 2pyZzorKxxhV91GaoouY7KwgKKLMSSPhfyU0Df0tsuQlZNvqSIKrpA2WZ8QYzhFiqy0D If8e1Knrrcza2p8eaEtsImSDnKzLzLow7++7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TLprNfoQJJxkGnraVxHLLEvfv6CnwUM1Ms3DFeNlWsQacQ/tjwWaI/4pSvwz5JaN1l k2rFeKRTAzFhtEXRXy0f+qJyAQ5nlCatF1kEUedOiFjOsuWlsV/prjkFVPkxPvc+attm ydGZEuiKeclGjaeDH9W0tzL7Twrp+TEVboeaQ= Received: by 10.103.251.3 with SMTP id d3mr1027068mus.73.1224854790952; Fri, 24 Oct 2008 06:26:30 -0700 (PDT) Received: by 10.103.182.8 with HTTP; Fri, 24 Oct 2008 06:26:30 -0700 (PDT) Message-ID: <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> Date: Fri, 24 Oct 2008 14:26:30 +0100 From: "Thomas Adam" <thomas.adam22@gmail.com> To: "Robin Lee Powell" <rlpowell@digitalkingdom.org> In-Reply-To: <20081024025428.GP31898@digitalkingdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081024025428.GP31898@digitalkingdom.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 712 Lines: 24 Hello -- 2008/10/24 Robin Lee Powell <rlpowell@digitalkingdom.org>: > > I'm playing around with vertical split. I'm using Screen version > 4.00.03jw4 (FAU) 2-May-06 on Debian. > > When I have vertical split on, less is slow. *Really* slow. So is > more. vim is OK. When I say "slow", I mean that when I say "less > file", it takes ~20 seconds for it to put the first screenful of > data up. > > Any idea what's up? It's a known caveat of vertical splits in screen. Screen has to continually redraw the region and so that slows things down. -- Thomas Adam _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 14:34:57 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 90B6A7F7FA2 for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 14:34:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:53727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtRUk-0001s0-Sn for erik@plastic-idolatry.com; Fri, 24 Oct 2008 14:34:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtRUP-0001qA-9B for screen-users@gnu.org; Fri, 24 Oct 2008 14:34:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtRUL-0001lt-TC for screen-users@gnu.org; Fri, 24 Oct 2008 14:34:24 -0400 Received: from [199.232.76.173] (port=53292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtRUL-0001lo-Pn for screen-users@gnu.org; Fri, 24 Oct 2008 14:34:21 -0400 Received: from mail6.sea5.speakeasy.net ([69.17.117.8]:51656) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtRUL-0006gG-ES for screen-users@gnu.org; Fri, 24 Oct 2008 14:34:21 -0400 Received: (qmail 21770 invoked from network); 24 Oct 2008 18:34:18 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <thomas.adam22@gmail.com>; 24 Oct 2008 18:34:18 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtRUG-0004gG-IO; Fri, 24 Oct 2008 11:34:16 -0700 Date: Fri, 24 Oct 2008 11:34:16 -0700 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: Thomas Adam <thomas.adam22@gmail.com> Message-ID: <20081024183416.GG15209@digitalkingdom.org> References: <20081024025428.GP31898@digitalkingdom.org> <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1882 Lines: 55 On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote: > Hello -- > > 2008/10/24 Robin Lee Powell <rlpowell@digitalkingdom.org>: > > > > I'm playing around with vertical split. I'm using Screen > > version 4.00.03jw4 (FAU) 2-May-06 on Debian. > > > > When I have vertical split on, less is slow. *Really* slow. So > > is more. vim is OK. When I say "slow", I mean that when I say > > "less file", it takes ~20 seconds for it to put the first > > screenful of data up. > > > > Any idea what's up? > > It's a known caveat of vertical splits in screen. Screen has to > continually redraw the region and so that slows things down. I had a giant post written about how vertical splits in emacs and vim are quite fast, and how running vim under a vertical split in screen is also snappy, as opposed to running less, so there *must* be a problem somewhere... And then I realized that when you page down in vim, it redraws its display area once. When you page down in less, it redraws line by line. -_- Holding down j in vim to make it redraw line by line makes everything just as slow as less. So. Can anyone reccomend a less (ha!) stupid pager? more does the same thing, and I can't view man pages like this. less -c mostly does the trick... Except that the initial screen clear to put the cursor at the top line is done the slow way, and hence takes ~30 seconds. "clear ; less -c [file]" works, but I'd love a better suggestion. -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 15:26:57 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 842F57FAD94 for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 15:26:56 -0400 (EDT) Received: from localhost ([127.0.0.1]:35780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtSJ4-0006Zc-IS for erik@plastic-idolatry.com; Fri, 24 Oct 2008 15:26:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtSIi-0006Yc-1p for screen-users@gnu.org; Fri, 24 Oct 2008 15:26:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtSIe-0006W6-AI for screen-users@gnu.org; Fri, 24 Oct 2008 15:26:23 -0400 Received: from [199.232.76.173] (port=45276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtSIe-0006Vz-2F for screen-users@gnu.org; Fri, 24 Oct 2008 15:26:20 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:31854) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <njustn@gmail.com>) id 1KtSIc-0005M6-Lz for screen-users@gnu.org; Fri, 24 Oct 2008 15:26:19 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1183659rvb.6 for <screen-users@gnu.org>; Fri, 24 Oct 2008 12:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=LdKwaffsNQ4v9Ergk+r7aLSVET4HQvpNBTx413YkQng=; b=qnQl/cmytqOWmiVtcYYKdOlDqmCSwjH9WYvL+nv+CzqCb8hkYQPiBfqQ7Ai99rPHy1 26Ed0M9VmAdhDLNojJ8Mf7mjIz7OhxcchwDxqFcgvpZ6kwCAQWzeTSbJ0FtCb08OsbIP Xcaps2IrUKYBF8k7FaHxjq34mvKUvP0NdLq9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=bNSoP9O4D+Iesl47dF1GFzRu42VSrG7ql14cvRc0qBcphIRVvg/iN+jbF04MTLZgwO xDfOz4nNZu5ZgSSqH/CjUlZeJE6xOATI5QVBgQZwZV4hcMirAYZvDbAuaWtiDoW7aBys RXIakg1+i5dEpKNAEINvppxmHqiAJvF390vZ8= Received: by 10.140.166.21 with SMTP id o21mr1400640rve.254.1224876374932; Fri, 24 Oct 2008 12:26:14 -0700 (PDT) Received: by 10.141.202.7 with HTTP; Fri, 24 Oct 2008 12:26:14 -0700 (PDT) Message-ID: <b0bad2450810241226y37010506y9f7950bf02d2b191@mail.gmail.com> Date: Fri, 24 Oct 2008 15:26:14 -0400 From: "Tom Scogland" <njustn@gmail.com> To: "Robin Lee Powell" <rlpowell@digitalkingdom.org> In-Reply-To: <20081024183416.GG15209@digitalkingdom.org> MIME-Version: 1.0 References: <20081024025428.GP31898@digitalkingdom.org> <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> <20081024183416.GG15209@digitalkingdom.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============0892225959==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 7273 Lines: 168 --===============0892225959== Content-Type: multipart/alternative; boundary="----=_Part_58878_2343586.1224876374935" ------=_Part_58878_2343586.1224876374935 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually I use vim for that these days. I have an alias that starts vim and runs ":Man <arguments>" whenever I run man. That means it works nice and fast, and I get nicely highlighted man pages. As to a less stupid dedicated pager, there's always most, which also does syntax highlighting though the key commands don't quite work for me. It might do the redraw a little better, but I'm not sure. On Fri, Oct 24, 2008 at 2:34 PM, Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote: > > Hello -- > > > > 2008/10/24 Robin Lee Powell <rlpowell@digitalkingdom.org>: > > > > > > I'm playing around with vertical split. I'm using Screen > > > version 4.00.03jw4 (FAU) 2-May-06 on Debian. > > > > > > When I have vertical split on, less is slow. *Really* slow. So > > > is more. vim is OK. When I say "slow", I mean that when I say > > > "less file", it takes ~20 seconds for it to put the first > > > screenful of data up. > > > > > > Any idea what's up? > > > > It's a known caveat of vertical splits in screen. Screen has to > > continually redraw the region and so that slows things down. > > I had a giant post written about how vertical splits in emacs and > vim are quite fast, and how running vim under a vertical split in > screen is also snappy, as opposed to running less, so there *must* > be a problem somewhere... > > And then I realized that when you page down in vim, it redraws its > display area once. When you page down in less, it redraws line by > line. > > -_- > > Holding down j in vim to make it redraw line by line makes > everything just as slow as less. > > So. > > Can anyone reccomend a less (ha!) stupid pager? more does the same > thing, and I can't view man pages like this. > > less -c mostly does the trick... Except that the initial screen > clear to put the cursor at the top line is done the slow way, and > hence takes ~30 seconds. "clear ; less -c [file]" works, but I'd > love a better suggestion. > > -Robin > > -- > They say: "The first AIs will be built by the military as weapons." > And I'm thinking: "Does it even occur to you to try for something > other than the default outcome?" -- http://shorl.com/tydruhedufogre > http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein ------=_Part_58878_2343586.1224876374935 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Actually I use vim for that these days.  I have an alias that starts vim and runs ":Man <arguments>"  whenever I run man.  That means it works nice and fast, and I get nicely highlighted man pages.  As to a less stupid dedicated pager, there's always most, which also does syntax highlighting though the key commands don't quite work for me.  It might do the redraw a little better, but I'm not sure.<br> <br><div class="gmail_quote">On Fri, Oct 24, 2008 at 2:34 PM, Robin Lee Powell <span dir="ltr"><<a href="mailto:rlpowell@digitalkingdom.org">rlpowell@digitalkingdom.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div class="Ih2E3d">On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote:<br> > Hello --<br> ><br> > 2008/10/24 Robin Lee Powell <<a href="mailto:rlpowell@digitalkingdom.org">rlpowell@digitalkingdom.org</a>>:<br> > ><br> > > I'm playing around with vertical split.  I'm using Screen<br> > > version 4.00.03jw4 (FAU) 2-May-06 on Debian.<br> > ><br> > > When I have vertical split on, less is slow.  *Really* slow.  So<br> > > is more.  vim is OK.  When I say "slow", I mean that when I say<br> > > "less file", it takes ~20 seconds for it to put the first<br> > > screenful of data up.<br> > ><br> > > Any idea what's up?<br> ><br> > It's a known caveat of vertical splits in screen.  Screen has to<br> > continually redraw the region and so that slows things down.<br> <br> </div>I had a giant post written about how vertical splits in emacs and<br> vim are quite fast, and how running vim under a vertical split in<br> screen is also snappy, as opposed to running less, so there *must*<br> be a problem somewhere...<br> <br> And then I realized that when you page down in vim, it redraws its<br> display area once.  When you page down in less, it redraws line by<br> line.<br> <br> -_-<br> <br> Holding down j in vim to make it redraw line by line makes<br> everything just as slow as less.<br> <br> So.<br> <br> Can anyone reccomend a less (ha!) stupid pager?  more does the same<br> thing, and I can't view man pages like this.<br> <br> less -c mostly does the trick...  Except that the initial screen<br> clear to put the cursor at the top line is done the slow way, and<br> hence takes ~30 seconds.  "clear ; less -c [file]" works, but I'd<br> love a better suggestion.<br> <div class="Ih2E3d"><br> -Robin<br> <br> --<br> They say:  "The first AIs will be built by the military as weapons."<br> And I'm thinking:  "Does it even occur to you to try for something<br> other than the default outcome?" -- <a href="http://shorl.com/tydruhedufogre" target="_blank">http://shorl.com/tydruhedufogre</a><br> <a href="http://www.digitalkingdom.org/~rlpowell/" target="_blank">http://www.digitalkingdom.org/~rlpowell/</a> *** <a href="http://www.lojban.org/" target="_blank">http://www.lojban.org/</a><br> <br> <br> _______________________________________________<br> </div><div><div></div><div class="Wj3C7c">screen-users mailing list<br> <a href="mailto:screen-users@gnu.org">screen-users@gnu.org</a><br> <a href="http://lists.gnu.org/mailman/listinfo/screen-users" target="_blank">http://lists.gnu.org/mailman/listinfo/screen-users</a><br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>-N<br>AKA:Tom Scogland<br>I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.<br> -Albert Einstein<br> ------=_Part_58878_2343586.1224876374935-- --===============0892225959== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0892225959==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 16:02:57 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id AB1467FC304 for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 16:02:57 -0400 (EDT) Received: from localhost ([127.0.0.1]:44349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtSru-0001xD-Na for erik@plastic-idolatry.com; Fri, 24 Oct 2008 16:02:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtSpx-00018P-BJ for screen-users@gnu.org; Fri, 24 Oct 2008 16:00:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtSpw-00017Z-Ki for screen-users@gnu.org; Fri, 24 Oct 2008 16:00:45 -0400 Received: from [199.232.76.173] (port=34284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtSpw-00017R-HR for screen-users@gnu.org; Fri, 24 Oct 2008 16:00:44 -0400 Received: from mail1.sea5.speakeasy.net ([69.17.117.3]:34502) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtSpv-0007Ck-TS for screen-users@gnu.org; Fri, 24 Oct 2008 16:00:44 -0400 Received: (qmail 26927 invoked from network); 24 Oct 2008 20:00:42 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <njustn@gmail.com>; 24 Oct 2008 20:00:41 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1KtSps-0001nN-I8; Fri, 24 Oct 2008 13:00:40 -0700 Date: Fri, 24 Oct 2008 13:00:40 -0700 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: Tom Scogland <njustn@gmail.com> Message-ID: <20081024200040.GJ15209@digitalkingdom.org> References: <20081024025428.GP31898@digitalkingdom.org> <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> <20081024183416.GG15209@digitalkingdom.org> <b0bad2450810241226y37010506y9f7950bf02d2b191@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <b0bad2450810241226y37010506y9f7950bf02d2b191@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3420 Lines: 96 Yes, most does the right thing. Thanks! "view" (which is just read-only vim) does as well. -Robin On Fri, Oct 24, 2008 at 03:26:14PM -0400, Tom Scogland wrote: > Actually I use vim for that these days. I have an alias that > starts vim and runs ":Man <arguments>" whenever I run man. That > means it works nice and fast, and I get nicely highlighted man > pages. As to a less stupid dedicated pager, there's always most, > which also does syntax highlighting though the key commands don't > quite work for me. It might do the redraw a little better, but > I'm not sure. > > On Fri, Oct 24, 2008 at 2:34 PM, Robin Lee Powell < > rlpowell@digitalkingdom.org> wrote: > > > On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote: > > > Hello -- > > > > > > 2008/10/24 Robin Lee Powell <rlpowell@digitalkingdom.org>: > > > > > > > > I'm playing around with vertical split. I'm using Screen > > > > version 4.00.03jw4 (FAU) 2-May-06 on Debian. > > > > > > > > When I have vertical split on, less is slow. *Really* slow. So > > > > is more. vim is OK. When I say "slow", I mean that when I say > > > > "less file", it takes ~20 seconds for it to put the first > > > > screenful of data up. > > > > > > > > Any idea what's up? > > > > > > It's a known caveat of vertical splits in screen. Screen has to > > > continually redraw the region and so that slows things down. > > > > I had a giant post written about how vertical splits in emacs and > > vim are quite fast, and how running vim under a vertical split in > > screen is also snappy, as opposed to running less, so there *must* > > be a problem somewhere... > > > > And then I realized that when you page down in vim, it redraws its > > display area once. When you page down in less, it redraws line by > > line. > > > > -_- > > > > Holding down j in vim to make it redraw line by line makes > > everything just as slow as less. > > > > So. > > > > Can anyone reccomend a less (ha!) stupid pager? more does the same > > thing, and I can't view man pages like this. > > > > less -c mostly does the trick... Except that the initial screen > > clear to put the cursor at the top line is done the slow way, and > > hence takes ~30 seconds. "clear ; less -c [file]" works, but I'd > > love a better suggestion. > > > > -Robin > > > > -- > > They say: "The first AIs will be built by the military as weapons." > > And I'm thinking: "Does it even occur to you to try for something > > other than the default outcome?" -- http://shorl.com/tydruhedufogre > > http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ > > > > > > _______________________________________________ > > screen-users mailing list > > screen-users@gnu.org > > http://lists.gnu.org/mailman/listinfo/screen-users > > > > > > -- > -N > AKA:Tom Scogland > I am enough of an artist to draw freely upon my imagination. Imagination is > more important than knowledge. Knowledge is limited. Imagination encircles > the world. > -Albert Einstein -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 20:16:00 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 77DC87FC41C for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 20:16:00 -0400 (EDT) Received: from localhost ([127.0.0.1]:55498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWop-0004iA-CD for erik@plastic-idolatry.com; Fri, 24 Oct 2008 20:15:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtWnw-0004NF-Ne for screen-users@gnu.org; Fri, 24 Oct 2008 20:14:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtWnv-0004Lw-2v for screen-users@gnu.org; Fri, 24 Oct 2008 20:14:56 -0400 Received: from [199.232.76.173] (port=39817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWnu-0004Li-QC for screen-users@gnu.org; Fri, 24 Oct 2008 20:14:54 -0400 Received: from main.gmane.org ([80.91.229.2]:52415 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1KtWnu-0001LI-5H for screen-users@gnu.org; Fri, 24 Oct 2008 20:14:54 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KtWno-0001z9-Hu for screen-users@gnu.org; Sat, 25 Oct 2008 00:14:48 +0000 Received: from ppp118-208-245-43.lns10.mel6.internode.on.net ([118.208.245.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 25 Oct 2008 00:14:48 +0000 Received: from trentbuck by ppp118-208-245-43.lns10.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 25 Oct 2008 00:14:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Sat, 25 Oct 2008 11:15:22 +1100 Message-ID: <301vy5lecl.fsf@Clio.twb.ath.cx> References: <20081024025428.GP31898@digitalkingdom.org> <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> <20081024183416.GG15209@digitalkingdom.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-208-245-43.lns10.mel6.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:ifoErgSU/3Lzmpw9zYJivO2+xZo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1037 Lines: 23 Robin Lee Powell <rlpowell@digitalkingdom.org> writes: > On Fri, Oct 24, 2008 at 02:26:30PM +0100, Thomas Adam wrote: > And then I realized that when you page down in vim, it redraws its > display area once. When you page down in less, it redraws line by > line. Please report this bug to the less maintainer. > Can anyone reccomend a less (ha!) stupid pager? more does the same > thing, and I can't view man pages like this. > > less -c mostly does the trick... Except that the initial screen > clear to put the cursor at the top line is done the slow way, and > hence takes ~30 seconds. "clear ; less -c [file]" works, but I'd > love a better suggestion. Does this work? It seems faster to me, but I can't get a big enough $COLUMNS on my 7" screen to get enough slowdown to see it disappear. sudo aptitude install w3m sudo update-alternatives --set pager /usr/bin/w3m _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Oct 24 20:20:33 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 3BA487FC441 for <erik@plastic-idolatry.com>; Fri, 24 Oct 2008 20:20:33 -0400 (EDT) Received: from localhost ([127.0.0.1]:34947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWtE-0008Oa-7h for erik@plastic-idolatry.com; Fri, 24 Oct 2008 20:20:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtWsx-0008OV-Fs for screen-users@gnu.org; Fri, 24 Oct 2008 20:20:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtWsv-0008OJ-Vs for screen-users@gnu.org; Fri, 24 Oct 2008 20:20:06 -0400 Received: from [199.232.76.173] (port=48347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtWsv-0008OG-Qv for screen-users@gnu.org; Fri, 24 Oct 2008 20:20:05 -0400 Received: from main.gmane.org ([80.91.229.2]:59208 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1KtWsv-0002dY-8I for screen-users@gnu.org; Fri, 24 Oct 2008 20:20:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KtWss-00029T-DE for screen-users@gnu.org; Sat, 25 Oct 2008 00:20:02 +0000 Received: from ppp118-208-245-43.lns10.mel6.internode.on.net ([118.208.245.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 25 Oct 2008 00:20:02 +0000 Received: from trentbuck by ppp118-208-245-43.lns10.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sat, 25 Oct 2008 00:20:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Sat, 25 Oct 2008 11:19:11 +1100 Message-ID: <30vdvhjzls.fsf@Clio.twb.ath.cx> References: <20081024025428.GP31898@digitalkingdom.org> <18071eea0810240626uaeee01cq667ccb1fa2639d03@mail.gmail.com> <20081024183416.GG15209@digitalkingdom.org> <b0bad2450810241226y37010506y9f7950bf02d2b191@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-208-245-43.lns10.mel6.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:x3+vYCaGTJ1CCo43q721JFW+Skk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Very bad/slow redraw with vertical split. X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 798 Lines: 19 "Tom Scogland" <njustn@gmail.com> writes: > Actually I use vim for that these days. I have an alias that starts > vim and runs ":Man <arguments>" whenever I run man. For Emacs' M-x shell, I have this in .bashrc: if test -z "$EMACS$INSIDE_EMACS" then : [...] else PS1='$ ' # be brief in M-x shell export PAGER=cat # fuck you, git-log! if which man &>/dev/null then man () { twb-emacsclient -e "(man \"$1\" t)"; } else man () { twb-emacsclient -e "(woman \"$1\" t)"; } fi info () { twb-emacsclient -e "(info \"${2+(}$1${2+)$2}\")"; } fi _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 30 01:06:52 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 739477FC74A for <erik@plastic-idolatry.com>; Thu, 30 Oct 2008 01:06:52 -0400 (EDT) Received: from localhost ([127.0.0.1]:41432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvPk0-0004Sx-Kf for erik@plastic-idolatry.com; Thu, 30 Oct 2008 01:06:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvOeU-00074O-7M for screen-users@gnu.org; Wed, 29 Oct 2008 23:56:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvOeT-00073l-KL for screen-users@gnu.org; Wed, 29 Oct 2008 23:56:53 -0400 Received: from [199.232.76.173] (port=54120 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvOeT-00073c-Hd for screen-users@gnu.org; Wed, 29 Oct 2008 23:56:53 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:39706) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <cpriest@warpmail.net>) id 1KvOeT-0004Cx-CK for screen-users@gnu.org; Wed, 29 Oct 2008 23:56:53 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 078DC18A218 for <screen-users@gnu.org>; Wed, 29 Oct 2008 23:56:51 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 29 Oct 2008 23:56:51 -0400 X-Sasl-enc: dQTYG8wEu/erVVIevOayCGNCkLs4mmtyI8Zpb5j+wkk1 1225339010 Received: from [10.10.10.10] (c-24-118-159-172.hsd1.mn.comcast.net [24.118.159.172]) by mail.messagingengine.com (Postfix) with ESMTPA id BB513261D8 for <screen-users@gnu.org>; Wed, 29 Oct 2008 23:56:50 -0400 (EDT) Message-ID: <49093084.5070607@warpmail.net> Date: Wed, 29 Oct 2008 22:56:52 -0500 From: Clint Priest <cpriest@warpmail.net> User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: screen-users@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 30 Oct 2008 01:06:09 -0400 Subject: Screen Issues X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1183 Lines: 35 I'm having some difficult in getting screen to do what I'm looking for. What I want to do is to setup a screen config which will launch two windows, in the top window it would be the output from 'svn commit' and the bottom would be the output from 'svn diff | vim -R -'. I've got most of it working but the problem I'm running into is that when the 'svn commit' is complete I want it to automatically 'quit' the screen session. Here's the screenrc file I have setup for it: --------------------------------------------- split screen bash -c "svn commit || bash" eval "resize 10" focus screen exec ... /bin/bash -c "sudo svn diff | vim -R -" focus --------------------------------------------- I've tried numerous ways of getting the 'quit' to work automatically but have been unable to find a way to do it... 1) Is there any way to get 'quit' to work from the bash command line? 2) Is there any way to 'stuff' a keyboard command after the 'svn commit' ends? I could then bind a key to quit and do it that way. Thanks _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 30 01:21:44 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id F2DB07FC749 for <erik@plastic-idolatry.com>; Thu, 30 Oct 2008 01:21:43 -0400 (EDT) Received: from localhost ([127.0.0.1]:36964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvPyQ-0001wu-8W for erik@plastic-idolatry.com; Thu, 30 Oct 2008 01:21:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvPxu-0001wm-5f for screen-users@gnu.org; Thu, 30 Oct 2008 01:21:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvPxs-0001wa-G8 for screen-users@gnu.org; Thu, 30 Oct 2008 01:21:01 -0400 Received: from [199.232.76.173] (port=42714 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvPxs-0001wX-8s for screen-users@gnu.org; Thu, 30 Oct 2008 01:21:00 -0400 Received: from mail4.sea5.speakeasy.net ([69.17.117.6]:32862) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1KvPxr-0003Mz-Uq for screen-users@gnu.org; Thu, 30 Oct 2008 01:21:00 -0400 Received: (qmail 22002 invoked from network); 30 Oct 2008 05:20:52 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <cpriest@warpmail.net>; 30 Oct 2008 05:20:52 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1KvPxj-000297-Ks; Wed, 29 Oct 2008 22:20:51 -0700 Date: Wed, 29 Oct 2008 22:20:51 -0700 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: Clint Priest <cpriest@warpmail.net> Message-ID: <20081030052051.GO1092@digitalkingdom.org> References: <49093084.5070607@warpmail.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49093084.5070607@warpmail.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Screen Issues X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 639 Lines: 19 On Wed, Oct 29, 2008 at 10:56:52PM -0500, Clint Priest wrote: > 1) Is there any way to get 'quit' to work from the bash command > line? Have it kill the parent process, which should be the screen session. -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 30 01:34:25 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1FC90727368 for <erik@plastic-idolatry.com>; Thu, 30 Oct 2008 01:34:25 -0400 (EDT) Received: from localhost ([127.0.0.1]:60820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvQAh-0006x9-MS for erik@plastic-idolatry.com; Thu, 30 Oct 2008 01:34:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvQAI-0006x4-So for screen-users@gnu.org; Thu, 30 Oct 2008 01:33:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvQAG-0006ws-Nt for screen-users@gnu.org; Thu, 30 Oct 2008 01:33:50 -0400 Received: from [199.232.76.173] (port=54783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvQAG-0006wp-Ip for screen-users@gnu.org; Thu, 30 Oct 2008 01:33:48 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:38904) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KvQAG-00061d-9T for screen-users@gnu.org; Thu, 30 Oct 2008 01:33:48 -0400 Received: from [10.0.0.3] (adsl-76-227-19-37.dsl.pltn13.sbcglobal.net [76.227.19.37]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 5CA623CC8096; Wed, 29 Oct 2008 22:33:44 -0700 (PDT) Message-ID: <49094736.7060909@cowan.name> Date: Wed, 29 Oct 2008 22:33:42 -0700 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Robin Lee Powell <rlpowell@digitalkingdom.org> References: <49093084.5070607@warpmail.net> <20081030052051.GO1092@digitalkingdom.org> In-Reply-To: <20081030052051.GO1092@digitalkingdom.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Screen Issues X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 864 Lines: 31 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robin Lee Powell wrote: > On Wed, Oct 29, 2008 at 10:56:52PM -0500, Clint Priest wrote: >> 1) Is there any way to get 'quit' to work from the bash command >> line? > > Have it kill the parent process, which should be the screen session. 'screen -X quit' should also do the trick. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJCUc27M8hyUobTrERAg9FAJ9x4LHTl9mTyzkyKAYYdQQll9k8FgCeLGux 5eCEfHZJXFxSZV7sMVm7Yz4= =oLjp -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 30 09:56:02 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C799C7FC5C4 for <erik@plastic-idolatry.com>; Thu, 30 Oct 2008 09:56:02 -0400 (EDT) Received: from localhost ([127.0.0.1]:53529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvY08-0001nv-2c for erik@plastic-idolatry.com; Thu, 30 Oct 2008 09:55:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvXzf-0001kF-MH for screen-users@gnu.org; Thu, 30 Oct 2008 09:55:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvXze-0001jI-SL for screen-users@gnu.org; Thu, 30 Oct 2008 09:55:23 -0400 Received: from [199.232.76.173] (port=41151 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvXze-0001j9-OK for screen-users@gnu.org; Thu, 30 Oct 2008 09:55:22 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:37597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <cpriest@warpmail.net>) id 1KvXze-0006LF-Jw for screen-users@gnu.org; Thu, 30 Oct 2008 09:55:22 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 96AC818A22F; Thu, 30 Oct 2008 09:55:20 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 30 Oct 2008 09:55:20 -0400 X-Sasl-enc: 5c86mqiIpoYN3B6dGL28oBQU4CUXhOcovMYLAXchGmJr 1225374920 Received: from [10.10.10.10] (c-24-118-159-172.hsd1.mn.comcast.net [24.118.159.172]) by mail.messagingengine.com (Postfix) with ESMTPA id 276812E82B; Thu, 30 Oct 2008 09:55:20 -0400 (EDT) Message-ID: <4909BCCA.7000206@warpmail.net> Date: Thu, 30 Oct 2008 08:55:22 -0500 From: Clint Priest <cpriest@warpmail.net> User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Micah Cowan <micah@cowan.name> References: <49093084.5070607@warpmail.net> <20081030052051.GO1092@digitalkingdom.org> <49094736.7060909@cowan.name> In-Reply-To: <49094736.7060909@cowan.name> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: screen-users@gnu.org Subject: Re: Screen Issues X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============1305829709==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1862 Lines: 65 --===============1305829709== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> That did it, thanks!<br> <br> Micah Cowan wrote: <blockquote cite="mid:49094736.7060909@cowan.name" type="cite"> <pre wrap="">-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robin Lee Powell wrote: </pre> <blockquote type="cite"> <pre wrap="">On Wed, Oct 29, 2008 at 10:56:52PM -0500, Clint Priest wrote: </pre> <blockquote type="cite"> <pre wrap="">1) Is there any way to get 'quit' to work from the bash command line? </pre> </blockquote> <pre wrap="">Have it kill the parent process, which should be the screen session. </pre> </blockquote> <pre wrap=""><!----> 'screen -X quit' should also do the trick. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq <a class="moz-txt-link-freetext" href="http://micah.cowan.name/">http://micah.cowan.name/</a> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a> iD8DBQFJCUc27M8hyUobTrERAg9FAJ9x4LHTl9mTyzkyKAYYdQQll9k8FgCeLGux 5eCEfHZJXFxSZV7sMVm7Yz4= =oLjp -----END PGP SIGNATURE----- </pre> </blockquote> </body> </html> --===============1305829709== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1305829709==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Oct 30 22:00:12 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id CA3EC7FB2E9 for <erik@plastic-idolatry.com>; Thu, 30 Oct 2008 22:00:11 -0400 (EDT) Received: from localhost ([127.0.0.1]:40511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvjIu-0006q2-Vj for erik@plastic-idolatry.com; Thu, 30 Oct 2008 22:00:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvZ4s-0001BE-9R for screen-users@gnu.org; Thu, 30 Oct 2008 11:04:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvZ4q-00019A-UC for screen-users@gnu.org; Thu, 30 Oct 2008 11:04:49 -0400 Received: from [199.232.76.173] (port=51850 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvZ4q-00018u-PD for screen-users@gnu.org; Thu, 30 Oct 2008 11:04:48 -0400 Received: from mail.gmx.net ([213.165.64.20]:47065) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <ttyc@gmx.net>) id 1KvZ4q-0007ND-Df for screen-users@gnu.org; Thu, 30 Oct 2008 11:04:48 -0400 Received: (qmail 18545 invoked by uid 0); 30 Oct 2008 15:04:45 -0000 Received: from 84.57.248.29 by www044.gmx.net with HTTP; Thu, 30 Oct 2008 16:04:45 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 30 Oct 2008 16:04:45 +0100 From: "Thomas Heller" <ttyc@gmx.net> Message-ID: <20081030150445.40030@gmx.net> MIME-Version: 1.0 To: screen-users@gnu.org X-Authenticated: #36284028 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/g1EkrEK7gHAUi4ha/H++6fLVZPp7EWaVbkG8BEL syy/8/00l5tv6bWQchyIuguQuRTi+9SE6VRQ== Content-Transfer-Encoding: 8bit X-GMX-UID: bKR8epc6ODB6VxbHWmZML1E9Ji9SWpIJ X-FuHaFi: 0.82 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 30 Oct 2008 21:59:04 -0400 Subject: status line(s) X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 523 Lines: 20 Hello, I've seen this on screenshots more than once by now. Is there a way to set a hardstatus line consisting of multiple lines or is using a hardstatus line plus caption simultaneously the only way to have more than one line (i.e. two lines)? Thomas -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Nov 1 09:56:33 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id EFA3A7F7BA4 for <erik@plastic-idolatry.com>; Sat, 1 Nov 2008 09:56:32 -0400 (EDT) Received: from localhost ([127.0.0.1]:51362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwGxh-0003fY-22 for erik@plastic-idolatry.com; Sat, 01 Nov 2008 09:56:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvyaF-0004PR-ET for screen-users@gnu.org; Fri, 31 Oct 2008 14:18:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvyaC-0004NA-SX for screen-users@gnu.org; Fri, 31 Oct 2008 14:18:55 -0400 Received: from [199.232.76.173] (port=35836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvyaC-0004Mw-2c for screen-users@gnu.org; Fri, 31 Oct 2008 14:18:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:49018) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <ukf-deadly-tiger@gmx.de>) id 1Kvya9-0003VI-MD for screen-users@gnu.org; Fri, 31 Oct 2008 14:18:50 -0400 Received: (qmail invoked by alias); 31 Oct 2008 18:12:04 -0000 Received: from p549B6703.dip.t-dialin.net (EHLO [192.168.1.3]) [84.155.103.3] by mail.gmx.net (mp005) with SMTP; 31 Oct 2008 19:12:04 +0100 X-Authenticated: #11577547 X-Provags-ID: V01U2FsdGVkX19QvWZD4/tQ8QhSShkvttD1G34pmoxbKVQr/48XKK KbvqwFarx/rGAe Message-ID: <490B4A6F.7060603@gmx.de> Date: Fri, 31 Oct 2008 19:11:59 +0100 From: Andreas Herz <ukf-deadly-tiger@gmx.de> User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: screen-users@gnu.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 01 Nov 2008 09:52:44 -0400 Subject: screen with irssi, sux.theme, urxvt X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1320 Lines: 39 Hi, i have a confusing problem. I have a debian testing system. I use urxvt on my desktop, then ssh to the server with irssi running in screen. I also use the sux.theme from the irssi.org page. Now i found out, that in the bottom line, i have a display disfunction. In the line with "time + nickname + channelname + Act:", there are ANSI Chars. I have Questionmarks, what is HTML-Code  in this ANSI Table: http://www.torsten-horn.de/techdocs/ascii.htm But if you look at the sux.theme screenshot on the irssi.org page, they have squares. So i tried to run irssi in urxvt, there i have no problems, i can see the squares. Furthermore i checked serveral things. Both systems, desktop and server, are fully UTF-8, also screen and irssi itself are set to use UTF-8. Locales are also UTF-8. So i tried to replave $TERM=screen with $TERM=rxvt-unicode. Nothign changed. So my guess is, that there is a issue with screen and the display of ANSI Chars. Do you have any hint for me? I also made 2 screenshots that i uploaded here: 1. Irssi in screen: http://web10.syscp.nutime.de/stuff/2.jpg 2. Irssi only in urxvt: http://web10.syscp.nutime.de/stuff/1.jpg Thx Andi _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Nov 1 13:12:30 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0F3597F8398 for <erik@plastic-idolatry.com>; Sat, 1 Nov 2008 13:12:30 -0400 (EDT) Received: from localhost ([127.0.0.1]:59055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwK1L-0006eQ-Ps for erik@plastic-idolatry.com; Sat, 01 Nov 2008 13:12:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwJwr-0004o2-TU for screen-users@gnu.org; Sat, 01 Nov 2008 13:07:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwJwq-0004ms-Ae for screen-users@gnu.org; Sat, 01 Nov 2008 13:07:41 -0400 Received: from [199.232.76.173] (port=55418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwJwq-0004mo-4N for screen-users@gnu.org; Sat, 01 Nov 2008 13:07:40 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:52027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KwJwp-0004G8-J2 for screen-users@gnu.org; Sat, 01 Nov 2008 13:07:39 -0400 Received: from [10.0.0.3] (adsl-76-199-98-243.dsl.pltn13.sbcglobal.net [76.199.98.243]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 58C46408804A; Sat, 1 Nov 2008 10:07:38 -0700 (PDT) Message-ID: <490C8CDB.20401@cowan.name> Date: Sat, 01 Nov 2008 10:07:39 -0700 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Andreas Herz <ukf-deadly-tiger@gmx.de> References: <490B4A6F.7060603@gmx.de> In-Reply-To: <490B4A6F.7060603@gmx.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: screen with irssi, sux.theme, urxvt X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2107 Lines: 54 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Herz wrote: > Hi, > > i have a confusing problem. I have a debian testing system. I use urxvt > on my desktop, then ssh to the server with irssi running in screen. I > also use the sux.theme from the irssi.org page. Now i found out, that in > the bottom line, i have a display disfunction. In the line with "time + > nickname + channelname + Act:", there are ANSI Chars. I have > Questionmarks, what is HTML-Code  in this ANSI Table: > http://www.torsten-horn.de/techdocs/ascii.htm  is not a graphic character, either questionmark or box. It is a character in the C1 control character set that has _no_ assigned meaning. Whether it gets displayed at all, and if displayed, how, are all undefined. When I run irssi with the sux theme, it's sending 0xB7, which is not a legal UTF-8 character, and not 0x81 (which also isn't, anyway). 0xB7 in the latin1 encoding is "middle dot" (probably the "square" you want); but since you're running in UTF-8 it's a nonsensical byte value. In gnome-terminal, either inside or outside of screen, 0xB7 is rendered as a question-mark. In urxvt inside of screen, I get full-character boxes, rather than question-marks. It's not guaranteed to be rendered in _any_ particular way, since it's not a meaningful byte value. It looks like the sux theme assumes a ISO-8859-* encoding, so if you want it to render properly in screen, you'll need to tell screen that it's in latin1 rather than UTF-8. For instance, turning _off_ UTF-8 mode in screen fixed the issue for me. - -- HTH, Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJDIzb7M8hyUobTrERApKwAJ0X+QGVXVSNfB4tZqvGyEu57z2wpQCdE74b ngoYN+zfboyOxqETSMcyhrU= =5sdJ -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Nov 2 11:04:01 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,MIME_BASE64_BLANKS autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 0C0247F7BA8 for <erik@plastic-idolatry.com>; Sun, 2 Nov 2008 11:03:59 -0500 (EST) Received: from localhost ([127.0.0.1]:43507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwfQZ-0003b6-Pt for erik@plastic-idolatry.com; Sun, 02 Nov 2008 11:03:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwfQI-0003b1-BH for screen-users@gnu.org; Sun, 02 Nov 2008 11:03:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwfQC-0003ap-D8 for screen-users@gnu.org; Sun, 02 Nov 2008 11:03:29 -0500 Received: from [199.232.76.173] (port=58428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwfQC-0003am-8A for screen-users@gnu.org; Sun, 02 Nov 2008 11:03:24 -0500 Received: from rn-out-0910.google.com ([64.233.170.188]:22916) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <kaz.rag@gmail.com>) id 1KwfQB-0002Jp-Gu for screen-users@gnu.org; Sun, 02 Nov 2008 11:03:24 -0500 Received: by rn-out-0910.google.com with SMTP id k32so1691778rnd.7 for <screen-users@gnu.org>; Sun, 02 Nov 2008 08:03:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=03oRSBX+9D3tV/XlDIwSmIGfeSoipfnAQ9i+6jXoD1g=; b=BMfNc25uLwGv3Cqwrv3i0Y1OacMgtbXhm+pLmR6c9RRDFy3RemdHimje0qyhqScBHA DKaPUZ4+hGnkjVGmZBQ/idLEAE8EIVVM42ItZISWE2kB7KxI+c/SfZ09orC9yMYUSQs0 TQVrkoE/Z0rnXccKysY7kX96qfZYfqHJCGGUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vItEPrCxx5QHWFuCrf3lCOJXGfsQmv19P0ZlM39T/ZPIY9svFfCh4WSahlf85ZH0q2 1sBMlsmUTnEybT0YUsG/qXzj3Lg9bNKD3DHbOwOz5MLTHZTkN5YMSulMNxg2/PYdyob2 YtlrYxpxeP+jmmhdhGETuJ0EQjOFi1TumOTSc= Received: by 10.65.158.19 with SMTP id k19mr16669227qbo.53.1225641793991; Sun, 02 Nov 2008 08:03:13 -0800 (PST) Received: by 10.64.204.3 with HTTP; Sun, 2 Nov 2008 08:03:13 -0800 (PST) Message-ID: <5992e17f0811020803p7f1728c9s757a6887507c45ae@mail.gmail.com> Date: Sun, 2 Nov 2008 14:03:13 -0200 From: "Kazuo Teramoto" <kaz.rag@gmail.com> To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Lua scripting help and bug X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============1702351217==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1430 Lines: 33 --===============1702351217== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline SGVsbG8hCgpJJ20gdHJ5aW5nIHRvIHVzZSB0aGUgbHVhIGludGVyZmFjZQooaHR0cDovL3JlcG8u b3IuY3ovdy9zY3JlZW4tbHVhLmdpdCkgYW5kIGhhdmUgc29tZSBxdWVzdGlvbiwgc29tZW9uZQpj YW4gaGVscCBtZT8KCkZpcnN0IEkgdGhpbmsgdGhhdCBjYW52YXNfc2VsZWN0KGx1YS5jIGxpbmUg MzY0KSBJIHRoaW5rIHRoYXQgdGhpcwpsaW5lIGlzIGEgcmV0dXJuIG5vdCBhIGJyZWFrLgoKQW5k IGZvciBteSBoZWxwIHJlcXVlc3QuIEkgbGlrZSB0byBzdG9yZSB2YXJpYWJsZXMgcGVyIHdpbmRv dyBhbmQgcGVyCnJlZ2lvbiwgaG93IEkgY2FuIGRvIHRoYXQ/CkFuZCBob3cgSSBjYW4gc2VuZCAn cHJpbnQnIGNvbW1hbmQgdG8gdGhlIHNjcmVlbiBvciB0ZXJtaW5hbCAoZS5nLgpzZW5kIG9zYyBl c2NhcGUgc2VxdWVuY2VzKS4gSSB1c2UgZXhlYywgb3Igd2UgaGF2ZSBhIGJldHRlciBtZXRob2Q/ CgpJJ20gdHJ5aW5nIHRvIGhhdmUgZGlmZmVyZW50IGN1cnNvciBzdHlsZXMgcGVyIHdpbmRvdyAo SSBoYXZlIGEKbW9kaWZpZWQgdXJ4dnQgdGhhdCBkaXNwbGF5IEktYmVhbSBjdXJzb3IgYW5kIHVz ZSBpdCBpbnNpZGUgdmltIG9uCmluc2VydCBtb2RlKS4KClRoYW5rcyBhIGxvdCEKCi0tIArCq0Rh bnMgbGEgdmllLCByaWVuIG4nZXN0IMOgIGNyYWluZHJlLCB0b3V0IGVzdCDDoCBjb21wcmVuZHJl wrsKTWFyaWUgU2tsb2Rvd3NrYSBDdXJpZS4K --===============1702351217== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1702351217==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Wed Nov 5 17:39:51 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 956037FBFF2 for <erik@plastic-idolatry.com>; Wed, 5 Nov 2008 17:39:49 -0500 (EST) Received: from localhost ([127.0.0.1]:42970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxr2H-0007S0-AU for erik@plastic-idolatry.com; Wed, 05 Nov 2008 17:39:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxr1z-0007RK-FN for screen-users@gnu.org; Wed, 05 Nov 2008 17:39:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxr1v-0007Qs-Uu for screen-users@gnu.org; Wed, 05 Nov 2008 17:39:19 -0500 Received: from [199.232.76.173] (port=36392 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxr1v-0007Qp-SL for screen-users@gnu.org; Wed, 05 Nov 2008 17:39:15 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:56806) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1Kxr1v-0007OU-Cn for screen-users@gnu.org; Wed, 05 Nov 2008 17:39:15 -0500 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 7CDFF408804A; Wed, 5 Nov 2008 14:39:14 -0800 (PST) Message-ID: <49122091.1010204@cowan.name> Date: Wed, 05 Nov 2008 14:39:13 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: Gokdeniz Karadag <gokdenizk@gmail.com> References: <4877F658.9050203@gmail.com> In-Reply-To: <4877F658.9050203@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1052 Lines: 37 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gokdeniz Karadag wrote: > Hi, > > This is more like a story, I am trying to automatically set "GNU screen > window title" equal to the hostname that is connected by ssh. This has been a recurring need, solved in various ways. Thomas Adam just pointed out to me the following link: http://www.tenshu.net/screen_ssh/ which appears to solve a problem by using ssh's LocalCommand config option (which I hadn't known about) to run a local command whenever it's invoked. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJEiCR7M8hyUobTrERAofhAKCAUqhS/qrXkafnft2mjqTrkN2rUACgibCx q05lPRNP4B0ChqcT9ULT7qw= =In13 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 01:14:36 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 7DCB4E2BB for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 01:14:36 -0500 (EST) Received: from localhost ([127.0.0.1]:53381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxy8Q-00047S-Qx for erik@plastic-idolatry.com; Thu, 06 Nov 2008 01:14:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxy7s-00046A-MH for screen-users@gnu.org; Thu, 06 Nov 2008 01:13:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxy7q-00045J-DF for screen-users@gnu.org; Thu, 06 Nov 2008 01:13:52 -0500 Received: from [199.232.76.173] (port=49428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxy7q-00044r-6v for screen-users@gnu.org; Thu, 06 Nov 2008 01:13:50 -0500 Received: from mail4.sea5.speakeasy.net ([69.17.117.6]:40028) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1Kxy7q-0007b1-9J for screen-users@gnu.org; Thu, 06 Nov 2008 01:13:50 -0500 Received: (qmail 648 invoked from network); 6 Nov 2008 06:13:45 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <micah@cowan.name>; 6 Nov 2008 06:13:45 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1Kxy7j-0006f8-Qg; Wed, 05 Nov 2008 22:13:43 -0800 Date: Wed, 5 Nov 2008 22:13:43 -0800 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: Micah Cowan <micah@cowan.name> Message-ID: <20081106061343.GX20021@digitalkingdom.org> References: <4877F658.9050203@gmail.com> <49122091.1010204@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49122091.1010204@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Gokdeniz Karadag <gokdenizk@gmail.com>, screen-users@gnu.org Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1563 Lines: 50 On Wed, Nov 05, 2008 at 02:39:13PM -0800, Micah Cowan wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gokdeniz Karadag wrote: > > Hi, > > > > This is more like a story, I am trying to automatically set > > "GNU screen window title" equal to the hostname that is > > connected by ssh. > > This has been a recurring need, solved in various ways. I've solved it by prompt hacking; here's the relevant bits from my .screenrc at work: # Magic to make PS1 goodness work hardstatus off hardstatus string "%t" chacl :window: -rwx #? chacl :window: +x title ##### # With this setup, you can change the current window's title by # sending an ANSI escape sequence; this will change the window's # title and the title will show up in the hardstatus line (i.e. the # title bar in PuTTY). This sets the title to the current host # name. The actual prompt is the hostname followed by $ for bash or # %# for zsh, which is magic that shows either # if you're root or % # if you're not. # # zsh: PS1="$(echo -e '%{\033]83;title '$(uname -n)'\007%}%m%# ')" # # bash: PS1="\[\033]83;title $(uname -n)\a\]$(uname -n)\$ " # ##### -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 01:52:07 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D89227FD5BF for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 01:52:06 -0500 (EST) Received: from localhost ([127.0.0.1]:60715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxyii-0008QC-R1 for erik@plastic-idolatry.com; Thu, 06 Nov 2008 01:51:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxyhV-00083T-ES for screen-users@gnu.org; Thu, 06 Nov 2008 01:50:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxyhT-00082L-K1 for screen-users@gnu.org; Thu, 06 Nov 2008 01:50:40 -0500 Received: from [199.232.76.173] (port=49047 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxyhT-000824-5x for screen-users@gnu.org; Thu, 06 Nov 2008 01:50:39 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KxyhT-0006bJ-4x for screen-users@gnu.org; Thu, 06 Nov 2008 01:50:39 -0500 Received: from [10.0.0.3] (adsl-76-199-97-55.dsl.pltn13.sbcglobal.net [76.199.97.55]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 175CA408804E; Wed, 5 Nov 2008 22:50:34 -0800 (PST) Message-ID: <491293B7.4060205@cowan.name> Date: Wed, 05 Nov 2008 22:50:31 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Robin Lee Powell <rlpowell@digitalkingdom.org> References: <4877F658.9050203@gmail.com> <49122091.1010204@cowan.name> <20081106061343.GX20021@digitalkingdom.org> In-Reply-To: <20081106061343.GX20021@digitalkingdom.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Gokdeniz Karadag <gokdenizk@gmail.com>, screen-users@gnu.org Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2321 Lines: 71 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robin Lee Powell wrote: > On Wed, Nov 05, 2008 at 02:39:13PM -0800, Micah Cowan wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Gokdeniz Karadag wrote: >>> Hi, >>> >>> This is more like a story, I am trying to automatically set >>> "GNU screen window title" equal to the hostname that is >>> connected by ssh. >> This has been a recurring need, solved in various ways. > > I've solved it by prompt hacking; here's the relevant bits from my > .screenrc at work: > > # Magic to make PS1 goodness work > hardstatus off > hardstatus string "%t" > chacl :window: -rwx #? > chacl :window: +x title > > ##### > # With this setup, you can change the current window's title by > # sending an ANSI escape sequence; this will change the window's > # title and the title will show up in the hardstatus line (i.e. the > # title bar in PuTTY). This sets the title to the current host > # name. The actual prompt is the hostname followed by $ for bash or > # %# for zsh, which is magic that shows either # if you're root or % > # if you're not. > # > # zsh: PS1="$(echo -e '%{\033]83;title '$(uname -n)'\007%}%m%# ')" > # > # bash: PS1="\[\033]83;title $(uname -n)\a\]$(uname -n)\$ " > # > ##### I don't really see how that does what the thread's talking about; namely, set the window title to the hostname that's connected by ssh. Kinda cool about the :window:/OSC 83 command execution hack, though. I was incredulous that those chacls actually did anything related to the window title. As previously mentioned in these threads (IIRC?), the problem with prompt hacks is you don't always have control over the prompts in remote shells (and even when you do, it's a bit of a pain to set up in every host you ever visit). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkSk7cACgkQ7M8hyUobTrHNwQCfT6xqxwNzPEwf7DeXfZu8paT+ LSIAn0Ft/obLm4TDFhBi2mzhHwg+SF5e =omIc -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 01:54:14 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 385AE7FD62D for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 01:54:14 -0500 (EST) Received: from localhost ([127.0.0.1]:33066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxykm-00018g-U7 for erik@plastic-idolatry.com; Thu, 06 Nov 2008 01:54:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxyk4-000156-D5 for screen-users@gnu.org; Thu, 06 Nov 2008 01:53:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxyk2-00013d-Fx for screen-users@gnu.org; Thu, 06 Nov 2008 01:53:19 -0500 Received: from [199.232.76.173] (port=41424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxyk2-00013P-2V for screen-users@gnu.org; Thu, 06 Nov 2008 01:53:18 -0500 Received: from mail3.sea5.speakeasy.net ([69.17.117.5]:49077) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <rlpowell@digitalkingdom.org>) id 1Kxyk2-0007fS-03 for screen-users@gnu.org; Thu, 06 Nov 2008 01:53:18 -0500 Received: (qmail 2443 invoked from network); 6 Nov 2008 06:53:15 -0000 Received: from chain.digitalkingdom.org ([64.81.66.169]) (envelope-sender <rlpowell@digitalkingdom.org>) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <micah@cowan.name>; 6 Nov 2008 06:53:15 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from <rlpowell@digitalkingdom.org>) id 1Kxyjv-00005b-VT; Wed, 05 Nov 2008 22:53:12 -0800 Date: Wed, 5 Nov 2008 22:53:11 -0800 From: Robin Lee Powell <rlpowell@digitalkingdom.org> To: Micah Cowan <micah@cowan.name> Message-ID: <20081106065311.GY20021@digitalkingdom.org> References: <4877F658.9050203@gmail.com> <49122091.1010204@cowan.name> <20081106061343.GX20021@digitalkingdom.org> <491293B7.4060205@cowan.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491293B7.4060205@cowan.name> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Gokdeniz Karadag <gokdenizk@gmail.com>, screen-users@gnu.org Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1022 Lines: 28 On Wed, Nov 05, 2008 at 10:50:31PM -0800, Micah Cowan wrote: > I don't really see how that does what the thread's talking about; > namely, set the window title to the hostname that's connected by > ssh. You set your remote shell's PS1 to tell screen to set the title to $(uname -n) or whatever. > As previously mentioned in these threads (IIRC?), the problem with > prompt hacks is you don't always have control over the prompts in > remote shells (and even when you do, it's a bit of a pain to set > up in every host you ever visit). True enough. The LocalCommand hack is kinda neat. -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 05:33:05 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id DC0497FD822 for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 05:33:04 -0500 (EST) Received: from localhost ([127.0.0.1]:46938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky2AX-00055u-67 for erik@plastic-idolatry.com; Thu, 06 Nov 2008 05:32:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ky23G-0007RH-SN for screen-users@gnu.org; Thu, 06 Nov 2008 05:25:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ky23F-0007P6-PG for screen-users@gnu.org; Thu, 06 Nov 2008 05:25:22 -0500 Received: from [199.232.76.173] (port=56473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky23F-0007OH-H8 for screen-users@gnu.org; Thu, 06 Nov 2008 05:25:21 -0500 Received: from triton.rz.uni-saarland.de ([134.96.7.25]:29598) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <malte@countnumber.de>) id 1Ky23E-0007Nd-VF for screen-users@gnu.org; Thu, 06 Nov 2008 05:25:21 -0500 Received: from [134.96.56.73] (d073.stw.stud.uni-saarland.de [134.96.56.73]) by triton.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id mA6APEbe028187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <screen-users@gnu.org>; Thu, 6 Nov 2008 11:25:17 +0100 Message-ID: <4912C5FC.6020903@countnumber.de> Date: Thu, 06 Nov 2008 11:25:00 +0100 From: Malte Skoruppa <malte@countnumber.de> User-Agent: Thunderbird 2.0.0.16 (X11/20080923) MIME-Version: 1.0 To: screen-users@gnu.org References: <4877F658.9050203@gmail.com> <49122091.1010204@cowan.name> <20081106061343.GX20021@digitalkingdom.org> <491293B7.4060205@cowan.name> <20081106065311.GY20021@digitalkingdom.org> In-Reply-To: <20081106065311.GY20021@digitalkingdom.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (triton.rz.uni-saarland.de [134.96.7.25]); Thu, 06 Nov 2008 11:25:17 +0100 (CET) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.9.0.26; VDF: 7.1.0.46; host: AntiVir3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1293 Lines: 48 Hi, I solved the problem in bash by editing my ~/.profile file: ssh() { args=$@ echo -ne "\033k${args##* }\033\\"; /usr/bin/ssh "$@"; } It"s a rather simple script, whenever you call ssh, first this script is executed, which calls the real ssh in the end, with the same arguments. Before it does that, however, it sets the screen title to the last argument of the ssh command. Usually, this is the hostname, at least for the way I enter commands ;-) Malte Robin Lee Powell schrieb: > On Wed, Nov 05, 2008 at 10:50:31PM -0800, Micah Cowan wrote: > >> I don't really see how that does what the thread's talking about; >> namely, set the window title to the hostname that's connected by >> ssh. >> > > You set your remote shell's PS1 to tell screen to set the title to > $(uname -n) or whatever. > > >> As previously mentioned in these threads (IIRC?), the problem with >> prompt hacks is you don't always have control over the prompts in >> remote shells (and even when you do, it's a bit of a pain to set >> up in every host you ever visit). >> > > True enough. The LocalCommand hack is kinda neat. > > -Robin > > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 08:01:17 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 9DFC17FD603 for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 08:01:17 -0500 (EST) Received: from localhost ([127.0.0.1]:44654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky4Ty-0004iO-6s for erik@plastic-idolatry.com; Thu, 06 Nov 2008 08:01:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ky4T9-0004R9-QN for screen-users@gnu.org; Thu, 06 Nov 2008 08:00:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ky4T3-0004LF-MM for screen-users@gnu.org; Thu, 06 Nov 2008 08:00:09 -0500 Received: from [199.232.76.173] (port=35658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky4T0-0004Ke-HY for screen-users@gnu.org; Thu, 06 Nov 2008 08:00:06 -0500 Received: from main.gmane.org ([80.91.229.2]:53048 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1Ky4Sz-0005DZ-R2 for screen-users@gnu.org; Thu, 06 Nov 2008 08:00:06 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ky4Sw-0003t9-FK for screen-users@gnu.org; Thu, 06 Nov 2008 13:00:02 +0000 Received: from ppp118-208-208-155.lns10.mel6.internode.on.net ([118.208.208.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Thu, 06 Nov 2008 13:00:02 +0000 Received: from trentbuck by ppp118-208-208-155.lns10.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Thu, 06 Nov 2008 13:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Thu, 06 Nov 2008 23:59:10 +1100 Message-ID: <307i7h2eox.fsf@Clio.twb.ath.cx> References: <4877F658.9050203@gmail.com> <49122091.1010204@cowan.name> <20081106061343.GX20021@digitalkingdom.org> <491293B7.4060205@cowan.name> <20081106065311.GY20021@digitalkingdom.org> <4912C5FC.6020903@countnumber.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-208-208-155.lns10.mel6.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:8NvjawM6R4S46W3XQdfssae8mVA= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 541 Lines: 15 Malte Skoruppa <malte@countnumber.de> writes: > I solved the problem in bash by editing my ~/.profile file: > > ssh() { > args=$@ > echo -ne "\033k${args##* }\033\\"; > /usr/bin/ssh "$@"; You don't need to hard-code the path to ssh if you change this line to command ssh "$@" the trailing semicolons are also unnecessary because newline acts as a command delimiter. Have a nice day. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Thu Nov 6 21:40:47 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A07DB7FCBA9 for <erik@plastic-idolatry.com>; Thu, 6 Nov 2008 21:40:47 -0500 (EST) Received: from localhost ([127.0.0.1]:57896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyHH3-00022o-CI for erik@plastic-idolatry.com; Thu, 06 Nov 2008 21:40:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyHEH-0007am-Me for screen-users@gnu.org; Thu, 06 Nov 2008 21:37:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyHEE-0007XQ-C5 for screen-users@gnu.org; Thu, 06 Nov 2008 21:37:44 -0500 Received: from [199.232.76.173] (port=48692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyHED-0007Wo-L3 for screen-users@gnu.org; Thu, 06 Nov 2008 21:37:41 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:25984) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <gokdenizk@gmail.com>) id 1KyH5B-0000U4-Mx for screen-users@gnu.org; Thu, 06 Nov 2008 21:28:22 -0500 Received: by ug-out-1314.google.com with SMTP id 36so1217704uga.17 for <screen-users@gnu.org>; Thu, 06 Nov 2008 18:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LXv4Oo0bN0LrJV7/NITBj1Gm7qKXw457ONje5TNXaj0=; b=GChhfWKlP5YzGuUY8FL9R8gYIoKuLrcb87QGbL/+Wyger1rdnql1kyA9F7r7wL8QON 2XP8A+DvSOI53kA8Wb30a3YmB3GZJyvUk01YAlymEutJpzH5qCjwkzVN9qv/CcG9Dpm3 8VLiuN8YvPezDlsi2uJHySffEVB76pVRgPtiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=B7qb8rw79O6BReIaM5zLQPt1V+9yuk3LBuy6FF6F+YZzJ5+gFePfsxwQxEJRwbr/sk 8VhYtaf/UJmdTShizA4L2Ez9qYV+yTxO4fwfuKCuT2eFZmUXP1MFhNs7gTF3nG5mFLZ8 uONwQsEXP352k9IgKsg51I3cZtCWA0AJlDe74= Received: by 10.66.236.13 with SMTP id j13mr1029292ugh.65.1226024897459; Thu, 06 Nov 2008 18:28:17 -0800 (PST) Received: from ?10.0.0.6? ([85.98.11.159]) by mx.google.com with ESMTPS id y6sm4356226uge.28.2008.11.06.18.28.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Nov 2008 18:28:15 -0800 (PST) Message-ID: <4913A7B6.2070505@gmail.com> Date: Fri, 07 Nov 2008 04:28:06 +0200 From: Gokdeniz Karadag <gokdenizk@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; tr-TR; rv:1.8.1.16) Gecko/20080808 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: screen-users@gnu.org References: <4913249a.0a0bca0a.59e4.7443SMTPIN_ADDED@mx.google.com> In-Reply-To: <4913249a.0a0bca0a.59e4.7443SMTPIN_ADDED@mx.google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1131 Lines: 39 Hi, in your script, it would be better to revert it back to local hostname after ssh finishes. Both this and LocalCommand seems neat, too bad that I have solved it by manually setting PS1 on all machines :) ------------------------------ Message: 5 Date: Thu, 06 Nov 2008 11:25:00 +0100 From: Malte Skoruppa <malte@countnumber.de> Subject: Re: Setting window title in ssh'ed host To: screen-users@gnu.org Message-ID: <4912C5FC.6020903@countnumber.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, I solved the problem in bash by editing my ~/.profile file: ssh() { args=$@ echo -ne "\033k${args##* }\033\\"; /usr/bin/ssh "$@"; } It"s a rather simple script, whenever you call ssh, first this script is executed, which calls the real ssh in the end, with the same arguments. Before it does that, however, it sets the screen title to the last argument of the ssh command. Usually, this is the hostname, at least for the way I enter commands ;-) Malte _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 08:29:14 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 40C447FE245 for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 08:29:14 -0500 (EST) Received: from localhost ([127.0.0.1]:46766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyROa-0004OC-Ix for erik@plastic-idolatry.com; Fri, 07 Nov 2008 08:29:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyRO7-0004NN-Vf for screen-users@gnu.org; Fri, 07 Nov 2008 08:28:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyRO7-0004Mz-FH for screen-users@gnu.org; Fri, 07 Nov 2008 08:28:35 -0500 Received: from [199.232.76.173] (port=33187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyRO7-0004Mi-5A for screen-users@gnu.org; Fri, 07 Nov 2008 08:28:35 -0500 Received: from triton.rz.uni-saarland.de ([134.96.7.25]:7544) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <malte@countnumber.de>) id 1KyRO6-0005qp-Mi for screen-users@gnu.org; Fri, 07 Nov 2008 08:28:35 -0500 Received: from [134.96.56.73] (d073.stw.stud.uni-saarland.de [134.96.56.73]) by triton.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id mA7DSTRQ018556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <screen-users@gnu.org>; Fri, 7 Nov 2008 14:28:32 +0100 Message-ID: <49144274.4060703@countnumber.de> Date: Fri, 07 Nov 2008 14:28:20 +0100 From: Malte Skoruppa <malte@countnumber.de> User-Agent: Thunderbird 2.0.0.16 (X11/20080923) MIME-Version: 1.0 To: screen-users@gnu.org References: <4913249a.0a0bca0a.59e4.7443SMTPIN_ADDED@mx.google.com> <4913A7B6.2070505@gmail.com> In-Reply-To: <4913A7B6.2070505@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (triton.rz.uni-saarland.de [134.96.7.25]); Fri, 07 Nov 2008 14:28:32 +0100 (CET) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.9.0.26; VDF: 7.1.0.52; host: AntiVir3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2417 Lines: 80 Hi, thanks for the tip with the 'command ssh' instead of /ust/bin/ssh trick... didn't know about that. I quickly hacked this script into my ~/.profile a while ago, so it may not be that beautiful from a cosmetic point of view. Indeed I can leave out the semicolons, they're just still there because this was a one-liner to begin with ;) I do 'revert' my screen title after the ssh command terminates. I just don't revert it to the local hostname, but always set the title to the current directory (at least, to the last 20 characters of $PWD) :-) This is also in my ~/.profile The PROMPT_COMMAND from bash is executed each time after any command was executed. As this is really executed each and every time, it needs to be lightning fast - that's why I coded it entirely in bash. Yes, I know I could theoretically use sed or perl or whatever... ;-) PROMPT_COMMAND=' if [ $TERM = "screen" ]; then MYPWD="${PWD/#$HOME/~}" [ ${#MYPWD} -gt 20 ] && MYPWD=..${MYPWD:${#MYPWD}-18} echo -n -e "\033k$MYPWD\033\\" fi ' Cheers, Malte Gokdeniz Karadag schrieb: > Hi, in your script, it would be better to revert it back to local > hostname after ssh finishes. > > Both this and LocalCommand seems neat, too bad that I have solved it > by manually setting PS1 on all machines :) > > ------------------------------ > > Message: 5 > Date: Thu, 06 Nov 2008 11:25:00 +0100 > From: Malte Skoruppa <malte@countnumber.de> > Subject: Re: Setting window title in ssh'ed host > To: screen-users@gnu.org > Message-ID: <4912C5FC.6020903@countnumber.de> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > I solved the problem in bash by editing my ~/.profile file: > > ssh() { > args=$@ > echo -ne "\033k${args##* }\033\\"; > /usr/bin/ssh "$@"; > } > > It"s a rather simple script, whenever you call ssh, first this script is > executed, which calls the real ssh in the end, with the same arguments. > Before it does that, however, it sets the screen title to the last > argument of the ssh command. Usually, this is the hostname, at least for > the way I enter commands ;-) > > Malte > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 09:13:30 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 4F1687FC97B for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 09:13:30 -0500 (EST) Received: from localhost ([127.0.0.1]:37294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyS5Q-0005bE-2W for erik@plastic-idolatry.com; Fri, 07 Nov 2008 09:13:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyRzL-0003Ld-5N for screen-users@gnu.org; Fri, 07 Nov 2008 09:07:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyRzJ-0003KY-74 for screen-users@gnu.org; Fri, 07 Nov 2008 09:07:02 -0500 Received: from [199.232.76.173] (port=47798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyRzI-0003KS-Vg for screen-users@gnu.org; Fri, 07 Nov 2008 09:07:01 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]:17480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <pandurangan.r.s@gmail.com>) id 1KyRzI-0008Nw-BG for screen-users@gnu.org; Fri, 07 Nov 2008 09:07:00 -0500 Received: by ug-out-1314.google.com with SMTP id 36so1348891uga.17 for <screen-users@gnu.org>; Fri, 07 Nov 2008 06:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d4vseWJPy8MxJOU0nQOpixuoEC2Ydna2Ra1AEL0TxFQ=; b=wSoxomIsMghi6NXNyVIYAF19HYMRRUPi5cKTDZeRFzj0MRcmI0LdZ643DiVsoa8Pq1 AAxEdi1oXTVoU3wc5oTuw9HWBry+ALvKlAZ2ad027Pwc7R6sE2qsChSvW3vUxS7XYC8k TEideZbs32aOSI2rFIICE4dEHdAVdgjf7ean4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=R1XDp/y48xjbbaSQ0RaXUTMTgP7UyFbCud+P7DEjl6rn1CQS7Ye3GVj1xzQL94dcU3 j5vGbX0riVam3p9pJe1TWCSYzQ923rVcU8InIDE+eMfoPmwIbwBK7O6KuLODnoqag+jA yqn6c2f6araz78wsOu854X2mxWri7ldhm6Chk= Received: by 10.103.249.19 with SMTP id b19mr1782615mus.86.1226066817850; Fri, 07 Nov 2008 06:06:57 -0800 (PST) Received: by 10.103.241.12 with HTTP; Fri, 7 Nov 2008 06:06:57 -0800 (PST) Message-ID: <5e744e3d0811070606l6526142am9dced146bd7ba47f@mail.gmail.com> Date: Fri, 7 Nov 2008 19:36:57 +0530 From: "Pandurangan R S" <pandurangan.r.s@gmail.com> To: "Malte Skoruppa" <malte@countnumber.de> In-Reply-To: <49144274.4060703@countnumber.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4913249a.0a0bca0a.59e4.7443SMTPIN_ADDED@mx.google.com> <4913A7B6.2070505@gmail.com> <49144274.4060703@countnumber.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2897 Lines: 89 I think you can as well do the following. ssh() { args=$@ echo -ne "\033k${args##* }\033\\"; /usr/bin/ssh "$@"; # Set window title back here! } Any problem with this approach? On Fri, Nov 7, 2008 at 6:58 PM, Malte Skoruppa <malte@countnumber.de> wrote: > > Hi, > > thanks for the tip with the 'command ssh' instead of /ust/bin/ssh trick... didn't know about that. > > I quickly hacked this script into my ~/.profile a while ago, so it may not be that beautiful from a cosmetic point of view. Indeed I can leave out the semicolons, they're just still there because this was a one-liner to begin with ;) > > I do 'revert' my screen title after the ssh command terminates. I just don't revert it to the local hostname, but always set the title to the current directory (at least, to the last 20 characters of $PWD) :-) > > This is also in my ~/.profile > The PROMPT_COMMAND from bash is executed each time after any command was executed. As this is really executed each and every time, it needs to be lightning fast - that's why I coded it entirely in bash. Yes, I know I could theoretically use sed or perl or whatever... ;-) > > PROMPT_COMMAND=' > if [ $TERM = "screen" ]; then > MYPWD="${PWD/#$HOME/~}" > [ ${#MYPWD} -gt 20 ] && MYPWD=..${MYPWD:${#MYPWD}-18} > echo -n -e "\033k$MYPWD\033\\" > fi > ' > > Cheers, > > Malte > > Gokdeniz Karadag schrieb: >> >> Hi, in your script, it would be better to revert it back to local hostname after ssh finishes. >> >> Both this and LocalCommand seems neat, too bad that I have solved it by manually setting PS1 on all machines :) >> >> ------------------------------ >> >> Message: 5 >> Date: Thu, 06 Nov 2008 11:25:00 +0100 >> From: Malte Skoruppa <malte@countnumber.de> >> Subject: Re: Setting window title in ssh'ed host >> To: screen-users@gnu.org >> Message-ID: <4912C5FC.6020903@countnumber.de> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hi, >> >> I solved the problem in bash by editing my ~/.profile file: >> >> ssh() { >> args=$@ >> echo -ne "\033k${args##* }\033\\"; >> /usr/bin/ssh "$@"; >> } >> >> It"s a rather simple script, whenever you call ssh, first this script is >> executed, which calls the real ssh in the end, with the same arguments. >> Before it does that, however, it sets the screen title to the last >> argument of the ssh command. Usually, this is the hostname, at least for >> the way I enter commands ;-) >> >> Malte >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> > > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 10:26:07 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8CE147FD0B4 for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 10:26:07 -0500 (EST) Received: from localhost ([127.0.0.1]:42466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyTDf-0004JY-JC for erik@plastic-idolatry.com; Fri, 07 Nov 2008 10:25:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyTDJ-0004HJ-Vs for screen-users@gnu.org; Fri, 07 Nov 2008 10:25:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyTDI-0004GT-8f for screen-users@gnu.org; Fri, 07 Nov 2008 10:25:33 -0500 Received: from [199.232.76.173] (port=50911 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyTDI-0004GK-34 for screen-users@gnu.org; Fri, 07 Nov 2008 10:25:32 -0500 Received: from triton.rz.uni-saarland.de ([134.96.7.25]:16167) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <malte@countnumber.de>) id 1KyTDH-0004LS-KW for screen-users@gnu.org; Fri, 07 Nov 2008 10:25:31 -0500 Received: from [134.96.56.73] (d073.stw.stud.uni-saarland.de [134.96.56.73]) by triton.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id mA7FPPLD013502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <screen-users@gnu.org>; Fri, 7 Nov 2008 16:25:29 +0100 Message-ID: <49145DDE.1090801@countnumber.de> Date: Fri, 07 Nov 2008 16:25:18 +0100 From: Malte Skoruppa <malte@countnumber.de> User-Agent: Thunderbird 2.0.0.16 (X11/20080923) MIME-Version: 1.0 To: screen-users@gnu.org References: <4913249a.0a0bca0a.59e4.7443SMTPIN_ADDED@mx.google.com> <4913A7B6.2070505@gmail.com> <49144274.4060703@countnumber.de> <5e744e3d0811070606l6526142am9dced146bd7ba47f@mail.gmail.com> In-Reply-To: <5e744e3d0811070606l6526142am9dced146bd7ba47f@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (triton.rz.uni-saarland.de [134.96.7.25]); Fri, 07 Nov 2008 16:25:29 +0100 (CET) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.9.0.26; VDF: 7.1.0.53; host: AntiVir3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Setting window title in ssh'ed host X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3221 Lines: 99 Of course that's possible, but I want my screen title to be set to $PWD every time (especially when I issue a 'cd' command, obviously), not only after an ssh command :-) Malte Pandurangan R S schrieb: > I think you can as well do the following. > > ssh() { > args=$@ > echo -ne "\033k${args##* }\033\\"; > /usr/bin/ssh "$@"; > # Set window title back here! > } > > Any problem with this approach? > > On Fri, Nov 7, 2008 at 6:58 PM, Malte Skoruppa <malte@countnumber.de> wrote: > >> Hi, >> >> thanks for the tip with the 'command ssh' instead of /ust/bin/ssh trick... didn't know about that. >> >> I quickly hacked this script into my ~/.profile a while ago, so it may not be that beautiful from a cosmetic point of view. Indeed I can leave out the semicolons, they're just still there because this was a one-liner to begin with ;) >> >> I do 'revert' my screen title after the ssh command terminates. I just don't revert it to the local hostname, but always set the title to the current directory (at least, to the last 20 characters of $PWD) :-) >> >> This is also in my ~/.profile >> The PROMPT_COMMAND from bash is executed each time after any command was executed. As this is really executed each and every time, it needs to be lightning fast - that's why I coded it entirely in bash. Yes, I know I could theoretically use sed or perl or whatever... ;-) >> >> PROMPT_COMMAND=' >> if [ $TERM = "screen" ]; then >> MYPWD="${PWD/#$HOME/~}" >> [ ${#MYPWD} -gt 20 ] && MYPWD=..${MYPWD:${#MYPWD}-18} >> echo -n -e "\033k$MYPWD\033\\" >> fi >> ' >> >> Cheers, >> >> Malte >> >> Gokdeniz Karadag schrieb: >> >>> Hi, in your script, it would be better to revert it back to local hostname after ssh finishes. >>> >>> Both this and LocalCommand seems neat, too bad that I have solved it by manually setting PS1 on all machines :) >>> >>> ------------------------------ >>> >>> Message: 5 >>> Date: Thu, 06 Nov 2008 11:25:00 +0100 >>> From: Malte Skoruppa <malte@countnumber.de> >>> Subject: Re: Setting window title in ssh'ed host >>> To: screen-users@gnu.org >>> Message-ID: <4912C5FC.6020903@countnumber.de> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>> >>> Hi, >>> >>> I solved the problem in bash by editing my ~/.profile file: >>> >>> ssh() { >>> args=$@ >>> echo -ne "\033k${args##* }\033\\"; >>> /usr/bin/ssh "$@"; >>> } >>> >>> It"s a rather simple script, whenever you call ssh, first this script is >>> executed, which calls the real ssh in the end, with the same arguments. >>> Before it does that, however, it sets the screen title to the last >>> argument of the ssh command. Usually, this is the hostname, at least for >>> the way I enter commands ;-) >>> >>> Malte >>> >>> >>> _______________________________________________ >>> screen-users mailing list >>> screen-users@gnu.org >>> http://lists.gnu.org/mailman/listinfo/screen-users >>> >>> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> > > _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 12:24:14 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5FB827FCA18 for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 12:24:14 -0500 (EST) Received: from localhost ([127.0.0.1]:33251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyV40-0006XB-G2 for erik@plastic-idolatry.com; Fri, 07 Nov 2008 12:24:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ky4u4-0004BJ-2v for screen-users@gnu.org; Thu, 06 Nov 2008 08:28:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ky4ty-00048R-ER for screen-users@gnu.org; Thu, 06 Nov 2008 08:28:01 -0500 Received: from [199.232.76.173] (port=35953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ky4tx-000487-56 for screen-users@gnu.org; Thu, 06 Nov 2008 08:27:57 -0500 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:55110) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <ht@inf.ed.ac.uk>) id 1Ky4tw-000631-Rc for screen-users@gnu.org; Thu, 06 Nov 2008 08:27:57 -0500 Received: from nutty.inf.ed.ac.uk (nutty.inf.ed.ac.uk [129.215.33.33]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id mA6DRcSA019725 for <screen-users@gnu.org>; Thu, 6 Nov 2008 13:27:40 GMT Received: from hildegard.inf.ed.ac.uk (hildegard.inf.ed.ac.uk [129.215.24.147]) by nutty.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA6DRcsx001405 for <screen-users@gnu.org>; Thu, 6 Nov 2008 13:27:38 GMT Received: from hildegard.inf.ed.ac.uk (localhost [127.0.0.1]) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA6DRcYk015145 for <screen-users@gnu.org>; Thu, 6 Nov 2008 13:27:38 GMT Received: (from ht@localhost) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8/Submit) id mA6DRaLb015144; Thu, 6 Nov 2008 13:27:36 GMT X-Authentication-Warning: hildegard.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f To: screen-users@gnu.org From: ht@inf.ed.ac.uk (Henry S. Thompson) User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) Date: Thu, 06 Nov 2008 13:27:32 +0000 Message-ID: <f5bzlkdnfwb.fsf@hildegard.inf.ed.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Fri, 07 Nov 2008 12:17:09 -0500 Subject: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1335 Lines: 41 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I use screen on cygwin, with ncurses 5.7, and rxvt for my window. The 'less' program has an irritating fault in this configuration which I can't figure out how to work around: * When using less in a vanilla rxvt window, the screen returns to its pre-less state after quitting less -- good. * When using less in a screen-managed window, with TERM=3Dscreen.rxvt, the screen shows the last page displayed by less after quitting less -- less good. Do others have this problem? Any suggestions welcome. Thanks, ht =2D --=20 Henry S. Thompson, School of Informatics, University of Edinburgh Half-time member of W3C Team 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged sp= am] =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFJEvDHkjnJixAXWBoRAs9KAJ92gKnj29svrfxEh8n8leCkTEdCvwCePiLz 1zE5CQvHzDIeBr3NwPyEoO4=3D =3DAcDi =2D----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 12:29:16 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D86A97FCC47 for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 12:29:15 -0500 (EST) Received: from localhost ([127.0.0.1]:38309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyV8r-0001J5-Ct for erik@plastic-idolatry.com; Fri, 07 Nov 2008 12:29:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyTj6-0004TG-Vt for screen-users@gnu.org; Fri, 07 Nov 2008 10:58:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyTj6-0004S9-4k for screen-users@gnu.org; Fri, 07 Nov 2008 10:58:24 -0500 Received: from [199.232.76.173] (port=45773 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyTj5-0004Ry-OB for screen-users@gnu.org; Fri, 07 Nov 2008 10:58:23 -0500 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:63672) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <ht@inf.ed.ac.uk>) id 1KyTj5-0005Yp-5l for screen-users@gnu.org; Fri, 07 Nov 2008 10:58:23 -0500 Received: from nutty.inf.ed.ac.uk (nutty.inf.ed.ac.uk [129.215.33.33]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id mA7FvuxF013730 for <screen-users@gnu.org>; Fri, 7 Nov 2008 15:57:58 GMT Received: from hildegard.inf.ed.ac.uk (hildegard.inf.ed.ac.uk [129.215.24.147]) by nutty.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA7FvuO1018069 for <screen-users@gnu.org>; Fri, 7 Nov 2008 15:57:56 GMT Received: from hildegard.inf.ed.ac.uk (localhost [127.0.0.1]) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA7FvuDK009498 for <screen-users@gnu.org>; Fri, 7 Nov 2008 15:57:56 GMT Received: (from ht@localhost) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8/Submit) id mA7FvtCw009497; Fri, 7 Nov 2008 15:57:56 GMT X-Authentication-Warning: hildegard.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f To: screen-users@gnu.org From: ht@inf.ed.ac.uk (Henry S. Thompson) Date: Fri, 07 Nov 2008 15:57:55 +0000 Message-ID: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-Mailman-Approved-At: Fri, 07 Nov 2008 12:17:09 -0500 Subject: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1131 Lines: 31 I built screen 4.0.3 from source, with cygwin patches, on cygwin, with ncurses 5.7, and rxvt for my terminal emulator. The 'less' program has an irritating fault in this configuration which I can't figure out how to work around: * When using less in a vanilla rxvt window, the screen returns to its pre-less state after quitting less -- good. * When using less in a screen-managed window, with TERM=screen.rxvt, the screen shows the last page displayed by less after quitting less -- not good. Do others have this problem? Any suggestions welcome. Thanks, ht -- Henry S. Thompson, School of Informatics, University of Edinburgh Half-time member of W3C Team 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Fri Nov 7 14:00:59 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HS_INDEX_PARAM autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 88A947FCE5F for <erik@plastic-idolatry.com>; Fri, 7 Nov 2008 14:00:59 -0500 (EST) Received: from localhost ([127.0.0.1]:42536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyWZb-0003CB-1x for erik@plastic-idolatry.com; Fri, 07 Nov 2008 14:00:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyWZI-0003BR-1m for screen-users@gnu.org; Fri, 07 Nov 2008 14:00:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyWZG-0003A2-FX for screen-users@gnu.org; Fri, 07 Nov 2008 14:00:27 -0500 Received: from [199.232.76.173] (port=49501 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyWZG-00039q-Cg for screen-users@gnu.org; Fri, 07 Nov 2008 14:00:26 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:39587) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KyWZF-000386-SN for screen-users@gnu.org; Fri, 07 Nov 2008 14:00:26 -0500 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id CBC82408804A; Fri, 7 Nov 2008 11:00:23 -0800 (PST) Message-ID: <49149046.3070503@cowan.name> Date: Fri, 07 Nov 2008 11:00:22 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: "Henry S. Thompson" <ht@inf.ed.ac.uk> References: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> In-Reply-To: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1596 Lines: 50 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henry S. Thompson wrote: > I built screen 4.0.3 from source, with cygwin patches, on cygwin, with > ncurses 5.7, and rxvt for my terminal emulator. > > The 'less' program has an irritating fault in this configuration which > I can't figure out how to work around: > > * When using less in a vanilla rxvt window, the screen returns to its > pre-less state after quitting less -- good. > > * When using less in a screen-managed window, with TERM=screen.rxvt, > the screen shows the last page displayed by less after quitting > less -- not good. > I'm not entirely sure I understand what the symptom is that you're describing for running less under the screen-managed window, but it sounds like it might be similar to this one, which is fixed in the current dev sources: https://savannah.gnu.org/bugs/index.php?23803 (read from the bottom up). Also, I don't know what screen.rxvt's definition is, since that's not a standard term name. Hopefully your system has proper definitions set up for that. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJFJBG7M8hyUobTrERAgUiAJ46+3oYzsAZaNuLn36m83RV1vI0jwCfdJcx xtwhr4tVngxzxxijRN5oybw= =z/SX -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Nov 8 09:53:45 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 61A3C7FD018 for <erik@plastic-idolatry.com>; Sat, 8 Nov 2008 09:53:45 -0500 (EST) Received: from localhost ([127.0.0.1]:47489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KypBt-0000h8-GJ for erik@plastic-idolatry.com; Sat, 08 Nov 2008 09:53:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyaHx-0004A0-RX for screen-users@gnu.org; Fri, 07 Nov 2008 17:58:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyaHw-00047M-I2 for screen-users@gnu.org; Fri, 07 Nov 2008 17:58:48 -0500 Received: from [199.232.76.173] (port=32892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyaHw-00047C-A6 for screen-users@gnu.org; Fri, 07 Nov 2008 17:58:48 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:60532) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <ryanshow@gmail.com>) id 1KyaHv-00081n-PY for screen-users@gnu.org; Fri, 07 Nov 2008 17:58:48 -0500 Received: by fg-out-1718.google.com with SMTP id l26so1278436fgb.30 for <screen-users@gnu.org>; Fri, 07 Nov 2008 14:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=fu0Sb4PKRNQTBQxOA96TOMtSRr4WGdNzFoPyjCMw5EI=; b=Rwar7tOrubdEMtuKyr3cE4g/vy+9o/VQv6sOGvkvwks9pvmYi8JKjNoufzp6dHgPbN XfsIvmckdC3OPYTX/4oI5HS4sVnUdnMsIp9ZSUw8fPMjBw8OtrY7bh3rjfzXRMsr+d7H j2EhaMKpYV8KjZ3n0pHNFYKuSkukc+aM6GSeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=S0+FOZR8Y/PwqNh4U6d7UXvV68CKGphN8GUM1ZNIYkAImuDFWmx0I7KvWBU9wLN5Fq KzKIW4Qd1Ztjw8qqHb03v/pyLZA8uZCEthttQwn2K1/QXhYaKmkMwyzpDkOWkaeNWeO8 DpUBm6+qlRLfG2ZSefKD68xc2I7Z7tNyT021g= Received: by 10.86.93.19 with SMTP id q19mr4450735fgb.62.1226098725499; Fri, 07 Nov 2008 14:58:45 -0800 (PST) Received: by 10.86.36.11 with HTTP; Fri, 7 Nov 2008 14:58:45 -0800 (PST) Message-ID: <5f360a620811071458p45350169u60fa72bf5787c529@mail.gmail.com> Date: Fri, 7 Nov 2008 14:58:45 -0800 From: "Ryan Showalter" <ryanshow@gmail.com> To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 08 Nov 2008 09:52:57 -0500 Subject: caption never option X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1353 Lines: 36 Hello, I'm using screen to monitor some applications on an extremely small 8" monitor and I've been using screen to view the programs simultaneously. For what I'm using it for, the caption bars are completely unnecessary as I don't ever switch between any other programs. It would be very valuable (for screen real estate purposes) to have a "caption never" option for this sort of thing so that the split screens were completely seamless against one another. I briefly looked back in the mailing list archives and it looks like this sort of thing has been discussed before [0] [1]. I tried looking at the source code and was successful in getting rid of the displayed information inside the caption bar but unfortunately I still can't figure out exactly how to increase each screen's height by 1 to take advantage of the extra space. Does this sound like a good feature? And if no one is willing to implement it, could someone give me some help in my implementation? Thanks! [0] -- http://www.mail-archive.com/screen-users@gnu.org/msg01372.html [1] -- http://marc.info/?l=gnu-screen&m=104939266629717&w=2 -- "The sharpest sword can not compare to the sharpest mind." -- Unknown Soldier Ryan- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sat Nov 8 23:48:04 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 8CF2E7FD568 for <erik@plastic-idolatry.com>; Sat, 8 Nov 2008 23:48:04 -0500 (EST) Received: from localhost ([127.0.0.1]:51321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kz2DH-00059O-PE for erik@plastic-idolatry.com; Sat, 08 Nov 2008 23:47:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kz2Cy-00059J-U6 for screen-users@gnu.org; Sat, 08 Nov 2008 23:47:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kz2Cx-000587-IS for screen-users@gnu.org; Sat, 08 Nov 2008 23:47:32 -0500 Received: from [199.232.76.173] (port=46650 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kz2Cx-00057u-Bj for screen-users@gnu.org; Sat, 08 Nov 2008 23:47:31 -0500 Received: from main.gmane.org ([80.91.229.2]:32814 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <gcgsu-screen-users@m.gmane.org>) id 1Kz2Cw-0002se-Vd for screen-users@gnu.org; Sat, 08 Nov 2008 23:47:31 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kz2Cu-00059U-05 for screen-users@gnu.org; Sun, 09 Nov 2008 04:47:28 +0000 Received: from ppp118-208-139-139.lns10.mel4.internode.on.net ([118.208.139.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sun, 09 Nov 2008 04:47:27 +0000 Received: from trentbuck by ppp118-208-139-139.lns10.mel4.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <screen-users@gnu.org>; Sun, 09 Nov 2008 04:47:27 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: screen-users@gnu.org From: trentbuck@gmail.com (Trent W. Buck) Date: Sun, 09 Nov 2008 15:48:18 +1100 Message-ID: <30hc6hijxp.fsf@Clio.twb.ath.cx> References: <5f360a620811071458p45350169u60fa72bf5787c529@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-208-139-139.lns10.mel4.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:VXgzwGBrpPoF+2Y1fElB2Q82y7A= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: caption never option X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 728 Lines: 14 "Ryan Showalter" <ryanshow@gmail.com> writes: > I'm using screen to monitor some applications on an extremely small 8" > monitor and I've been using screen to view the programs > simultaneously. For what I'm using it for, the caption bars are > completely unnecessary as I don't ever switch between any other > programs. It would be very valuable (for screen real estate purposes) > to have a "caption never" option for this sort of thing so that the > split screens were completely seamless against one another. +1. I'd also like to be able to disable captions altogether. _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Nov 9 17:04:29 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 247B47FDB34 for <erik@plastic-idolatry.com>; Sun, 9 Nov 2008 17:04:27 -0500 (EST) Received: from localhost ([127.0.0.1]:45852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzIOD-0004dc-Og for erik@plastic-idolatry.com; Sun, 09 Nov 2008 17:04:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzIMt-0003sG-K6 for screen-users@gnu.org; Sun, 09 Nov 2008 17:02:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzIMs-0003rR-62 for screen-users@gnu.org; Sun, 09 Nov 2008 17:02:50 -0500 Received: from [199.232.76.173] (port=57727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzIMr-0003r2-Ji for screen-users@gnu.org; Sun, 09 Nov 2008 17:02:49 -0500 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:42455) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <ht@inf.ed.ac.uk>) id 1KzIMq-0004PK-Tf for screen-users@gnu.org; Sun, 09 Nov 2008 17:02:49 -0500 Received: from nutty.inf.ed.ac.uk (nutty.inf.ed.ac.uk [129.215.33.33]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id mA9M271A013788; Sun, 9 Nov 2008 22:02:09 GMT Received: from hildegard.inf.ed.ac.uk (hildegard.inf.ed.ac.uk [129.215.24.147]) by nutty.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA9M25WB012485; Sun, 9 Nov 2008 22:02:05 GMT Received: from hildegard.inf.ed.ac.uk (localhost [127.0.0.1]) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mA9M25an007121; Sun, 9 Nov 2008 22:02:05 GMT Received: (from ht@localhost) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8/Submit) id mA9M24pU007120; Sun, 9 Nov 2008 22:02:04 GMT X-Authentication-Warning: hildegard.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f To: Micah Cowan <micah@cowan.name> References: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> <49149046.3070503@cowan.name> From: ht@inf.ed.ac.uk (Henry S. Thompson) Date: Sun, 09 Nov 2008 22:02:04 +0000 In-Reply-To: <49149046.3070503@cowan.name> (Micah Cowan's message of "Fri, 07 Nov 2008 11:00:22 -0800") Message-ID: <f5bskq04kyr.fsf@hildegard.inf.ed.ac.uk> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Cc: screen-users@gnu.org Subject: Re: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 16421 Lines: 266 --=-=-= Micah Cowan writes: > I'm not entirely sure I understand what the symptom is that you're > describing for running less under the screen-managed window, but it > sounds like it might be similar to this one, which is fixed in the > current dev sources: Thanks for your help, but I don't _think_ this is what's at issue. More poking around suggests a _possible_ alternative explanation. It appears that less uses the alternate screen buffer for its display, which is why when it finishes in a vanilla xterm-color or rxvt window, you see no remnants of the displayed file. But I guess, from what I can gather of how screen is implemented, that screen is _already_ using the alternate screen buffer, so when less asks to switch to it, it can't??? As far as I can see, less is sending the correct-per-terminfo-for-screen escape sequences, i.e. ESC[?1049h for smcup and ESC[?1049l for rmcup, but they are not having the desired effect. . . [Note that when running in a vanilla rxvt window smcup is ESC7ESC[?47h and rmcup is ESC[?47lESC8 . . . ] Does this make better sense yet? I've attached pngs of the winning and losing displays. Thanks ht --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=lessInRxvt.png Content-Transfer-Encoding: base64 Content-Description: less in vanilla rxvt, winning iVBORw0KGgoAAAANSUhEUgAAAVIAAAB3CAIAAADeoV+JAAAAAXNSR0IArs4c6QAAAARnQU1B AACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA EDpJREFUeF7tnWl4FEUexrNfd13XY3fdy9V1vUXF2yhqxBM0iCioeIB3lNuAAkkgQOQcwhWD hBDkGKJoUAeDCg6iYIIHIS5sWESjiBqjq+F5/MDDsx+yLym2rO2u6enu6bm633n+zDNU6uh+ q3/9r6qu6vrFzuatOfxQASoQGAWGjhybA+w7+aECVCAYCpSWlubl5R3GHvDTqAAV8L0CxJ53 OioQOAU02P/y5Mfd2a9OGQI74tShR5w29NenDTvy9GFHnjH8N7AzRxx15oijzxp5dLeRx3Qb dczZo44954nfws4t/F132Ojfnzf6uPPHwP5wwZN/hF341J8uGgv788Xj/nIJbPzxl44/Prfo r7lFJ1xWfMLlxSdeXnJij5K/9Zhw0hUTTrpy4t9hV5WenFd6St6kU66edGrPybDTrply+rWw sjOugz195vVTz7oBNq3bjdO69Zp+dq/p5/Secc5NM869aWb3m2d2z591HqxP6Pw+oQtumX1B 39kX9i2/8Nbyi/rNuRh229xLbofNu7T/vNwB83MHLLjsDljF5XdW9LjrGdgVAyuvuLvyyrsX XnXPwqvufTYPdt+iqwct6jmoqufgqmsGL77m/sXXPlB9HezBJdc/BKu54eGaGx9ZCuv16HO9 Cpb1Llh202PLYTc/viJ/CGxln6Er+wwL3zIs3Hf4qr4jVt06ovbWkbX9Rj1/G+yJF24vhK3u P3r1gNEvDhjz4h1PvgS786m6u8augQ0c9/LA8S/fPf6Ve4peuaf41XthJZH7SiKDJqwdNHHt 4ImvDS597f5J9Q/AJq97cMq6h6a8/lDZ6w8//QbskalvPgqbtr5g+gbYYzPeenwmLDpkVnRI aOPQ0MZhs98eVv728PJNw+dsGjHnnZFz3xk5791RsPmbn1iwuXDBlsKKLaOfeQ82prLhyYWw xqeehW0du+j9cVWwD8Yv/mB89YdF1R8WL/mouOajkpptJUu3TXiuaSJs2fbSZdsnLW+etKJ5 8oqPJ6/8eEr4H2WwVTueroXtnPr8zmkv/HPaCy3TV8N2zXhx18yX/gWbVbd71prdoTWfzH75 k9mv7CmHvfrpnMincyOfzV372by1rfNea51f//kC2LovKl6H7X3mjb2Vb35Z+ea+hev3Ldzw 1bMbvlr01tewqug3izfC2qrfbqve9O2STd/WvNNe82770ne/W7r5u+e2fL8M9t6/l8MafljR +MPKxh9Xbv0x/H4HbNUH+zPcREMmJvbh1dGKqvqy8roHR1UXzqwL1TSE17VEt3e0fN4Ga9rV iu+GHYe+D/3Y3oo7BbEn9sQ+u7EH8+HlrUUldbn9Q/0eCw8cV19U01LX2NGyowkWXhWGVS+v i66vD5WH6tZFiT29Pb29YN7RsCCG1pzGd1eKSBXH2xdNDfe7v6xnfuFR3QvP618hsA83dgB1 aRWr6uvW1IdX14cjDcSe2BN7CaTNQUHR2Ab2juK7K8UW9h0dHZ3/6dTagZ8OyPCO7zsq5lfU R+qJPbEn9u6AlNhbTBpQvbS7Umxhf+Cnjuqa6orKiqbtTS27Wpo+bGrY3NDQ2NCyo6VwVGHr nlbRMsHdAXHq1xF7DulxSO/wkJ5T75049uJ+oTYZ1BDRpnCAPQ7owIEDvXv1Bt7h5WEYQupW 18neCMLRt49uZN+e2BN7D7DXtvYl0irAhpuLyrnhLuAMe/h5ZA33DvLh7eHh2/a1Cezh/6W3 J/Z8gMcHeOoDvES8vWvsDfPr1XycYa8dYESTHo189OdjYS9Tyef2COFzez63D85z+3RhL8k3 3DvcYA+fj3E7CXNuj1w0IXIvzf25b19VgW6/GNJDoJiuI/4qpusQe07XCdR0nXRhr44IuvT2 rbvQme+srkHfvrNsapls1Zuxb9jYEF1/uG8vsccsPXmn4Cw9Yk/sta13wwM8w7CcTJLSvr3g Nq63x9M7juRzci4n58rJuaq3Nz+TM/thdSTfXd/ey5F8bd8e43kYw8MUPdnIR4j09pyTzzn5 nJOfCPaxHt2n6Ll92+etHW1tcQ3D+/D2eJ7P6TqcrsPpOu4m0jgdC3BXiq3n9i4W4XEpDpfi cCmOmJOPTrvNj5icazOy4bm9i1Rx5uQTey685cJbdwtvQXJSP8JvOy2C3p7r7bnenuvt//+l Wi78vEjCRj4b+WzkZ+t6e5trABmNClCBLFVA83adzk6MSdCoABXIGgXusveprKyMOaRH5qkA FcguBexQD+YPHjxI7LPmXp5dlyCPNvUKCOwBtvyAcHMIsU8u85hrlfq6Z4mBVSCI2BvmM8q6 j0SeF3/CDxEoYyb7+iD2yVaY+asKGLCHVxfeXnX4ItA/jXwtY42NG4qLxwhp8AP/lTKlgMkU FMHrngpIBcyER7o+LrEPhb7IydkWiXyNbwWbbdHoN/n5uxDY2PitCBcxi4tb9+//UcY0J8df RSC+1ZgIMeRZULCnvf0HZIVoKMtcx83NWwTYWsZCobK9e3eKVPiB/8bCHpkgK5vXEPJBcUiy f/+XarMiP78XLBqNyGYF8hSBu3d/JAKRRCTHt5rcXLQas719j81jY7TAKqBiL7y6xF6Sb9fb 19buA/CQ0ow9/iSgBef4xn9h+IG7QFXVYR60yfFXmaeM2YXuNnOe4p6Cb5G5hAeNduBUVTVP EAWQ8F98FxQ8oIKnXgTqrcFwm0AmyAo5IFtrGmtrl8C6DmkDkoj8UaL6W2IvehbIHEclAhFN BOJbJtFeqUgi7lm4d6g3rMBe1jxxawUM2AvmDQ7fLvaqjzV4e8NBaGPGDYyVv8i8ubld3BfQ Lti9+ztJDpAAdVo+ESjRkmwLbCywl3cTZIvMLYDErUGeuMwQgeaD0RanJld/W9co+wtkPq4C EnvV1Rscvl3sY6Guhv/PuW1DoDQZqEByuI9gP0/ZtlfvDmDSAnvpaQ2ce4W9duxQi6UW+7i3 HimXaCOkbAAy7lXFCBmugIq96upVh28Xe3feXgqUoLdHPujeo0egtvARCNdqaOQbqkTQZb9v b7+Rr3XRyfD2yFMOTNDbZzhymXB4AnuAjavFjL0Y27OLvUXf3nCqsm8PFy0pddq3N8sH5nHv kC18QwQ5pIcmgBj3wh1B7X7bHMm3P6QnMxcFieOJ1bc3dwfs9+2BvTgjZE7sM4GrDD+GuLP0 cBXZxb7LZx4adccYu3XfHjEBOeKAUvTJpUbm5BYj+WZlAby5Q2GOBv5Fk1gMy8kIFs/tRfvZ RV2CdlGQOvgvWh+GkXwz9vZH8uVTAPxwd5wuTo1JslcB83Qddcae+O0Ae+Xa/fkBngt17NCr 4/nwqJ6LEpmECgRHAdnIF2ybP2jnO8BePGxTH8s5kjLB5GgsqG0HR0UzMhUIjgLW2Dvr23f1 LQ817+XMGac6JpJcTOlxWiLjU4EAKqBirx3JdzCkF0D5eMpUIBsVIPbJXVqXjdcEj9n3ChB7 Yk8FAqcAsQ9clfvelfEE4yrgJfZcBxZXbkagApmggJfYcx1YJtQoj4EKxFXAS+zVwjhXLK70 jEAF0qWAl9hzHVi6apHlUgFHCniJPdeBOZKekalAuhTwGHuuA0tXRbJcKmBfAS+x5zow+7oz JhVIowJeYp/G02DRVIAK2FeA2HO6DhUInALEPnBVbt8nMKZfFSD2xJ4KBE4BYp/EKuerbC28 JSd0pbEpEUTste+xRh2Y36WHCUh4YaZ4GZ58B6bT2krx9W3Y0kd7tE4PyU6eTgtyegxOZWd8 CwUCir1ZEe0eeHiLttyaCi+ldbfhTIqvb/XN37Eq3ukh2cmT2GfRjcZj7H25B56sTkGL/Rdm i4Rmxswb48l5zVjOJN+xqw20vrYMbtlckEVLx/AyX1mQmqd83TBEkPuIad/wG6sgcUiiYZVF nPjsUL3E3q974Ikqx9Uvdqezvz2GFnvtxnhyXrP6Rn1toPX1p7plbUHaQ9K+ul8WpOYJVnH6 +BYvHRdxLN7nb2AbhyR39SP2abyVeIm9u11x5LuxE9wVJ3l74KF6MOlY3YsWIeAz7h54WsZi bYwH9gyb1YoX6dvfwdbg6rUFxTqkWHt4ajf/FcRKbi326jOwbXFIaWQggEV7ib39/erUDfBk Km1y+3kmbw88wbxhc2vX2GtbvyhCbNcnHKm4ELWBFteooQceq5lt7ndYOF5znjK5TKUmN2Rl 8V96+zTebrzE3p23lyefoLdHPsnYA0+0ZuXAXuKNfOu9a+FdzTxoAw0XjXmw3aIgsxPWentz nqqfp7dPI7cJFu0l9v7bA08sLjI0s50O6cmXDomq0m6MB1cvwANpEldtYKz6Ng+2awsSyQ0n Fatvb85Ti71F395QEPv2CeLqVXIvsccx+XsPPHftUnHvUNOaN8ZTB+1ly0IbqK34WM/VtTvw IQexQ6Z6SOZt+bR5arG32KvPXBBH8r1CN5F8PMZeHoq7TewSTC5H9RJRJBvTun6ubn+kIBtl 4THHUsBj7BPcxC7B5NwDjxc6FbCjgMfYJ7KJXVfj0/0WetwDz059Mw4VgAIeY09NpQKzrjvW bNSHCmSCAsQ+WSvwiH0mXN88Bq0CQcQ+1jwW8wo8MZqN+C5W4BF7IpexCgQUe3N9eL4Cj9hn 7EXPA/MYe67AY9+eUGW+Al5i7+8VeGgOiPX2Nlfg0dtn/tUf2CP0Ent3c/IzfwWeGAvAHFt1 4nrcpTjEPrBQZf6Je4m9/dVy2bUCT9Si4e06xD7zL24eYSwFvMTenbeXR5aZK/BU4cSMdDby iVO2K+Al9v5bgYe1ZXL5HR7vYe0d6tvmCjw28rOdDR8fv5fYQyafrcCTb86Fn5fLYG1eDcTe plCMlnoFPMZengBX4BH71F/NLNGmAh5jn+ASugSTZ9QKPGJv8xJktNQr4DH2iSyh6xot988K PGKf+quZJdpUwGPsbZbKaFSACqRRAWKfrBV4aaxUFk0FrBUg9sSeCgROAWIfuCqnJ6QCxJ7Y U4HAKUDsA1fl9HVUgNgTeyoQOAWIfeCqnL6OChB7Yk8FAqcAsQ9cldPXUQFiT+ypQOAUIPaB q3L6OipA7Ik9FQicAsQ+cFVOX0cFiD2xpwKBU4DYB67K6euoALEn9lQgcAoQ+8BVOX0dFSD2 xJ4KBE4BYh+4KqevowIS+0gkIn6rHxF4sOuzs3krrLS0NC8vLwe/Ojs7RRBFpAJUILsUEJBr mZd/IvZsEVABXykg2K60/BB7X1V5dvklHm0yFFD79gJvw4eNfDJPBfymAIf0/FajyXAOzNNn CshGPpw8eviGj2j/s5HPWwMV8JUCKvYG8g1/4ki+ryreZ+6Lp+NIAXVIz4y9GOmjtyfwVMBX Chiwl+Sbw+ntfVXxjpwDI/tMAcMDPBV7+VCP3p7AUwFfKWDGHpBrA+ntfVXxPnNfPB1HCpin 6wjs1fk79PYEngr4SgHtLL2cnBxi76tqduQKGNn3CqhP5rWz9BAoBvPZyOeNgAr4RAH5fC4W 8yIc0WJiL/5AowJUwK8KaBbe+vVUeV5UgAoYvT1uAPxQASoQEAUOvWYD//ihAlQgUAr8Fwuc 8n92F+IYAAAAAElFTkSuQmCC --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=lessInScreen.png Content-Transfer-Encoding: base64 Content-Description: less in screen, losing iVBORw0KGgoAAAANSUhEUgAAAVIAAACkCAIAAABKCzEIAAAABGdBTUEAALGPC/xhBQAAGApJ REFUeF7tnX14VcWdx9l/d7vdvuz7brfdbq2ttVarbaVqTbW2RRurttr60vraNioICPgCQYMi KAQUjUFjQEFCFBu10WCVBt9oQlUgXVlYShtFqhi7Gp6nf/Dw7B/ZL/nRX2dn5pw799xzbu69 53uf4T6Xybyd75zP/GbmzJz5i60DG8fxQwWoQG4UmDjlunHAfoQfKkAF8qFAU1NTXV3dQewB Px0VoAI1rwCxZ0tHBXKngAf7v/zEFcncXx1yJdz7PjnxfYdO/OtDJ73/U5Pe/+mr/gbusMkf OGzyBz8z5YOHT/nQ4VM/9NmpHz7i6r+F+9y0vzsSbvrfHzX9Hz4/A+4fj77mn+COufafv3Ad 3L988fp//RLczI8cO/Mj42f92/hZH/1y40ePa/zYcbM/dvzsfz/+ho+fcMPHv3Ljf8Cd2PSJ uqZD6uYc8tU5nzzpJrhDT775U1+Dm/vpU+BuOezr8z7zDbj5h39z/uETbv3shFuPOPW2I067 7XOnLTjyWwuOrF94FNzpzZ8/vfnoby86+oxFx5yx+JgzF3/hrNu/CPedO770Xbglx569ZPw5 d44/564vfw+u5bjvtxx/7t1wJ5zXesL5rV85f+mJFyw98Qf31MH98N6vXnjvSRe2nXRR28kX 3Xfyxfd97ZL2U+AuXfb1y+CWf+NHy7/54/vhJvzkgQkNK05tWHHa5SvhvnXFg/VXwq06feKq 0yd1fHtSxxlXrT5j8uozJ3eeOaXzrKkPfQfu6oe/Ow1uzdnT15wz/ZFzZjzyvWt+Cvf9a7vO ve5RuPOuf+y8mY+dP/PxC2Y9fkHjz34AN7v7h7O7L7zhiQtvfOKiG5+8qOnJi+f0XAJ309pL b1572c1PXTb3qR/d8nO4H897+idw859puHUd3OW3/eKKBXC9Vy7svbJ5/cTm9ZMWPTtp8bNX LX7uqtufm3z781PueH7Kkhemwt354tV3vTjtrg3TWjZMv/uXcDNa+65ZCtd/7T1wG6+791fX t8G9NPO+l2a2vzyr/eXGZa80Ln9l9vJNs+/fdMMDm2+EW7GlacWWOSsH5jw4cNODv75p1a9v 7vjPuXCrX72lE27rvIe2zn/4v+Y/vO3WNXDbb3tk+4Kf/jfcwq4dCx/d0fzobxY99ptFj+9c DPez397e/ds7un93xxO/W/LE4JInB+/see0uuLWvtzwFt+vun+9qffqN1qd3L31m99J1v79n 3e/v/cWbcG29b923Hm5P+7N72p97e9lzby9/fmj5C0P3v/DO/S++88CGP6yA++X/rITre/fB /ndX9b+3auN7Hb8ahlv90t4Kd9KRicS+Y01vS1vP3MVdl05tn7agq3l5X8fabb1bhre9tgdu 8/ZBfPe9euD7wI8tg2gpiD2xJ/bVjT2Y71g5OGt21/izm8+6vOO863tmLd/W1T+87dXNcB2r O+DaV3b1PtPTvLi5a20vsae1p7UX5ouaFsTUWrHhk+UisQpY+1nzOs66eO5J9dM+cOS0o85u Eew7+oeBurqW1T1dj/Z0rOnp6O4j9sSe2CuQgZOC0tkG9kWFT5ZLEPbDw8Mj/zvidfv+uE/9 h/8w3HJnS093D7En9sQ+GZCKfcyiAdNKJ8slCPt9fxxuX97e0tqyecvmbdu3bX55c9+LfX39 fdte3TZt6rTBnYPSM0HrgDA9a4k9p/Q4pXdwSq9Y61069tJemF0G00f6FEVgjwLt27fv1Amn Au+OlR1w8Ola06WjEfhjbN+7nmN7Yk/sU8De29tXpE2ArcbF5NxqBYrDHnYeScO8g3xYe1j4 Pbv3CPaw/2rtiT0f4PEBnvkArxRrnxh7a329mU5x2HsnGNGlRycf4/ko7DWWPreHD5/b87l9 fp7bjxX2Sr7VdiTBHjYf83YK8/jjx6MLMf7Y8X8e27e1YNgvU3rwlOU68ldZrkPsuVwnV8t1 xgp7c0YwobUf3I7B/Ej7coztR+bOm6u9ehf7vvV9vc8cHNsr9lilpy0FV+kRe2Lv7b1bD/Cs aTmNUtaxvXBb0Nrj6R1n8rk4l4tzdXGuae3dZ3KuHTZn8pON7dOcyfeO7TGfhzk8LNHTTj58 1NpzTT7X5HNNfinYRz26L9Nz+z2vDQ7v2VPQYXof1h7P87lch8t1uFwn2UKaYucCkuUS9Nw+ wSY8bsXhVhxuxZE1+Ri0B35kcW5gYOu5fYJYBdbkE3tuvOXG22Qbb0Fyph+x28VmQWvP/fbc b8/99v//pVoJ7LxEYSefnXx28qt1v33gHkAGowJUoEoV8LxdZ2QEcxJ0VIAKVI0C54Z9Wltb I6f0yDwVoALVpUAI9WB+//79xL5q2vLqugVZ2vIrINgDbP2AcNeH2GfLPNZalb/umWNuFcgj 9tZ6Rq377u6H5E/4IZ4aMuv7g9hnrTDTNxWwsIdVF2tvGnzxrJ1Ovpex/v51jY0zRBr8wH9V pjIwWYYseN9TAVXAJbx79JMQ++bm18eN29Td/Sa+DWw29fa+VV+/HZ79/W+Lv4RsbBzcu/c9 DelGx1/FE99mSPhYaTY07BwaehdJIRjycut4YGCDgO1lrLl57q5dWyUWfuC/UdgjESQVeA8h HWSHKHv3vmF2K+rrJ8D19nZrtwJpiueOHa+IJ6JIdHyb0d2szZBDQzsDy8ZguVXAxF6sumKv 5Ida+87O3QAeUrrY408CLTjHN/4Lhx9oBdraDvLgjY6/apoachTdTW6a0qbgWxJXeNBpB05t bUuEKICE/+K7oeESEzzzJjCbBquZQCJICikg2XgaOzuXwY0WaR2iSPrI0fyt2MvIAomjVOKJ YOKJb43ivVMRRdostB1mg5Xb25oXHq+Ahb0wbxn8UOxNG2tZe6sQ3pAFPaPSl8QHBoakXUC/ YMeOd5QcIAHqvHzCU9FStgWbGOy1NUGySDwGSDQNeuGaIDzdwnizM6Obv+NrlOMFMl9QAcXe NPWWwQ/FPgp10/9Pxm0TPNWppwHJwTFCeJratzdbBzAZg71aWovztLD3zh16sfRiX7DpUbmk j1C2CciCdxUDVLgCJvamqTcNfij2yay9ClSitUc6GN5jRGD28OEJ02p18q0qEbrCx/bhnXyv ic7C2iNNnZigta9w5CqheII9wMbd4mIvc3uh2MeM7a1L1bE9TLRSWuzY3pUPzKPt0B6+FUCn 9NAFkHkvtAjm8DtwJj98Sk8Tl4ykPFFje3c4ED62B/ZyRUic2FcCVxVehoKr9HAXhWI/ajMP zLpjjj1+bI+QgBxhQCnG5KqRGz1mJt9VFsC7Awo3GPiXLrFMy2mAmOf20n9OUJegXTIyJ/+l 92HN5LvYh8/k61MA/EhWzgSXxijVq4C7XMdcsSe/i8DeuHf//AAvgToh9Pp4PjirlyBHRqEC +VFAO/nCtvtBP78I7OVhm/lYrigpS4yOzoLZdygqawamAvlRIB774sb2o2PLA917XTlTrI6l RJclPcXmyPBUIIcKmNh7Z/KLmNLLoXy8ZCpQjQoQ+2y31lXjPcEy17wCxJ7YU4HcKUDsc1fl NW/KeIEFFUgTe+4DKyg3A1CBSlAgTey5D6wSapRloAIFFUgTezMzrhUrKD0DUIGxUiBN7LkP bKxqkflSgaIUSBN77gMrSnoGpgJjpUDK2HMf2FhVJPOlAuEKpIk994GF686QVGAMFUgT+zG8 DGZNBahAuALEnst1qEDuFCD2uavycJvAkLWqALEn9lQgdwoQ+wyrnK+yjbGWXNA1hl2JPGLv fY816sB9lx4WIOGFmfIyPH0HZrG1Veb72zrSx1vaYosUkmaxGRVbhmJlZ/gYBXKKvauI9ww8 vEVbj6bCS2mTHThT5vvbfPN3VMUXW6SQNIl9FTU0KWNfk2fgaXUKLeEvzJaILmPuwXi6rhnb mfQdu17P+HvLMstuRjE9HetlvpqRmaa+bhgi6Dli3jf8RmUkRZKOVRVxUmNFTRP7Wj0DT6oc d7+cThd+PIYXe+/BeLqu2Xyjvtcz/v4zzbI3I2+RvK/u14zMNMEqLh/f8tJxCRPzPn+LbRRJ T/Uj9mPYlKSJfbJTcfTd2CWeipPdGXioHiw6Ns+ihQ/4LHgGnpexqIPxwJ51WK28SD/8BFvL 1HsziipS1Bme3sN/hVjlNuasPovtmCKNIQM5zDpN7MPPqzMPwNNY3ujhaWZ3Bp4wbx1unRh7 b+8XWchxfWJI5Ub0esbco9YIPKqb7Y47Ygyvm6ZG11hmdCupmP/S2o9hc5Mm9smsvV58idYe 6WRxBp70ZnVir/ROfvzZtbCuLg9eT+umcSfbYzJyjbDX2rtpmnae1n4MuS0x6zSxr70z8GRz kdXNLnZKT186JFXlPRgPpl7AA2mKq9czqr7dyXZvRhLduqiosb2bphf7mLG9lRHH9iXimlb0 NLFHmWr7DLxk/VJpO8y47sF45qS99iy8nt6Kj3qu7j2BDynICZlmkdxj+bxperGPOavPzYgz +WmhW0o6KWOvRUl2iF2J0XVWrxRFqjFu4ufq4TMF1SgLyxylQMrYl3iIXYnReQYeb3QqEKJA ytiXcojdaOcz+RF6PAMvpL4ZhgpAgZSxp6ZUgApUvgLEPsMdeJVf/SxhPhUg9sSeCuROAWKf uyrPp33jVZsKEHtiTwVypwCxz12V0+5RAWJP7KlA7hQg9rmrcto6KkDsiT0VyJ0CxD53VU5b RwWIPbGnArlTgNjnrspp66gAsSf2VCB3ChD73FU5bR0VIPbEngrkTgFin7sqp62jAsSe2FOB 3ClA7HNX5bR1VIDYE3sqkDsFiH3uqpy2jgoQe2JPBXKnALHPXZXT1lEBYk/sqUDuFCD2uaty 2joqQOyJPRXInQLEPndVTltHBYg9sacCuVOA2OeuymnrqACxJ/ZUIHcKVBz2AwMbxo1+2CRT ASqQkQJpYi+4mp8Eha6vnzA0tDNBxJgo3kYk3DPdwjA1KjDmCqSMfenXk4WdDyc8i9xL14Qp UIF0Fcgc+71732hunguc8K1mHP9FZx6GHW7Hjlfkkrw9BW90Cdzb243o+NHfv05SkIwaG2cg likTsU/3pmFq1a5A5tg3NFyya9dWyATOgaUS3t39EH6DeQSIQdQbXbDv7FwmeINzfOO/cPiB VqCtbQmxr/Zbk+XPToGUsY8f26vVNc2vZYpjutkxsSAQLL/KFJJmeBcgO/WZMhUYEwVSxt69 BrHn2hyotQ9E1BtdrL2VV0yLE044x/Zjchcy0zIrkDn2MMLSyTdZDbf23uhe7E1rX2YRmR0V qC4FyoG9zORhBi5BJ1+f55nRvdjr2B4DfhnkR3Uo3B5HfMjqqlGWlgoUVCBz7HXGXtbhFNvJ 90b3Yg9P0I4s0FIgFrEvWPcMkFsF0sQ+tyLywqlAdSlA7HO3Hru6blCWNgsFiD2xpwK5U4DY 567Ks7AeTLO6FCD2FYR9yO5DawWETpGKf7Kbz5tmsqTCY4WUNiRMeI4lhgxcSFZiLuWJnhr2 WA+LZ2xaaPy2VsiW53qqOpfw3YfhC5DCBSkzY2XIrsQsQtZ6hstbUSFTwx5Py7EaTxbJm78r 6morvDDhtymxD6nKcD29qRH7/fv3bx3YCNfU1FRXVzcOv0ZGRsTLtfCm5Te30OnGuPjV9WYd pLIDz6pUXfCLdkqf8EcVCVuGZKeg2Zfxerr7/7wZReVuLi7WrruWPOQWtMLg6mShFDQMWcJo RfdWHFKTy4QCZvgYT2tDpDekS13UWMbduBlFrKtn1BXF5G4OnfA7ZtuomYi3ir3ljArp3UuK Ali7TrWKUdHmlraorahahtSsvaSIvFEyswRoAmSzHb612x+OfSo78CzFdcGvuZ7PWyRzqKLY ez29+/+8GXk9Xc7hE6NSiLVHkWRLMr6tZYshxs1bcUhHa1PLEOXpboj0hoyx225jF7VxM/EV pZK7Vc6YKg65FaP2kiIXa9cp1NAqFmXgYraiZoU9lt+jcLoIH9mYdkZ/h2NvyhQfK2YHnqs1 0LXe4eNNHGlaW/fliryermWWPoKVkdczC+xhmqSdRduvLzUIv8u9FecVuUTP8CIVe9u4NGpe Cbo/4a1wTBWH3IpRd7Lb1qNapYrxrVUcAkLK1t6yUVEmK7z+UtmBZ2kNDiGT7AuM7+SHGFUl 1u1VejPyemaBvfbtQ27xUirOW5umGhogvN6LFSTE2meXu3WfxFRx4K3o3ktuBZkSWZfmjW5m nTn2JVr7THfgSd/EvcPUM5m1d29BMyP9q+vp9mndHoSXhyhPNG3o+4X08N27KkVr77Wx3ibV ki5ckBDsvVeUSl8j6lq89e7N0QwZ1Ux7c0FXDj1KfYENEg9p5TPH3jtExO0ofRJrX52rSCo7 8KxkUSTppUNr1chbpARje3O+wJuR19PLbYxKOuVhXprrKVOPIT18pGNFT2tsbwpS+tg+qh30 sqQ3j/zVe0Ux2FvRwzv5MVUccitG7SX1Yi8EmfPNMVtRNffMsfdOn+JGhKZw5rY8bwWksgPP StmcPlUkoooUPpPv7v+LykjGF0p11K0co5LIYt0HridSCDGqUgArevxMvtVey9Sx5endEFns TL70V2N6ZDHcSnk0evhMvqRpRQ8fy3jr3VvOqJBe6bxViQEF/K35o6itqBliH1MN/FOZFdBZ vSzy9d6F4a1MFkVimoEKpG/tAzNmsDIoANNqvXqg9EzlQZH1nlKvZ+l5MYWMFCD2FbQmP906 huE1Z3rSSly6vrpQxOwPW55p5ch0UleA2Ncs9qnfK0ywZhQg9sSeCuROgTJhHz79wzmhmjEp vJCKVYDY566lr9h7kQUrmwIpYy8Pb+WRsh5Nh4uhtS9bjTIjKlBQgfSxtzYJSQmIfcGaYAAq UDYF0sfeW3RiX7YaZUZUoKACxJ5jeyqQOwXKhH3B5ocBqAAVKJsCZcKenfyy1SgzogIFFSD2 uevgFbwnGKDmFUgZ+5rXixdIBWpAAWJPa08FcqcAsc9dldeAseIllKgAsc8K+4WnfNh1JdYW o1OBVBQg9sQ+KwVSuUGZSBYK5BF7eb+aflRWOekFHz1pAO/YlHe/YZdB4PtnNTVa+yzuV6aZ igI5xd7VDhuHcGyT+OOH7CMyD5awXktcUH1iX1AiBhgrBVLGvrn59XHjNnV3v4lvvST87u19 q75+O370978t/hKysXFw7973NKQbHX8VT3ybId00Gxp2Dg29i6QQDHm5guKtcgK2d+0QCNfD fMTIuylIRCQS8oI6Yj9W9zTzLahAmth3du4G8MjSxR5/EmjBOb7xXzj8QCvQ1nbglfXi6UbH X9VTQ46iu8lNU9oUfEvi4vCaZHnptR4YJJ12eSGcvmDcagvcpgH2X9oCOYEIKSBZ91QszZfY F7z5GGCsFEgTe9PGWtbeujxvyIKeUelL4gMDQ9IuoF+wY8c74imHXoFYL5/w1CMTlHNh28Re Bvx6jLe2JkgWnnqep3WNxH6s7mnmW1CBNLGPQt30lwLBx3TqqcXVKOFpat/ebB3isf9Tvge6 7gWtvTW2R5NB7AveXgxQmQqkiX0ya6+6lGjtkQ6G9xgRmD18byffqgkBPnxsz05+Zd7KLFW4 Aop9d3e3/DY/4rl/9LN1YCNcU1NTXV3dOPwaGRkRL80sZmxvFUjH9jDRSmmxY3v3IsE82g7t 4VsBdEoPXQA5PEiOZ9Nj2N2ZfA2JwBjJSwBO6YXfXgxZmQoI5F7m9U+h2I/azAOz7pi3jx/b IyQgRxhQijG5SuNGj5nJdwUF8O6Awg0G/uUUOpmW0wDuc3sYdkAuY3s9zzCwIjm2DxSKwcqv gLDdGvspAnu9gBD8Yq42WXSd1Su/jm6OxL4SaoFl8Cpgju0Fb+tTRCd/tCd84AGe+ViuKN1L jI7Ogtl3KCrr1AMT+9QlZYJpKZDmlB7KJN17XTlTbClLiS5LeorNMbvwxD47bZlyiQpoJx9G HiN86yP9/ySd/BKLxehUgApkp4CJvUW+9afCM/nZlZIpUwEqkKIC5pSei73M9NHac2sqFagp BSzslXzXn9a+pio+RdPBpKpOAesBnom9PtSjtSfwVKCmFHCxB+ReT1r7mqr4qjNQLHCKCrjL dQR7c/0OrT2BpwI1pYB3lR6WohL7mqrmFA0Fk6oBBcwn895VevCUyXx28tkQUIEaUUCfz0Ux L/4IFom9/IGOClCBWlXAs/G2Vi+V10UFqIBt7dEA8EMFqEBOFDjwmg3844cKUIFcKfB/WRRV FeIghrIAAAAASUVORK5CYII= --=-=-= -- Henry S. Thompson, School of Informatics, University of Edinburgh Half-time member of W3C Team 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --=-=-=-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Sun Nov 9 20:14:47 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 1A31F7C94DA for <erik@plastic-idolatry.com>; Sun, 9 Nov 2008 20:14:47 -0500 (EST) Received: from localhost ([127.0.0.1]:40458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzLMQ-0008UH-KH for erik@plastic-idolatry.com; Sun, 09 Nov 2008 20:14:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzLMA-0008UC-Nm for screen-users@gnu.org; Sun, 09 Nov 2008 20:14:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzLMA-0008U0-7O for screen-users@gnu.org; Sun, 09 Nov 2008 20:14:18 -0500 Received: from [199.232.76.173] (port=60223 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzLMA-0008Tx-2h for screen-users@gnu.org; Sun, 09 Nov 2008 20:14:18 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:58442) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KzLM9-0008CD-Vx for screen-users@gnu.org; Sun, 09 Nov 2008 20:14:18 -0500 Received: from [10.0.0.3] (adsl-76-192-129-181.dsl.pltn13.sbcglobal.net [76.192.129.181]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 037A8408804A; Sun, 9 Nov 2008 17:14:16 -0800 (PST) Message-ID: <49178AE6.9000904@cowan.name> Date: Sun, 09 Nov 2008 17:14:14 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: "Henry S. Thompson" <ht@inf.ed.ac.uk> References: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> <49149046.3070503@cowan.name> <f5bskq04kyr.fsf@hildegard.inf.ed.ac.uk> In-Reply-To: <f5bskq04kyr.fsf@hildegard.inf.ed.ac.uk> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1524 Lines: 44 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henry S. Thompson wrote: > Micah Cowan writes: > >> I'm not entirely sure I understand what the symptom is that you're >> describing for running less under the screen-managed window, but it >> sounds like it might be similar to this one, which is fixed in the >> current dev sources: > > Thanks for your help, but I don't _think_ this is what's at issue. > More poking around suggests a _possible_ alternative explanation. It > appears that less uses the alternate screen buffer for its display, > which is why when it finishes in a vanilla xterm-color or rxvt window, > you see no remnants of the displayed file. But I guess, from what I > can gather of how screen is implemented, that screen is _already_ > using the alternate screen buffer, so when less asks to switch to it, > it can't??? Oh, is that the problem? Screen has its own built-in "alternate screen buffers"; just add the "altscreen" command to your ~/.screenrc. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkXiuYACgkQ7M8hyUobTrF0YACfYwOLc4KMeLr1sZ25h4qmIsF0 wc8An23CpZu/upLfOhlfr+96NaTAkIVa =DBXF -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Nov 10 05:23:20 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 290EC7FDEAD for <erik@plastic-idolatry.com>; Mon, 10 Nov 2008 05:23:20 -0500 (EST) Received: from localhost ([127.0.0.1]:43826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzTvH-000265-Lf for erik@plastic-idolatry.com; Mon, 10 Nov 2008 05:23:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzTun-00024r-0Y for screen-users@gnu.org; Mon, 10 Nov 2008 05:22:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzTum-000243-6X for screen-users@gnu.org; Mon, 10 Nov 2008 05:22:36 -0500 Received: from [199.232.76.173] (port=60816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzTul-00023k-VR for screen-users@gnu.org; Mon, 10 Nov 2008 05:22:36 -0500 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:34457) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <ht@inf.ed.ac.uk>) id 1KzTul-00083K-Lt for screen-users@gnu.org; Mon, 10 Nov 2008 05:22:35 -0500 Received: from nutty.inf.ed.ac.uk (nutty.inf.ed.ac.uk [129.215.33.33]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id mAAAMLfQ024766; Mon, 10 Nov 2008 10:22:26 GMT Received: from hildegard.inf.ed.ac.uk (hildegard.inf.ed.ac.uk [129.215.24.147]) by nutty.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mAAAMILA016233; Mon, 10 Nov 2008 10:22:19 GMT Received: from hildegard.inf.ed.ac.uk (localhost [127.0.0.1]) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id mAAAMIQX012824; Mon, 10 Nov 2008 10:22:18 GMT Received: (from ht@localhost) by hildegard.inf.ed.ac.uk (8.13.8/8.13.8/Submit) id mAAAMI3r012823; Mon, 10 Nov 2008 10:22:18 GMT X-Authentication-Warning: hildegard.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f To: Micah Cowan <micah@cowan.name> References: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> <49149046.3070503@cowan.name> <f5bskq04kyr.fsf@hildegard.inf.ed.ac.uk> <49178AE6.9000904@cowan.name> From: ht@inf.ed.ac.uk (Henry S. Thompson) Date: Mon, 10 Nov 2008 10:22:18 +0000 In-Reply-To: <49178AE6.9000904@cowan.name> (Micah Cowan's message of "Sun, 09 Nov 2008 17:14:14 -0800") Message-ID: <f5b63mvq3s5.fsf@hildegard.inf.ed.ac.uk> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Cc: screen-users@gnu.org Subject: Re: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1063 Lines: 35 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micah Cowan writes: > Oh, is that the problem? > > Screen has its own built-in "alternate screen buffers"; just add the > "altscreen" command to your ~/.screenrc. D'oh! That fixed it. Thank you for your patience, and for not just replying 'RTFM'. ht =2D --=20 Henry S. Thompson, School of Informatics, University of Edinburgh Half-time member of W3C Team 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged sp= am] =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFJGAtakjnJixAXWBoRApF0AJ9BfMrp2BSdjMQJ5+S33RTBxOMdWQCdExhJ wENPKiTcpBkAmMnbntxDunw=3D =3DvaZQ =2D----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Nov 10 12:48:42 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id B1CC77FDC47 for <erik@plastic-idolatry.com>; Mon, 10 Nov 2008 12:48:42 -0500 (EST) Received: from localhost ([127.0.0.1]:38622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzasH-0006jD-RF for erik@plastic-idolatry.com; Mon, 10 Nov 2008 12:48:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzalw-0003JG-Qm for screen-users@gnu.org; Mon, 10 Nov 2008 12:41:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kzalu-0003HR-UN for screen-users@gnu.org; Mon, 10 Nov 2008 12:41:56 -0500 Received: from [199.232.76.173] (port=44579 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzalu-0003HI-Pl for screen-users@gnu.org; Mon, 10 Nov 2008 12:41:54 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:39770) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1Kzalu-0001NR-IG for screen-users@gnu.org; Mon, 10 Nov 2008 12:41:54 -0500 Received: from [192.168.2.104] (207.47.12.202.static.nextweb.net [207.47.12.202]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 66498408804A; Mon, 10 Nov 2008 09:41:53 -0800 (PST) Message-ID: <4918725F.7060005@cowan.name> Date: Mon, 10 Nov 2008 09:41:51 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: "Henry S. Thompson" <ht@inf.ed.ac.uk> References: <f5bmygb5y0s.fsf@hildegard.inf.ed.ac.uk> <49149046.3070503@cowan.name> <f5bskq04kyr.fsf@hildegard.inf.ed.ac.uk> <49178AE6.9000904@cowan.name> <f5b63mvq3s5.fsf@hildegard.inf.ed.ac.uk> In-Reply-To: <f5b63mvq3s5.fsf@hildegard.inf.ed.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: problem with screen.rxvt TERM and less X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1264 Lines: 40 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henry S. Thompson wrote: > Micah Cowan writes: > >> Oh, is that the problem? > >> Screen has its own built-in "alternate screen buffers"; just add the >> "altscreen" command to your ~/.screenrc. > > D'oh! That fixed it. Thank you for your patience, and for not just > replying 'RTFM'. Note that, now that you have altscreen on, if you're running screen 4.0.3 you may run into that other problem I pointed you at: less mysteriously displaying an empty screen until you refresh with Ctrl+L. That's a bug in less, combined with a pseudo-bug in screen. Screen's issue has been fixed in current sources (and no other terminal would be particularly likely to trigger less's issue). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJGHJf7M8hyUobTrERAgjfAJ4/XHRo6y71fxkbuBkmjjT/UOlgEwCfQpRo Qhd+mvBRplmvYzQjmOSy6T0= =cUe4 -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Nov 10 23:36:12 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id A1C207FD751 for <erik@plastic-idolatry.com>; Mon, 10 Nov 2008 23:36:12 -0500 (EST) Received: from localhost ([127.0.0.1]:52665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzkyv-0002ho-IF for erik@plastic-idolatry.com; Mon, 10 Nov 2008 23:36:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzata-0007hb-0G for screen-users@gnu.org; Mon, 10 Nov 2008 12:49:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzatY-0007gi-DB for screen-users@gnu.org; Mon, 10 Nov 2008 12:49:49 -0500 Received: from [199.232.76.173] (port=48743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzatY-0007gd-46 for screen-users@gnu.org; Mon, 10 Nov 2008 12:49:48 -0500 Received: from chip3og59.obsmtp.com ([64.18.14.183]:56671) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <relliot@globalcashcard.com>) id 1KzatX-0003bk-PF for screen-users@gnu.org; Mon, 10 Nov 2008 12:49:47 -0500 Received: from source ([74.125.44.156]) by chip3ob59.postini.com ([64.18.6.12]) with SMTP ID DSNKSRh0OXSPqrThCM1NHEDPL7ttl9IvwlwW@postini.com; Mon, 10 Nov 2008 09:49:47 PST Received: by yx-out-1718.google.com with SMTP id 36so937016yxh.18 for <screen-users@gnu.org>; Mon, 10 Nov 2008 09:49:45 -0800 (PST) Received: by 10.103.192.2 with SMTP id u2mr3893842mup.2.1226339385258; Mon, 10 Nov 2008 09:49:45 -0800 (PST) Received: by 10.103.90.5 with HTTP; Mon, 10 Nov 2008 09:49:45 -0800 (PST) Message-ID: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> Date: Mon, 10 Nov 2008 09:49:45 -0800 From: "Richard Elliot" <relliot@globalcashcard.com> To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 10 Nov 2008 23:35:03 -0500 Subject: sending CRLF via screen -X stuff X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============0070603525==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1422 Lines: 48 --===============0070603525== Content-Type: multipart/alternative; boundary="----=_Part_54475_11449849.1226339385225" ------=_Part_54475_11449849.1226339385225 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I am trying to send a remote command to an existing screen session: while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done However, I need to send a new line (CRLF) after the command "signon". Any help would be greatly appreciated. Thanks very much, Richard ------=_Part_54475_11449849.1226339385225 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,<br><br>I am trying to send a remote command to an existing screen session:<br><br>while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done<br><br>However, I need to send a new line (CRLF) after the command "signon".<br> <br>Any help would be greatly appreciated.<br><br>Thanks very much,<br><br>Richard<br> ------=_Part_54475_11449849.1226339385225-- --===============0070603525== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0070603525==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Mon Nov 10 23:49:52 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id C8A1A761E32 for <erik@plastic-idolatry.com>; Mon, 10 Nov 2008 23:49:52 -0500 (EST) Received: from localhost ([127.0.0.1]:56088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlCB-0000Cd-9Q for erik@plastic-idolatry.com; Mon, 10 Nov 2008 23:49:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzlBp-00008t-T6 for screen-users@gnu.org; Mon, 10 Nov 2008 23:49:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzlBo-0008WG-4u for screen-users@gnu.org; Mon, 10 Nov 2008 23:49:21 -0500 Received: from [199.232.76.173] (port=39333 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlBn-0008Vy-Vi for screen-users@gnu.org; Mon, 10 Nov 2008 23:49:20 -0500 Received: from exprod7og111.obsmtp.com ([64.18.2.175]:54482) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <relliot@globalcashcard.com>) id 1KzlBn-0003xA-CE for screen-users@gnu.org; Mon, 10 Nov 2008 23:49:19 -0500 Received: from source ([209.85.134.185]) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSRkOzV2zlQ25lUU9C1navOiHqWfur3mw@postini.com; Mon, 10 Nov 2008 20:49:19 PST Received: by mu-out-0910.google.com with SMTP id w9so3506892mue.0 for <screen-users@gnu.org>; Mon, 10 Nov 2008 20:49:16 -0800 (PST) Received: by 10.103.171.20 with SMTP id y20mr3453255muo.19.1226378956529; Mon, 10 Nov 2008 20:49:16 -0800 (PST) Received: by 10.103.90.5 with HTTP; Mon, 10 Nov 2008 20:49:16 -0800 (PST) Message-ID: <7e04011e0811102049r61564badp8c51df1feb5d9e1@mail.gmail.com> Date: Mon, 10 Nov 2008 20:49:16 -0800 From: "Richard Elliot" <relliot@globalcashcard.com> To: screen-users@gnu.org MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: sending carriage return when using -X X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============0043015193==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1393 Lines: 47 --===============0043015193== Content-Type: multipart/alternative; boundary="----=_Part_65778_24340839.1226378956521" ------=_Part_65778_24340839.1226378956521 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I am trying to send a remote command to an existing screen session: while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done However, I need to send a new line (CRLF) after the command "signon". Any help would be greatly appreciated. Thanks very much ------=_Part_65778_24340839.1226378956521 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello,<br><br>I am trying to send a remote command to an existing screen session:<br><br>while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done<br><br>However, I need to send a new line (CRLF) after the command "signon".<br> <br>Any help would be greatly appreciated.<br><br>Thanks very much ------=_Part_65778_24340839.1226378956521-- --===============0043015193== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============0043015193==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Nov 11 00:03:11 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 60E147FD929 for <erik@plastic-idolatry.com>; Tue, 11 Nov 2008 00:03:10 -0500 (EST) Received: from localhost ([127.0.0.1]:47928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlP1-0003j1-Gd for erik@plastic-idolatry.com; Tue, 11 Nov 2008 00:02:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzlOl-0003in-Fu for screen-users@gnu.org; Tue, 11 Nov 2008 00:02:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzlOj-0003iS-UX for screen-users@gnu.org; Tue, 11 Nov 2008 00:02:43 -0500 Received: from [199.232.76.173] (port=42427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlOj-0003iP-R2 for screen-users@gnu.org; Tue, 11 Nov 2008 00:02:41 -0500 Received: from mabruk.micah.cowan.name ([66.150.225.51]:41767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <micah@cowan.name>) id 1KzlOj-0005vv-42 for screen-users@gnu.org; Tue, 11 Nov 2008 00:02:41 -0500 Received: from [10.0.0.3] (adsl-76-192-128-99.dsl.pltn13.sbcglobal.net [76.192.128.99]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 7118D408804A; Mon, 10 Nov 2008 21:02:36 -0800 (PST) Message-ID: <491911EA.1060907@cowan.name> Date: Mon, 10 Nov 2008 21:02:34 -0800 From: Micah Cowan <micah@cowan.name> User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Richard Elliot <relliot@globalcashcard.com> References: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> In-Reply-To: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: sending CRLF via screen -X stuff X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 1037 Lines: 35 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Richard Elliot wrote: > Hello, > > I am trying to send a remote command to an existing screen session: > > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done > > However, I need to send a new line (CRLF) after the command "signon". Chances are you only need one of CR or LF, not both. Anyway, use octal escapes: \012 and \015. (And yeah, I'd like to see a more complete set of C-style escapes make their way in; low pri though.) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkZEeoACgkQ7M8hyUobTrGP5gCeOhO6BuYb1vtr1O8IF0U4/jSE JlUAni/Yg5vT6GwgAk3xHpI7DHDFrrB3 =m69U -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Nov 11 00:09:46 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id D4D74605EE2 for <erik@plastic-idolatry.com>; Tue, 11 Nov 2008 00:09:45 -0500 (EST) Received: from localhost ([127.0.0.1]:49776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlVQ-0006Cb-2O for erik@plastic-idolatry.com; Tue, 11 Nov 2008 00:09:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzlUJ-0005xc-Cw for screen-users@gnu.org; Tue, 11 Nov 2008 00:08:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzlUH-0005ws-Qb for screen-users@gnu.org; Tue, 11 Nov 2008 00:08:27 -0500 Received: from [199.232.76.173] (port=34055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzlUH-0005wn-Lh for screen-users@gnu.org; Tue, 11 Nov 2008 00:08:25 -0500 Received: from mu-out-0910.google.com ([209.85.134.189]:12764) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <pandurangan.r.s@gmail.com>) id 1KzlUG-0006qh-K9 for screen-users@gnu.org; Tue, 11 Nov 2008 00:08:25 -0500 Received: by mu-out-0910.google.com with SMTP id i2so3327062mue.6 for <screen-users@gnu.org>; Mon, 10 Nov 2008 21:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=qYMBe1PGF/8RTXzGDDuQ8cB2V8goE03KPAHOt9Yd12A=; b=kAq4PvIqxXZG1pGgd+W4O6ubDFE/ZhdhuFD5cwpoR98mLeqettYAH+KDbpmqTnqcrJ 7UcIYhnG4nnU82/7F6uMOtFvi8PZfIprfqEjUq2csQzfp37yfGu4Ipw8JFiKhwwy13w9 9bWPTtJazYns+01LREqUtq4TYF5eUD4/J+vRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=x8CEFWCt9KnScqr00MID9ete8UXsF1WdnIsltFFPaA3wHqmcNjT0wbrOKyV34FIvAH KiKPLlOBpzMPgOGK8k8cRa2vKLoBOO1rVGwj5PUI5G58xfaJckX2VoQd5wh5NkynKBR8 fx5PJmJoF9yj2wLHM9NHO8WwAYL+W+ZzlqiKA= Received: by 10.103.222.1 with SMTP id z1mr4243536muq.100.1226380098513; Mon, 10 Nov 2008 21:08:18 -0800 (PST) Received: by 10.103.179.16 with HTTP; Mon, 10 Nov 2008 21:08:18 -0800 (PST) Message-ID: <5e744e3d0811102108o32b16a20i2c5661014accd71@mail.gmail.com> Date: Tue, 11 Nov 2008 10:38:18 +0530 From: "Pandurangan R S" <pandurangan.r.s@gmail.com> To: "Richard Elliot" <relliot@globalcashcard.com> In-Reply-To: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> MIME-Version: 1.0 References: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: sending CRLF via screen -X stuff X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============1387747716==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 2544 Lines: 77 --===============1387747716== Content-Type: multipart/alternative; boundary="----=_Part_94583_1635975.1226380098491" ------=_Part_94583_1635975.1226380098491 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Here is what i use screen -X eval 'stuff "echo abc\015"' Regards Pandu On Mon, Nov 10, 2008 at 11:19 PM, Richard Elliot <relliot@globalcashcard.com > wrote: > Hello, > > I am trying to send a remote command to an existing screen session: > > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done > > However, I need to send a new line (CRLF) after the command "signon". > > Any help would be greatly appreciated. > > Thanks very much, > > Richard > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > > ------=_Part_94583_1635975.1226380098491 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Here is what i use<br> <br> screen -X eval 'stuff "echo abc\015"'<br> <br> Regards<br> Pandu<br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 11:19 PM, Richard Elliot <span dir="ltr"><<a href="mailto:relliot@globalcashcard.com">relliot@globalcashcard.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<br><br>I am trying to send a remote command to an existing screen session:<br><br>while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done<br><br>However, I need to send a new line (CRLF) after the command "signon".<br> <br>Any help would be greatly appreciated.<br><br>Thanks very much,<br><font color="#888888"><br>Richard<br> </font><br>_______________________________________________<br> screen-users mailing list<br> <a href="mailto:screen-users@gnu.org">screen-users@gnu.org</a><br> <a href="http://lists.gnu.org/mailman/listinfo/screen-users" target="_blank">http://lists.gnu.org/mailman/listinfo/screen-users</a><br> <br></blockquote></div><br> ------=_Part_94583_1635975.1226380098491-- --===============1387747716== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1387747716==-- From screen-users-bounces+erik=plastic-idolatry.com@gnu.org Tue Nov 11 08:00:03 2008 Return-Path: <screen-users-bounces+erik=plastic-idolatry.com@gnu.org> X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on worlock.plastic-idolatry.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DNS_FROM_SECURITYSAGE,HTML_MESSAGE autolearn=no version=3.2.1-gr1 X-Original-To: erik@plastic-idolatry.com Delivered-To: moculus@worlock.plastic-idolatry.com Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by worlock.plastic-idolatry.com (Postfix) with ESMTP id 5303B7CA010 for <erik@plastic-idolatry.com>; Tue, 11 Nov 2008 08:00:03 -0500 (EST) Received: from localhost ([127.0.0.1]:39797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzsqW-0006pV-RI for erik@plastic-idolatry.com; Tue, 11 Nov 2008 07:59:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzsqB-0006pQ-QQ for screen-users@gnu.org; Tue, 11 Nov 2008 07:59:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzsqA-0006pE-N5 for screen-users@gnu.org; Tue, 11 Nov 2008 07:59:31 -0500 Received: from [199.232.76.173] (port=42834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzsqA-0006pB-Fu for screen-users@gnu.org; Tue, 11 Nov 2008 07:59:30 -0500 Received: from chip3og60.obsmtp.com ([64.18.14.185]:46308) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <relliot@globalcashcard.com>) id 1KzsqA-00072W-5S for screen-users@gnu.org; Tue, 11 Nov 2008 07:59:30 -0500 Received: from source ([216.239.58.187]) by chip3ob60.postini.com ([64.18.6.12]) with SMTP ID DSNKSRmBsMF9tXdgMkeIJChA0kpYFaJBSqpH@postini.com; Tue, 11 Nov 2008 04:59:29 PST Received: by gv-out-0910.google.com with SMTP id n29so201036gve.16 for <screen-users@gnu.org>; Tue, 11 Nov 2008 04:59:28 -0800 (PST) Received: by 10.103.222.1 with SMTP id z1mr4497967muq.100.1226408368052; Tue, 11 Nov 2008 04:59:28 -0800 (PST) Received: by 10.103.90.5 with HTTP; Tue, 11 Nov 2008 04:59:27 -0800 (PST) Message-ID: <7e04011e0811110459p37014b75j7b24e7483d147118@mail.gmail.com> Date: Tue, 11 Nov 2008 04:59:27 -0800 From: "Richard Elliot" <relliot@globalcashcard.com> To: "Micah Cowan" <micah@cowan.name> In-Reply-To: <491911EA.1060907@cowan.name> MIME-Version: 1.0 References: <7e04011e0811100949u1ae342efi790cf62c83736f53@mail.gmail.com> <491911EA.1060907@cowan.name> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: screen-users@gnu.org Subject: Re: sending CRLF via screen -X stuff X-BeenThere: screen-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General GNU Screen discussion <screen-users.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/screen-users> List-Post: <mailto:screen-users@gnu.org> List-Help: <mailto:screen-users-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/screen-users>, <mailto:screen-users-request@gnu.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============1316193679==" Sender: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Errors-To: screen-users-bounces+erik=plastic-idolatry.com@gnu.org Status: RO Content-Length: 3589 Lines: 104 --===============1316193679== Content-Type: multipart/alternative; boundary="----=_Part_72661_31430458.1226408368028" ------=_Part_72661_31430458.1226408368028 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the help. Would this be correct? while true; do screen -S 19268 -X stuff "signon"\012; sleep 1m; done On Mon, Nov 10, 2008 at 9:02 PM, Micah Cowan <micah@cowan.name> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Richard Elliot wrote: > > Hello, > > > > I am trying to send a remote command to an existing screen session: > > > > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done > > > > However, I need to send a new line (CRLF) after the command "signon". > > Chances are you only need one of CR or LF, not both. Anyway, use octal > escapes: \012 and \015. (And yeah, I'd like to see a more complete set > of C-style escapes make their way in; low pri though.) > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer. > GNU Maintainer: wget, screen, teseq > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkkZEeoACgkQ7M8hyUobTrGP5gCeOhO6BuYb1vtr1O8IF0U4/jSE > JlUAni/Yg5vT6GwgAk3xHpI7DHDFrrB3 > =m69U > -----END PGP SIGNATURE----- > ------=_Part_72661_31430458.1226408368028 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the help. <br><br>Would this be correct?<br><br>while true; do screen -S 19268 -X stuff "signon"\012; sleep 1m; done<br><br><br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 9:02 PM, Micah Cowan <span dir="ltr"><<a href="mailto:micah@cowan.name">micah@cowan.name</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br> Hash: SHA1<br> <div class="Ih2E3d"><br> Richard Elliot wrote:<br> > Hello,<br> ><br> > I am trying to send a remote command to an existing screen session:<br> ><br> > while true; do screen -S 19268 -X stuff "signon"; sleep 1m; done<br> ><br> > However, I need to send a new line (CRLF) after the command "signon".<br> <br> </div>Chances are you only need one of CR or LF, not both. Anyway, use octal<br> escapes: \012 and \015. (And yeah, I'd like to see a more complete set<br> of C-style escapes make their way in; low pri though.)<br> <br> - --<br> Micah J. Cowan<br> Programmer, musician, typesetting enthusiast, gamer.<br> GNU Maintainer: wget, screen, teseq<br> <a href="http://micah.cowan.name/" target="_blank">http://micah.cowan.name/</a><br> -----BEGIN PGP SIGNATURE-----<br> Version: GnuPG v1.4.9 (GNU/Linux)<br> Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br> <br> iEYEARECAAYFAkkZEeoACgkQ7M8hyUobTrGP5gCeOhO6BuYb1vtr1O8IF0U4/jSE<br> JlUAni/Yg5vT6GwgAk3xHpI7DHDFrrB3<br> =m69U<br> -----END PGP SIGNATURE-----<br> </blockquote></div><br> ------=_Part_72661_31430458.1226408368028-- --===============1316193679== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users --===============1316193679==--