From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3902 invoked by alias); 2 Nov 2016 04:44:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22069 Received: (qmail 19448 invoked from network); 2 Nov 2016 04:44:01 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f46.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.218.46):SA:0(0.0/5.0):. Processed in 0.422753 secs); 02 Nov 2016 04:44:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: aauren@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.218.46 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1/jZfsQwqOzMTvBZZY2PPcWQMUShg+etP2eqTsyNzOU=; b=n44EeAVg5+wHDGmwU9h7micO0Yg8JOX064npSQHK7xJcxLAahsNHjtErV29rKNpidJ UAT0ZvzYJ35sxWDUsuRJMIq0+gqMScBzdAtKuK4WYuHsnv1DtUlWk2HFW9QXucZcN9tp YB4iTgAf43FhOKjrQ6Y70gR9a3EHKdgvyaizhcezpqfOrnlayXXU4neN5bTIkjQ/x4ll OZQvCcR0y5iWL7EvBAaUO+Dd9bFOqkq/CvJst6vyCDEsJ5/+q0PudIfvUOEmwbIy89Fg PAvTX7WmakavDdDUbTwjzk12gw0++M9Zlb9lrl38bDTyxorjweMnYHBCrIp0pyPPiN8R BStQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1/jZfsQwqOzMTvBZZY2PPcWQMUShg+etP2eqTsyNzOU=; b=E13mfN8hY/6xBv8YzMLGT1KKREVYN3BC742c+0AiEum0A0uAwEcSd6yiAVijxpgXsJ /x3G3uWb+8CUcYgi8q8n/lf3bWkr1qHw1N/W4SowvM1xBqNiy8OzLaiAigBScZkLfcaP XxwdBh3XIj8HnEAgSXA/kjhZdEFcoPtzGvqhH6Z46JP3s+852ETTbU1lIvdBiIHZvYzJ LSAVZTbgwFM/aW8PZK5evIG/wlTRSb597pUuCeE91mN+DBaBwxK9ABB9V9q8aj1BJdi4 xycc51ZP5So7E/1yx2/oIkYV89epE6hwTaJLy16WHLS0AMfshCbds9gGp4qwI0OMD1lD xr8A== X-Gm-Message-State: ABUngvc3VLl3VLufTG3RMpfnhx5xaVJcvOkLugGTduro0LfUq8AWpHh1hRITegQCh5tuIDbbz399jxSFKogLuA== X-Received: by 10.202.195.79 with SMTP id t76mr1288507oif.118.1478058794705; Tue, 01 Nov 2016 20:53:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <161101204434.ZM26466@torch.brasslantern.com> References: <161101204434.ZM26466@torch.brasslantern.com> From: "Aaron U'Ren" Date: Tue, 1 Nov 2016 22:53:14 -0500 Message-ID: Subject: Re: Long Prompt Lines Cause Terminal History Loss on Window Resize To: Bart Schaefer Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=001a11c17a1c6a6ad80540496163 --001a11c17a1c6a6ad80540496163 Content-Type: text/plain; charset=UTF-8 Interesting. So is there no way to mitigate this issue in zsh? Because bash doesn't produce the same results in either tmux or xfce terminal. Also, if this is purely a terminal implementation problem, can you give me any direction about where the problem lies so that I can file a more accurate bug report with the project? And what terminals do you recommend that exhibit correct behavior on resize? Is tmux affected because it is also flawed or because the terminal that contains it is flawed? On Nov 1, 2016 10:44 PM, "Bart Schaefer" wrote: > On Oct 31, 1:45pm, Aaron U'Ren wrote: > } > } Does anyone know why long prompt lines and window resizing causes lines > of > } terminal history to be removed? > > This is terminal-specific behavior; older xterm reformats the scrollback > itself to fit into the narrow window and then never widens it again. In > Gnome terminal the last line of the previous prompt gets overwritten but > the scrollback above the first line of the first long prompt is left alone > (although it extends the window with blank lines below the prompt as the > window is enlarged again, so you have to scroll up to see the previous > screen; but it's not lost.) > > Questions about why terminals act oddly/differently when text is printed > to the lower right corner have just about risen to the level of needing a > FAQ entry ... > --001a11c17a1c6a6ad80540496163--