From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4309 invoked by alias); 1 Sep 2016 14:06:20 -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: 39150 Received: (qmail 19767 invoked from network); 1 Sep 2016 14:06:20 -0000 X-Qmail-Scanner-Diagnostics: from 195.159.176.226 by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(195.159.176.226):SA:0(2.5/5.0):. Processed in 0.130436 secs); 01 Sep 2016 14:06:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NML_ADSP_CUSTOM_MED,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: gcszd-zsh-workers@m.gmane.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at m.gmane.org does not designate permitted sender hosts) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Christian Neukirchen Subject: Re: zsh Issue - "Tab" character is not pasted into shell Date: Thu, 01 Sep 2016 15:48:35 +0200 Message-ID: <878tvb7mto.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) In-Reply-To: ("Xavier =?utf-8?Q?Mart=C3=ADnez?= Serrano"'s message of "Thu, 1 Sep 2016 10:42:48 +0200") Xavier Martínez Serrano writes: > Hi all, > > I recently experimented an issue when pasting "tab" characters to zsh > terminal. Whereas > changing the shell to "sh" or opening a terminal editor like "nano" allowed > me to paste > a text with tabs, when copying the same text with tabs into "zsh" it > literally EATS the TAB > characters. > When coyp/pasted (via menu or shortcut(Ctrk+Shift+V) to sh or nano the > output is as expected: > > thisisatest > > But when pasted to "zsh" the output is: > > thisisatest Without special copy&paste support, "pasting" just means the terminal emulator types in the text very quickly, and means to do completion in this case... That said, recent zsh support terminal copy&paste, so with my zsh 5.2 this works out of the box (setopt zle_bracketed_paste), at least in urxvt and xterm. Hope this helps, -- Christian Neukirchen http://chneukirchen.org