Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _screen calls non-existent program
- X-seq: zsh-users 15463
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- Subject: Re: _screen calls non-existent program
- Date: Tue, 19 Oct 2010 19:11:48 -0400
- Cc: zsh-users@xxxxxxx
- 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=;
- In-reply-to: <20101019151344.5104c4fa@xxxxxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Peter Stephenson <Peter.Stephenson@xxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <5C904183-5F0E-4971-B036-497A143DD227@xxxxxxxxxxx> <20101019135822.0082a9e6@xxxxxxxxxxxxxxxxxxxxxxxxx> <2D499F17-875D-4BD9-80D9-2700A504ED8D@xxxxxxxxxxx> <20101019151344.5104c4fa@xxxxxxxxxxxxxxxxxxxxxxxxx>
On 2010-10-19 at 15:13 +0100, Peter Stephenson wrote:
> On Tue, 19 Oct 2010 15:52:25 +0200
> Sebastian Stark <seb@xxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author