From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27206 invoked from network); 10 Jun 2005 14:13:05 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Jun 2005 14:13:05 -0000 Received: (qmail 15457 invoked from network); 10 Jun 2005 14:12:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Jun 2005 14:12:56 -0000 Received: (qmail 840 invoked by alias); 10 Jun 2005 14:12:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21320 Received: (qmail 830 invoked from network); 10 Jun 2005 14:12:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Jun 2005 14:12:51 -0000 Received: (qmail 15076 invoked from network); 10 Jun 2005 14:12:51 -0000 Received: from grunt27.ihug.com.au (203.109.249.147) by a.mx.sunsite.dk with SMTP; 10 Jun 2005 14:12:47 -0000 Received: from 203-217-73-160.dyn.iinet.net.au (localhost.localdomain) [203.217.73.160] by grunt27.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1DgkFX-0004IH-00; Sat, 11 Jun 2005 00:12:44 +1000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id j5AE6jiV011747 for ; Sat, 11 Jun 2005 00:06:49 +1000 Received: (from doug@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id j5AE6hHo011745 for zsh-workers@sunsite.dk; Sat, 11 Jun 2005 00:06:43 +1000 X-Authentication-Warning: localhost.localdomain: doug set sender to dougkearns@gmail.com using -f Date: Sat, 11 Jun 2005 00:06:43 +1000 From: Doug Kearns To: zsh-workers@sunsite.dk Subject: PATCH: screen -R and -D completions Message-ID: <20050610140643.GB6211@localhost.localdomain> Mail-Followup-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_WEB autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Complete -D (power detach) with attached sessions and -R (power attach) with detached sessions. Regards, Doug Index: Completion/Unix/Command/_screen =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_screen,v retrieving revision 1.9 diff -u -r1.9 _screen --- Completion/Unix/Command/_screen 12 Apr 2005 20:16:12 -0000 1.9 +++ Completion/Unix/Command/_screen 10 Jun 2005 14:05:58 -0000 @@ -58,10 +58,10 @@ _arguments -C \ "-a[force all capabilities into each window's termcap]" \ '-A[adapt all windows to the new display width & height]' \ - "-c[read configuration file instead of '.screenrc']:config file:_files -/" \ + "-c[read configuration file instead of '.screenrc']:config file:_files" \ '-d[detach the elsewhere running screen (with -r: reattach here)]: :->attached-sessions' \ - '-dmS[start as daemon, screen session in detached mode]: :->detached-sessions' \ - '-D[detach and logout remote (with -r: reattach here)]' \ + '-dmS[start as daemon, screen session in detached mode]:session name' \ + '-D[detach and logout remote (with -r: reattach here)]: :->attached-sessions' \ '-e[change command characters]:command characters' \ '-f-[set flow control]:flow control:((n\:flow\ control\ off a\:flow\ control\ auto \:flow\ control\ on))' \ '-h[set the size of the scrollback history buffer]:buffer size' \ @@ -75,7 +75,7 @@ '-p[preselect the named window]:window number or name:((\=\:windowlist -\:blank\ window \:window\ number))' \ '-q[quiet startup, exit with non-zero return code if unsuccessful]' \ '-r[reattach to a detached screen process]: :->detached-sessions' \ - '-R[reattach if possible, otherwise start a new session]' \ + '-R[reattach if possible, otherwise start a new session]: :->detached-sessions' \ '-s[shell to execute rather than $SHELL]:shell name: _command_names -e' \ '-S[name this session .sockname instead of ..]:session name' \ "-t[set title (window's name)]:title" \