From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25111 invoked by alias); 10 Nov 2014 15:54:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33666 Received: (qmail 14243 invoked from network); 10 Nov 2014 15:54:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=Qyz5EhwEgno+0ygJy6JQjg==:117 a=Qyz5EhwEgno+0ygJy6JQjg==:17 a=G8GL833Es-AA:10 a=IkcTkHD0fZMA:10 a=FPb6M4Rp10DNRIO_9KQA:9 a=TLnrmPnAScNNVNAQ:21 a=uamLrAky7XyOVpL1:21 a=QEXdDO2ut3YA:10 Message-id: <5460EE92.6020307@eastlink.ca> Date: Mon, 10 Nov 2014 08:57:54 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: Bart Schaefer Cc: Zsh hackers list Subject: Re: 'whence' question and others References: <545A6D66.3080500@eastlink.ca> <1458.1415209763@thecus.kiddle.eu> <20141105180035.22f6e9b1@pwslap01u.europe.root.pri> <141105204330.ZM2973@torch.brasslantern.com> <20141106211017.11b8848a@pws-pc.ntlworld.com> <20141108204123.1fcc698e@pws-pc.ntlworld.com> <141109105139.ZM27532@torch.brasslantern.com> <546049D9.4030806@eastlink.ca> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 11/10/2014 12:20 AM, Bart Schaefer wrote: > If you build from the parent directory, configure will be (re)run when > necessary by "make". Also in that case, the documentation will be > rebuilt when the .yo files are changed. Is there a decent doc for 'configure', what it does, how it works? I see the msg. scroll by, and they are mostly about what is and isn't available. One can easily understand that there'd be a check for essential stuff, but it seems do do much more than that. What makes a reconfigure necessary? > What exactly do you mean by "function help"? The documentation for the > library functions? On most linux systems "info libc" will probably work Tx. Once I got the proper name of the lib from that the rest was easy. > If you configure with --enable-zsh-debug then a function dputs() is > available which writes messages to the file named by the > $ZSH_DEBUG_LOG parameter. It's kind of a stripped-down printf() which > accepts only a few %-formats: %s = string, %d = int, %L = long, %c = > char (including multibyte), %e = error number [for strerror()], and %l > which is for non-nul-terminated strings and accepts two arguments, the > char* and the number of bytes to print. If you want to leave some kind > of tracing on during normal use, I would recommend using dputs() and > setting $ZSH_DEBUG_LOG. There are also a set of DPUTS() macros which > are sort of like assert() wrappers for dputs(). Something akin to the > above paragraph ought to be in zsh-development-guide somewhere. Good, some nice robust methods.