From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14442 invoked from network); 26 Oct 2001 11:08:16 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?Yb4K8Ay1WfLjztaplrUCprlzNMHHUzDE?@203.24.36.3) by ns1.primenet.com.au with SMTP; 26 Oct 2001 11:08:16 -0000 Received: (qmail 4766 invoked from network); 26 Oct 2001 11:08:14 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 26 Oct 2001 11:08:14 -0000 Received: (qmail 5381 invoked by alias); 26 Oct 2001 11:08:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16171 Received: (qmail 5366 invoked from network); 26 Oct 2001 11:08:01 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: PATCH: minor zftpsys doc changes. Date: Fri, 26 Oct 2001 12:07:31 +0100 Message-ID: <10741.1004094451@csr.com> From: Peter Stephenson I noticed some small errors when reading through this. I will also commit the change in 15893 to make zftp require zsh/net/tcp. I left it out in case I got the time to produce a more general patch which makes lists of dependencies at compile time, compiles them into each module which needs it, and handles the whole list at once when a module is loaded, including unloading any earlier modules which were just loaded if a later module in the list fails to load. There's a fascinating exercise for someone. Index: Doc/Zsh/zftpsys.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/zftpsys.yo,v retrieving revision 1.8 diff -u -r1.8 zftpsys.yo --- Doc/Zsh/zftpsys.yo 2001/04/02 13:04:05 1.8 +++ Doc/Zsh/zftpsys.yo 2001/10/26 11:01:59 @@ -173,7 +173,8 @@ var(dir) are passed directly to the server and their effect is implementation dependent, but specifying a particular remote directory var(dir) is usually possible. The output is passed through a pager -given by the environment variable tt($PAGER) or defaulting to `tt(more)'. +given by the environment variable tt($PAGER), or `tt(more)' if that is not +set. The directory is usually cached for re-use. In fact, two caches are maintained. One is for use when there is no var(dir-options) or var(dir), @@ -357,7 +358,7 @@ item(tt(zftransfer) var(sess1)tt(:)var(file1) var(sess2)tt(:)var(file2))( Transfer files between two sessions; no local copy is made. The file is read from the session var(sess1) as var(file1) and written to session -var(sess1) as file var(file2); var(file1) and var(file2) may be relative to +var(sess2) as file var(file2); var(file1) and var(file2) may be relative to the current directories of the session. Either var(sess1) or var(sess2) may be omitted (though the colon should be retained if there is a possibility of a colon appearing in the file name) and defaults to the @@ -366,8 +367,8 @@ var(sess1) and var(sess2) must be distinct. The operation is performed using pipes, so it is required that the -connections still be valid in a subshell, which is not the case under some -versions operating systems, presumably due to a system bug. +connections still be valid in a subshell, which is not the case under +versions of some operating systems, presumably due to a system bug. ) enditem() @@ -385,7 +386,7 @@ If given an argument, mark the current host, user and directory under the name var(bookmark) for later use by tt(zfgoto). If there is no connection open, use the values for the last connection immediately before it was -closed; it is an error if there is none. Any existing bookmark +closed; it is an error if there was none. Any existing bookmark under the same name will be silently replaced. If not given an argument, list the existing bookmarks and the points to @@ -517,8 +518,8 @@ ifzman(zmanref(zshmodules))\ ifnzman(noderef(The zsh/zutil Module)). Briefly, the command `tt(zstyle ':zftp:*') var(style) var(value) ...'. -defines the var(style) to have value var(value) (more than one may be -given, although that is not useful in the cases described here). These +defines the var(style) to have value var(value); more than one value may be +given, although that is not useful in the cases described here. These values will then be used throughout the zftp function system. For more precise control, the first argument, which gives a context in which the style applies, can be modified to include a particular function, as for -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************