From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29420 invoked by alias); 26 May 2013 23:11:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17814 Received: (qmail 25403 invoked from network); 26 May 2013 23:10:58 -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,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=WuSrWamRw4BqqIowtQXSZ4BRQwraMwbk+Qy3JxUDbBg=; b=eRZZNgIsALEFpIPhJJxHFMSTLq1aYGNp38zEnNAkgv/2nB15vnmBC0I2wfGKJTefXO Es939PVAcVXMgMTLJZajDh7CCR2GSVL/bpgEalMU6UxhCZnACy716C80qE8iNFIShgjn hsXi6rf98Dc9yvel6ZJ0eIQ5p+TrO15NNkkSBIkX+E3Fj0Ujvcj0fKaFSArTGBDoNj+s TYeygV7cqOkIeWZMyd6oN5Pfm9RR59vhBEAN6YtwRHR8fZHybXRdk9iwUxkRQYJ7QGhl Dz3VmQuLEnHyIH3qd3RCxnM9PBxcXVBPpb3n1+BvZ3WuSVk7bxiszPcVFGj7xUiOoj07 ZdPQ== MIME-Version: 1.0 X-Received: by 10.112.180.232 with SMTP id dr8mr13127665lbc.67.1369609828410; Sun, 26 May 2013 16:10:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 May 2013 16:10:28 -0700 Message-ID: Subject: Re: How to capture the tab completion result? From: Bart Schaefer To: Zsh Users Content-Type: multipart/alternative; boundary=001a11c348e84db8d604dda72318 X-Gm-Message-State: ALoCoQkq6o+omSxXKlj4fM2qV5zdcp7TdHhGx/5Q7pI4AgJ8r/Qs52spd3s50VtWBJPkyTkCK1VS --001a11c348e84db8d604dda72318 Content-Type: text/plain; charset=ISO-8859-1 On Saturday, May 25, 2013, Mario Signorino wrote: > Hi all > > I need some help and possibly also an advice. > > I want is to surround the result of the tab-completion with a special > not-printable chars. This is not going to be straightforward, but have a look at Test/comptest in the sources, which does a similar thing. It forces completion listings and then "colors" them with markup that can be parsed. The characters it uses aren't actually non-printing, but if your app is going to grab the listing on its way to the terminal anyway, perhaps it can also strip the markup. --001a11c348e84db8d604dda72318--