From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24585 invoked by alias); 26 Oct 2014 17:50:56 -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: 33538 Received: (qmail 29022 invoked from network); 26 Oct 2014 17:50:53 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=FrayJNvv c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=952iBucP8i2Ufm356zQA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141026105032.ZM13782@torch.brasslantern.com> Date: Sun, 26 Oct 2014 10:50:32 -0700 In-reply-to: <544D2D6F.8030505@eastlink.ca> Comments: In reply to Ray Andrews "first adventures" (Oct 26, 10:20am) References: <544D2D6F.8030505@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: first adventures MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Oct 26, 10:20am, Ray Andrews wrote: } } I'm trying to figure out where/how command lines are grabbed (I think } this is done by zle?). Well, it's done by ZLE when ZLE is active, which it isn't always. However, I think what you're looking for is Src/Zle/zle_main.c in the function zle_main_entry() under "case ZLE_CMD_READ" where the call to zleread() is made. Or perhaps where that's called, which is usually from Src/input.c:inputline() via zleentry(ZLE_CMD_READ, ...). } ... I'm hoping there will be some_string somewhere such that: } } puts(some_string) } } ... will print exactly: } } some-command $1 *.* !{1, 1 & @ >>! $2 "no parsing please!" .. () } '<<' `# ^ -n(*&<)` {} No, that there isn't, though if you look around line 296 of input.c where the VERBOSE option is handled, you'll get close. The input line is read into what's called "metafied" form by zleread() and has to be unmetafied [by the aptly named function unmetafy(), Src/utils.c] to return it to the raw input form. } One other thing: 'make' produces so many dull msg. about moving } into and out of directories and such. Can these be turned off? I'd } like to see just warnings and errors and 'important' msg. Run it as "make -k" and it will shut up about that. This is a GNU make thing, not a zsh build configuration thing.