From MAILER-DAEMON Mon Jun 02 19:04:50 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K3J58-00087Q-RX for mharc-screen-users@gnu.org; Mon, 02 Jun 2008 19:04:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3J57-00086r-91 for screen-users@gnu.org; Mon, 02 Jun 2008 19:04:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3J55-00086f-93 for screen-users@gnu.org; Mon, 02 Jun 2008 19:04:48 -0400 Received: from [199.232.76.173] (port=56658 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3J55-00086c-5j for screen-users@gnu.org; Mon, 02 Jun 2008 19:04:47 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]:11877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3J54-0003ly-Jf for screen-users@gnu.org; Mon, 02 Jun 2008 19:04:46 -0400 Received: by ti-out-0910.google.com with SMTP id u5so463775tia.10 for ; Mon, 02 Jun 2008 16:04:39 -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=i16gz4lwQxMsy3rkPA49oUpcjImyS5s/fMVUZAO8kEs=; b=uR6OrIaOUMqZOD+JZmPD4v5M3uSDn2DQ+uso/MRCUaoFzWAjdGq503PKMmpJxnEMVuB8i61aZS3UEdp3piwdY7aio9dD59h/cZ9bznfwCrkR8dO4eItD8LVcaIrM1DorPUh+jZLaRIFOJPBbzXO4L7ffcgHNZrIkNIF5ev5HuvE= 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=hs0J4jBbU85s+JWz8dWEF115SjIjpDvLjMORvVnlifw1Dq146GK+0XXezYQ4EsPRasq2OQK0ME5kULoFJTAM1y++cF5i8IikL7k7RR+GFQCkBrRW5gvrv6Q+lbq+cC4FxnxYWUCLVzbSkU0OzYw4GJ9BiRPoWlU2FEAyRqSMwxs= Received: by 10.110.3.15 with SMTP id 15mr1334386tic.10.1212447879741; Mon, 02 Jun 2008 16:04:39 -0700 (PDT) Received: by 10.110.39.5 with HTTP; Mon, 2 Jun 2008 16:04:39 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2008 09:04:39 +1000 From: "Chris Henderson" 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: screen, .bashrc and ssh hostname 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: , X-List-Received-Date: Mon, 02 Jun 2008 23:04:49 -0000 In my .bashrc I use "ssh() { screen -t "${1##*@}" ssh "$@"; }" so when I SSH to any host, it opens a new screen terminal and rename it to the hostname. This is really useful to me as it saves me a lot of typing. However, this only works if I ssh the standard way as in "ssh username@hostname". I have a shell script which automates my SSH login process by setting username and calling SSH keys. And when I run this script screen doesn't open a new terminal and rename it anymore. I use the script like: ./ssh.sh hostname Is there anyway I could tell .screenrc or .bashrc to read this script and treat it as a standard SSH connection? Thanks for any help. From MAILER-DAEMON Tue Jun 03 00:02:19 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K3Nj1-0000Ar-46 for mharc-screen-users@gnu.org; Tue, 03 Jun 2008 00:02:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3Nj0-0000AF-7m for screen-users@gnu.org; Tue, 03 Jun 2008 00:02:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3Niy-00008a-OI for screen-users@gnu.org; Tue, 03 Jun 2008 00:02:17 -0400 Received: from [199.232.76.173] (port=44791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3Niy-00008R-LH for screen-users@gnu.org; Tue, 03 Jun 2008 00:02:16 -0400 Received: from prime.gushi.org ([72.9.101.130]:62200) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3Niy-0005fz-Bi for screen-users@gnu.org; Tue, 03 Jun 2008 00:02: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 m53423Xf041206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jun 2008 00:02:04 -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=1212448670; bh=ccmSNWAGIrV5i8ZDp6dMkwgD82o=; h=DomainKey-Signature:Date:From:To:Subject:Message-ID:User-Agent: MIME-Version:Content-Type; b=HmSQ87UfPy2BSfHYKaFmNjQ5m3IkcNOsLymK1 7MsMWwAiRnpwi5dMg4uLmdy9gYU2QI32F0bBkpFTdDu6hA0Sw== 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=mzwkCmQgUWCp5cm0Yngd2eaXAPFXRevomcHmYvhTiImF8CgnjWWSGfahbFMCh/wRm malf3YHwwfvJuRE9pQS0w== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m53423m5041204; Tue, 3 Jun 2008 00:02:03 -0400 (EDT) (envelope-from danm) Date: Tue, 3 Jun 2008 00:02:03 -0400 (EDT) From: "Dan Mahoney, System Admin" To: screen-users@gnu.org, ircii-users@eterna.com.au 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, 02 Jun 2008 23:17:51 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: Subject: GNU Screen and Monitor mode with ircII 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: , X-List-Received-Date: Tue, 03 Jun 2008 04:02:18 -0000 Hey all, I get frequent updates with ircII when using "Monitor" in gnu screen. I get this even when I disable the clock in ircII -- apparently it still does *something* to update the screen. Has anyone else noticed this? And/or found a fix? -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From MAILER-DAEMON Tue Jun 03 12:02:18 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K3Yxl-0001rN-Uh for mharc-screen-users@gnu.org; Tue, 03 Jun 2008 12:02:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3Yxk-0001r0-0c for screen-users@gnu.org; Tue, 03 Jun 2008 12:02:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3Yxh-0001px-Ue for screen-users@gnu.org; Tue, 03 Jun 2008 12:02:15 -0400 Received: from [199.232.76.173] (port=37606 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3Yxh-0001pp-MY for screen-users@gnu.org; Tue, 03 Jun 2008 12:02:13 -0400 Received: from brmea-mail-2.sun.com ([192.18.98.43]:47274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3Yxg-0000zv-VU for screen-users@gnu.org; Tue, 03 Jun 2008 12:02:13 -0400 Received: from dm-east-01.east.sun.com ([129.148.9.192]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m53G2BbB002669 for ; Tue, 3 Jun 2008 16:02:11 GMT Received: from sr1-ubur-21.east.sun.com (sr1-ubur-21.East.Sun.COM [129.148.9.175]) by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id m53G2Bv7004894 for ; Tue, 3 Jun 2008 12:02:11 -0400 (EDT) Received: from sr1-ubur-21.east.sun.com (localhost [127.0.0.1]) by sr1-ubur-21.east.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53G2AOD033050 for ; Tue, 3 Jun 2008 12:02:10 -0400 (EDT) Received: (from em162155@localhost) by sr1-ubur-21.east.sun.com (8.13.8+Sun/8.13.8/Submit) id m53G2AFg033049 for screen-users@gnu.org; Tue, 3 Jun 2008 12:02:10 -0400 (EDT) X-Authentication-Warning: sr1-ubur-21.east.sun.com: em162155 set sender to ethan.mallove@sun.com using -f Date: Tue, 3 Jun 2008 12:02:10 -0400 From: Ethan Mallove To: screen-users@gnu.org Message-ID: <20080603160210.GB65102@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 9 Subject: "Parallel mode" for GNU 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: , X-List-Received-Date: Tue, 03 Jun 2008 16:02:16 -0000 Hi, Is there a "parallel mode" of some sort to make Screen copy commands from one window into other windows? I'm seeking an alternative to the "at" command. I'm basically looking for behavior in Screen that would work similarly to "cconsole" (see http://docs.sun.com/app/docs/doc/819-0582/6n30g7ie3?a=view). Something like, e.g., :set parallel mode Then anything typed in one window would also be copied into all the other Screen session windows. Is there a way? Thanks, Ethan From MAILER-DAEMON Tue Jun 03 12:12:58 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K3Z85-0004jx-PI for mharc-screen-users@gnu.org; Tue, 03 Jun 2008 12:12:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3Z83-0004hb-VK for screen-users@gnu.org; Tue, 03 Jun 2008 12:12:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3Z7z-0004ZG-K2 for screen-users@gnu.org; Tue, 03 Jun 2008 12:12:53 -0400 Received: from [199.232.76.173] (port=37153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3Z7z-0004Ya-AU for screen-users@gnu.org; Tue, 03 Jun 2008 12:12:51 -0400 Received: from prime.gushi.org ([72.9.101.130]:54251) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3Z7y-0003GS-Ro for screen-users@gnu.org; Tue, 03 Jun 2008 12:12:50 -0400 Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m53GCiGH063985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jun 2008 12:12:46 -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=1212492518; bh=4l5I+kLEyTPkP6OJjWobi6kmLJU=; h=DomainKey-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:User-Agent:MIME-Version:Content-Type; b=iMUr qG16FMKGBYNJyiuO+vuQtwQWxL/sKRlybBT65FnqLq0VWzMOvuEzB8LnsAk8X0BirWg P/5Z7/reNJSHvJA== 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=rPzE8QxUVgGZkiirSBL726dP6rYUKr+0aYBbwF+sD8Nqsqtf/Y1oGqwLJte5WROEn oo+uxLm4FnJzT2aGfcA5A== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m53GCixx063973; Tue, 3 Jun 2008 12:12:44 -0400 (EDT) (envelope-from danm) Date: Tue, 3 Jun 2008 12:12:43 -0400 (EDT) From: "Dan Mahoney, System Admin" To: Ethan Mallove In-Reply-To: <20080603160210.GB65102@sun.com> Message-ID: References: <20080603160210.GB65102@sun.com> 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]); Tue, 03 Jun 2008 11:28:38 +0000 (UTC) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: "Parallel mode" for GNU 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: , X-List-Received-Date: Tue, 03 Jun 2008 16:12:56 -0000 On Tue, 3 Jun 2008, Ethan Mallove wrote: Look into a program called "omnitty". -Dan > Hi, > > Is there a "parallel mode" of some sort to make Screen copy commands from one > window into other windows? I'm seeking an alternative to the "at" command. I'm > basically looking for behavior in Screen that would work similarly to "cconsole" > (see http://docs.sun.com/app/docs/doc/819-0582/6n30g7ie3?a=view). Something > like, e.g., > > :set parallel mode > > Then anything typed in one window would also be copied into all the other Screen > session windows. > > Is there a way? > > Thanks, > Ethan > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > -- Christ almighty... my EYES! They're melting! -Zaren, Efnet #macintosh, in response to: www.geocities.com/CollegePark/Classroom/1944 The WEBSITE DESIGN class that gave my fiancee a D. --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From MAILER-DAEMON Tue Jun 03 14:49:38 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K3bZi-0007b0-0R for mharc-screen-users@gnu.org; Tue, 03 Jun 2008 14:49:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3bZf-0007Xz-E1 for screen-users@gnu.org; Tue, 03 Jun 2008 14:49:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3bZe-0007WP-7R for screen-users@gnu.org; Tue, 03 Jun 2008 14:49:34 -0400 Received: from [199.232.76.173] (port=52825 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3bZd-0007W8-Vx for screen-users@gnu.org; Tue, 03 Jun 2008 14:49:34 -0400 Received: from mailhost.u-strasbg.fr ([130.79.200.158]:53994) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3bZd-0005Nd-Nf for screen-users@gnu.org; Tue, 03 Jun 2008 14:49:34 -0400 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id m53InU1B088637 for ; Tue, 3 Jun 2008 20:49:30 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402::141]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id m53InU0l063228 for ; Tue, 3 Jun 2008 20:49:30 +0200 (CEST) Received: from hyperion.u-strasbg.fr (hyperion.u-strasbg.fr [130.79.37.130]) by mailserver.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id m53InUTV002665 for ; Tue, 3 Jun 2008 20:49:30 +0200 (CEST) Received: by hyperion.u-strasbg.fr (Postfix, from userid 1000) id 0BF0EC61B9; Tue, 3 Jun 2008 20:50:29 +0200 (CEST) Date: Tue, 3 Jun 2008 20:50:29 +0200 From: Marc Chantreux To: screen-users@gnu.org Message-ID: <20080603185029.GA24047@hyperion.u-strasbg.fr> References: <20080603160210.GB65102@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080603160210.GB65102@sun.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::158]); Tue, 03 Jun 2008 20:49:30 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93/6668/Tue Apr 8 13:57:49 2008 on mr8.u-strasbg.fr X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: "Parallel mode" for GNU 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: , X-List-Received-Date: Tue, 03 Jun 2008 18:49:35 -0000 hi, On Tue, Jun 03, 2008 at 12:02:10PM -0400, Ethan Mallove wrote: > I'm seeking an alternative to the "at" command. well .. do you need more than a shell ? I often launch a command on some servers simply from the prompt: hosts=( {blue,red,white}.example.com ) for h ( $hosts ) ssh $h "echo hello from \`hostname\`" regards -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com From MAILER-DAEMON Fri Jun 06 18:35:50 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4kXG-0005Vw-Dv for mharc-screen-users@gnu.org; Fri, 06 Jun 2008 18:35:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3b5f-0003eR-54 for screen-users@gnu.org; Tue, 03 Jun 2008 14:18:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3b5d-0003e8-QG for screen-users@gnu.org; Tue, 03 Jun 2008 14:18:34 -0400 Received: from [199.232.76.173] (port=42142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3b5d-0003e3-IM for screen-users@gnu.org; Tue, 03 Jun 2008 14:18:33 -0400 Received: from ik-out-1112.google.com ([66.249.90.178]:11669) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3b5d-0000Tq-0S for screen-users@gnu.org; Tue, 03 Jun 2008 14:18:33 -0400 Received: by ik-out-1112.google.com with SMTP id c21so577647ika.2 for ; Tue, 03 Jun 2008 11:18: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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EMJS3MQEUJZAZQLcfUZiC9H4IrfwDLGsBxRsWI7Mqeg=; b=CDKBPcghizPPz7G3fuAI2WqlGsVHch7zDQlDe4WlrjrYYsw+o/hp1neluPxlppaLk4NM0xHy8fszIiNt/IflSGS+3D5tdt3jOpcpt+NvTb5s3GdD55SIouyaUYLTY87a95Vg5Io345NFwz8no6VaqcSj0ZG6ZUnfUjW9o52v7ZY= 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=C1brOL2fBdUtdFSOIIUYTIpuNy6Pcy5Q/s91TRg7f7Tmw8IYK0rr2wUdnPwVdMQh6RltypXwEf21zRMUMBy9c/ip/Mm0no2wNMtaLDWQ49fMvcZqFO5w/FPhXxoBL6JO+V7cSYjIdPHOu3P6ik3YJUlJOlbgxSni+ltwnLqt0og= Received: by 10.125.74.20 with SMTP id b20mr1148644mkl.64.1212517110668; Tue, 03 Jun 2008 11:18:30 -0700 (PDT) Received: by 10.125.97.5 with HTTP; Tue, 3 Jun 2008 11:18:30 -0700 (PDT) Message-ID: <6aa6c0090806031118w4ad9c367gb53044e8175104fa@mail.gmail.com> Date: Tue, 3 Jun 2008 11:18:30 -0700 From: "John Skulski" To: "Erik Falor" , 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: <6aa6c0090805311528s64ee4eaq18d63b460767d0f7@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 06 Jun 2008 18:35:49 -0400 Cc: Subject: Re: ^A / ^E home keys not working 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: , X-List-Received-Date: Tue, 03 Jun 2008 18:18:35 -0000 Thanks for the reply erik, I forgot to mention that I've remapped ^A to ` so that shouldn't be an issue. Also ^U, ^K to kill lines *GENERALLY* work, but not always Thanks though. On Tue, Jun 3, 2008 at 10:21 AM, Erik Falor wrote: > > > On 5/31/08, John Skulski wrote: >> >> Hey, >> >> I love using screen and have some quirks to iron out. >> Relevant info, ssh from Mactop (both macterminal and xterm) with to debian >> screen 4.00.03 >> >> my ^A / ^E to get me to the beginning and end of lines in zsh or bash. In >> vim I have ^C to :noh and that works. I'm not sure what controls this or >> where to look. > > Screen is using ^A as its command > key. You either need to change that to another key sequence that isn't used by bash or zsh (I > find that they don't use the letter O. Iinvoke `screen -e^Oo`, or add the > line "escape ^Oo" to your .screenrc). > > The other, slower, option is to type ^aa. That > will a ctrl-a through to you application. But that's twice as many keystrokes when you want to go to the end of the line. > > >> Also sometimes in vim (7.x) when I scroll some indents are highlighted >> (like /^\t+/) but it's not consistent, blocks are highlighted but not every >> one. ^L fixes it, but I have to do it 70% of times i scroll. >> >> Thanks! >> jsk >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> > > > > -- > Erik Falor > Registered Linux User #445632 http://counter.li.org From MAILER-DAEMON Fri Jun 06 18:36:14 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4kXe-0005jQ-MO for mharc-screen-users@gnu.org; Fri, 06 Jun 2008 18:36:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K43at-0007Yr-9A for screen-users@gnu.org; Wed, 04 Jun 2008 20:44:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K43ar-0007YL-C9 for screen-users@gnu.org; Wed, 04 Jun 2008 20:44:42 -0400 Received: from [199.232.76.173] (port=54755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K43ar-0007YI-2i for screen-users@gnu.org; Wed, 04 Jun 2008 20:44:41 -0400 Received: from pelican.sc3d.org ([216.184.201.86]:3282) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K43aq-0008CP-TJ for screen-users@gnu.org; Wed, 04 Jun 2008 20:44:41 -0400 DKIM-Signature: a=rsa-sha1; t=1212626585; x=1213231385; s=key1024; d=sc3d.org; c=relaxed/relaxed; q=dns; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type; b=BEawkoKqHlEl5fW10VjKg+UAcxh8SPleMEkaf78I0w/LamYh5yC15QRboM5jaXHeq36bGSi8KRI/mdV6e3qpo5pdidqByXaRrY+Gq/Y/072slk7mEuIyx50svfeaAIfCe4ljtk8/gzUO+AuGvzZvQgf04ap1tyzmk/eVs4y0844= Received: from canta.config (78-105-4-25.zone3.bethere.co.uk [78.105.4.25]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id LGW55804 for ; Wed, 04 Jun 2008 20:43:04 -0400 Date: Thu, 5 Jun 2008 01:44:34 +0100 (BST) From: Reuben Thomas X-X-Sender: rrt@canta To: screen-users@gnu.org Message-ID: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Mailman-Approved-At: Fri, 06 Jun 2008 18:36:13 -0400 Subject: screen 4.0.3 not on GNU mirror sites 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: , X-List-Received-Date: Thu, 05 Jun 2008 00:44:43 -0000 While trying to check the changelog of screen I noticed that the latest release, 4.0.3, is not available on ftp.gnu.org (nor, presumably mirrors) and I couldn't find it via Savannah either or, except in source form, anywhere else I looked. -- http://rrt.sc3d.org/ | certain, a. insufficiently analysed From MAILER-DAEMON Fri Jun 06 19:53:49 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4lkj-0000c8-Ih for mharc-screen-users@gnu.org; Fri, 06 Jun 2008 19:53:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4lki-0000bS-Du for screen-users@gnu.org; Fri, 06 Jun 2008 19:53:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4lkg-0000b0-Sk for screen-users@gnu.org; Fri, 06 Jun 2008 19:53:48 -0400 Received: from [199.232.76.173] (port=49870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4lkg-0000ax-QP for screen-users@gnu.org; Fri, 06 Jun 2008 19:53:46 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:62245) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4lkg-0005v2-Db for screen-users@gnu.org; Fri, 06 Jun 2008 19:53:46 -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 63D7A5F0C4; Sat, 7 Jun 2008 01:53:40 +0200 (MEST) Received: (from jnweiger@localhost) by faui40p.informatik.uni-erlangen.de (8.9.3/8.1.6-FAU) id BAA08426; Sat, 7 Jun 2008 01:53:40 +0200 (MEST) Date: Sat, 7 Jun 2008 01:53:39 +0200 From: Juergen Weigert To: Reuben Thomas Message-ID: <20080606235339.GA8168@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: screen 4.0.3 not on GNU mirror sites 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: , X-List-Received-Date: Fri, 06 Jun 2008 23:53:48 -0000 On Jun 05, 08 01:44:34 +0100, Reuben Thomas wrote: > While trying to check the changelog of screen I noticed that the latest > release, 4.0.3, is not available on ftp.gnu.org (nor, presumably mirrors) > and I couldn't find it via Savannah either or, except in source form, > anywhere else I looked. http://lists.gnu.org/archive/html/screen-users/2006-10/msg00028.html points to ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-4.0.3.tar.gz This is our main upstream server, but it appears dead today. I just started a build job on opensuse.org -> screen-4.0.3 should soon appear in http://software.opensuse.org/search?q=screen and http://download.opensuse.org/repositories/home:jnweiger/ cheers, Jw. -- o \ Juergen Weigert unix-software __/ _=======.=======_ | jw@cs.fau.de creator __/ _---|____________\/ \ | 0179/2069677 __/ (____/ /\ (/) | ____________________________/ _/ \_ vim:set sw=2 wm=8 From MAILER-DAEMON Sat Jun 07 13:23:55 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K528w-0004fx-WA for mharc-screen-users@gnu.org; Sat, 07 Jun 2008 13:23:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4uEl-0007Zc-Mm for screen-users@gnu.org; Sat, 07 Jun 2008 04:57:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4uEd-0007Yq-9o for screen-users@gnu.org; Sat, 07 Jun 2008 04:57:20 -0400 Received: from [199.232.76.173] (port=60312 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4uEc-0007YQ-3n for screen-users@gnu.org; Sat, 07 Jun 2008 04:57:14 -0400 Received: from pelican.sc3d.org ([216.184.201.86]:4735) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4uEb-0001Kg-HJ for screen-users@gnu.org; Sat, 07 Jun 2008 04:57:13 -0400 DKIM-Signature: a=rsa-sha1; t=1212829029; x=1213433829; s=key1024; d=sc3d.org; c=relaxed/relaxed; q=dns; h=From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References; b=xsM9+PdLQpOm9p6Yu2CMAFBEuYhSvpFvGc1+zp6Q0o+qSEgislmfMwFRmEFruO2Uj84dK1FWGbCsAeDnJdQO9HnLDXBBZsIyhMBb6rmJfXdFYEtmbrV53OrFgZQQhleLFkTMIu0+thKnI9utNMZoPM/TF07Ba/WJZ1vpyH5OiCs= Received: from canta.config (78-105-4-25.zone3.bethere.co.uk [78.105.4.25]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id NOM93708; Sat, 07 Jun 2008 04:57:08 -0400 Date: Sat, 7 Jun 2008 09:57:05 +0100 (BST) From: Reuben Thomas X-X-Sender: rrt@canta To: Juergen Weigert In-Reply-To: <20080606235339.GA8168@faui40p> Message-ID: References: <20080606235339.GA8168@faui40p> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Mailman-Approved-At: Sat, 07 Jun 2008 13:23:54 -0400 Cc: screen-users@gnu.org Subject: Re: screen 4.0.3 not on GNU mirror sites 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: , X-List-Received-Date: Sat, 07 Jun 2008 08:57:25 -0000 On Sat, 7 Jun 2008, Juergen Weigert wrote: > On Jun 05, 08 01:44:34 +0100, Reuben Thomas wrote: >> While trying to check the changelog of screen I noticed that the latest >> release, 4.0.3, is not available on ftp.gnu.org (nor, presumably mirrors) >> and I couldn't find it via Savannah either or, except in source form, >> anywhere else I looked. > > http://lists.gnu.org/archive/html/screen-users/2006-10/msg00028.html > points to > ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-4.0.3.tar.gz > This is our main upstream server, but it appears dead today. > > I just started a build job on opensuse.org > -> screen-4.0.3 should soon appear in > > http://software.opensuse.org/search?q=screen > and > http://download.opensuse.org/repositories/home:jnweiger/ This is good, but if you're no longer distributing on ftp.gnu.org, it'd be good if the GNU web pages said so and had a pointer to the new distribution site. -- http://rrt.sc3d.org/ | plagiarism, n. the mind burgles From MAILER-DAEMON Sat Jun 07 22:50:20 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K5Az6-0006Pl-GC for mharc-screen-users@gnu.org; Sat, 07 Jun 2008 22:50:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5Az4-0006Ob-Er for screen-users@gnu.org; Sat, 07 Jun 2008 22:50:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5Az2-0006Mr-QD for screen-users@gnu.org; Sat, 07 Jun 2008 22:50:17 -0400 Received: from [199.232.76.173] (port=45455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5Az2-0006Mo-HQ for screen-users@gnu.org; Sat, 07 Jun 2008 22:50:16 -0400 Received: from brmea-mail-2.sun.com ([192.18.98.43]:41047) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5Az1-0005Uh-Lt for screen-users@gnu.org; Sat, 07 Jun 2008 22:50:16 -0400 Received: from dm-east-01.east.sun.com ([129.148.9.192]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m582oCwB020715; Sun, 8 Jun 2008 02:50:12 GMT Received: from sr1-ubur-21.east.sun.com (sr1-ubur-21.East.Sun.COM [129.148.9.175]) by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m582oCoP012386; Sat, 7 Jun 2008 22:50:12 -0400 (EDT) Received: from sr1-ubur-21.east.sun.com (localhost [127.0.0.1]) by sr1-ubur-21.east.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m582oB72012742; Sat, 7 Jun 2008 22:50:11 -0400 (EDT) Received: (from em162155@localhost) by sr1-ubur-21.east.sun.com (8.13.8+Sun/8.13.8/Submit) id m582o9O8012659; Sat, 7 Jun 2008 22:50:09 -0400 (EDT) X-Authentication-Warning: sr1-ubur-21.east.sun.com: em162155 set sender to ethan.mallove@sun.com using -f Date: Sat, 7 Jun 2008 22:50:09 -0400 From: Ethan Mallove To: "Dan Mahoney, System Admin" Message-ID: <20080608025009.GC65102@sun.com> Mail-Followup-To: "Dan Mahoney, System Admin" , screen-users@gnu.org References: <20080603160210.GB65102@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-kernel: by monty-python.gnu.org: Solaris 9 Cc: screen-users@gnu.org Subject: Re: "Parallel mode" for GNU 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: , X-List-Received-Date: Sun, 08 Jun 2008 02:50:18 -0000 On Tue, Jun/03/2008 12:12:43PM, Dan Mahoney, System Admin wrote: > On Tue, 3 Jun 2008, Ethan Mallove wrote: > > Look into a program called "omnitty". Thanks! Interesting program, though I'm having a hard time getting started with it. I type "echo hello" into 8 tagged servers, but do not see the output in the left-hand side of the screen ... The Omnitty documentation is pretty sparse. The below thread points to a number of other programs that I plan to look into, such as "pssh", "dsh", "taktuk", and "dish". Some terminals like "mrxvt" and "konsole" apprently have a "send typed input to all tabs" feature of some kind. http://www.debian-administration.org/articles/551 Regards, Ethan > > -Dan > > >> Hi, >> >> Is there a "parallel mode" of some sort to make Screen copy commands from one >> window into other windows? I'm seeking an alternative to the "at" command. I'm >> basically looking for behavior in Screen that would work similarly to "cconsole" >> (see http://docs.sun.com/app/docs/doc/819-0582/6n30g7ie3?a=view). Something >> like, e.g., >> >> :set parallel mode >> >> Then anything typed in one window would also be copied into all the other Screen >> session windows. >> >> Is there a way? >> >> Thanks, >> Ethan >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> > > -- > > Christ almighty... my EYES! They're melting! > > -Zaren, Efnet #macintosh, in response to: > > www.geocities.com/CollegePark/Classroom/1944 > The WEBSITE DESIGN class that gave my fiancee a D. > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site: http://www.gushi.org > --------------------------- > From MAILER-DAEMON Tue Jun 10 10:41:57 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K652r-0001QZ-Df for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 10:41:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K652p-0001Q7-Us for screen-users@gnu.org; Tue, 10 Jun 2008 10:41:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K652m-0001Pf-Mu for screen-users@gnu.org; Tue, 10 Jun 2008 10:41:54 -0400 Received: from [199.232.76.173] (port=47036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K652m-0001Pc-JE for screen-users@gnu.org; Tue, 10 Jun 2008 10:41:52 -0400 Received: from rv-out-0708.google.com ([209.85.198.244]:62612) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K652m-0003dp-3z for screen-users@gnu.org; Tue, 10 Jun 2008 10:41:52 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3205554rvb.6 for ; Tue, 10 Jun 2008 07:41: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:to :subject:mime-version:content-type; bh=8zqvDoTu5kYMtHYKAf37tOU3fyIEIGRUjOwWNoOInyA=; b=lNRiEzHN6y6/qcO6T2cFMWaGtJCyopSrutZMsbUF0qaMz0lL0Xz+VJr/jQDzLV9P2B FXp6jmTyAAB7pTOjZ4yhe4WelTFU+mSjKnl2r5OKDs8Pu5m1bjWWjRIgIvPHlHQuadai zXyFXVxKWcj2HTle6dMpYtN6E+T5/TM4HxExI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ekOizgAGNPzjt/juuJICu+lAa4GvFmI0bZ7TK23UW5xG9T8n9nI8ramTINA22u+Sz1 0eyNb/EGC5sFZ/4AC6+ONzGQZcwHO6bLYsc8C7FJB7+JC28iIcIlreO7zr3VaL/dR+0O FSQcK7t8lLdPwF/iaa/DAMSP3n7caeKb61AVE= Received: by 10.141.23.7 with SMTP id a7mr3069122rvj.58.1213108910653; Tue, 10 Jun 2008 07:41:50 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Tue, 10 Jun 2008 07:41:50 -0700 (PDT) Message-ID: Date: Tue, 10 Jun 2008 10:41:50 -0400 From: "Andy Harrison" To: "Screen Users" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2560_27949149.1213108910637" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: minor ./configure patch 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: , X-List-Received-Date: Tue, 10 Jun 2008 14:41:56 -0000 ------=_Part_2560_27949149.1213108910637 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline After finding myself struggling to alter the MAXWIN value (without hard-coding it into any header files) and having it successfully change when I compiled screen, I made a small modification to the configure script to make it a little friendlier. This allows you to specify --with-maxwin=50 or whatever number you like. I also attached a modified the rpm spec file which I grabbed from: http://download.opensuse.org/repositories/home:/jnweiger/openSUSE_10.2/src/screen-4.0.3-164.1.src.rpm Not a lot of changes, but it allows you to define some stuff during rpmbuild. # rpmbuild screen.spec --define "MAXWIN 50" --define "NO_SYS_SCREENRC 1" --define "NO_ENABLE_TELNET 1" --define "NO_ENABLE_LOCALE 1" ... would build screen with 50 windows and suppress the creation of a global screenrc file, as well as suppressing the telnet and locale options. -- Andy Harrison public key: 0x67518262 ------=_Part_2560_27949149.1213108910637 Content-Type: text/x-patch; name=screen.configure.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fhal6c7e0 Content-Disposition: attachment; filename=screen.configure.patch ZGlmZiAtTiAtYSAtQiAtYiAtVSAzIHNjcmVlbi1jb25maWd1cmUub2xkL2NvbmZpZ3VyZSBzY3Jl ZW4tY29uZmlndXJlLm5ldy9jb25maWd1cmUKLS0tIHNjcmVlbi1jb25maWd1cmUub2xkL2NvbmZp Z3VyZQkyMDA4LTA2LTEwIDEwOjA3OjQ4LjAwMDAwMDAwMCAtMDQwMAorKysgc2NyZWVuLWNvbmZp Z3VyZS5uZXcvY29uZmlndXJlCTIwMDgtMDYtMTAgMTA6MjQ6NTUuMDAwMDAwMDAwIC0wNDAwCkBA IC0yOTkwLDYgKzI5OTAsMTggQEAKIHNoIGV0Yy90b29sY2hlY2sgMT4mNgogZmkKIAorIyBDaGVj ayB3aGV0aGVyIC0td2l0aC1tYXh3aW4gd2FzIGdpdmVuCitpZiB0ZXN0ICIke3dpdGhfbWF4d2lu K3NldH0iID0gc2V0OyB0aGVuCisgICAgd2l0aHZhbD0iJHdpdGhfbWF4d2luIgorICAgTUFYV0lO PSR7d2l0aHZhbH0KK2ZpOworCWVjaG8gIiRhc19tZTokTElORU5POiByZXN1bHQ6ICR7TUFYV0lO fSIgPiY1CitlY2hvICIke0VDSE9fVH1NQVhXSU4gaXMgJHtNQVhXSU59IgorZWNobyAiJHtFQ0hP X1R9TUFYV0lOIGlzICR7TUFYV0lOfSIgPiY2CisJY2F0ID4+Y29uZmRlZnMuaCA8PF9BQ0VPRgor I2RlZmluZSBNQVhXSU4gJE1BWFdJTgorX0FDRU9GCisKIAogCiBlY2hvICIkYXNfbWU6JExJTkVO TzogY2hlY2tpbmcgaWYgYSBzeXN0ZW0td2lkZSBzb2NrZXQgZGlyIHNob3VsZCBiZSB1c2VkIiA+ JjUK ------=_Part_2560_27949149.1213108910637 Content-Type: text/x-patch; name=screen.spec.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fhal6wvy1 Content-Disposition: attachment; filename=screen.spec.patch ZGlmZiAtTiAtYSAtQiAtYiAtVSAzIHNjcmVlbi5zcGVjLm9sZC9zY3JlZW4uc3BlYyBzY3JlZW4u c3BlYy5uZXcvc2NyZWVuLnNwZWMKLS0tIHNjcmVlbi5zcGVjLm9sZC9zY3JlZW4uc3BlYwkyMDA4 LTA2LTEwIDEwOjAxOjA5LjAwMDAwMDAwMCAtMDQwMAorKysgc2NyZWVuLnNwZWMubmV3L3NjcmVl bi5zcGVjCTIwMDgtMDYtMTAgMDk6NTc6NDkuMDAwMDAwMDAwIC0wNDAwCkBAIC00Myw2ICs0Myw5 IEBACiAgICAgSnVlcmdlbiBXZWlnZXJ0ICAgPGpud2VpZ2VyQGltbWQ0LmluZm9ybWF0aWsudW5p LWVybGFuZ2VuLmRlPgogICAgIE1pY2hhZWwgU2Nocm9lZGVyIDxtbHNjaHJvZUBpbW1kNC5pbmZv cm1hdGlrLnVuaS1lcmxhbmdlbi5kZT4KIAorJWlmICV7IT9NQVhXSU46MX0wCislZGVmaW5lIE1B WFdJTiA0MAorJWVuZGlmCiAlcHJlcAogJXNldHVwCiAlcGF0Y2gKQEAgLTUyLDM3ICs1NSw1MCBA QAogJXBhdGNoNCAtcDEKIAogJWJ1aWxkCi1DRkxBR1M9IiRSUE1fT1BUX0ZMQUdTIiAuL2NvbmZp Z3VyZSAtLXByZWZpeD0vdXNyIC0taW5mb2Rpcj0le19pbmZvZGlyfSBcCitDRkxBR1M9IiRSUE1f T1BUX0ZMQUdTIiAuL2NvbmZpZ3VyZSBcCisgICAgLS1wcmVmaXg9JXtfcHJlZml4fSBcCisgICAg LS1pbmZvZGlyPSV7X2luZm9kaXJ9IFwKIAkJCQktLW1hbmRpcj0le19tYW5kaXJ9IFwKLQkJCQkt LXdpdGgtc29ja2V0LWRpcj0nKGVmZl91aWQgPyAiL3Zhci9ydW4vdXNjcmVlbnMiIDogIi92YXIv cnVuL3NjcmVlbnMiKScgXAotCQkJCS0td2l0aC1zeXMtc2NyZWVucmM9L2V0Yy9zY3JlZW5yYyBc Ci0JCQkJLS13aXRoLXB0eS1ncm91cD01IFwKKyAgICAtLXdpdGgtc29ja2V0LWRpcj0nKGVmZl91 aWQgPyAiJXtfdmFyfS9ydW4vdXNjcmVlbnMiIDogIiV7X3Zhcn0vcnVuL3NjcmVlbnMiKScgXAor JWlmICV7IT9OT19TWVNfU0NSRUVOUkM6MX0wCisgICAgLS13aXRoLXN5cy1zY3JlZW5yYz0le19z eXNjb25mZGlyfS9zY3JlZW5yYyBcCislZW5kaWYKKyVpZiAleyE/Tk9fRU5BQkxFX0xPQ0FMRTox fTAKIAkJCQktLWVuYWJsZS1sb2NhbGUgXAorJWVuZGlmCislaWYgJXshP05PX0VOQUJMRV9URUxO RVQ6MX0wCiAJCQkJLS1lbmFibGUtdGVsbmV0IFwKKyVlbmRpZgorICAgIC0td2l0aC1wdHktZ3Jv dXA9NSBcCisgICAgLS13aXRoLW1heHdpbj0le01BWFdJTn0gXAogCQkJCS0tZW5hYmxlLWNvbG9y czI1NiBcCiAJCQkJLS12ZXJib3NlCiBtYWtlCiAKICVpbnN0YWxsCi1tYWtlIGluc3RhbGwgREVT VERJUj0kUlBNX0JVSUxEX1JPT1QKLXJtIC1mICRSUE1fQlVJTERfUk9PVC91c3IvYmluL3NjcmVl bgotbXYgJFJQTV9CVUlMRF9ST09UL3Vzci9iaW4vc2NyZWVuLSV2ZXJzaW9uICRSUE1fQlVJTERf Uk9PVC91c3IvYmluL3NjcmVlbgotY2htb2QgNzU1ICRSUE1fQlVJTERfUk9PVC91c3IvYmluL3Nj cmVlbgotbWtkaXIgLXAgJFJQTV9CVUlMRF9ST09UL2V0YwotbWtkaXIgLXAgJFJQTV9CVUlMRF9S T09UL3Zhci9ydW4vc2NyZWVucwotY2htb2QgNzU1ICRSUE1fQlVJTERfUk9PVC92YXIvcnVuL3Nj cmVlbnMKLW1rZGlyIC1wICRSUE1fQlVJTERfUk9PVC92YXIvcnVuL3VzY3JlZW5zCi1jaG1vZCAx Nzc3ICRSUE1fQlVJTERfUk9PVC92YXIvcnVuL3VzY3JlZW5zCi1pbnN0YWxsIC1tIDY0NCBzY3Jl ZW5yYyAkUlBNX0JVSUxEX1JPT1QvZXRjL3NjcmVlbnJjCittYWtlIGluc3RhbGwgREVTVERJUj0k e1JQTV9CVUlMRF9ST09UfQorcm0gLWYgJHtSUE1fQlVJTERfUk9PVH0vJXtfYmluZGlyfS9zY3Jl ZW4KK212ICR7UlBNX0JVSUxEX1JPT1R9LyV7X2JpbmRpcn0vc2NyZWVuLSV2ZXJzaW9uICR7UlBN X0JVSUxEX1JPT1R9LyV7X2JpbmRpcn0vc2NyZWVuCitjaG1vZCA3NTUgJHtSUE1fQlVJTERfUk9P VH0vJXtfYmluZGlyfS9zY3JlZW4KK21rZGlyIC1wICR7UlBNX0JVSUxEX1JPT1R9LyV7X3N5c2Nv bmZkaXJ9Citta2RpciAtcCAke1JQTV9CVUlMRF9ST09UfS8le192YXJ9L3J1bi9zY3JlZW5zCitj aG1vZCA3NTUgJHtSUE1fQlVJTERfUk9PVH0vJXtfdmFyfS9ydW4vc2NyZWVucworbWtkaXIgLXAg JHtSUE1fQlVJTERfUk9PVH0vJXtfdmFyfS9ydW4vdXNjcmVlbnMKK2NobW9kIDE3NzcgJHtSUE1f QlVJTERfUk9PVH0vJXtfdmFyfS9ydW4vdXNjcmVlbnMKKyVpZiAleyE/Tk9fU1lTX1NDUkVFTlJD OjF9MAoraW5zdGFsbCAtbSA2NDQgc2NyZWVucmMgJHtSUE1fQlVJTERfUk9PVH0vJXtfc3lzY29u ZmRpcn0vc2NyZWVucmMKKyVlbmRpZgogCiAlZmlsZXMKICVkZWZhdHRyKC0scm9vdCxyb290KQot JWNvbmZpZyAvZXRjL3NjcmVlbnJjCi0lYXR0cig1NTUscm9vdCxyb290KSAvdXNyL2Jpbi9zY3Jl ZW4KLSVkaXIgL3Vzci9zaGFyZS9zY3JlZW4KLS91c3Ivc2hhcmUvc2NyZWVuL3V0ZjhlbmNvZGlu Z3MKLSVkaXIgL3Zhci9ydW4vc2NyZWVucwotJWRpciAvdmFyL3J1bi91c2NyZWVucworJWlmICV7 IT9OT19TWVNfU0NSRUVOUkM6MX0wCislY29uZmlnICV7X3N5c2NvbmZkaXJ9L3NjcmVlbnJjCisl ZW5kaWYKKyVhdHRyKDU1NSxyb290LHJvb3QpICV7X2JpbmRpcn0vc2NyZWVuCislZGlyICV7X2Rh dGFkaXJ9L3NjcmVlbgorJXtfZGF0YWRpcn0vc2NyZWVuL3V0ZjhlbmNvZGluZ3MKKyVkaXIgJXtf dmFyfS9ydW4vc2NyZWVucworJWRpciAle192YXJ9L3J1bi91c2NyZWVucwogJWRvYyAle19pbmZv ZGlyfS9zY3JlZW4uaW5mbyouZ3oKICVkb2MgJXtfbWFuZGlyfS9tYW4xL3NjcmVlbi4xLmd6CiAK ------=_Part_2560_27949149.1213108910637-- From MAILER-DAEMON Tue Jun 10 12:01:20 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K66Hf-0006U4-W0 for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 12:01:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K66Hd-0006Tn-Du for screen-users@gnu.org; Tue, 10 Jun 2008 12:01:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K66Hc-0006TK-Ac for screen-users@gnu.org; Tue, 10 Jun 2008 12:01:16 -0400 Received: from [199.232.76.173] (port=50237 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K66Hc-0006TA-3g for screen-users@gnu.org; Tue, 10 Jun 2008 12:01:16 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:51740) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K66Ha-0003J9-CM for screen-users@gnu.org; Tue, 10 Jun 2008 12:01:14 -0400 Received: from [10.0.0.5] (adsl-75-63-18-81.dsl.pltn13.sbcglobal.net [75.63.18.81]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 373963C8A93E; Tue, 10 Jun 2008 09:00:23 -0700 (PDT) Message-ID: <484EA50E.70501@cowan.name> Date: Tue, 10 Jun 2008 09:00:14 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Andy Harrison 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: minor ./configure patch 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: , X-List-Received-Date: Tue, 10 Jun 2008 16:01:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Harrison wrote: > After finding myself struggling to alter the MAXWIN value (without > hard-coding it into any header files) and having it successfully > change when I compiled screen, I made a small modification to the > configure script to make it a little friendlier. This allows you to > specify --with-maxwin=50 or whatever number you like. > > I also attached a modified the rpm spec file which I grabbed from: > http://download.opensuse.org/repositories/home:/jnweiger/openSUSE_10.2/src/screen-4.0.3-164.1.src.rpm Hi Andy, You should never directly modify "configure" scripts--they are generated files. Instead, you should modify the configure.in (in this case) or configure.ac, from which the configure script is generated. I'm thinking that this sort of thing would go better on the screen development list, but I can't tell whether screen is being actively maintained: the most recent changes in CVS appear to be 16 months old, and I haven't seen any official responses to patch submissions. I don't think the GNU developers can do anything much with a spec file; I'd submit your changes to the SuSE and Red Hat developers. - -- 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 iD8DBQFITqUO7M8hyUobTrERAp8pAJ9zQooXhaFxdvdgWJdEDbbuJib1qACfe9Bn GbnhLPMH60yzv8MvQtrBhq8= =xidl -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Jun 10 21:26:25 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6F6X-0007ID-1d for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 21:26:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5y8e-00033n-Ce for screen-users@gnu.org; Tue, 10 Jun 2008 03:19:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5y8M-0002l1-Hn for screen-users@gnu.org; Tue, 10 Jun 2008 03:19:28 -0400 Received: from [199.232.76.173] (port=50327 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5y8M-0002kZ-7F for screen-users@gnu.org; Tue, 10 Jun 2008 03:19:10 -0400 Received: from [61.129.42.10] (port=20902 helo=mail.fudan.edu.cn) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5y8L-0005kd-MT for screen-users@gnu.org; Tue, 10 Jun 2008 03:19:10 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from localhost ([61.129.42.97]) by mail.fudan.edu.cn (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K28000RWK5LXL10@mail.fudan.edu.cn> for screen-users@gnu.org; Tue, 10 Jun 2008 15:15:22 +0800 (CST) Date: Tue, 10 Jun 2008 15:17:27 +0800 From: Can-Hua Chen To: Can-Hua Chen Message-id: <20080610071727.GA11791@VPNtest> Mail-followup-to: Can-Hua Chen , screen-users@gnu.org, "Goran K." References: <20080605063831.GA5502@VPNtest> In-reply-to: <20080605063831.GA5502@VPNtest> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) X-Mailman-Approved-At: Tue, 10 Jun 2008 21:26:23 -0400 Cc: "Goran K." , screen-users@gnu.org Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Tue, 10 Jun 2008 07:19:28 -0000 Today I find that my problem is probably related to the LC_CTYPE that I set as zh_CN.UTF-8. When I set it as "C", the aptitude and mutt doesn't show messed or corupted display any more. Now I am still wondering how to have GNU Screen work well with mutt and aptitude or any program using termcap/info under LC_CTPE=zh_CN.UTF-8. Hope someone could help me. Thank you. On Thu, Jun 05, 2008 at 02:38:31PM +0800, Can-Hua Chen wrote: > I am using GNU Screen within gnome-terminal on > a lenny box. And mutt and aptitude are messed up in > within Screen. I suppose it is due to a wrong $TERMCAP, > so I try using termcap/info commands in ~/.screenrc to > change $TERMCAP. However those termcap/info commands > in .screenrc just don't change $TERMCAP at all. > I try termcap and terminfo and even termcapinfo commands, > none of them works. > > Below is the $TERMCAP after I go into Screen without and with > termcap/info commands: > SC|screen|VT 100/ANSI X3.64 virtual terminal:\ > :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ > :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ > :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ > :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ > :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ > :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ > :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ > :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ > :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ > :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ > :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ > :vb=\Eg:G0:as=\E(0:ae=\E(B:\ > :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ > :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:\ > :k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ > :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\EO2P:\ > :F4=\EO2Q:F5=\EO2R:F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:\ > :F9=\E[18;2~:FA=\E[19;2~:kb=:K2=\EOE:kB=\E[Z:\ > :*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:\ > :%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:\ > :kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:\ > :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km: > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org From MAILER-DAEMON Tue Jun 10 21:26:26 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6F6X-0007IX-DM for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 21:26:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K66Xv-0005EA-40 for screen-users@gnu.org; Tue, 10 Jun 2008 12:18:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K66Xt-0005Cy-JJ for screen-users@gnu.org; Tue, 10 Jun 2008 12:18:06 -0400 Received: from [199.232.76.173] (port=54576 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K66Xt-0005Cm-A9 for screen-users@gnu.org; Tue, 10 Jun 2008 12:18:05 -0400 Received: from hu-out-0506.google.com ([72.14.214.234]:49822) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K66Xs-0006Ek-Qs for screen-users@gnu.org; Tue, 10 Jun 2008 12:18:05 -0400 Received: by hu-out-0506.google.com with SMTP id 34so4454603hud.1 for ; Tue, 10 Jun 2008 09:18: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:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=+9feXJtdaXx62V6J1O9lTHlyxkExLhQsYJETu0711N0=; b=ozFlffu7xrfdzGDbXMtYRo9QESlmmw8i+O5knHhAN5CU73SoMso8NqjVE2OirzOvV+ brC5zcHkwRCHrbcZrRTr3odPexbHx4aWy6FCWUFE2YhETUbOihG6tzkm4CI9iY6gHuoq NUXmzOfYlBdl+kJcsidbgd5sAlhxIh978HmYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=BOzkCJASZ1NY8uu/nB4PXRtZqP/WQ8a+Da4YvhPhQwOZjfZifOUoKOdniIlxoigFfn dTg4d9z8aHYjxhoY5n5dwfA4U769n6ACg8Tin2yKW5m8xuzsQeII3K9bJqoBJMS29riR wIB8VPcXjrxbgAsVUQHJcitH/VG8v8iZE892g= Received: by 10.82.177.3 with SMTP id z3mr344702bue.21.1213114683630; Tue, 10 Jun 2008 09:18:03 -0700 (PDT) Received: by 10.82.105.14 with HTTP; Tue, 10 Jun 2008 09:18:03 -0700 (PDT) Message-ID: Date: Tue, 10 Jun 2008 09:18:03 -0700 From: "Greg Novak" Sender: greg.novak@gmail.com 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-Google-Sender-Auth: 4bf693f7f777e7e2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 10 Jun 2008 21:26:23 -0400 Subject: Re: Redirection of Standard Input? 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: , X-List-Received-Date: Tue, 10 Jun 2008 16:18:07 -0000 I have a long-running daemon process that I start with screen so that I can occasionally connect to and converse with it. However, I'd also occasionally like to converse with the server process via shell scripts. I'd like to do something like this: echo "some commands" | screen -r my_server_process That is, I want screen to connect and then allow the text "some commands" to tumble down the server process's stdin exactly as if I'd typed it with my fingers. Then screen should disconnect and leave the server process be. I don't care what happens to stdout---it can be connected to /dev/null. However, I would like the input and output to show up in the log file. I realize that screen expects to have an interactive user at one end of its connection, and therefore I'm in some sense misusing the program. I'm accustomed to using detachtty (http://www.cliki.net/detachtty) for this, which does allow the above use case. However, I've had trouble getting detachtty to work on OS X 10.4 or 10.5 on PPC machines. Thanks for any suggestions, Greg From MAILER-DAEMON Tue Jun 10 21:52:12 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6FVT-000074-QT for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 21:52:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6FVR-00006h-Gx for screen-users@gnu.org; Tue, 10 Jun 2008 21:52:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6FVQ-00006U-W4 for screen-users@gnu.org; Tue, 10 Jun 2008 21:52:09 -0400 Received: from [199.232.76.173] (port=48299 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6FVQ-00006R-Qk for screen-users@gnu.org; Tue, 10 Jun 2008 21:52:08 -0400 Received: from yw-out-1718.google.com ([74.125.46.154]:48272) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6FVQ-00020H-OX for screen-users@gnu.org; Tue, 10 Jun 2008 21:52:08 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1657707ywk.66 for ; Tue, 10 Jun 2008 18:52: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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GhwHWhLPym/C9MjExNw2Wt1DWnDl8TiHpGSLUPgNGJM=; b=Dx13bYE1nrHjHy4Q/Mnbl/PVmFYcgm/xqhL0qjG3t3Id3kLy8l/vxNuof3zyrFBbP3 h7TF5mzYB8IGl1u/APFIXDs5agmWfFud2mNIKXbH50zfx2iVi9A3lOreYzlDCL5tXsR4 BWo/jde0/RxgbAVHpgeX3pUsv1ACmLCfU1f/Q= 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=ihtpPjc31D6fM3hhk6fX14fifjyriofvJab+4z142ebCWo32Jm2/u3HICjMOdZ+lHE vXWRfanFD+N4r4HY09Yg9vB9jEC08JPoRdZtpEfpPDbB5CLbZK+NOq3MxHZRpeDKJKjT MoGclgGo4QQ1XyGJUwlRLnTAxcPAWDfXsV6pE= Received: by 10.151.44.15 with SMTP id w15mr9526125ybj.209.1213149125351; Tue, 10 Jun 2008 18:52:05 -0700 (PDT) Received: by 10.151.45.19 with HTTP; Tue, 10 Jun 2008 18:52:05 -0700 (PDT) Message-ID: <91d4ce220806101852h39310ddeu24fca459397e72c0@mail.gmail.com> Date: Wed, 11 Jun 2008 09:52:05 +0800 From: "Jean Jordaan" To: screen-users@gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Redirection of Standard Input? 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: , X-List-Received-Date: Wed, 11 Jun 2008 01:52:09 -0000 Hi Greg > I realize that screen expects to have an interactive user at one end > of its connection, and therefore I'm in some sense misusing the > program. Well, not if you use 'screen -X'. Maybe the 'stuff' command helps: stuff string Stuff the string string in the input buffer of the current window. This is like the "paste" command but with much less overhead. You can‐ not paste large buffers with the "stuff" command. It is most useful for key bindings. See also "bindkey". -- jean . .. .... //\\\oo///\\ From MAILER-DAEMON Tue Jun 10 22:42:57 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6GIb-0000kU-GT for mharc-screen-users@gnu.org; Tue, 10 Jun 2008 22:42:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6GIa-0000iR-8r for screen-users@gnu.org; Tue, 10 Jun 2008 22:42:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6GIY-0000eK-GV for screen-users@gnu.org; Tue, 10 Jun 2008 22:42:55 -0400 Received: from [199.232.76.173] (port=49707 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6GIY-0000e6-7j for screen-users@gnu.org; Tue, 10 Jun 2008 22:42:54 -0400 Received: from rv-out-0708.google.com ([209.85.198.246]:19959) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6GIY-0007C9-7H for screen-users@gnu.org; Tue, 10 Jun 2008 22:42:54 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3509650rvb.6 for ; Tue, 10 Jun 2008 19:42: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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3FEbntYWZ8GSTT5xEo8SHuz7VkmxtvQ6G2vUk1gERSM=; b=BRgoAAVDm9YqWk/sZwv9Ep+mQavLLAT3CWMcbPKVbFS5glBf42sAmCjEWC//eGJ2/X j7L8XPUTJmfr2+3iPfLK2XMLbaCrNzsmZdhLWCrIbYwmJHYXGMlSIb+UzTMxL+9XP5j1 slAsKD+AYfCvixozY/bTjHJnwNsP17MebIQc0= 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=CbivV9BGZxY1qrCL/aHyco4uC3KUr6czZaaO3NVAYIXyWHGMZEY6M9VaN0KPIdP4r+ r5RAXPRIrCevqWJ4W1yztyIzh+wa1lAMsm0Y9+2DmXZ3b+KWUtX5kV2cmv8dfUBOYGDD kLDtc5fAt1w+zXERSmIyCxFtydoO4jQhK1GVg= Received: by 10.141.172.6 with SMTP id z6mr3523727rvo.112.1213152172123; Tue, 10 Jun 2008 19:42:52 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Tue, 10 Jun 2008 19:42:52 -0700 (PDT) Message-ID: Date: Tue, 10 Jun 2008 22:42:52 -0400 From: "Andy Harrison" To: screen-users@gnu.org In-Reply-To: <20080610071727.GA11791@VPNtest> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Wed, 11 Jun 2008 02:42:56 -0000 On Tue, Jun 10, 2008 at 3:17 AM, Can-Hua Chen wrote: > Today I find that my problem is probably related > to the LC_CTYPE that I set as zh_CN.UTF-8. > When I set it as "C", the aptitude and mutt doesn't > show messed or corupted display any more. > > Now I am still wondering how to have GNU Screen > work well with mutt and aptitude or any program > using termcap/info under LC_CTPE=zh_CN.UTF-8. > > Hope someone could help me. Thank you. The vast majority of my problems with screen and termcap issues went away when I finally put this into my .tcshrc file... if ($term == "screen") then unsetenv TERMCAP endif Reproduce that in your preferred shell and see if that helps. -- Andy Harrison public key: 0x67518262 From MAILER-DAEMON Wed Jun 11 04:39:06 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6LrG-0004Xj-Aa for mharc-screen-users@gnu.org; Wed, 11 Jun 2008 04:39:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6LrB-0004Ve-Lb for screen-users@gnu.org; Wed, 11 Jun 2008 04:39:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6Lr1-0004T2-E5 for screen-users@gnu.org; Wed, 11 Jun 2008 04:39:00 -0400 Received: from [199.232.76.173] (port=34592 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6Lqz-0004Sp-3t for screen-users@gnu.org; Wed, 11 Jun 2008 04:38:49 -0400 Received: from [61.129.42.10] (port=38747 helo=mail.fudan.edu.cn) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6Lqx-0007QN-EW for screen-users@gnu.org; Wed, 11 Jun 2008 04:38:48 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from localhost ([61.129.42.97]) by mail.fudan.edu.cn (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K2A001JM7ELUZA0@mail.fudan.edu.cn> for screen-users@gnu.org; Wed, 11 Jun 2008 12:35:09 +0800 (CST) Date: Wed, 11 Jun 2008 12:37:15 +0800 From: Canhua Chen To: screen-users@gnu.org Message-id: <20080611043715.GA15541@VPNtest> Mail-followup-to: screen-users@gnu.org References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> In-reply-to: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Wed, 11 Jun 2008 08:39:03 -0000 On Tue, Jun 10, 2008 at 10:42:52PM -0400, Andy Harrison wrote: > On Tue, Jun 10, 2008 at 3:17 AM, Can-Hua Chen wrote: > > Today I find that my problem is probably related > > to the LC_CTYPE that I set as zh_CN.UTF-8. > > When I set it as "C", the aptitude and mutt doesn't > > show messed or corupted display any more. > > > > Now I am still wondering how to have GNU Screen > > work well with mutt and aptitude or any program > > using termcap/info under LC_CTPE=zh_CN.UTF-8. > > > > Hope someone could help me. Thank you. > > The vast majority of my problems with screen and termcap issues went > away when I finally put this into my .tcshrc file... > > > if ($term == "screen") then > unsetenv TERMCAP > endif > > Reproduce that in your preferred shell and see if that helps. I tried, and failed ;( > > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users From MAILER-DAEMON Wed Jun 11 09:27:13 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6QM5-0005V1-E3 for mharc-screen-users@gnu.org; Wed, 11 Jun 2008 09:27:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6QM3-0005U8-4d for screen-users@gnu.org; Wed, 11 Jun 2008 09:27:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6QM1-0005TA-46 for screen-users@gnu.org; Wed, 11 Jun 2008 09:27:10 -0400 Received: from [199.232.76.173] (port=42704 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6QM0-0005Rz-SH for screen-users@gnu.org; Wed, 11 Jun 2008 09:27:08 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:33860) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6QLx-0007Ky-0z for screen-users@gnu.org; Wed, 11 Jun 2008 09:27:05 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3753481rvb.6 for ; Wed, 11 Jun 2008 06:27: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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SBNtDwc067AgLwAN7vDpAbFnpVJrsROAkCbY7b9z+oU=; b=r3Kbe7HHsNqQq31n3z+0YAgljC4Dpy0QlGzdmAtvjHJZQiEdJuYw+EwTKAj/M0d4wb Y35qAHGXq3ZWbbXrGzp4KMBxkFHOAxF9RI4YoLITO5cF778HTrSvnEn2qt1W8pJKmKpe DQr5I2vIuM8UTHxZm2DVDeIoo6TC31FjO40Sw= 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=tTz97oIF8Vf+5CbgieHsLjWUaTFieFcCUJrbXpt9+geEmuM2jXIRsXs0XH2LiJD465 Gf1lOoovNmu0V0qOQVpRUlMJyvbYFd7EDeP7ONOymPObM6VlzcrcBUhiHXjH7OFlP6U/ OIFtsx8x6HwW8kO/VkK05X8GyqQFrxLmzUF0w= Received: by 10.140.131.11 with SMTP id e11mr3827715rvd.234.1213190824716; Wed, 11 Jun 2008 06:27:04 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Wed, 11 Jun 2008 06:27:04 -0700 (PDT) Message-ID: Date: Wed, 11 Jun 2008 09:27:04 -0400 From: "Andy Harrison" To: screen-users@gnu.org In-Reply-To: <20080611043715.GA15541@VPNtest> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> <20080611043715.GA15541@VPNtest> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Wed, 11 Jun 2008 13:27:11 -0000 On Wed, Jun 11, 2008 at 12:37 AM, Canhua Chen wrote: > On Tue, Jun 10, 2008 at 10:42:52PM -0400, Andy Harrison wrote: >> On Tue, Jun 10, 2008 at 3:17 AM, Can-Hua Chen wrote: >> > Today I find that my problem is probably related >> > to the LC_CTYPE that I set as zh_CN.UTF-8. >> > When I set it as "C", the aptitude and mutt doesn't >> > show messed or corupted display any more. >> > >> > Now I am still wondering how to have GNU Screen >> > work well with mutt and aptitude or any program >> > using termcap/info under LC_CTPE=zh_CN.UTF-8. >> > >> > Hope someone could help me. Thank you. >> >> The vast majority of my problems with screen and termcap issues went >> away when I finally put this into my .tcshrc file... >> >> >> if ($term == "screen") then >> unsetenv TERMCAP >> endif >> >> Reproduce that in your preferred shell and see if that helps. > I tried, and failed ;( >> >> >> _______________________________________________ >> 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 > Bummer. Well, obviously you're running *ubuntu since you mention aptitute. Can you post some more about your screen version and environment info? # printenv | sort -- Andy Harrison public key: 0x67518262 From MAILER-DAEMON Wed Jun 11 20:57:47 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6b8N-0007vX-3E for mharc-screen-users@gnu.org; Wed, 11 Jun 2008 20:57:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6b8L-0007to-I8 for screen-users@gnu.org; Wed, 11 Jun 2008 20:57:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6b89-0007i8-U1 for screen-users@gnu.org; Wed, 11 Jun 2008 20:57:44 -0400 Received: from [199.232.76.173] (port=48271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6b89-0007i1-MA for screen-users@gnu.org; Wed, 11 Jun 2008 20:57:33 -0400 Received: from [61.129.42.10] (port=64216 helo=mail.fudan.edu.cn) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6b88-0000HK-JL for screen-users@gnu.org; Wed, 11 Jun 2008 20:57:33 -0400 MIME-version: 1.0 Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from localhost ([61.129.42.97]) by mail.fudan.edu.cn (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K2B004SNRV2N9F0@mail.fudan.edu.cn> for screen-users@gnu.org; Thu, 12 Jun 2008 08:54:38 +0800 (CST) Date: Thu, 12 Jun 2008 08:56:44 +0800 From: Canhua Chen To: screen-users@gnu.org Message-id: <20080612005644.GA19963@VPNtest> Mail-followup-to: screen-users@gnu.org References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> <20080611043715.GA15541@VPNtest> Content-transfer-encoding: quoted-printable In-reply-to: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Thu, 12 Jun 2008 00:57:45 -0000 On Wed, Jun 11, 2008 at 09:27:04AM -0400, Andy Harrison wrote: > On Wed, Jun 11, 2008 at 12:37 AM, Canhua Chen w= rote: > > On Tue, Jun 10, 2008 at 10:42:52PM -0400, Andy Harrison wrote: > >> On Tue, Jun 10, 2008 at 3:17 AM, Can-Hua Chen wrote: > >> > Today I find that my problem is probably related > >> > to the LC_CTYPE that I set as zh_CN.UTF-8. > >> > When I set it as "C", the aptitude and mutt doesn't > >> > show messed or corupted display any more. > >> > > >> > Now I am still wondering how to have GNU Screen > >> > work well with mutt and aptitude or any program > >> > using termcap/info under LC_CTPE=3Dzh_CN.UTF-8. > >> > > >> > Hope someone could help me. Thank you. > >> > >> The vast majority of my problems with screen and termcap issues went > >> away when I finally put this into my .tcshrc file... > >> > >> > >> if ($term =3D=3D "screen") then > >> unsetenv TERMCAP > >> endif > >> > >> Reproduce that in your preferred shell and see if that helps. > > I tried, and failed ;( > >> > >> > Bummer. Well, obviously you're running *ubuntu since you mention > aptitute. Can you post some more about your screen version and > environment info? >=20 > # printenv | sort well, I use Debian lenny instead of ubuntu. printenv: SSH_AGENT_PID=3D2436 SHELL=3D/bin/bash TERM=3Dscreen WINDOWID=3D16777270 HUSHLOGIN=3DFALSE USER=3Dlestat LS_COLORS=3Dno=3D00:fi=3D00:di=3D01;34:ln=3D01;36:pi=3D40;33:so=3D01;35:do= =3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:su=3D37;41:sg=3D30;43:tw= =3D30;42:ow=3D34;42:st=3D37;44:ex=3D01;32:*.tar=3D01;31:*.tgz=3D01;31:*.svg= z=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31:*.lzma=3D01;31:*.zip=3D= 01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D01;31:*.bz2=3D01;31:*.bz= =3D01;31:*.tbz2=3D01;31:*.tz=3D01;31:*.deb=3D01;31:*.rpm=3D01;31:*.jar=3D01= ;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*.cpio=3D01;31:*.7z=3D01;31:*= =2Erz=3D01;31:*.jpg=3D01;35:*.jpeg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pb= m=3D01;35:*.pgm=3D01;35:*.ppm=3D01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D0= 1;35:*.tif=3D01;35:*.tiff=3D01;35:*.png=3D01;35:*.svg=3D01;35:*.mng=3D01;35= :*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35:*.mpeg=3D01;35:*.m2v=3D01;35:*.m= kv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*.m4v=3D01;35:*.mp4v=3D01;35:*.vob= =3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;3= 5:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=3D01;35:*.fli=3D01;35:*.gl=3D01;35:*.d= l=3D01;35:*.xcf=3D01;35:*.xwd=3D01;35:*.yuv=3D01;35:*.aac=3D00;36:*.au=3D00= ;36:*.flac=3D00;36:*.mid=3D00;36:*.midi=3D00;36:*.mka=3D00;36:*.mp3=3D00;36= :*.mpc=3D00;36:*.ogg=3D00;36:*.ra=3D00;36:*.wav=3D00;36: SSH_AUTH_SOCK=3D/tmp/ssh-XtoCyE2413/agent.2413 TERMCAP=3DSC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=3D\E[%dB:LE=3D\E[%dD:RI=3D\E[%dC:UP=3D\E[%dA:bs:bt=3D\E[Z:\ :cd=3D\E[J:ce=3D\E[K:cl=3D\E[H\E[J:cm=3D\E[%i%d;%dH:ct=3D\E[3g:\ :do=3D^J:nd=3D\E[C:pt:rc=3D\E8:rs=3D\Ec:sc=3D\E7:st=3D\EH:up=3D\EM:\ :le=3D^H:bl=3D^G:cr=3D^M:it#8:ho=3D\E[H:nw=3D\EE:ta=3D^I:is=3D\E)0:\ :li#24:co#80:am:xn:xv:LP:sr=3D\EM:al=3D\E[L:AL=3D\E[%dL:\ :cs=3D\E[%i%d;%dr:dl=3D\E[M:DL=3D\E[%dM:dc=3D\E[P:DC=3D\E[%dP:\ :im=3D\E[4h:ei=3D\E[4l:mi:IC=3D\E[%d@:ks=3D\E[?1h\E=3D:\ :ke=3D\E[?1l\E>:vi=3D\E[?25l:ve=3D\E[34h\E[?25h:vs=3D\E[34l:\ :ti=3D\E[?1049h:te=3D\E[?1049l:us=3D\E[4m:ue=3D\E[24m:so=3D\E[3m:\ :se=3D\E[23m:mb=3D\E[5m:md=3D\E[1m:mr=3D\E[7m:me=3D\E[m:ms:\ :Co#8:pa#64:AF=3D\E[3%dm:AB=3D\E[4%dm:op=3D\E[39;49m:AX:\ :vb=3D\Eg:G0:as=3D\E(0:ae=3D\E(B:\ :ac=3D\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII= 00:\ :po=3D\E[5i:pf=3D\E[4i:k0=3D\E[10~:k1=3D\EOP:k2=3D\EOQ:k3=3D\EOR:\ :k4=3D\EOS:k5=3D\E[15~:k6=3D\E[17~:k7=3D\E[18~:k8=3D\E[19~:\ :k9=3D\E[20~:k;=3D\E[21~:F1=3D\E[23~:F2=3D\E[24~:F3=3D\EO2P:\ :F4=3D\EO2Q:F5=3D\EO2R:F6=3D\EO2S:F7=3D\E[15;2~:F8=3D\E[17;2~:\ :F9=3D\E[18;2~:FA=3D\E[19;2~:kb=3D=7F:K2=3D\EOE:kB=3D\E[Z:\ :*4=3D\E[3;2~:*7=3D\E[1;2F:#2=3D\E[1;2H:#3=3D\E[2;2~:#4=3D\E[1;2D:\ :%c=3D\E[6;2~:%e=3D\E[5;2~:%i=3D\E[1;2C:kh=3D\E[1~:@1=3D\E[1~:\ :kH=3D\E[4~:@7=3D\E[4~:kN=3D\E[6~:kP=3D\E[5~:kI=3D\E[2~:kD=3D\E[3~:\ :ku=3D\EOA:kd=3D\EOB:kr=3D\EOC:kl=3D\EOD:km: PATH=3D/home/lestat/bin:/usr/local/bin:/usr/bin:/bin:/usr/games MAIL=3D/var/mail/lestat STY=3D2463.pts-0.comex PWD=3D/home/lestat XMODIFIERS=3D@im=3Dfcitx LANG=3DC HISTCONTROL=3Dignoredups HOME=3D/home/lestat SHLVL=3D4 LANGUAGE=3D LOGNAME=3Dlestat WINDOW=3D1 DBUS_SESSION_BUS_ADDRESS=3Dunix:abstract=3D/tmp/dbus-FwBTGbiDVw,guid=3D7e70= 9bf707873459b8667c0e48506906 LC_CTYPE=3Dzh_CN.UTF-8 LESSOPEN=3D| /usr/bin/lesspipe %s WINDOWPATH=3D7 DISPLAY=3D:0.0 LESSCLOSE=3D/usr/bin/lesspipe %s %s COLORTERM=3Dgnome-terminal XAUTHORITY=3D/home/lestat/.Xauthority From MAILER-DAEMON Wed Jun 11 22:01:24 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6c7w-0004gl-0Q for mharc-screen-users@gnu.org; Wed, 11 Jun 2008 22:01:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6c7v-0004fI-5A for screen-users@gnu.org; Wed, 11 Jun 2008 22:01:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6c7h-0004RC-6x for screen-users@gnu.org; Wed, 11 Jun 2008 22:01:22 -0400 Received: from [199.232.76.173] (port=46363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6c7h-0004R9-3i for screen-users@gnu.org; Wed, 11 Jun 2008 22:01:09 -0400 Received: from [61.129.42.10] (port=7649 helo=mail.fudan.edu.cn) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6c7g-0007ok-DO for screen-users@gnu.org; Wed, 11 Jun 2008 22:01:08 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from localhost ([61.129.42.97]) by mail.fudan.edu.cn (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K2B004PRUTMUV00@mail.fudan.edu.cn> for screen-users@gnu.org; Thu, 12 Jun 2008 09:58:34 +0800 (CST) Date: Thu, 12 Jun 2008 10:00:40 +0800 From: Canhua Chen To: screen-users@gnu.org, debian-user@lists.debian.org Message-id: <20080612020040.GA20304@VPNtest> Mail-followup-to: screen-users@gnu.org, debian-user@lists.debian.org References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> In-reply-to: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Cc: Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Thu, 12 Jun 2008 02:01:23 -0000 On Wed, Jun 11, 2008 at 12:54:52PM +0200, Goran K. wrote: > On 6/10/08, Can-Hua Chen wrote: > > Hi. > > > Today I find that my problem is probably related > > to the LC_CTYPE that I set as zh_CN.UTF-8. > > When I set it as "C", the aptitude and mutt doesn't > > show messed or corupted display any more. > > > > Now I am still wondering how to have GNU Screen > > work well with mutt and aptitude or any program > > using termcap/info under LC_CTPE=zh_CN.UTF-8. > > I am using en_US.UTF-8 and it's showing up fine. Did you try > using newer version of screen like I suggested? I tried use version 4.0.3-10 of Debian sid, and it works almost very perfect, thank you, except a little bit messed up very occassionally which may be corrected by typing C-L. So for any other's convinient reference, may I conclude that GNU screen of version 4.0.3-9 on Debian Lenny messes up ncursesed applications when invoked within terminal that use LC_CTYPE=zh_CN.UTF-8; while version 4.0.3-10 on Debian Sid solve this problem almostly. From MAILER-DAEMON Wed Jun 11 22:05:22 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6cBm-00074F-Bn for mharc-screen-users@gnu.org; Wed, 11 Jun 2008 22:05:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6cBk-00073c-II for screen-users@gnu.org; Wed, 11 Jun 2008 22:05:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6cBk-000734-0P for screen-users@gnu.org; Wed, 11 Jun 2008 22:05:20 -0400 Received: from [199.232.76.173] (port=36338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6cBj-00072q-Pf for screen-users@gnu.org; Wed, 11 Jun 2008 22:05:19 -0400 Received: from [61.129.42.10] (port=8211 helo=mail.fudan.edu.cn) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6cBh-0008Fj-Pc for screen-users@gnu.org; Wed, 11 Jun 2008 22:05:18 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from localhost ([61.129.42.97]) by mail.fudan.edu.cn (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K2B00415V0NV470@mail.fudan.edu.cn> for screen-users@gnu.org; Thu, 12 Jun 2008 10:02:47 +0800 (CST) Date: Thu, 12 Jun 2008 10:04:53 +0800 From: Canhua Chen To: screen-users@gnu.org, debian-user@lists.debian.org Message-id: <20080612020453.GB20304@VPNtest> Mail-followup-to: screen-users@gnu.org, debian-user@lists.debian.org References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> <20080612020040.GA20304@VPNtest> In-reply-to: <20080612020040.GA20304@VPNtest> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Cc: Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Thu, 12 Jun 2008 02:05:20 -0000 On Thu, Jun 12, 2008 at 10:00:40AM +0800, Canhua Chen wrote: > On Wed, Jun 11, 2008 at 12:54:52PM +0200, Goran K. wrote: > > On 6/10/08, Can-Hua Chen wrote: > > > > Hi. > > > > > Today I find that my problem is probably related > > > to the LC_CTYPE that I set as zh_CN.UTF-8. > > > When I set it as "C", the aptitude and mutt doesn't > > > show messed or corupted display any more. > > > > > > Now I am still wondering how to have GNU Screen > > > work well with mutt and aptitude or any program > > > using termcap/info under LC_CTPE=zh_CN.UTF-8. > > > > I am using en_US.UTF-8 and it's showing up fine. Did you try > > using newer version of screen like I suggested? > > > I tried use version 4.0.3-10 of Debian sid, > and it works almost very perfect, thank you, > except a little bit messed up very occassionally > which may be corrected by typing C-L. > > So for any other's convinient reference, may I > conclude that GNU screen of version 4.0.3-9 on > Debian Lenny messes up ncursesed applications > when invoked within terminal that use LC_CTYPE=zh_CN.UTF-8; > while version 4.0.3-10 on Debian Sid solve this > problem almostly. > I found that with 4.0.3-10 the screen is messed up when there are Russian characters in mutt, although this version does solve the messing-up problem with chinese utf-8 characters. From MAILER-DAEMON Thu Jun 12 03:30:05 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6hG1-0000oC-16 for mharc-screen-users@gnu.org; Thu, 12 Jun 2008 03:30:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6hFy-0000lK-Tp for screen-users@gnu.org; Thu, 12 Jun 2008 03:30:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6hFx-0000k7-9x for screen-users@gnu.org; Thu, 12 Jun 2008 03:30:02 -0400 Received: from [199.232.76.173] (port=53271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6hFx-0000k2-5K for screen-users@gnu.org; Thu, 12 Jun 2008 03:30:01 -0400 Received: from mx20.gnu.org ([199.232.41.8]:1701) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6hFw-0007Lo-LH for screen-users@gnu.org; Thu, 12 Jun 2008 03:30:00 -0400 Received: from yw-out-1718.google.com ([74.125.46.158]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6hFv-0000Ej-AC for screen-users@gnu.org; Thu, 12 Jun 2008 03:29:59 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1980753ywk.66 for ; Thu, 12 Jun 2008 00:29:48 -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=JaxVCQUe/1QBsm/56bKRn8xvI51t54B+UGPfSRSgzus=; b=HBAvfRoR2YyvYxd2N2JoM5tbsTvWwXFGncVz22W1/wt11hFvEC5x9pX66agMc0835f S91tP6SILYgmcJkTXjnSRHnRqRxmhyFKjeFfVBCq4HA12s9D4WwmKCGqSd8RM3IBXP0C 8L2Ynbe8Ecsx8qOdvxQ41r0Iap5UbaucZU+CA= 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=RUfKfpPtFt1bHzceV7vr6uDgUrd0cyPd1OXcM0pA1fmY5mTpqWt65rS63m0UlAPUnF 42aFggIqbW5COEO5uEO1D60vr5b1XV3qSclb6e07VG/44/fbGspOGfScT3/9P0oAjTvR vnt+UB1K/B2oMWB9k+CiPUzs5Vwdssj4ujBBw= Received: by 10.151.142.2 with SMTP id u2mr1832172ybn.108.1213255788809; Thu, 12 Jun 2008 00:29:48 -0700 (PDT) Received: by 10.151.45.19 with HTTP; Thu, 12 Jun 2008 00:29:48 -0700 (PDT) Message-ID: <91d4ce220806120029y48fe3d25r1b7db310a0b5f5eb@mail.gmail.com> Date: Thu, 12 Jun 2008 15:29:48 +0800 From: "Jean Jordaan" To: "Greg Novak" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <91d4ce220806101852h39310ddeu24fca459397e72c0@mail.gmail.com> 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@gnu.org Subject: Re: Redirection of Standard Input? 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: , X-List-Received-Date: Thu, 12 Jun 2008 07:30:03 -0000 Yo Greg I've never done this before either, but after another minute of squinting at the manpage I tried this: $ screen -X at 4 stuff asdf and it seems to work fine. I.e. asdf shows up on the commandline of window number 4. Do read the manpage. The whole manpage. Closely. There's probably a better way that I missed. E.g. the 'process' command looks promising. 2008/6/12 Greg Novak : > Thanks for the info. However, I can't get it to work for me. I've > tried things like: > > screen -X "stuff command" > screen -X "stuff command\n" > screen -r -X "stuff command\n" > screen -r -X 'stuff "command\n"' > > and permutations of the above variations. Did I fail to understand > what you meant? > > Sorry to be dense about this, > Greg > > 2008/6/10 Jean Jordaan : >> Hi Greg >> >>> I realize that screen expects to have an interactive user at one end >>> of its connection, and therefore I'm in some sense misusing the >>> program. >> >> Well, not if you use 'screen -X'. Maybe the 'stuff' command helps: >> >> stuff string >> >> Stuff the string string in the input buffer of the current window. >> This is like the "paste" command but with much less overhead. You can‐ >> not paste large buffers with the "stuff" command. It is most useful for >> key bindings. See also "bindkey". >> >> -- >> jean . .. .... //\\\oo///\\ >> >> >> _______________________________________________ >> screen-users mailing list >> screen-users@gnu.org >> http://lists.gnu.org/mailman/listinfo/screen-users >> > -- jean . .. .... //\\\oo///\\ From MAILER-DAEMON Thu Jun 12 05:24:25 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6j2e-0000iT-GU for mharc-screen-users@gnu.org; Thu, 12 Jun 2008 05:24:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6j2d-0000he-5Z for screen-users@gnu.org; Thu, 12 Jun 2008 05:24:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6j2b-0000fP-4Y for screen-users@gnu.org; Thu, 12 Jun 2008 05:24:22 -0400 Received: from [199.232.76.173] (port=38417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6j2a-0000f3-MY for screen-users@gnu.org; Thu, 12 Jun 2008 05:24:20 -0400 Received: from gmp-eb-inf-1.sun.com ([192.18.6.21]:40234) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1K6j2a-00045o-6S for screen-users@gnu.org; Thu, 12 Jun 2008 05:24: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-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m5C9O9nn027092 for ; Thu, 12 Jun 2008 09:24:18 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 <0K2C00001F8RE200@fe-emea-09.sun.com> (original mail from Vladimir.Marek@Sun.COM) for screen-users@gnu.org; Thu, 12 Jun 2008 10:24:09 +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 <0K2C00LMDFFX2GD0@fe-emea-09.sun.com>; Thu, 12 Jun 2008 10:23:58 +0100 (BST) Date: Thu, 12 Jun 2008 11:23:53 +0200 From: Vladimir Marek In-reply-to: <20080612020453.GB20304@VPNtest> Sender: Vladimir.Marek@Sun.COM To: screen-users@gnu.org Mail-followup-to: screen-users@gnu.org, debian-user@lists.debian.org Message-id: <20080612092353.GT3129@pub> MIME-version: 1.0 Content-type: multipart/signed; boundary=6h64vBu9tReNbGLX; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> <20080612020040.GA20304@VPNtest> <20080612020453.GB20304@VPNtest> User-Agent: Mutt/1.5.18 (2008-06-02) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Cc: debian-user@lists.debian.org Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Thu, 12 Jun 2008 09:24:23 -0000 --6h64vBu9tReNbGLX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [...] > I found that with 4.0.3-10 the screen is messed up when > there are Russian characters in mutt, although this version > does solve the messing-up problem with chinese utf-8 characters. I'm not sure if it's related, but screen can't handle utf-8 which is encoded in more than two bytes. --=20 Vlad --6h64vBu9tReNbGLX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (SunOS) iEYEARECAAYFAkhQ6ykACgkQqVN0MVP42YynTgCfcxFLHpSgE9g/SjBwPFSulZKA vbsAnjDFLd8DracHCL9GGn70SHFlyxIE =AO3+ -----END PGP SIGNATURE----- --6h64vBu9tReNbGLX-- From MAILER-DAEMON Thu Jun 12 14:58:15 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K6rzz-00071v-Ge for mharc-screen-users@gnu.org; Thu, 12 Jun 2008 14:58:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6rzx-00071e-Ft for screen-users@gnu.org; Thu, 12 Jun 2008 14:58:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6rzw-00071A-Vj for screen-users@gnu.org; Thu, 12 Jun 2008 14:58:13 -0400 Received: from [199.232.76.173] (port=44059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6rzw-000712-QB for screen-users@gnu.org; Thu, 12 Jun 2008 14:58:12 -0400 Received: from yx-out-1718.google.com ([74.125.44.152]:52291) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6rzw-0007wp-LC for screen-users@gnu.org; Thu, 12 Jun 2008 14:58:12 -0400 Received: by yx-out-1718.google.com with SMTP id 34so511882yxf.66 for ; Thu, 12 Jun 2008 11:58:10 -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=sJaZ0LvmgqeYyWeIa1K8lbnxuXHx/gkWemPCmrks4Is=; b=OvbGC7hMxS85KTQVGi0nzYB4cQXm1Ie8s5ZvurI9kCjEfpfeVioaWrx223xF6CfXst M1Z0CXyxDBtyIsX7jD52iZksZocMFgyr0vJAVdFCG0s/EisCN9um+06msgdAEtm2xMlv x3AJ0ixDK32qluv+eEHtTG377bS7zLaNWEqZA= 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=J0qq/a422ZJj6U6L+gbc8KM1KXHWGduX1/p8+tnrdz8+hi2YwFwlIJe+nxZYz/WMjO xXC5vnDr5zJeCXvTpO3YSNJ49SfQ5Z96jFXJjdOoHVL53eg9LROElYlAz4dJqZPIAQ0a qmwRbpaUCyj4guXFKDC1PeFYU5ENNTT6fQ6GM= Received: by 10.150.181.11 with SMTP id d11mr2853415ybf.249.1213297090460; Thu, 12 Jun 2008 11:58:10 -0700 (PDT) Received: by 10.151.13.6 with HTTP; Thu, 12 Jun 2008 11:58:10 -0700 (PDT) Message-ID: Date: Thu, 12 Jun 2008 14:58:10 -0400 From: jieryn@gmail.com 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: no duplicate windows when cycling prev/next 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: , X-List-Received-Date: Thu, 12 Jun 2008 18:58:13 -0000 Greetings, I use the following two bindings in my screenrc file: bindkey -k F1 prev # F11 = previous window bindkey -k F2 next # F12 = next window I often have multiple screen splits visible and I would like to have my prev/next bindings skip windows which are already visible. If I have three windows open 1, 2, and 3, and I create a split new, showing windows 1 and 2 with 1 being the active window, then repeated next or prev commands would show windows 2+3 and 1+3, alternatively. Never would I see 2 and 2 simultaneously. Perhaps I've overlooked an option in the manual? Any help is greatly appreciated! -jesse -- There are 10 types of people in this world, those that can read binary and those that can not. From MAILER-DAEMON Sat Jun 14 12:23:50 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7YXe-0001x9-NY for mharc-screen-users@gnu.org; Sat, 14 Jun 2008 12:23:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6Nyi-0006IZ-LX for screen-users@gnu.org; Wed, 11 Jun 2008 06:54:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6Nyg-0006Et-Nj for screen-users@gnu.org; Wed, 11 Jun 2008 06:54:55 -0400 Received: from [199.232.76.173] (port=43076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6Nyg-0006Ei-IJ for screen-users@gnu.org; Wed, 11 Jun 2008 06:54:54 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:24660) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6Nyg-0001Dz-6i for screen-users@gnu.org; Wed, 11 Jun 2008 06:54:54 -0400 Received: by rv-out-0708.google.com with SMTP id k29so3687211rvb.6 for ; Wed, 11 Jun 2008 03:54: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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2pERo1bVXHPTcedDXcDQvDtnTGHSJl7PnEtAYPoIWcc=; b=XVILUrLiFEFnOgp5oimZ6d6Ep9dR2WgoupYtrgAucsQwWMJm9plW5pK3ScUbxsFygy bq75e0Jb6pSrVo7V+byxToYX7P5Wd8ktRjEnTiStF6ZNYIc4zaeaSWgSXcsm4SrmV0S4 GvYJAGcgtfldy3RY+vWF1GyaJi2GDfRFaBkXE= 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=wlhWTZg3xXm0t0nhwoKFQrHeM8kMUvZ7JMF5sLrZsndiWkZNIlvImxEdCeBAoqfU6N OKaL6H0pFOTij1wjoiz+36npUThakU+stuldcgHcN5FhORbgtIE1WsF7rsAx0olZt0bT +hNc2MG1hQtTnPsBRBos6GgQUJCmit+z7LgiY= Received: by 10.141.20.7 with SMTP id x7mr3710828rvi.255.1213181692173; Wed, 11 Jun 2008 03:54:52 -0700 (PDT) Received: by 10.141.122.2 with HTTP; Wed, 11 Jun 2008 03:54:52 -0700 (PDT) Message-ID: Date: Wed, 11 Jun 2008 12:54:52 +0200 From: "Goran K." To: "Can-Hua Chen" , screen-users@gnu.org, "Goran K." In-Reply-To: <20080610071727.GA11791@VPNtest> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080605063831.GA5502@VPNtest> <20080610071727.GA11791@VPNtest> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 14 Jun 2008 12:23:49 -0400 Cc: Subject: Re: problem: GNU Screen within 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: , X-List-Received-Date: Wed, 11 Jun 2008 10:54:57 -0000 On 6/10/08, Can-Hua Chen wrote: Hi. > Today I find that my problem is probably related > to the LC_CTYPE that I set as zh_CN.UTF-8. > When I set it as "C", the aptitude and mutt doesn't > show messed or corupted display any more. > > Now I am still wondering how to have GNU Screen > work well with mutt and aptitude or any program > using termcap/info under LC_CTPE=zh_CN.UTF-8. I am using en_US.UTF-8 and it's showing up fine. Did you try using newer version of screen like I suggested? From MAILER-DAEMON Sat Jun 14 12:23:51 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7YXf-0001xP-0s for mharc-screen-users@gnu.org; Sat, 14 Jun 2008 12:23:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6kWJ-0006e9-Bc for screen-users@gnu.org; Thu, 12 Jun 2008 06:59:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6kWG-0006dP-Nj for screen-users@gnu.org; Thu, 12 Jun 2008 06:59:06 -0400 Received: from [199.232.76.173] (port=46134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6kWF-0006cz-H7 for screen-users@gnu.org; Thu, 12 Jun 2008 06:59:03 -0400 Received: from jack.mail.tiscali.it ([213.205.33.53]:54259) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6kWE-0003C2-T1 for screen-users@gnu.org; Thu, 12 Jun 2008 06:59:03 -0400 Received: from [192.168.10.70] (217.133.32.17) by jack.mail.tiscali.it (8.0.016) id 484CEFF70022E1FF for screen-users@gnu.org; Thu, 12 Jun 2008 12:59:00 +0200 Message-Id: <46BA1F81-1A13-453D-A9C3-B1C82B91F551@linux.it> From: Tobia Conforto 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 v924) Date: Thu, 12 Jun 2008 12:59:00 +0200 X-Mailer: Apple Mail (2.924) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 14 Jun 2008 12:23:49 -0400 Subject: Focus on all regions 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: , X-List-Received-Date: Thu, 12 Jun 2008 10:59:07 -0000 Hello I use the split feature of screen to open many ssh sessions. This allows me to send commands to the various hosts and see all the results in the same screen. But often I'd like to send the same command to all hosts without having to copy and paste it or type it over again. Is there a feature or a patch that lets me focus all regions (or all windows) simultaneously? The best would be to have a virtual "all- regions" focus in the list of regions that is cycled with the focus command: region #1 --[focus]--> region #2 --[focus]--> both regions --[focus]-- > region #1 ... Is something like this already in Screen? Any advice on implementing it? Tobia From MAILER-DAEMON Sat Jun 14 12:23:51 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7YXf-0001xY-AK for mharc-screen-users@gnu.org; Sat, 14 Jun 2008 12:23:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K79Vw-0002Im-14 for screen-users@gnu.org; Fri, 13 Jun 2008 09:40:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K79Vv-0002Hr-BT for screen-users@gnu.org; Fri, 13 Jun 2008 09:40:23 -0400 Received: from [199.232.76.173] (port=41722 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K79Vv-0002Hm-8A for screen-users@gnu.org; Fri, 13 Jun 2008 09:40:23 -0400 Received: from yw-out-1718.google.com ([74.125.46.155]:24395) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K79Vv-00028n-J4 for screen-users@gnu.org; Fri, 13 Jun 2008 09:40:23 -0400 Received: by yw-out-1718.google.com with SMTP id 9so2339586ywk.66 for ; Fri, 13 Jun 2008 06:40: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:mime-version:content-type; bh=4TStD/8JlfBv6EsAh/x7A1P4CNfxBBEZByYs0umI81M=; b=v/dH8SFGaXhv8pPqW+mweUlPc3zPH+yj5ktITqU49jQUQ3My2Ma3uvDv2p42+4W8nN grohkFvbS/4ruLAC+WpJ5G1RWlLbBBwd/9dW+BSQGsZX01xjCucMNVOcP4daSKjXqKjm lix+NnTFqBRwuIrraSrUgqsmQdwQmLRXvDWEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xSOg6KQVkJcesNNLDPpqp135nrpfAcCw337TSptCujsUKFU3CG8Kz4o/gqBm7Q6JLi ySGa9lfsSyJbSL9StdndlCYc8GFdv3fGUZiDsKsAymSBAwUCZ0CBf6zE/q2kNqNz+8RO 58PnFaZiRcGxvyWOjGpKwf65gnpPjfNk9h680= Received: by 10.151.108.13 with SMTP id k13mr4519906ybm.84.1213364421639; Fri, 13 Jun 2008 06:40:21 -0700 (PDT) Received: by 10.150.190.6 with HTTP; Fri, 13 Jun 2008 06:40:21 -0700 (PDT) Message-ID: <283efb240806130640p1023e71s89d5d03e8526f569@mail.gmail.com> Date: Fri, 13 Jun 2008 08:40:21 -0500 From: "Samir Unni" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24214_20731960.1213364421613" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 14 Jun 2008 12:23:49 -0400 Subject: Accessing Screen windows above 9 with a number key 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: , X-List-Received-Date: Fri, 13 Jun 2008 13:40:24 -0000 ------=_Part_24214_20731960.1213364421613 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm trying to figure out how to access Screen windows above 9 using the C-a shortcut, but I don't see anything about it. Does anyone know if there are shortcuts for this? If not, perhaps C-a Shift+ could be used for this purpose? At least windows 1-19 would be accessible with a single shortcut this way, similar to irssi. Thanks! ------=_Part_24214_20731960.1213364421613 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I'm trying to figure out how to access Screen windows above 9 using the C-a <number> shortcut, but I don't see anything about it. Does anyone know if there are shortcuts for this? If not, perhaps C-a Shift+<number> could be used for this purpose? At least windows 1-19 would be accessible with a single shortcut this way, similar to irssi.

Thanks!
------=_Part_24214_20731960.1213364421613-- From MAILER-DAEMON Sat Jun 14 14:05:15 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7a7m-0000zm-Pj for mharc-screen-users@gnu.org; Sat, 14 Jun 2008 14:05:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7a7k-0000yW-UM for screen-users@gnu.org; Sat, 14 Jun 2008 14:05:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7a7i-0000xQ-VE for screen-users@gnu.org; Sat, 14 Jun 2008 14:05:12 -0400 Received: from [199.232.76.173] (port=37208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7a7i-0000xG-Mw for screen-users@gnu.org; Sat, 14 Jun 2008 14:05:10 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:37808) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7a7h-00054G-NG for screen-users@gnu.org; Sat, 14 Jun 2008 14:05:09 -0400 Received: from [10.0.0.5] (adsl-75-63-18-81.dsl.pltn13.sbcglobal.net [75.63.18.81]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 3D3AC3C90012; Sat, 14 Jun 2008 11:05:08 -0700 (PDT) Message-ID: <4854085C.6020802@cowan.name> Date: Sat, 14 Jun 2008 11:05:16 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Samir Unni References: <283efb240806130640p1023e71s89d5d03e8526f569@mail.gmail.com> In-Reply-To: <283efb240806130640p1023e71s89d5d03e8526f569@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: Accessing Screen windows above 9 with a number key 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: , X-List-Received-Date: Sat, 14 Jun 2008 18:05:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Samir Unni wrote: > Hi, > > I'm trying to figure out how to access Screen windows above 9 using the > C-a shortcut, but I don't see anything about it. Does anyone > know if there are shortcuts for this? If not, perhaps C-a Shift+ > could be used for this purpose? At least windows 1-19 would be > accessible with a single shortcut this way, similar to irssi. You could certainly bind keys to this effect youself in you .screenrc: bind ) select 10 bind ! select 11 ... - -- 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 iD8DBQFIVAhc7M8hyUobTrERAoSlAJ9WDukg3JfVsYafC02jE+2Le3zKEACghbaX cTFQplSZ8+VFBe33yxNjgos= =Msvc -----END PGP SIGNATURE----- From MAILER-DAEMON Sat Jun 14 21:54:08 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7hRY-0007E5-1S for mharc-screen-users@gnu.org; Sat, 14 Jun 2008 21:54:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7hRW-0007DJ-1A for screen-users@gnu.org; Sat, 14 Jun 2008 21:54:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7hRU-0007CF-9d for screen-users@gnu.org; Sat, 14 Jun 2008 21:54:05 -0400 Received: from [199.232.76.173] (port=44709 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7hRR-0007B1-U2; Sat, 14 Jun 2008 21:54:01 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:57899) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7hRR-0005TE-Ne; Sat, 14 Jun 2008 21:54:01 -0400 Received: from [10.0.0.5] (adsl-75-63-18-81.dsl.pltn13.sbcglobal.net [75.63.18.81]) by mabruk.micah.cowan.name (Postfix) with ESMTP id 3D1AA5C8801E; Sat, 14 Jun 2008 18:54:00 -0700 (PDT) Message-ID: <48547643.9030301@cowan.name> Date: Sat, 14 Jun 2008 18:54:11 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Screen Development , 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) Cc: Subject: Git Migration 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: , X-List-Received-Date: Sun, 15 Jun 2008 01:54:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The source for GNU Screen has been migrated from CVS to Git. The links to the CVS repository have been disabled, but if there turn out to be problems with the newly-created Git repositories, they could be re-enabled once more. The deactivation of the CVS links appears to have also removed browse access to the CVS repository for the Screen website at www.gnu.org/software/screen; however, even when enabled, the browse link appears to be broken (the web server complains with a 404, no such path "/viewvc/"). My guess is that GNU is transitioning some related stuff. If it's still broken in a few days, I'll try to work with the Savannah folks to get that back up. Information about Git may be had at http://git.or.cz/ (which appears to be temporarily unavailable for the moment). - -- 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 iD8DBQFIVHZD7M8hyUobTrERAgzZAJwP2UJwy9H1irrWC62Mg03787RoyQCfbabD mOBLfXzTimV5zFqlQER3piY= =o5Ii -----END PGP SIGNATURE----- From MAILER-DAEMON Sun Jun 15 05:15:15 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K7oKR-0004LL-6I for mharc-screen-users@gnu.org; Sun, 15 Jun 2008 05:15:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7oKP-0004Jo-Ac for screen-users@gnu.org; Sun, 15 Jun 2008 05:15:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7oKO-0004JG-Io for screen-users@gnu.org; Sun, 15 Jun 2008 05:15:12 -0400 Received: from [199.232.76.173] (port=36064 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7oKO-0004J3-Ci for screen-users@gnu.org; Sun, 15 Jun 2008 05:15:12 -0400 Received: from cpc2-cdif5-0-0-cust781.cdif.cable.ntl.com ([81.109.159.14]:57503 helo=turner.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 1K7oKO-000501-AD for screen-users@gnu.org; Sun, 15 Jun 2008 05:15:12 -0400 Received: from gedge by turner.sd.yadn.org with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K7oKK-00083c-Fb; Sun, 15 Jun 2008 10:15:08 +0100 Date: Sun, 15 Jun 2008 10:15:08 +0100 From: Geraint Edwards To: Tobia Conforto Message-ID: <20080615091508.GA2253@yadn.org> References: <46BA1F81-1A13-453D-A9C3-B1C82B91F551@linux.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46BA1F81-1A13-453D-A9C3-B1C82B91F551@linux.it> User-Agent: Mutt/1.4.2.3i Organisation: Caerdydd, Cymru / Cardiff, Wales X-MotD: "Ear all, see all, say nowt. Eat all, sup all, pay nowt. And if tha does owt fer nowt, allus do it for thissen." -- Yorkshire saying X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: screen-users@gnu.org Subject: Re: Focus on all regions 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: , X-List-Received-Date: Sun, 15 Jun 2008 09:15:13 -0000 Tobia Conforto said (on Thu, Jun 12, 2008 at 12:59:00PM +0200): > I use the split feature of screen to open many ssh sessions. This > allows me to send commands to the various hosts and see all the > results in the same screen. But often I'd like to send the same > command to all hosts without having to copy and paste it or type it > over again. The following does not 'focus' on all windows, but will allow you to send a command to all/selected windows: C-a : at ssh# stuff 'mycommand 1 2 3' You should read the screen manpage - for the 'at' command for more info. This list's archive has a lot of examples of using screen's 'at' command. -- Geraint A. Edwards (aka "Gedge") gedge@yadn.org From MAILER-DAEMON Mon Jun 16 03:53:47 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K89X9-0005Sg-RB for mharc-screen-users@gnu.org; Mon, 16 Jun 2008 03:53:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K89X7-0005Qz-F2 for screen-users@gnu.org; Mon, 16 Jun 2008 03:53:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K89X5-0005PM-Bv for screen-users@gnu.org; Mon, 16 Jun 2008 03:53:44 -0400 Received: from [199.232.76.173] (port=51661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K89X5-0005PC-3R for screen-users@gnu.org; Mon, 16 Jun 2008 03:53:43 -0400 Received: from an-out-0708.google.com ([209.85.132.242]:45037) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K89X4-0003qD-F4 for screen-users@gnu.org; Mon, 16 Jun 2008 03:53:42 -0400 Received: by an-out-0708.google.com with SMTP id c38so944716ana.84 for ; Mon, 16 Jun 2008 00:53: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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cqlmk+1OcAf8bBpw7lbHynD8SPtGoCPAYWDZ3etzfVw=; b=d9auZyA1/sQGOiJrffpoSbI50/a0Kw+j6Y3Lm37FXMLIlgb4aYuv3Fo8vgDdLE6VTl PFsXC8dfNK2fcOk2Xgezr2LlyMzUQ3x8z9riN14opyYriJmIZtHr1le0S8TTj2xRes7K 24J/hxeB9p4SYCpkARyV+T4Z/zyxeA0M4KgkA= 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=PmTRLGHs6or9QgFVh4SgJzNzvv5iP/vtd2pkZ+EQ6KQ9m2yYn86UmmLlTwQzNdds0A HR+t3fFE9c6frRP2zoiKx0cTvCXbVUWyyuy4Xh7i0ErMxDzwB7IohtQXLHfLSpXgZFrc TcgiWv43lZmVkm4AsJBFYoxuyM2SBX4OC7xg0= Received: by 10.100.110.15 with SMTP id i15mr7910677anc.130.1213602818320; Mon, 16 Jun 2008 00:53:38 -0700 (PDT) Received: by 10.100.96.4 with HTTP; Mon, 16 Jun 2008 00:53:38 -0700 (PDT) Message-ID: Date: Mon, 16 Jun 2008 09:53:38 +0200 From: "Marco Strullato" 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: my system is in an inconsistent state because of 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: , X-List-Received-Date: Mon, 16 Jun 2008 07:53:45 -0000 Hi all, my system is in an inconsistent state because of screen: I have a pts that is connected to any screen session I need to remove this /dev/pts/0 but I don't know how to do it. [mstrullato@engtest3 ~]$ ls -l /dev/pts/ total 0 crw--w---- 1 mstrullato tty 136, 0 Jun 16 09:43 0 [mstrullato@engtest3 tmp]$ screen -d -r There is no screen to be detached. [mstrullato@engtest3 tmp]$ screen -wipe No Sockets found in /tmp/uscreens/S-mstrullato. [root@engtest3 ~]# find /tmp/screens/ -ls -type f 987727 4 drwxr-xr-x 3 root root 4096 Jun 13 16:43 /tmp/screens/ 987728 4 drwx------ 2 root root 4096 Jun 13 16:53 /tmp/screens/S-ro [root@engtest3 ~]# find /tmp/uscreens/ -ls -type f 987723 4 drwxrwxrwt 4 db2inst1 db2grp1 4096 Jun 13 16:43 /tmp/uscreens/ 987729 4 drwx------ 2 mstrulla users 4096 Jun 13 16:50 /tmp/uscreens/S-mstrullato 987724 4 drwx------ 2 db2inst1 db2grp1 4096 Jun 16 09:40 /tmp/uscreens/S-db2inst1 A note: I'm using screen with sudo: it seems that this caused the inconsistency problem: I believe /dev/pts/0 had different permissions/group than the user I used with sudo. Moreover this is the mount options of the /dev/pts filesystem none /dev/pts devpts gid=5,mode=640 0 0 I changed the group to 4 from 2 with no results.... I think because it's too late: There's anymore the session files into /tmp Suggestions? Thanks Marco Strullato From MAILER-DAEMON Wed Jun 18 09:30:43 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8xkJ-00068q-Jm for mharc-screen-users@gnu.org; Wed, 18 Jun 2008 09:30:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8xkH-00067e-Af for screen-users@gnu.org; Wed, 18 Jun 2008 09:30:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8xkG-00067L-Qx for screen-users@gnu.org; Wed, 18 Jun 2008 09:30:40 -0400 Received: from [199.232.76.173] (port=53957 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8xkG-00067D-Ju for screen-users@gnu.org; Wed, 18 Jun 2008 09:30:40 -0400 Received: from yw-out-1718.google.com ([74.125.46.152]:19016) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8xkF-0005fT-VF for screen-users@gnu.org; Wed, 18 Jun 2008 09:30:40 -0400 Received: by yw-out-1718.google.com with SMTP id 9so124237ywk.66 for ; Wed, 18 Jun 2008 06:30:00 -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=oK/wQ1sZNsxj9qSLGnZshoWpnx8+4B98fWdRSl7X5VA=; b=fAwp8ZArz5wk7iyfemz3vhinIrcF1aVDG0NFCOnTJ4jQYqs3C3meTq0RmJMFM4J8s8 IPgJ5AuOLM43TtW39qjsvbwYRRfZ+b2O3YuEKlzV+Bi8koJQsq3Flm3mU1KKXACR//by 1uirklC8voDC5VylYUSxrAkZQVFeVs1LgoIrM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=tRrheMcryHpVItzN7no4FeXsbhNDw211QcrK4pVpuIHkTmSWZehK1ITkFXQ62K7OZT bGWlgGNZ74NQuN+vswzWVRHSfnyolCmHAUlYk9oW/XbWxo7oEQvgHSsLwZcbdNc7OJHK CSbdiuE/+Xy4Y7PtCit9Tgp70i9ulHIuzxy1o= Received: by 10.151.111.1 with SMTP id o1mr1054818ybm.189.1213795800370; Wed, 18 Jun 2008 06:30:00 -0700 (PDT) Received: by 10.150.190.6 with HTTP; Wed, 18 Jun 2008 06:30:00 -0700 (PDT) Message-ID: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> Date: Wed, 18 Jun 2008 08:30:00 -0500 From: "Samir Unni" To: screen-users@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_305_11604492.1213795800337" X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Using modifier keys other than control in custom keybindings 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: , X-List-Received-Date: Wed, 18 Jun 2008 13:30:41 -0000 ------=_Part_305_11604492.1213795800337 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm trying to figure out how to set a keybinding for "switch the input focus to the previous region" as C-a shift-tab. However, the "Default Key Bindings" section on the man page doesn't show any examples of the syntax for using modifier keys other than control that I can base my custom key binding off of. So I have 2 questions about custom keybindings: 1. Is "switch the input focus to the previous region" a possible action to bind a key to? I'm using the CVS version of screen, and due to the support for vertical splitting, I frequently end up with 4 or 5 terminals in one screen session. It's very frustrating to have to C-a tab 3 or 4 times to get to the previous terminal, when I'm switching between two of those 4 or 5 terminals a lot in a short period of time. 2. Is it even possible to set a key binding with a modifier key other than control? Thanks! ------=_Part_305_11604492.1213795800337 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I'm trying to figure out how to set a keybinding for "switch the input focus to the previous region" as C-a shift-tab. However, the "Default Key Bindings" section on the man page doesn't show any examples of the syntax for using modifier keys other than control that I can base my custom key binding off of. So I have 2 questions about custom keybindings:
  1. Is "switch the input focus to the previous region" a possible action to bind a key to? I'm using the CVS version of screen, and due to the support for vertical splitting, I frequently end up with 4 or 5 terminals in one screen session. It's very frustrating to have to C-a tab 3 or 4 times to get to the previous terminal, when I'm switching between two of those 4 or 5 terminals a lot in a short period of time.
  2. Is it even possible to set a key binding with a modifier key other than control?
