From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35129: Unsupported escape sequences for progress in shell Date: Wed, 03 Apr 2019 23:27:24 +0300 Organization: LINKOV.NET Message-ID: <87lg0qx2ab.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122914"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 35129@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 22:56:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBmvg-000VrC-Jz for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2019 22:56:17 +0200 Original-Received: from localhost ([127.0.0.1]:45333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBmvf-0003aF-Ge for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2019 16:56:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBmvX-0003a7-Ud for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:56:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBmvU-0001QA-3g for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:56:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57993) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBmvS-0001OH-O0 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBmvS-000143-DO for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2019 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35129 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15543249114026 (code B ref -1); Wed, 03 Apr 2019 20:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 20:55:11 +0000 Original-Received: from localhost ([127.0.0.1]:43304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBmud-00012s-EZ for submit@debbugs.gnu.org; Wed, 03 Apr 2019 16:55:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBmub-00012a-B9 for submit@debbugs.gnu.org; Wed, 03 Apr 2019 16:55:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBmuQ-000885-V7 for submit@debbugs.gnu.org; Wed, 03 Apr 2019 16:55:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBmuP-0003E6-FQ for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBmuO-000829-8s for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:54:57 -0400 Original-Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:62658) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBmuK-0007s1-Gw for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 16:54:56 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F0B7D12575A for ; Wed, 3 Apr 2019 20:54:44 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (unknown [100.96.28.55]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC9DB124ABB for ; Wed, 3 Apr 2019 20:54:42 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 03 Apr 2019 20:54:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Tank-Cooing: 02cebe72127f8e96_1554324883009_2556776757 X-MC-Loop-Signature: 1554324883009:1186241034 X-MC-Ingress-Time: 1554324883008 Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 7600682D1C for ; Wed, 3 Apr 2019 13:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=X8H/Jxrx1/y8n1+H8nBZ93L/JYs=; b=tIT4ZmKOxfpt4B56o gk/ibOQZTn6x6qB0JaIZzr/vkxM6VsbJOxUjSmkes22a18Feldi4/eYQPMSWRCf8 /G5fBhIR+grt6UpXkPA0HGteV2cHImCsTQnZmpWlncuGccnlCoYGzyuua32Y1lfm e5Zh0vDbb6ENbj2uYs9NDmzYM0= Original-Received: from mail.jurta.org (m91-129-99-202.cust.tele2.ee [91.129.99.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTPSA id DCE6382D1D for ; Wed, 3 Apr 2019 13:54:22 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a11 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrtdefgdduvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrddvtddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrddvtddvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157134 Archived-At: Some escape sequences are unhandled in shell mode. Most often they appear when running `apt install' that shows its progress bar that is supposed to stay on the same line, but spreads over several lines, so the output looks like a mess (where ^[7 and ^[8 are escape sequences currently still unhandled): debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline ^[7Progress: [ 0%] [................................................................................................] ^[8 ^[7Progress: [ 6%] [######..........................................................................................] ^[8 ^[7Progress: [ 13%] [############....................................................................................] ^[8 ^[7Progress: [ 19%] [##################..............................................................................] ^[8 ^[7Progress: [ 25%] [########################........................................................................] ^[8 ^[7Progress: [ 31%] [##############################..................................................................] ^[8 ^[7Progress: [ 38%] [####################################............................................................] ^[8 ^[7Progress: [ 44%] [##########################################......................................................] ^[8 ^[7Progress: [ 50%] [################################################................................................] ^[8 ^[7Progress: [ 56%] [######################################################..........................................] ^[8 ^[7Progress: [ 63%] [############################################################....................................] ^[8 ^[7Progress: [ 69%] [##################################################################..............................] ^[8 ^[7Progress: [ 75%] [########################################################################........................] ^[8 ^[7Progress: [ 81%] [##############################################################################..................] ^[8 ^[7Progress: [ 88%] [####################################################################################............] ^[8 ^[7Progress: [ 94%] [##########################################################################################......] ^[8 I'm making this report because escape sequences for colors are handled fine, and visually these indicators have the green background.