From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7729 invoked by alias); 10 Jun 2015 10:08:45 -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: 35432 Received: (qmail 7687 invoked from network); 10 Jun 2015 10:08:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB autolearn=no autolearn_force=no version=3.4.0 Message-ID: <557806F9.80201@thregr.org> Date: Wed, 10 Jun 2015 11:44:25 +0200 From: Yuri D'Elia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Re: bracketed paste mode in xterm and urxvt References: <55677AF5.50709@thequod.de> <27004.1433345491@thecus.kiddle.eu> <3098.1433511607@thecus.kiddle.eu> <7701.1433896116@thecus.kiddle.eu> In-Reply-To: <7701.1433896116@thecus.kiddle.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 06/10/2015 02:28 AM, Oliver Kiddle wrote: > On 5 Jun, Yuri D'Elia wrote: >> What if the terminal itself turns off BREAK processing during paste? > > You can try. Would be interesting. May not work when there is ssh/sshd, > telnet, screen, tmux etc sat between urxvt and zsh. I will give it a try. Doesn't sound complicated to implement (easier than read ssh source code anyway..). >>From reading termios(8) though, if we disable BREAK a \0 is emitted in his place. >> Putty also eats it by the way. If that's the case for all terminals, I >> would just enabled it by default. > > We can always add some tests later if it appears to be necessary. Any > objections? > I've tried quite hard to find a terminal that won't eat the sequence and > found none. I have an old SGI Octane sitting somewhere, with IRIX 6.5... but do we really want to support it ? ;) I would say it's really better if this was enabled by default and see if there's any report coming in.