Thanks!
------=_Part_305_11604492.1213795800337-- From MAILER-DAEMON Wed Jun 18 10:42:39 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8yrv-0007hP-B4 for mharc-screen-users@gnu.org; Wed, 18 Jun 2008 10:42:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8yrt-0007h8-KU for screen-users@gnu.org; Wed, 18 Jun 2008 10:42:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8yrr-0007gw-Vd for screen-users@gnu.org; Wed, 18 Jun 2008 10:42:37 -0400 Received: from [199.232.76.173] (port=42646 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8yrr-0007gt-TR for screen-users@gnu.org; Wed, 18 Jun 2008 10:42:35 -0400 Received: from wx-out-0506.google.com ([66.249.82.232]:52135) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8yrr-0006wE-EA for screen-users@gnu.org; Wed, 18 Jun 2008 10:42:35 -0400 Received: by wx-out-0506.google.com with SMTP id h28so80175wxd.24 for ; Wed, 18 Jun 2008 07:42:33 -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=zMZEfdWF0jOxfLpkhp/79ha2+b7a7RmhdgwcdzZelI4=; b=oH+jU+xoxVu/1LUwEe0FOmYQ1xCBLjA3UiJpt7WspJ6XmbjqR3jKwTfxEKUq5hFBIU K1e3XoBJld+GAjR3mFR3QUUqgFDlyBSuDU2QX2V5bslgHo9m/DRRNE/K0i7VsC7QUYbG SPTUn8o9RIMBpkoPfqfJLrRz6t79TpqqhweFI= 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=nC/jPNyQvwLXMuCKjJmi3B847dFVtO8DJpK3iGCZB9/0+6WpNUBjubkjoutt2cmXYZ EpzNTNmPWMhrBnFJOyxTKOUAZnpb1B5wd7dKGbbQkmKpW7eRpIOyZOM/TQhw8Ex7LOyS FSDSLCpVqVuFAOgwGMoQJaXbZMzubqmwgb//Y= Received: by 10.150.202.3 with SMTP id z3mr1138999ybf.224.1213800153842; Wed, 18 Jun 2008 07:42:33 -0700 (PDT) Received: by 10.150.220.14 with HTTP; Wed, 18 Jun 2008 07:42:33 -0700 (PDT) Message-ID: <1b30fd140806180742u5ce1adcr7f3e3099b43e6f7@mail.gmail.com> Date: Wed, 18 Jun 2008 15:42:33 +0100 From: davidcollins001@gmail.com To: "Samir Unni" In-Reply-To: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Using modifier keys other than control in custom keybindings 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: , X-List-Received-Date: Wed, 18 Jun 2008 14:42:37 -0000 Hi, I wanted to change from the ctrl-a also a while back, but I wasn't sure if I could. I tried: escape [[ in my .screenrc, and it just seemed to work! I was really surprised but I like it. It does cause me problems though If I try to paste from a clipboard that has a '[' in it screen goes crazy as it tries to parse the following characters as commands to screen. Hope this helps David Collins On 18/06/2008, Samir Unni wrote: > Hi, > > I'm trying to figure out how to set a keybinding for "switch the input focus > to the previous region" as C-a shift-tab. However, the "Default Key > Bindings" section on the man page doesn't show any examples of the syntax > for using modifier keys other than control that I can base my custom key > binding off of. So I have 2 questions about custom keybindings: > > 1. Is "switch the input focus to the previous region" a possible action > to bind a key to? I'm using the CVS version of screen, and due to the > support for vertical splitting, I frequently end up with 4 or 5 terminals > in > one screen session. It's very frustrating to have to C-a tab 3 or 4 times > to > get to the previous terminal, when I'm switching between two of those 4 > or 5 > terminals a lot in a short period of time. > 2. Is it even possible to set a key binding with a modifier key other > than control? > > Thanks! > From MAILER-DAEMON Wed Jun 18 11:01:09 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8z9p-00067f-OS for mharc-screen-users@gnu.org; Wed, 18 Jun 2008 11:01:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8z9o-00067Z-Kj for screen-users@gnu.org; Wed, 18 Jun 2008 11:01:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8z9n-00067N-8D for screen-users@gnu.org; Wed, 18 Jun 2008 11:01:08 -0400 Received: from [199.232.76.173] (port=48010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8z9n-00067K-23 for screen-users@gnu.org; Wed, 18 Jun 2008 11:01:07 -0400 Received: from jabba.london.02.net ([82.132.130.169]:56331 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8z9l-0003tx-Bd for screen-users@gnu.org; Wed, 18 Jun 2008 11:01:06 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 4851DD9500FE5AB5; Wed, 18 Jun 2008 16:00:30 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1K8z9B-0006rf-IO; Wed, 18 Jun 2008 16:00:29 +0100 Date: Wed, 18 Jun 2008 16:00:29 +0100 From: Stephane Chazelas To: Samir Unni Message-ID: <20080618150029.GA5016@sc.homeunix.net> References: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <283efb240806180630v71fb85ffia206ece1658fdcf0@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: Using modifier keys other than control in custom keybindings 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: , X-List-Received-Date: Wed, 18 Jun 2008 15:01:08 -0000 On Wed, Jun 18, 2008 at 08:30:00AM -0500, Samir Unni wrote: > Hi, >=20 > I'm trying to figure out how to set a keybinding for "switch the input = focus > to the previous region" as C-a shift-tab. However, the "Default Key > Bindings" section on the man page doesn't show any examples of the synt= ax > for using modifier keys other than control that I can base my custom ke= y > binding off of. So I have 2 questions about custom keybindings: >=20 > 1. Is "switch the input focus to the previous region" a possible act= ion > to bind a key to? I'm using the CVS version of screen, and due to th= e > support for vertical splitting, I frequently end up with 4 or 5 term= inals in > one screen session. It's very frustrating to have to C-a tab 3 or 4 = times to > get to the previous terminal, when I'm switching between two of thos= e 4 or 5 > terminals a lot in a short period of time. =46rom the manual: -- Command: focus (`C-a ') Move the input focus to the next region. This is done in a cyclic way so that the top region is selected after the bottom one. If no subcommand is given it defaults to `down'. `up' cycles in the opposite order, `top' and `bottom' go to the top and bottom region respectively. Useful bindings are (j and k as in vi) bind j focus down bind k focus up bind t focus top bind b focus bottom > 2. Is it even possible to set a key binding with a modifier key othe= r > than control? [...] Typically no. The interaction between screen and the terminal is via characters. When you press a key or combination of keys, the terminal sends one or more characters that an application like screen can read. When you press , it sends the ^A (0x1) character, when you press it sends either ESC (0x2b) and a or a with the eighth bit set depending on the version of the terminal. When you press , it sends A instead of a... and so on. Now, for the or , ... keys, you'll find that some terminals do send different character sequences when or is pressed. It's worth checking. When not in screen, try followed by the key combination to see what you get. For instance, here, sends ^[[Z (the 3 characters ESC [ Z), so that I could bind that to "focus up" if I wanted to. And actually, it's done by default here. Because the terminfo entry for my terminal has: $ infocmp -1L xterm-256color | grep -i back_tab back_tab=3D\E[Z, And "focus up" is bound to kB (which is the termcap name for backtab) in screen by default. --=20 St=E9phane From MAILER-DAEMON Wed Jun 18 11:16:10 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8zOM-0004I4-BF for mharc-screen-users@gnu.org; Wed, 18 Jun 2008 11:16:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8zOK-0004Hm-Uk for screen-users@gnu.org; Wed, 18 Jun 2008 11:16:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8zOG-0004HG-Dy for screen-users@gnu.org; Wed, 18 Jun 2008 11:16:08 -0400 Received: from [199.232.76.173] (port=56727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8zOG-0004HC-64 for screen-users@gnu.org; Wed, 18 Jun 2008 11:16:04 -0400 Received: from ug-out-1314.google.com ([66.249.92.170]:45370) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8zOF-0001Op-C1 for screen-users@gnu.org; Wed, 18 Jun 2008 11:16:03 -0400 Received: by ug-out-1314.google.com with SMTP id l31so815999ugc.48 for ; Wed, 18 Jun 2008 08:16: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:references; bh=7r4+UctjOmdAC1XaaaUQ83F3zD5FqEKdvLOzWytApUo=; b=IhgSQxpKSMc1uvE+aJnQpdhovg8PLhAySsiiE+dGppjOhN6O7oRp30wAPLKomZuYIr JpIK+zay3hn2xX+2IxHvL6MHC1t6ku59hLSG0yq3uvb13csKhHBSSKJ4Pe3ftjpmksx0 +tY4fHX7GPEN4QVKGRwgoUr68Y11+Kyhx2Ba4= 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=cY4miBqENUnn56P4YXUk97e0LTi/VaAvSXoKAywMjtuQLo8dctYs3pmSkRFgNM6GEh q9DFoiH+DWZollv+Sd99FhjMQxtGdUTv4TIaZpFQ0OShnjhzVwphnagHh2GEWUHEcPBp JAlqj1/zdFcI2war4kSlNwb0Btb4WITHm2NKY= Received: by 10.210.91.7 with SMTP id o7mr678006ebb.197.1213802161838; Wed, 18 Jun 2008 08:16:01 -0700 (PDT) Received: by 10.210.110.18 with HTTP; Wed, 18 Jun 2008 08:16:01 -0700 (PDT) Message-ID: <283efb240806180816m7b6900a6k20aa58ac45aceede@mail.gmail.com> Date: Wed, 18 Jun 2008 10:16:01 -0500 From: "Samir Unni" To: "Stephane Chazelas" In-Reply-To: <20080618150029.GA5016@sc.homeunix.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_708_32929475.1213802161865" References: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> <20080618150029.GA5016@sc.homeunix.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Cc: screen-users@gnu.org Subject: Re: Using modifier keys other than control in custom keybindings 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: , X-List-Received-Date: Wed, 18 Jun 2008 15:16:09 -0000 ------=_Part_708_32929475.1213802161865 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Thanks a lot for the help! I didn't think about using the Vim keybindings for this purpose, and that's a lot better for me than using Tab/Shift-Tab anyway. What you said about the characters being sent by the terminal is very interesting though. Are the characters sent by certain keys configurable in a terminal? If not, what determines the mappings between keys and characters sent by a terminal? That is, will all xterms have the same set of mappings, or is there a config file? I don't see one in ~.... Thanks! On Wed, Jun 18, 2008 at 10:00 AM, Stephane Chazelas < Stephane_Chazelas@yahoo.fr> wrote: > On Wed, Jun 18, 2008 at 08:30:00AM -0500, Samir Unni wrote: > > Hi, > > > > I'm trying to figure out how to set a keybinding for "switch the input > focus > > to the previous region" as C-a shift-tab. However, the "Default Key > > Bindings" section on the man page doesn't show any examples of the synt= ax > > for using modifier keys other than control that I can base my custom ke= y > > binding off of. So I have 2 questions about custom keybindings: > > > > 1. Is "switch the input focus to the previous region" a possible > action > > to bind a key to? I'm using the CVS version of screen, and due to th= e > > support for vertical splitting, I frequently end up with 4 or 5 > terminals in > > one screen session. It's very frustrating to have to C-a tab 3 or 4 > times to > > get to the previous terminal, when I'm switching between two of thos= e > 4 or 5 > > terminals a lot in a short period of time. > > From the manual: > > -- Command: focus > (`C-a ') > Move the input focus to the next region. This is done in a cyclic > way so that the top region is selected after the bottom one. If no > subcommand is given it defaults to `down'. `up' cycles in the > opposite order, `top' and `bottom' go to the top and bottom region > respectively. Useful bindings are (j and k as in vi) > bind j focus down > bind k focus up > bind t focus top > bind b focus bottom > > > 2. Is it even possible to set a key binding with a modifier key othe= r > > than control? > [...] > > Typically no. > > The interaction between screen and the terminal is via characters. > > When you press a key or combination of keys, the terminal sends > one or more characters that an application like screen can read. > > When you press , it sends the ^A (0x1) character, when > you press it sends either ESC (0x2b) and a or a with the > eighth bit set depending on the version of the terminal. > > When you press , it sends A instead of a... and so on. > > Now, for the or , ... keys, you'll find that > some terminals do send different character sequences when > or is pressed. It's worth checking. When not in > screen, try followed by the key combination to see what > you get. > > For instance, here, sends ^[[Z (the 3 characters ESC > [ Z), so that I could bind that to "focus up" if I wanted to. > > And actually, it's done by default here. Because the terminfo > entry for my terminal has: > > $ infocmp -1L xterm-256color | grep -i back_tab > back_tab=3D\E[Z, > > And "focus up" is bound to kB (which is the termcap name for > backtab) in screen by default. > > -- > St=E9phane > ------=_Part_708_32929475.1213802161865 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

Thanks a lot for the help! I didn't think about using the Vi= m keybindings for this purpose, and that's a lot better for me than usi= ng Tab/Shift-Tab anyway. What you said about the characters being sent by t= he terminal is very interesting though. Are the characters sent by certain = keys configurable in a terminal? If not, what determines the mappings betwe= en keys and characters sent by a terminal? That is, will all xterms have th= e same set of mappings, or is there a config file? I don't see one in ~= ....

Thanks!


On Wed, Jun 18, 2008 at 1= 0:00 AM, Stephane Chazelas <Stephane_Chazelas@yahoo.fr> wrote:
On Wed, Jun 18, 2008 at 08:30:00AM -0500, Samir Unni = wrote:
> Hi,
>
> I'm trying to figure out how to set a keybinding for "switch = the input focus
> to the previous region" as C-a shift-tab. However, the "Defa= ult Key
> Bindings" section on the man page doesn't show any examples o= f the syntax
> for using modifier keys other than control that I can base my custom k= ey
> binding off of. So I have 2 questions about custom keybindings:
>
>    1. Is "switch the input focus to the previous = region" a possible action
>    to bind a key to? I'm using the= CVS version of screen, and due to the
>    support for vertical splitting, I frequently end up with = 4 or 5 terminals in
>    one screen session. It's very frustrating to have to = C-a tab 3 or 4 times to
>    get to the previous terminal, when I'm switching betw= een two of those 4 or 5
>    terminals a lot in a short period of time.

From the manual:

 -- Command: focus
    (`C-a <Tab>')
    Move the input focus to the next region. This is done in a c= yclic
    way so that the top region is selected after the bottom one.= If no
    subcommand is given it defaults to `down'. `up' cycl= es in the
    opposite order, `top' and `bottom' go to the top and= bottom region
    respectively. Useful bindings are (j and k as in vi)
         bind j focus down
         bind k focus up
         bind t focus top
         bind b focus bottom

>    2. Is it even possible to set a key binding with a modifi= er key other
>    than control?
[...]

Typically no.

The interaction between screen and the terminal is via characters.

When you press a key or combination of keys, the terminal sends
one or more characters that an application like screen can read.

When you press <Ctrl-A>, it sends the ^A (0x1) character, when
you press <Alt-A> it sends either ESC (0x2b) and a or a with the
eighth bit set depending on the version of the terminal.

When you press <Shift-A>, it sends A instead of a... and so on.

Now, for the <Fx> or <PgDwn>, <Tab>... keys, you'll f= ind that
some terminals do send different character sequences when
<Shift> or <Ctrl> is pressed. It's worth checking. When not= in
screen, try <Ctrl-V> followed by the key combination to see what
you get.

For instance, here, <Shift-Tab> sends ^[[Z (the 3 characters ESC
[ Z), so that I could bind that to "focus up" if I wanted to.

And actually, it's done by default here. Because the terminfo
entry for my terminal has:

$ infocmp -1L xterm-256color | grep -i back_tab
       back_tab=3D\E[Z,

And "focus up" is bound to kB (which is the termcap name for
backtab) in screen by default.

--
St=E9phane

------=_Part_708_32929475.1213802161865-- From MAILER-DAEMON Wed Jun 18 11:51:02 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8zw6-0003Gv-4O for mharc-screen-users@gnu.org; Wed, 18 Jun 2008 11:51:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8zw4-0003GS-9M for screen-users@gnu.org; Wed, 18 Jun 2008 11:51:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8zw1-0003Fn-Ji for screen-users@gnu.org; Wed, 18 Jun 2008 11:50:58 -0400 Received: from [199.232.76.173] (port=42794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8zw1-0003Fg-C3 for screen-users@gnu.org; Wed, 18 Jun 2008 11:50:57 -0400 Received: from yoda.london.02.net ([82.132.130.151]:41119 helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8zw0-0000MP-CD for screen-users@gnu.org; Wed, 18 Jun 2008 11:50:56 -0400 Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 4851DD950100F55F; Wed, 18 Jun 2008 16:50:54 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1K8zvy-00076T-GQ; Wed, 18 Jun 2008 16:50:54 +0100 Date: Wed, 18 Jun 2008 16:50:54 +0100 From: Stephane Chazelas To: Samir Unni Message-ID: <20080618155054.GC5016@sc.homeunix.net> References: <283efb240806180630v71fb85ffia206ece1658fdcf0@mail.gmail.com> <20080618150029.GA5016@sc.homeunix.net> <283efb240806180816m7b6900a6k20aa58ac45aceede@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <283efb240806180816m7b6900a6k20aa58ac45aceede@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: Using modifier keys other than control in custom keybindings 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: , X-List-Received-Date: Wed, 18 Jun 2008 15:51:00 -0000 On Wed, Jun 18, 2008 at 10:16:01AM -0500, Samir Unni wrote: [...] > Thanks a lot for the help! I didn't think about using the Vim keybindin= gs > for this purpose, and that's a lot better for me than using Tab/Shift-T= ab > anyway. What you said about the characters being sent by the terminal i= s > very interesting though. Are the characters sent by certain keys > configurable in a terminal? If not, what determines the mappings betwee= n > keys and characters sent by a terminal? That is, will all xterms have t= he > same set of mappings, or is there a config file? I don't see one in ~..= .. [...] Generally it's hardcoded and it's probably better that way. Applications struggle already to know what sequence the terminal "xxx" sends on , so if everybody can change everything, that becomes impossible. Having said that, xterm, at least allows you to change the bindings via the Xt "translations" resource. Example: XTerm.VT100.translations: #override\ Shift Tab: string(0x1b) string("[Z") to send \e[Z upon You can either define those resources in files loaded by xterm (~/.Xdefaults, or xterm specific app-default file) or install them in the X server with xrdb. So that every xterm that connects to your xserver will have those resources set. The the X or X11 man pages and X toolkit docs for more details. --=20 St=E9phane From MAILER-DAEMON Mon Jun 23 10:10:49 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KAmkr-0003QH-4F for mharc-screen-users@gnu.org; Mon, 23 Jun 2008 10:10:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAmkp-0003Nw-5A for screen-users@gnu.org; Mon, 23 Jun 2008 10:10:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAmkm-0003L1-3D for screen-users@gnu.org; Mon, 23 Jun 2008 10:10:46 -0400 Received: from [199.232.76.173] (port=45354 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAmkl-0003Kk-R9 for screen-users@gnu.org; Mon, 23 Jun 2008 10:10:43 -0400 Received: from ivory.bucknell.edu ([134.82.9.79]:60628) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAmkl-00027J-4Q for screen-users@gnu.org; Mon, 23 Jun 2008 10:10:43 -0400 Received: from iwat.bucknell.edu (iwat.bucknell.edu [134.82.50.33]) by ivory.bucknell.edu (8.14.2/8.14.2) with ESMTP id m5NEAeeE017857 for ; Mon, 23 Jun 2008 10:10:41 -0400 Received: by iwat.bucknell.edu (Postfix, from userid 1000) id CD38BB713; Mon, 23 Jun 2008 10:10:40 -0400 (EDT) Date: Mon, 23 Jun 2008 10:10:40 -0400 From: Ian Wat To: screen-users@gnu.org Message-ID: <20080623141040.GA8691@iwat> Mail-Followup-To: screen-users@gnu.org References: <283efb240806130640p1023e71s89d5d03e8526f569@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <283efb240806130640p1023e71s89d5d03e8526f569@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7160:2.4.4, 1.2.40, 4.0.166 definitions=2008-06-23_05:2008-06-19, 2008-06-23, 2008-06-23 signatures=0 X-Proofpoint-Spam-Details: rule=opt-in_notspam policy=opt-in 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-0806230041 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Accessing Screen windows above 9 with a number key 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: , X-List-Received-Date: Mon, 23 Jun 2008 14:10:47 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Samir Unni [2008-06-13 08:40 -0500]: > Hi, >=20 > I'm trying to figure out how to access Screen windows above 9 using the C= -a > shortcut, but I don't see anything about it. Does anyone know if > there are shortcuts for this? If not, perhaps C-a Shift+ could be > used for this purpose? At least windows 1-19 would be accessible with a > single shortcut this way, similar to irssi. Here's what I do: bind - command -c select11 bind -c select11 1 select 11 bind -c select11 2 select 12 =2E.. So to select window 15 I press: C-a - 5 Ian --=20 Ian J Wat ian@lynxmann.net --OgqxwSJOaUobr8KG 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) iD8DBQFIX67g0LyLaDAvMBMRAlvuAJ9YKnB5xDgCKkSRyGCwWlS/CHnDDACdFRq3 BJXSrVy2AfUKbgEG7Th8bNY= =Hm7d -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From MAILER-DAEMON Tue Jun 24 02:33:25 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KB25k-0004Is-Tv for mharc-screen-users@gnu.org; Tue, 24 Jun 2008 02:33:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KB25i-0004Hu-GL for screen-users@gnu.org; Tue, 24 Jun 2008 02:33:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KB25h-0004Hi-S9 for screen-users@gnu.org; Tue, 24 Jun 2008 02:33:22 -0400 Received: from [199.232.76.173] (port=33042 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB25g-0004HM-T9; Tue, 24 Jun 2008 02:33:20 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:33200) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KB25g-0008AL-KI; Tue, 24 Jun 2008 02:33:20 -0400 Received: from [10.0.0.5] (adsl-76-199-99-244.dsl.pltn13.sbcglobal.net [76.199.99.244]) by mabruk.micah.cowan.name (Postfix) with ESMTP id A49883C8A9B2; Mon, 23 Jun 2008 23:33:19 -0700 (PDT) Message-ID: <48609530.1060703@cowan.name> Date: Mon, 23 Jun 2008 23:33:20 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Screen development , 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) Cc: Subject: Bugtracker links 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: , X-List-Received-Date: Tue, 24 Jun 2008 06:33:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've added a few additional fields for Screen bugs in Savannah. Among other things, a "Planned Release" select box, for planning when bugs will be fixed. I've done some preliminary targeting of bugs for the eventual 4.1.0 release. Also values for Categories, Priority (which, annoyingly, can't be made visible for submission of new issues; only adjusted afterwards), and Work Required. There are some useful links at http://aperiodic.net/screen/bugtracker, for looking at bugs sorted by priority, and by the estimated amount of work required to address the reported issue. - -- 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 iD8DBQFIYJUv7M8hyUobTrERAiWLAJ9qBWMYcAD5OvoeOi3aodeKDtCAFwCfTfnI pEtl2OlH8J+vUhx1Mso9aYM= =BtJ7 -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Jun 26 13:26:48 2008 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KBvF9-0002b7-NE for mharc-screen-users@gnu.org; Thu, 26 Jun 2008 13:26:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBvF8-0002aj-JZ for screen-users@gnu.org; Thu, 26 Jun 2008 13:26:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBvF8-0002aQ-3K for screen-users@gnu.org; Thu, 26 Jun 2008 13:26:46 -0400 Received: from [199.232.76.173] (port=48018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBvF6-0002YM-EG; Thu, 26 Jun 2008 13:26:44 -0400 Received: from mabruk.micah.cowan.name ([66.150.225.51]:56967) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBvF5-0004um-Uy; Thu, 26 Jun 2008 13:26:44 -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 9EBAA3C8A974; Thu, 26 Jun 2008 10:26:40 -0700 (PDT) Message-ID: <4863D14E.70206@cowan.name> Date: Thu, 26 Jun 2008 10:26:38 -0700 From: Micah Cowan User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Screen development , screen-users@gnu.org 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: 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: , X-List-Received-Date: Thu, 26 Jun 2008 17:26:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? > There is one other issue however that I'm having much worse trouble > tracking down. On osx if I specify that screen should use > screen-256color-bce as its TERM, it fails back to vt100 and all > features disappear, once this happens I can't change screen's internal > term through ^a:term it just sticks there. As a temporary measure I'm > having it use xterm-256color, but I would like to find/fix the issue, > if anyone knows where I might look for that it would be very helpful. > Oh, and that term value works fine on linux and the terminfo file is > in the path in 3 seperate places... so it shouldn't be a path issue. I've copied the screen-users list for this one (please send any followups on this issue to the support list only). Are you running screen within another screen? If not, telling screen that the host term is screen-256color-bce, is equivalent to lying to it, and can't be supported. - -- 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 iD8DBQFIY9FO7M8hyUobTrERAvMjAKCK0qm6C0hTQ7tTc5+9KE0m5Gf2XgCfbg48 HNKSMKchungXQSkS8Vva3xk= =5qW9 -----END PGP SIGNATURE-----