Zsh Mailing List Archive
Messages sorted by:
Re: Bug Report: Interactive Mode Glitches
- X-seq: zsh-workers 36948
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Nir Friedman <quicknir@xxxxxxxxx>
- Subject: Re: Bug Report: Interactive Mode Glitches
- Date: Sat, 24 Oct 2015 20:56:08 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=teeLaYROlALuEkZIapA6QZBTZPQ=; b=XSwGs9 A4TJXOWijglhjTw8JmdWjPuF57ee0nLKBXCknR1OXU7pcD7awtS8Kg11SZ1/sxZy n1wMPgTfJ2r8Pj2+uBrk2yPDnYcSlkpZ9esUctS+M7ob77Nf+9hd6M5kTkQ5vdwA 9O7QzXGI8ceOQhBQjMmOiDSooymJblLIZp18U=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=teeLaYROlALuEkZIapA6QZBTZPQ=; b=NEz7Q t0D3V4gMsfPk9FNeVRUkNSqx+LPdG4e1uPqs1gygKwKNy9tDA6mXInOwy8exRG8C tutB8gQK7WuPohfP+H2YrwzrgD/XjdMtzQ8FyIZdlP1Vy+rO9sZutgncsMqO176L y/+25C+AhY7icumGrz72sUY3l0B/S10UZ78lZU=
- In-reply-to: <CA+cBnHCFJYxvaLL4O7wmKwP7rcdoTrh5aViMkT6zZW3eYaWYjw@mail.gmail.com>
- List-help: <mailto:email@example.com>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CA+cBnHDFZPK4d3hRYGZ_5o=1mep3D5iq67Ppsy1N91B9Pqd9vw@mail.gmail.com> <20151024203730.GD11372@tarsus.local2> <CA+cBnHCFJYxvaLL4O7wmKwP7rcdoTrh5aViMkT6zZW3eYaWYjw@mail.gmail.com>
Nir Friedman wrote on Sat, Oct 24, 2015 at 16:45:23 -0400:
> Hi Daniel,
> My apologies, I only realized upon rereading this that I completely omitted
> a description of what happened! What happens is that it crashes the zsh
> process. So if you are running zsh by simply calling it from bash, it
> reverts to the bash process. If (more typically) you are running the zsh
> process directly in your terminal emulator, it crashes that window of the
> terminal emulator.
What probably happens is not that the terminal emulator crashes, but
that it closes because the shell exited (abnormally). Try instructing
the terminal emulator to remain open after the process in the pty exits
(such as with tmux's remain-on-exit option), or using a tabbed terminal
emulator, to see this.
> I'm not sure if zsh is killed by signal or some other mechanism.
Try running zsh from another zsh instance. If the nested zsh crashes,
the outer zsh will tell you that:
tarsus% kill -11 $$
 17214 segmentation fault zsh
% echo $?
I'm not sure what to say about the rest of your email, so I'll leave it
to others on list. Incidentally, what OS / distro are you on?
Messages sorted by: