Your message dated Mon, 14 May 2007 21:02:08 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#423897: fixed in zsh 4.3.4-4 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: zsh Version: 4.3.2-25 Severity: wishlist Tags: patch Currently -r and -R completions list only detached sessions, and -x completion lists only attached sessions. In fact, when any of these arguments used together with -D or -d command (in the format either "-D -r" or "-Dr"), they should complete any available sessions, no matter are they detached or attached. This means that any combination of "-[Dd][Rrx]" or "-[Dd] -[Rrx]" should complete into the list of any available sessions. I include the trivial patch to handle the "-[Dd][Rrx]" part (the file to change is /usr/share/zsh/4.3.2/functions/Completion/Unix/_screen); if anyone can provide the similar completion for "-[Dd] -[Rrx]", it would be good. --- _screen.old 2007-05-14 22:25:16.000000000 +0400 +++ _screen.new 2007-05-14 22:51:36.000000000 +0400 @@ -75,7 +75,11 @@ '-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' \ + '-Dr: :->any-sessions' \ + '-dr: :->any-sessions' \ '-R[reattach if possible, otherwise start a new session]: :->detached-sessions' \ + '-DR: :->any-sessions' \ + '-dR: :->any-sessions' \ '-s[shell to execute rather than $SHELL]:shell name: _command_names -e' \ '-S[name this session <pid>.sockname instead of <pid>.<tty>.<host>]:session name' \ "-t[set title (window's name)]:title" \ @@ -84,6 +88,8 @@ '(-)-v[print screen version]' \ '(-)-wipe[do nothing, clean up SockDir]' \ '-x[attach to a not detached screen (multi display mode)]: :->attached-sessions' \ + '-Dx: :->any-sessions' \ + '-dx: :->any-sessions' \ '-X[execute command as a screen command in the specified session]:screencmd:([EMAIL PROTECTED])' \ '*::arguments: _normal' @@ -101,6 +107,11 @@ -ls)"}:#*[Dd]etached*}##[[:blank:]]}%%[[:blank:]]*} ) ;; + any-sessions) + sessions=( + ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ + -ls)"}:#*tached*}##[[:blank:]]}%%[[:blank:]]*} + ) esac # check if initial PID is necessary to make sessions unambiguous -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (450, 'unstable') Architecture: i386 (i586) Kernel: Linux 2.6.18-4-486 Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi -- debconf information: zsh/rcmove:
--- End Message ---
--- Begin Message ---Source: zsh Source-Version: 4.3.4-4 We believe that the bug you reported is fixed in the latest version of zsh, which is due to be installed in the Debian FTP archive: zsh-doc_4.3.4-4_all.deb to pool/main/z/zsh/zsh-doc_4.3.4-4_all.deb zsh_4.3.4-4.diff.gz to pool/main/z/zsh/zsh_4.3.4-4.diff.gz zsh_4.3.4-4.dsc to pool/main/z/zsh/zsh_4.3.4-4.dsc A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Clint Adams <[EMAIL PROTECTED]> (supplier of updated zsh package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 14 May 2007 15:50:00 -0400 Source: zsh Binary: zsh zsh-dev zsh-static zsh-dbg zsh-doc Architecture: source all Version: 4.3.4-4 Distribution: unstable Urgency: low Maintainer: Clint Adams <[EMAIL PROTECTED]> Changed-By: Clint Adams <[EMAIL PROTECTED]> Description: zsh - A shell with lots of features zsh-dbg - A shell with lots of features (debugging symbols) zsh-dev - A shell with lots of features (development files) zsh-doc - zsh documentation - info/HTML format zsh-static - A shell with lots of features (static link) Closes: 423897 Changes: zsh (4.3.4-4) unstable; urgency=low . * Apply patch from Alexander Myodov to better complete sessions for screen. closes: #423897. * Merge changes into Debian run-help. Files: 7d7ea8874e01ca690749afc3c936db1e 758 shells optional zsh_4.3.4-4.dsc 5253e4382d507636db30bffb3b4c139f 212186 shells optional zsh_4.3.4-4.diff.gz f17c5595eea59967221e4d796f8a2ddc 2039342 shells optional zsh-doc_4.3.4-4_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Debian! iD8DBQFGSMnQ5m0u66uWM3ARAvERAKC8gvBXEOgXWckNFwUk95J+c35qkQCeOxuS GJqVsXphrYToUjij3oF7NPQ= =nAfe -----END PGP SIGNATURE-----
--- End Message ---

