From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12230 invoked from network); 22 Nov 2002 11:41:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Nov 2002 11:41:58 -0000 Received: (qmail 12635 invoked by alias); 22 Nov 2002 11:41:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17958 Received: (qmail 12561 invoked from network); 22 Nov 2002 11:41:16 -0000 X-VirusChecked: Checked X-Env-Sender: kiddleo@logica.com X-Msg-Ref: server-17.tower-4.messagelabs.com!1037965245!25122 From: Oliver Kiddle To: Zsh workers Subject: PATCH: _print MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24789.1037965230.1@logica.com> Date: Fri, 22 Nov 2002 11:40:45 +0000 Message-ID: <24791.1037965245@logica.com> Sender: kiddleo@logica.com This changes _print to reflect Peter's additions to the builtin in 17940. Also, _ulimit was missing the -u and -v options and a minor change to _read resulting from the changed builtin argument code. Oliver Index: Completion/Zsh/Command/_print =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_print,v retrieving revision 1.2 diff -u -r1.2 _print --- Completion/Zsh/Command/_print 8 Oct 2001 10:47:47 -0000 1.2 +++ Completion/Zsh/Command/_print 22 Nov 2002 11:33:54 -0000 @@ -14,7 +14,7 @@ '(-r -b -f -m -s -l -N -o -O -i -c -u -p -z -D -P)-R[emulate BSD echo (no escapes, -n & -e flags only)]' \ '-b[recognise bindkey escape sequences]' \ '-m[remove arguments matching specified pattern]' \ - '(-r -n -R -l -N -c)-f[print arguments as for the printf builtin]:format' \ + '(-r -n -R -l -N -c)-f+[print arguments as for the printf builtin]:format' \ '(-u -p -z)-s[place results in the history list]' \ '(-c -f)-n[do not add a newline to the result]' \ '(-N -c -f)-l[print arguments separated by newlines]' \ @@ -22,7 +22,9 @@ '(-O)-o[sort arguments in ascending order]' \ '(-o)-O[sort arguments in descending order]' \ '-i[case-insensitive sorting]' \ - '(-n -l -N -f)-c[print arguments in columns]' \ + '(-n -l -N -f -s -z)-a[with -c/-C, print arguments across before down]' \ + '(-n -l -N -f -C -s -z)-c[print arguments in columns]' \ + '(-n -l -N -f -c -s -z)-C+[print arguments in specified number of columns]:columns' \ '(-s -p -z)-u+[specify file-descriptor to print arguments to]:file-descriptor:_file_descriptors' \ '(-s -p -u)-z[push arguments onto editing buffer stack]' \ '-D[substitute any arguments which are named directories using ~ notation]' \ Index: Completion/Zsh/Command/_read =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_read,v retrieving revision 1.2 diff -u -r1.2 _read --- Completion/Zsh/Command/_read 23 Aug 2002 10:23:07 -0000 1.2 +++ Completion/Zsh/Command/_read 22 Nov 2002 11:33:54 -0000 @@ -9,7 +9,7 @@ _arguments -s -A "-*" -S \ '-r[raw mode]' \ '(-p -k -s -u -z)-q[read y or n character from terminal]' \ - '(-q)-k[specify number of characters to read]:number of characters' \ + '(-q)-k+[specify number of characters to read]:number of characters' \ '(-q -s -u -p)-z[read entry from editor buffer stack]' \ '(-E)-e[input read is echoed and not assigned]' \ '(-e)-E[input read is echoed]' \ Index: Completion/Zsh/Command/_ulimit =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_ulimit,v retrieving revision 1.1 diff -u -r1.1 _ulimit --- Completion/Zsh/Command/_ulimit 3 Apr 2001 21:13:10 -0000 1.1 +++ Completion/Zsh/Command/_ulimit 22 Nov 2002 11:33:54 -0000 @@ -14,4 +14,6 @@ '-n[maximum no. of open file descriptors]:maximum no. of open file descriptors' \ '-s[stack size limit]:stack size limit (K-bytes)' \ '-t[maximum cpu time per process]:maximum cpu time per process (seconds)' \ + '-u[processes available to the user]:processes' \ + '-v[maximum size of virtual memory]:maximum size of virtual memory (K-bytes)' \ '*:size of largest file allowed' This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.