From: Christian Neukirchen <chneukirchen@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: zsh Issue - "Tab" character is not pasted into shell
Date: Thu, 01 Sep 2016 15:48:35 +0200 [thread overview]
Message-ID: <878tvb7mto.fsf@gmail.com> (raw)
In-Reply-To: <CAPYyywhCjvBrC2Vr9MZYnG7B1rGheBH-DFQK=ZAPyPBAP7H_8A@mail.gmail.com> ("Xavier =?utf-8?Q?Mart=C3=ADnez?= Serrano"'s message of "Thu, 1 Sep 2016 10:42:48 +0200")
Xavier Martínez Serrano <xmarti6@xtec.cat> 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:
>
> this<TAB>is<TAB>a<TAB>test
>
> 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 <TAB> 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 <chneukirchen@gmail.com> http://chneukirchen.org
next prev parent reply other threads:[~2016-09-01 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 8:42 Xavier Martínez Serrano
2016-09-01 13:48 ` Christian Neukirchen [this message]
2016-09-01 16:37 ` Bart Schaefer
2016-09-02 7:21 ` Xavier Martínez Serrano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878tvb7mto.fsf@gmail.com \
--to=chneukirchen@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).