Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "2004h" at the end of each prompt and "2004l" after pressing Enter on DragonFlyBSD console with zsh 5.1.1
- X-seq: zsh-users 20721
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- 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 02:37:33 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1444437455; bh=6UlIHTdBF/OXrTkjOxrs1Y4R60PpAS/7dKGwsUAqW4g=; h=From:cc:Subject:In-reply-to:References:Date:From:Subject; b=ZYaLvlc6kZmV9GwSgHiVHeL78aDfQBIFloRgIvr/e8tyh8HhXI+SrEnVFxG1wnk4xnKvSvr3MuJRLIN9LEORFSW2pSsDUTvOvKNBvAcWLMC+VbbVT1B2ayabGlXXyRtmYzfaY3wLz2xJ7gBh2oRNP+4gaw6f+2+/sCRRseELJKeP0A+bmcecA6xC2ZLPAjelHF5LSBEd54QhhsFrGDeH5k+0gvYtKy3pt7inSC97khCqci/9tcRV+9PJrZLgnFfT8gR3oJdeRow0smWfE2JtmrzifvNtbtwpPpfh74dn0x72Yw80PYxOQwLTl6EF7kZc8Tgzg+aVV2DybG2zC2kDMg==
- In-reply-to: <151009160452.ZM5208@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20151009220942.GH12039@sym.noone.org> <151009160452.ZM5208@torch.brasslantern.com>
Bart wrote:
> Any idea how we can test for support of this feature and disable it
> automatically on terminals that don't support it?
The approach I suggested in workers/35393 would work for this case.
That is, there is no output from the following with TERM set to cons25.
printf '%s %q\n' ${(kv)terminfo[(R)*[0-9](#c4)[hl]]}
I'm fairly sure that I tried the console on FreeBSD which may have also
been cons25 but much of DragonFly is presumably older. The question is
whether we want to make such a change.
Axel wrote:
> > 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 needs to come after the zle module has loaded. So put it nearer the
bottom of .zshrc - after your bindkeys would do the job.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author