[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913237: xterm: exec-formatted yields a tilde character in zsh and emacs



On Thu, Nov 08, 2018 at 04:51:28PM +0100, Vincent Lefevre wrote:
> Package: xterm
> Version: 337-1
> Severity: normal
> 
> In my XTerm configuration, I have:
> 
> *VT100*translations:            #override \n\
>         Meta<Btn1Down>:         exec-formatted("browser %s", PRIMARY)
> 
> The problem is that when exec-formatted is invoked from zsh or emacs
> (when run in xterm, e.g. with "emacs -nw"), a ~ character appears.
> 
> Other shells such as dash, bash and ksh are not affected. Curses
> applications such as mutt and tack are not affected either.

I don't see how this could happen unless you combined the action with
some pasting (such as bracketed-paste).  xterm's formatting of the
string is shell-agnostic, and the exec'd "browser" command would only
depend on what the formatted URL looked like.

In either case, steps-to-reproduce seem obscure.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: