From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4199 invoked by alias); 18 Apr 2015 23:00:38 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34933 Received: (qmail 2177 invoked from network); 18 Apr 2015 23:00:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=zoVvfGW1yEr+4D1b/UCwzdNHTpLaoBsD74JrpsUqFSA=; b=B8RNoWBxLziUjLkQHEEEU1Sbun3rFCOqP9oIKz7mnf9Zz94Lc0gQoy0bEYF7N0B4Z4 fZ7il0NLhQSx/VWikdvN7qbMtpHbRmjyZZ74sYYeGNHc8Xj/NkZWqxXFBI5ZlUQ0U+BH KNL/ErtAuZlFATzEbFR2/mM/GukBGflHUkNB7f5AYlzoQqewYpe0rQGH5dtdPKAyCaeW EZo96LGQ2/JXm5SNjptcjg/xRc5+B4gm9jEqLY6Zzu9/hVYBjVjxGz2+x5V3yxHIghAD wqZtZCH37U7ThojuhshrCzMer9V8sgQePcSU+QyKvmW3szQzQyNWW67VEjAeCwiR0xDA D0vg== X-Gm-Message-State: ALoCoQnOlf+qfAoi1MCdFbpFwCjj10ixP75o+ZJBWKN5E2fDP6xeZMHFxn8brHgtZRZIgsoVAQJB X-Received: by 10.60.103.234 with SMTP id fz10mr8422651oeb.11.1429398034031; Sat, 18 Apr 2015 16:00:34 -0700 (PDT) From: Bart Schaefer Message-Id: <150418160030.ZM12945@torch.brasslantern.com> Date: Sat, 18 Apr 2015 16:00:30 -0700 In-Reply-To: <5532CCE2.1000309@thequod.de> Comments: In reply to Daniel Hahler "Re: Prompt redrawing issues with wrapped prompt on SIGWINCH" (Apr 18, 11:30pm) References: <55318F9F.7040204@thequod.de> <150418085735.ZM12718@torch.brasslantern.com> <55328E8D.8000502@thequod.de> <150418102138.ZM12808@torch.brasslantern.com> <5532CCE2.1000309@thequod.de> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: Prompt redrawing issues with wrapped prompt on SIGWINCH MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 18, 11:30pm, Daniel Hahler wrote: } } > Doesn't happen to me with xterm, but it sends multiple SIGWINCH rather } > than wait for the final size of the window. } } In xterm I only see a single SIGWINCH (via TRAPWINCH). Must be window-manager dependent, then. } > } SIGWINCH before reflowing/rewrapping the text, or something similar? } } Could it emit/forward the signal, and only redraw after it has been } processed by the shell? } Or would the shell have to answer / re-emit the signal for this to work? The shell and the emulator would have to deliberately synchronize somehow, yes. Since the shell generally doesn't have any connection to the emulator (only to the pseudo-terminal device they share), this would not be straightforward. } I am using zsh from git master, 5.0.7-dev-1 (@2e48eceb). Hm. I don't have any explanation, then.