[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 Wed, Dec 05, 2018 at 10:13:35AM +0100, Vincent Lefevre wrote:
> On 2018-12-05 09:58:21 +0100, Vincent Lefevre wrote:
> > On 2018-12-04 21:50:47 -0500, Thomas Dickey wrote:
> > > That looks as expected, if you've got two different things writing to
> > > the terminal at the same time:
> > > 
> > > https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Bracketed-Paste-Mode
> > 
> > So, perhaps I can see something with zsh (without Ctrl-V first) and
> > Emacs because bracketed paste is enabled or something like that.
> > 
> > > but the execvp command by itself doesn't do the writing
> > 
> > So, what is doing the writing?
> 
> According to strace, it is xterm:

sure: xterm replies to the application for bracketed paste.

I don't see anything in the trace which makes it print anything for
the exec-formatted action, however.

> 9880  10:04:49.481717 execve("/bin/true", ["/bin/true"], 0x55e69924beb0 /* 131 vars */ <unfinished ...>
> [...]
> 
> (For the test, I replaced "browser %s" by "/bin/true" for simplicity.)

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

Attachment: signature.asc
Description: Digital signature


Reply to: