From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 319c1b76 for ; Sun, 30 Jun 2019 00:08:50 +0000 (UTC) Received: (qmail 8035 invoked by alias); 30 Jun 2019 00:08:38 -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: List-Unsubscribe: X-Seq: 23997 Received: (qmail 11213 invoked by uid 1010); 30 Jun 2019 00:08:37 -0000 X-Qmail-Scanner-Diagnostics: from mail-wm1-f43.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25489. spamassassin: 3.4.2. Clear:RC:0(209.85.128.43):SA:0(-2.0/5.0):. Processed in 1.897102 secs); 30 Jun 2019 00:08:37 -0000 X-Envelope-From: rcombs@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.128.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=LDSkqscOPw/tOGFRCLeIzZfLFfd5D5EoBs0LCNAy950=; b=gsqH5ETj8/NuV2F9jjij6x4Vad5kN9c+SJjA6/1OjQaCRXlQ5RxGqx7WeHovWvWMrC Iiaen5EyPQ6ZnP1QxQ+wibxndZAaiBvncWwBW5Pmv+76TYV2M/Xitn0Z6adI+NlqS24k 8qyNK1dSQ36yLMLReU2fxsZovSgCzfe3GBbS049GW4Ypo9O2WJnCT6iHhpdcI0aDgd60 oUcTfY+jP4Iszx//SfdLmRQdcrc1n9NLpNXVRnKtroze6CkiNwpG4i8Nq1ikGeSsM/lz sNYwLf9U4Yc0BaoMzRoGlbl4C6YLNkzKKJ51jtGh0aIZOHe178moUWwLLb48ok8ezID0 kvgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LDSkqscOPw/tOGFRCLeIzZfLFfd5D5EoBs0LCNAy950=; b=WgC/5rF8sE/gBxugn2CeC7nWwPoOV6eaG145Wvl7tXzsz4B+DdczYt7YUwswEdadNo aiHGSgetnkpJODsEf555jK2SkFQ3qwFwdgP0zrHKMcmEFMrQfH7jx2uzr5qfsiVqoLLH XDe/e+YTpZ72UZ6y1+zRGHIxYNuKD0bJNEl0To3n4ykv8NA/m1ISpnujxS3AItv2bT4J nZsEcQUI3uvVx0W/nMjiQxG75ivz0AmRF16NZaJ4GxYVccuq3B4/4yJbizGpbtpYMJEc JIhvu6vrn059XC1cCGWYU0bHd3/YyAtX25vXArAC1s57hUkJitQPa0l5I54f/guZee9H 61OQ== X-Gm-Message-State: APjAAAW3H1zDinP1rZVLk8FwzFIb8RHY0gN7SxaIkApifXGFYlOjgG64 /qZM008DRuME4PkdL/O6AlpIIkezmvLUyRbuSSudD67S X-Google-Smtp-Source: APXvYqwF8Ge5PZ0EVltPMOSzEsM5kqccfKjLlnjrCrcQF5sFPULKNBXRmT/ehxHJvkX7toZVUKqgGyBQNDGcM8zRbUM= X-Received: by 2002:a1c:b6d4:: with SMTP id g203mr11687663wmf.19.1561853280772; Sat, 29 Jun 2019 17:08:00 -0700 (PDT) MIME-Version: 1.0 From: Ross Combs Date: Sun, 30 Jun 2019 02:07:49 +0200 Message-ID: Subject: Re: Zsh and ReGIS graphics. To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="000000000000fde988058c7f4d6d" --000000000000fde988058c7f4d6d Content-Type: text/plain; charset="UTF-8" On Sun, 2 Jun 2019 10:08:50 -0600, Grant Taylor wrote: > > On 5/26/19 11:55 AM, Grant Taylor wrote: > > > Does anyone have any idea if this is a Zsh thing? Or possibly something spurious I have in my > > prompt? > > I don't think it's my prompt. I unset RPROMPT and changed PROMPT to be "# " and I'm still > seeing zsh erase content below the prompt line. > > Any help / pointers would be appreciated. I ran typescript zsh.log, then ran zsh inside, control-Led, hit return a few times, and cat-ed a ReGIS image file. I can confirm that what you state happens: the image is cleared from the following line to the end of the screen. This appears to be due to zsh emitting a ^[[J before printing the prompt. I don't know why it does this. Does zsh sometimes write to parts of the screen below the current line? [many lines omitted] ^M ^[\^M ^[[1m^[[7m%^[[27m^[[1m^[[0m ^M ^M^M^[[0m^[[27m^[[24m^[[Jusername@hostname ~% ^[[K^[[?2004h^[[?2004l^M^M ^[[?2004h^[[38;5;101musername@hostname:~$ ^[[m^M ^[[?2004l^[[?2004h^[[38;5;101musername@hostname:~$ ^[[m^[[?2004l [other lines omitted] I don't have that in my prompt either: username@hostname ~% set | grep PROMPT PROMPT='%n@%2m %~%# ' [apologies for the broken message id chain -- I'm not subscribed to this list so I had to hand-craft this response] -Ross --000000000000fde988058c7f4d6d--