From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14888 invoked by alias); 19 Oct 2010 23:27:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15463 Received: (qmail 28286 invoked from network); 19 Oct 2010 23:27:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d200912; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=LOR+zmcamJdDC6LvEmIzuOK+LMAvZEghXpU3p93FmWk=; b=AnlPUw1WOjzteK+jfiop8EBc2iZXRCP3I7gMTjtsFUZ6lNBBaQO6ZApcqwp38AtIHm6ttQUFed1VdENUzlCPMwRAKBQkYO7laQrPfK+OuIXTaAgkwSAsQEaOQPgeaUkKwNLYsf8VLEGh8e1nK62Cd1awsZFqT0htEmFbr2a4TIU=; Date: Tue, 19 Oct 2010 19:11:48 -0400 From: Phil Pennock To: Peter Stephenson Cc: zsh-users@zsh.org Subject: Re: _screen calls non-existent program Message-ID: <20101019231148.GA69899@redoubt.spodhuis.org> Mail-Followup-To: Peter Stephenson , zsh-users@zsh.org References: <5C904183-5F0E-4971-B036-497A143DD227@biskalar.de> <20101019135822.0082a9e6@pwslap01u.europe.root.pri> <2D499F17-875D-4BD9-80D9-2700A504ED8D@biskalar.de> <20101019151344.5104c4fa@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101019151344.5104c4fa@pwslap01u.europe.root.pri> On 2010-10-19 at 15:13 +0100, Peter Stephenson wrote: > On Tue, 19 Oct 2010 15:52:25 +0200 > Sebastian Stark wrote: > > I think it should be default, at least in the -X case, because in > > this case -S is used to choose from existing sessions. (see my other > > email). > > Might be easier to add it in all cases and assume the user knows what > they're doing. We do that kind of thing elsewhere. There is a problem with some of the parsing at present, don't have time to fix myself but I'll note it here. { screen -dr } is handled as any-sessions, but that's just option bundling. { screen -d -r } is matching on detached-sessions, but should be any-sessions. The earlier -d is not changing the state, it's just an assumption of bundling. On a related note, "-x" is shown as taking attached-sessions. In fact, -x is a parameterless option, simply turning on multi-display mode (multiple clients all connected to the same screen session, possibly on different windows, but not necessary). So { -x -r }, { -xr }, whatever, they should all take any-sessions. So if someone new to completion is encountering issues and wants to explore, this is a good candidate to tackle, as you'd get to redo the approach, not merely add or remove a line. -Phil