zsh-users
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-users@zsh.org
Subject: Re: "2004h" at the end of each prompt and "2004l" after pressing Enter on DragonFlyBSD console with zsh 5.1.1
Date: Sat, 10 Oct 2015 01:32:24 +0200	[thread overview]
Message-ID: <20151009233223.GI12039@sym.noone.org> (raw)
In-Reply-To: <151009160452.ZM5208@torch.brasslantern.com>

Hi,

On Fri, Oct 09, 2015 at 04:04:52PM -0700, Bart Schaefer wrote:
> The short answer to your question is:
> 
>     unset zle_bracketed_paste

This works if I enter it manually at the shell prompt, but does
neither work in .zshrc nor in .zshenv. It though does work if I source
the according files manually afterwards. Strange. The file is read
though since the remainder of the prompt works fine.

> Congratulations, you've just disproved the assumption that all terminals
> (emulators) will consume and discard the start-of-bracketed-paste escape
> sequence even if they don't support the feature.

Yay! ;-)

> Some of us were worried about that when the feature was introduced,
> but no counter-examples were forthcoming during development.

JFTR: This does not happen with bash (4.3.42) or tcsh (6.18.01) in the
same environment.

> I'm guessing you're on the BSD system console?

Yes, as mentioned in the subject. The image I mentioned in my initial
mail is without X and I've just started it inside kvm and logged in on
the console there, i.e. no remote login via SSH or such.

> Any idea how we can test for support of this feature and disable it
> automatically on terminals that don't support it?

Nope. Except maybe looking how bash does it. :-)

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)


  reply	other threads:[~2015-10-09 23:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 22:09 Axel Beckert
2015-10-09 23:04 ` Bart Schaefer
2015-10-09 23:32   ` Axel Beckert [this message]
2015-10-09 23:41     ` Axel Beckert
2015-10-10  0:37   ` Oliver Kiddle
2015-10-10  0:59     ` Axel Beckert
2015-10-10  3:24       ` what is truth? Ray Andrews
2015-10-10  4:16         ` Kurtis Rader
2015-10-10  4:30           ` Ray Andrews
2015-10-10  4:47           ` Kurtis Rader
2015-10-10  4:25         ` Mikael Magnusson
2015-10-10  4:34           ` Ray Andrews
2015-10-10  4:26         ` Bart Schaefer
2015-10-10  4:52           ` Ray Andrews
2015-10-10  6:59         ` Phil Pennock
2015-10-11 13:54         ` Please don't hijack existing threads (was: what is truth?) Axel Beckert
2015-10-11 14:42           ` Please don't hijack existing threads Ray Andrews
2015-10-11 15:04             ` ZyX
2015-10-11 15:19               ` Ray Andrews

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=20151009233223.GI12039@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-users@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).