X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 Apr 2019 20:56:02 +0000 Resent-Message-ID: <handler.35129.B.15543249114026 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35129 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15543249114026 (code B ref -1); Wed, 03 Apr 2019 20:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2019 20:55:11 +0000 Received: from localhost ([127.0.0.1]:43304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hBmud-00012s-EZ for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 16:55:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1hBmub-00012a-B9 for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 16:55:10 -0400 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 <juri@HIDDEN>) id 1hBmuQ-000885-V7 for submit <at> debbugs.gnu.org; Wed, 03 Apr 2019 16:55:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <juri@HIDDEN>) id 1hBmuP-0003E6-FQ for bug-gnu-emacs@HIDDEN; Wed, 03 Apr 2019 16:54:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <juri@HIDDEN>) id 1hBmuO-000829-8s for bug-gnu-emacs@HIDDEN; Wed, 03 Apr 2019 16:54:57 -0400 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 <juri@HIDDEN>) id 1hBmuK-0007s1-Gw for bug-gnu-emacs@HIDDEN; Wed, 03 Apr 2019 16:54:56 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F0B7D12575A for <bug-gnu-emacs@HIDDEN>; Wed, 3 Apr 2019 20:54:44 +0000 (UTC) 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 <bug-gnu-emacs@HIDDEN>; Wed, 3 Apr 2019 20:54:42 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN 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@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Tank-Cooing: 02cebe72127f8e96_1554324883009_2556776757 X-MC-Loop-Signature: 1554324883009:1186241034 X-MC-Ingress-Time: 1554324883008 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 <bug-gnu-emacs@HIDDEN>; 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= 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@HIDDEN) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTPSA id DCE6382D1D for <bug-gnu-emacs@HIDDEN>; Wed, 3 Apr 2019 13:54:22 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a11 From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET Date: Wed, 03 Apr 2019 23:27:24 +0300 Message-ID: <87lg0qx2ab.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 23.83.209.151 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) 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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Juri Linkov <juri@HIDDEN> Subject: bug#35129: Acknowledgement (Unsupported escape sequences for progress in shell) Message-ID: <handler.35129.B.15543249114026.ack <at> debbugs.gnu.org> References: <87lg0qx2ab.fsf@HIDDEN> X-Gnu-PR-Message: ack 35129 X-Gnu-PR-Package: emacs Reply-To: 35129 <at> debbugs.gnu.org Date: Wed, 03 Apr 2019 20:56:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 35129 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 35129: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35129 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 04 Apr 2019 21:07:03 +0000 Resent-Message-ID: <handler.35129.B35129.155441199312013 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155441199312013 (code B ref 35129); Thu, 04 Apr 2019 21:07:03 +0000 Received: (at 35129) by debbugs.gnu.org; 4 Apr 2019 21:06:33 +0000 Received: from localhost ([127.0.0.1]:44745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hC9ZA-00037f-S3 for submit <at> debbugs.gnu.org; Thu, 04 Apr 2019 17:06:33 -0400 Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:65349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1hC9Z8-00037M-IM for 35129 <at> debbugs.gnu.org; Thu, 04 Apr 2019 17:06:32 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2C65C5E21B2 for <35129 <at> debbugs.gnu.org>; Thu, 4 Apr 2019 21:06:28 +0000 (UTC) Received: from pdx1-sub0-mail-a31.g.dreamhost.com (100-96-3-137.trex.outbound.svc.cluster.local [100.96.3.137]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D902D5E2157 for <35129 <at> debbugs.gnu.org>; Thu, 4 Apr 2019 21:06:17 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from pdx1-sub0-mail-a31.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Thu, 04 Apr 2019 21:06:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Troubled-Scare: 24d84cc07c6994e6_1554411979913_3720561062 X-MC-Loop-Signature: 1554411979912:1221578179 X-MC-Ingress-Time: 1554411979912 Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id 7F14D83C90 for <35129 <at> debbugs.gnu.org>; Thu, 4 Apr 2019 14:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=5bt885pRgktcnZVUfs0C/sejkfg=; b= v5zceCGrR/TYudIAXYUh8ACzieFyBta5Hyt5fKJkoOmjFJ8dx4lDnpowmsqg6koH CtTq/n4vfcREoeoC9NlMJtYv2D5m5quzXtwzDBOB0Dt0D/eS6iYLdKc3JQcUS4F4 eF3XUIapJAnJHQ0WCW+PV+LZ8skxBBsrsGdyQrLq/Eo= 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@HIDDEN) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id A470983C8F for <35129 <at> debbugs.gnu.org>; Thu, 4 Apr 2019 14:06:07 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a31 From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <87lg0qx2ab.fsf@HIDDEN> Date: Thu, 04 Apr 2019 23:36:05 +0300 In-Reply-To: <87lg0qx2ab.fsf@HIDDEN> (Juri Linkov's message of "Wed, 03 Apr 2019 23:27:24 +0300") Message-ID: <8736mx4hi2.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrtdehgdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpehorhgvmhgrtghsrdgtohhmnecukfhppeeluddruddvledrleelrddvtddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrddvtddvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepfeehuddvleesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > 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): After more research, I found an interesting post https://oremacs.com/2019/03/24/shell-apt/ that proposes a promising way to handle these escape sequences. So maybe this should be customizable?
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 05 Apr 2019 07:10:02 +0000 Resent-Message-ID: <handler.35129.B35129.155444814827879 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155444814827879 (code B ref 35129); Fri, 05 Apr 2019 07:10:02 +0000 Received: (at 35129) by debbugs.gnu.org; 5 Apr 2019 07:09:08 +0000 Received: from localhost ([127.0.0.1]:45026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hCIyJ-0007Fa-17 for submit <at> debbugs.gnu.org; Fri, 05 Apr 2019 03:09:08 -0400 Received: from mout.gmx.net ([212.227.15.15]:34009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1hCIyH-0007Eq-D1 for 35129 <at> debbugs.gnu.org; Fri, 05 Apr 2019 03:09:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554448135; bh=YXS0GWTvO7bYjMBw3b4Az90nCxGLFqfXxkv0QHvnPjk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=JJigDkaJoVJLJey9sx/+dOeibYIHs0nR0W9PnAbVYK4kiZMMpd7gPw0+Nh2I6hEPg sXv1vSB6ye5dxNONrkYocQKZfNct7EZVcGIVXN8uThR9jhK+DZXJTrmYcwimnO2Ha1 D2ThZ1OXQQv2GYJxVs85bXzSMP9iV07ggmwwvG0Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from detlef.gmx.de ([212.91.249.211]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lz3rc-1gq38R2qPY-014DSV; Fri, 05 Apr 2019 09:08:55 +0200 From: Michael Albinus <michael.albinus@HIDDEN> References: <87lg0qx2ab.fsf@HIDDEN> <8736mx4hi2.fsf@HIDDEN> Date: Fri, 05 Apr 2019 09:08:54 +0200 In-Reply-To: <8736mx4hi2.fsf@HIDDEN> (Juri Linkov's message of "Thu, 04 Apr 2019 23:36:05 +0300") Message-ID: <87r2ahornd.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:UmVyBTCLluz8OQhPIuRXiHRD0ttE+QZDDZBf0Ym/2JQDHX2r0n6 RS5aoBCEAF/ta+iiR1FC7FhgSInX6Co8XvyqcHnR2+W5XhFV87ZirNw88d32tbiwbkMxxht 0x5kolLnhiLfjFua6/8QtEHvaPLOhxADCC8mMZOmkzK3vGZ1vD3mY/BELFn8zQxIEmsbSFr X8Jr2ULdxjA+pCc744xuw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hKB9s0X62JI=:GSpSrYUPYZARDOhNywa3rE sWwfV5FLP1C+9fRUJe/tS5anQ7y0/0GDWzhK2dFYKaS01ZyrN8G9nLiim/PPnwgZ72T4zNPXm qISEmqsTs6Uvp1gdEzxeVRrXeY5S8X0ZKrzeNFSZUi8LQFwZH5iLckIMLEyL0I4Y+84/thotv Cc8b1BrhvrmDdCq0QA62XGs/Gn75ThF/HLVCOG+F0lva7UmxvUHXLMLzTUM9ALaiWLBDjD5AG j7EsBkQ3plvxGuYeZp/njNSDZzA4hkYs+0jqvab8HBuU9Ep9YuWgPCQOo5+VMUd370njx0lr6 HXCQZzgplC9s8J7iLxhTA/loPjhqcrvL28jtUJCWCgbGyy4jbFJac0zg5PXjM7ZkUbnRvbLvv 1Ufm8aeNAs8+CwO52005tX1nehseU+MoqGXycZG7rhb0MUdaHqspzZTjvl1ZlivzVAzkdXOg/ TfqrjZp4jU9KmlX+eHQekQ6bjUH53v58U7iIjZxyjs9OpvDDeGczuGNTkrjWRuEXO/nMNk2wj a45fMy5xVRMJl/kSrKmDtRZ7my2LuiCzye/VJBUYk16AaBxjt68UlfUcNoDJtRQZRz4eGrP6K +9oLNPjqu9+mLpURb2/9MN1ekoM5dGMIadQS2v1BCZpUthBK57M472sYNJHJXYWh6DUEwTD1F 976QBEaQ3saA4qLRXsrc6RSvfVpi3brYjrVh6MnD/klFdUiG03NhXfUNYrGJtqFi+kqlKRrXG jprAPr47k8+UTdZyXspSXGPzIHiZ0tLyNHURPkRbqqUCd2MpLJtizO85KPqt8yBiJaGsyKc0j uhNylWX1Gv6BLMCaXao0iJwN7Hm8z/4RlW+D3ixelkr8TfXwYgz4M6iiQqiw+pce975APQuat 7n/Nu2wi4t94Rbxpb45p66FVKEXOnOLRw2So+W+lMWrfNRAIdIM8GzRUHaxj9yxeE6sRpJitQ Hfg2vZFUmHw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Juri Linkov <juri@HIDDEN> writes: Hi Juri, >> 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): > > After more research, I found an interesting post > https://oremacs.com/2019/03/24/shell-apt/ > that proposes a promising way to handle > these escape sequences. > > So maybe this should be customizable? Looks interesting. However, we have `progress-reporter'. The code from above shall be made available via this. This would also improve Tramp; there are requests to integrate the progress reporter from external commands. Best regards, Michael.
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 06 Apr 2019 21:47:02 +0000 Resent-Message-ID: <handler.35129.B35129.155458721621425 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus <michael.albinus@HIDDEN> Cc: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155458721621425 (code B ref 35129); Sat, 06 Apr 2019 21:47:02 +0000 Received: (at 35129) by debbugs.gnu.org; 6 Apr 2019 21:46:56 +0000 Received: from localhost ([127.0.0.1]:47541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hCt9M-0005ZV-BC for submit <at> debbugs.gnu.org; Sat, 06 Apr 2019 17:46:56 -0400 Received: from cichlid.maple.relay.mailchannels.net ([23.83.214.36]:25218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1hCt9J-0005ZL-OH for 35129 <at> debbugs.gnu.org; Sat, 06 Apr 2019 17:46:54 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5D35C124DBF; Sat, 6 Apr 2019 21:46:52 +0000 (UTC) Received: from pdx1-sub0-mail-a41.g.dreamhost.com (unknown [100.96.20.50]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C19CA124DA7; Sat, 6 Apr 2019 21:46:51 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from pdx1-sub0-mail-a41.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); Sat, 06 Apr 2019 21:46:52 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Squirrel-Decisive: 6d877b487a8c8097_1554587211997_2177635780 X-MC-Loop-Signature: 1554587211997:606576059 X-MC-Ingress-Time: 1554587211996 Received: from pdx1-sub0-mail-a41.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a41.g.dreamhost.com (Postfix) with ESMTP id 6970A800E9; Sat, 6 Apr 2019 14:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=1s9CgvjdxM8oRuJsZi3XI0h8BwI=; b= Jz4D5SoFnlvKQ3aBYSntt2BLThrTE8OPrKpk81CsPBpcPbrlY5RLsdkYC3sgOoYM UeYD1KQViQm/N9naHcKjR1kPmVRtPGEIFf9BE7D/UMUdpE3dSRJ2IxANIXHAoDSy ZBEcZjBiYPVMRmxJ++nskuZ1yHoKR0yvopZj+bf7lAw= 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@HIDDEN) by pdx1-sub0-mail-a41.g.dreamhost.com (Postfix) with ESMTPSA id E7624800E4; Sat, 6 Apr 2019 14:46:49 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a41 From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <87lg0qx2ab.fsf@HIDDEN> <8736mx4hi2.fsf@HIDDEN> <87r2ahornd.fsf@HIDDEN> Date: Sat, 06 Apr 2019 23:53:01 +0300 In-Reply-To: <87r2ahornd.fsf@HIDDEN> (Michael Albinus's message of "Fri, 05 Apr 2019 09:08:54 +0200") Message-ID: <877ec6c0uq.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddtgddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpehorhgvmhgrtghsrdgtohhmnecukfhppeeluddruddvledrleelrddvtddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrddvtddvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepmhhitghhrggvlhdrrghlsghinhhushesghhmgidruggvnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>> 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): >> >> After more research, I found an interesting post >> https://oremacs.com/2019/03/24/shell-apt/ >> that proposes a promising way to handle >> these escape sequences. >> >> So maybe this should be customizable? > > Looks interesting. However, we have `progress-reporter'. The code from > above shall be made available via this. I'm not sure if we can provide min-value/max-value for make-progress-reporter. If not, then it uses spinning/pulsing. It seems progress-reporter doesn't support arbitrary strings such as that come from underlying process like ^[7Progress: [ 0%]^[8 > This would also improve Tramp; there are requests to integrate the > progress reporter from external commands. Could you show an example of a progress reporter from an external command. Do they use arbitrary strings?
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Apr 2019 08:47:01 +0000 Resent-Message-ID: <handler.35129.B35129.155462677610719 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155462677610719 (code B ref 35129); Sun, 07 Apr 2019 08:47:01 +0000 Received: (at 35129) by debbugs.gnu.org; 7 Apr 2019 08:46:16 +0000 Received: from localhost ([127.0.0.1]:47746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hD3RP-0002mp-M5 for submit <at> debbugs.gnu.org; Sun, 07 Apr 2019 04:46:15 -0400 Received: from mout.gmx.net ([212.227.15.19]:37467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1hD3RO-0002mZ-Do for 35129 <at> debbugs.gnu.org; Sun, 07 Apr 2019 04:46:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554626765; bh=VDHTYSXHG2KJcmhlifC6rGRi4oCamnem1X2EC5I4GDs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=NJUOw+DbCAuBrAkTfg/IW5gNbV2nEUk/TAJBflFLh9SbvHqK4rrhnBFXMonI2GL4Q HdIegab8AfHmL5HSBHndPbDsgVVP+MQsKlbIGkg1UhRAvW0zsIdIC+IaFES4miPw01 QRyb2buOEPkFcHwz4yPwQdoiMTu71ydgpgsXPSgQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from detlef.gmx.de ([212.91.249.211]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MaqeA-1hT47S3nyM-00KMNN; Sun, 07 Apr 2019 10:46:05 +0200 From: Michael Albinus <michael.albinus@HIDDEN> References: <87lg0qx2ab.fsf@HIDDEN> <8736mx4hi2.fsf@HIDDEN> <87r2ahornd.fsf@HIDDEN> <877ec6c0uq.fsf@HIDDEN> Date: Sun, 07 Apr 2019 10:46:03 +0200 In-Reply-To: <877ec6c0uq.fsf@HIDDEN> (Juri Linkov's message of "Sat, 06 Apr 2019 23:53:01 +0300") Message-ID: <87r2aei4ok.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:OeQro9PGJFO+KXGCLbfzG3RS1B1yaWiomtHtlY54hCmQ1BZle9h 8hlcLRk6KjDQAD7Fgo7m5aofl3UN/6dd2WB6r+ipIagEv8yiu9ZKlRREXDntSV3IFsYgn0A yxUXjtpUCKENQzwNI1MokTnCQkAXfx6qrihQVQAsEfbx22tbGcc5w18JyFWSy8LZk+pcmtO dr29dRIhZ4AHl6/vTTa4A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I6FdyGUouBs=:s2f6w0+efyIc/qQ1AKF8TT hLGrN0gwosH01Yn9vHtJOG5LNHh9klY6UR8mZCQ6PGmPIv0tTkjZ2W+AnV2F4qd9a3A7E2EhL 8wM1b/xPwabFjniAzj5JmSbuAhm/Srh4OIv1IMELA7rlLMQSs97F7klZljhMlUBzVomMYFcFF hna9asa/8izB/6RHtsqRjddVK+r28PzCiNl6dBiHKWKUXFKGT4KqfucHTnx2DQvEYLVF2hRid cLaPAdrPj5y8RM0wnTmwHdzsOVMT7ns8WUwkAsHtiAiThkyqTidkqAFiwL7D4ih3TfQyIkOs+ 7GyUp2OTZ2/ctMGVjru9hhuqnWmtMTx7Yjq/7i9ESF6d9SwX2PEz6kzjB8VcExTtiKXY0dG4H TdQJayf/pgvna+jOizQVODrkYO060Trdvnej5aHGlemc5ruJcVpTvD1vGGbceun2iarcd2U3r yrOuUu4RpleDJxlWE80jB4zMFBw6T45pJVaxMt0oOrsmKgSqjS+O9UlJ7SmlOKB0IGly4CphY adY/HMO/AqwHsBUqC0NZqwt7QU4A3KkxAx0FrcKPMaMKL0PoIklVoas7tzQn/lcDFSTCkGX/f /WSGo3b5gzkua/eBDEKA6ilPafNiR6n9yi5koSDpM2s6lfqzKkAp3HN9Oqew9y9MsUUIcNLXb V6meDMIIPgReGj31+As5zVSITj9GOnSs6c3uwWgig5GlPE9UATYOAweASRsfKGWsWKqSKfrJU sEP+jsLMunSNM/PyCzAOLOelMSMtprg3Jt7EPuy5e5qBPGqAWwUre/0oGZl8HCmC8nS886mSM HJcK8MMbMblUtRMU3zRkoU0ao+UnFO7ylxotOMIzKqZ97fjo5C3KA6jzK+Ts4b20veTecrrZG RLXeYJpRhLT5rS1RGDR2hch8rQF8UNm/1Esb0TWnEj8PZEwaSAhUJyZCqdmR1oEpN2OzlizQw z77QdN9O/vQ== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Juri Linkov <juri@HIDDEN> writes: Hi Juri, >> Looks interesting. However, we have `progress-reporter'. The code from >> above shall be made available via this. > > I'm not sure if we can provide min-value/max-value for > make-progress-reporter. If not, then it uses spinning/pulsing. > It seems progress-reporter doesn't support arbitrary strings > such as that come from underlying process like ^[7Progress: [ 0%]^[8 progress-reporter should be improved to accept also strings like "45%" to be displayed literally. >> This would also improve Tramp; there are requests to integrate the >> progress reporter from external commands. > > Could you show an example of a progress reporter from an external comman= d. > Do they use arbitrary strings? Some scp or pscp versions do it. For example: =2D-8<---------------cut here---------------start------------->8--- $ pscp -v localhost:/net/ford/Multimedia/Eigene\ Videos/Videos/20150829_14= 5255.mp4 /tmp/foo [...] foo | 203369 kB | 5810.6 kB/s | ETA: 00:00:00 | 84% =2D-8<---------------cut here---------------end--------------->8--- Best regards, Michael.
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Apr 2019 20:56:02 +0000 Resent-Message-ID: <handler.35129.B35129.155467055030093 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus <michael.albinus@HIDDEN> Cc: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155467055030093 (code B ref 35129); Sun, 07 Apr 2019 20:56:02 +0000 Received: (at 35129) by debbugs.gnu.org; 7 Apr 2019 20:55:50 +0000 Received: from localhost ([127.0.0.1]:48763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hDEpS-0007pJ-8U for submit <at> debbugs.gnu.org; Sun, 07 Apr 2019 16:55:50 -0400 Received: from firebrick.maple.relay.mailchannels.net ([23.83.214.59]:5228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1hDEpO-0007p8-2b for 35129 <at> debbugs.gnu.org; Sun, 07 Apr 2019 16:55:48 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 70B5F6A19C6; Sun, 7 Apr 2019 20:55:44 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-2-111.trex.outbound.svc.cluster.local [100.96.2.111]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id EA9516A1679; Sun, 7 Apr 2019 20:55:42 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN Received: from pdx1-sub0-mail-a60.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 07 Apr 2019 20:55:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Fumbling-Robust: 76f6dfd9409e5cd4_1554670543374_4022303004 X-MC-Loop-Signature: 1554670543374:1031798389 X-MC-Ingress-Time: 1554670543374 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id C46D080277; Sun, 7 Apr 2019 13:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=9XpI82Z8OSCqbMgQ+nxRFhZGECg=; b= qHYu5C9XGHqPiAy21PxT5QWU5q8jlyBnHUgN+N2DmMO6PBPvn3HFofznVZylGY5h Ey16PfAu+GtSh1ljmBfM0aQ6Pd5WWXwCTXd/fvDozCxtW1L9EGNn+STQdGW4Mys+ Fztg4fX9NBREDRPE7xEnp5zRpY0B15Pk9FOCHMFXIvY= 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@HIDDEN) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 269E080273; Sun, 7 Apr 2019 13:55:36 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a60 From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <87lg0qx2ab.fsf@HIDDEN> <8736mx4hi2.fsf@HIDDEN> <87r2ahornd.fsf@HIDDEN> <877ec6c0uq.fsf@HIDDEN> <87r2aei4ok.fsf@HIDDEN> Date: Sun, 07 Apr 2019 23:05:19 +0300 In-Reply-To: <87r2aei4ok.fsf@HIDDEN> (Michael Albinus's message of "Sun, 07 Apr 2019 10:46:03 +0200") Message-ID: <87y34l3ei0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddugdduheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrvddtvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrvddtvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehmihgthhgrvghlrdgrlhgsihhnuhhssehgmhigrdguvgenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>> Looks interesting. However, we have `progress-reporter'. The code from >>> above shall be made available via this. >> >> I'm not sure if we can provide min-value/max-value for >> make-progress-reporter. If not, then it uses spinning/pulsing. >> It seems progress-reporter doesn't support arbitrary strings >> such as that come from underlying process like ^[7Progress: [ 0%]^[8 > > progress-reporter should be improved to accept also strings like "45%" > to be displayed literally. Another problem is that there is no clear moment to start/stop progress-reporter with calls to make-progress-reporter and progress-reporter-done. >>> This would also improve Tramp; there are requests to integrate the >>> progress reporter from external commands. >> >> Could you show an example of a progress reporter from an external command. >> Do they use arbitrary strings? > > Some scp or pscp versions do it. For example: > > $ pscp -v localhost:/net/ford/Multimedia/Eigene\ Videos/Videos/20150829_145255.mp4 /tmp/foo > [...] > foo | 203369 kB | 5810.6 kB/s | ETA: 00:00:00 | 84% Progress on copying large files would be needed for local file operations as well.
X-Loop: help-debbugs@HIDDEN Subject: bug#35129: Unsupported escape sequences for progress in shell Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 08 Apr 2019 07:37:03 +0000 Resent-Message-ID: <handler.35129.B35129.155470900725867 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 35129 <at> debbugs.gnu.org Received: via spool by 35129-submit <at> debbugs.gnu.org id=B35129.155470900725867 (code B ref 35129); Mon, 08 Apr 2019 07:37:03 +0000 Received: (at 35129) by debbugs.gnu.org; 8 Apr 2019 07:36:47 +0000 Received: from localhost ([127.0.0.1]:48950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hDOpi-0006j9-Uy for submit <at> debbugs.gnu.org; Mon, 08 Apr 2019 03:36:47 -0400 Received: from mout.gmx.net ([212.227.15.18]:58825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1hDOph-0006iv-7v for 35129 <at> debbugs.gnu.org; Mon, 08 Apr 2019 03:36:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554708996; bh=yDEVX9ty9u63hz3rUtlqdXiCBoRv0KdGllZtH0VY5+Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=djZUJ7fE87y36ZLPu/uM4JavAtuOJnadC+G3GJdDJHBuMvALAB8jzI+7sQdPdP5cX PMjUV6FBrSzGidFwXTxAIAVAg6JuqdDAP1IBs0/d0+P89uwiickkDfLtlRf6/myXnE AEEC3Rh5ICMdG1Ap+I1OpsXoAoOtlcOIN402L/wU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from detlef.gmx.de ([212.86.52.126]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MhQxO-1hYlCo0YJm-00MZB9; Mon, 08 Apr 2019 09:36:36 +0200 From: Michael Albinus <michael.albinus@HIDDEN> References: <87lg0qx2ab.fsf@HIDDEN> <8736mx4hi2.fsf@HIDDEN> <87r2ahornd.fsf@HIDDEN> <877ec6c0uq.fsf@HIDDEN> <87r2aei4ok.fsf@HIDDEN> <87y34l3ei0.fsf@HIDDEN> Date: Mon, 08 Apr 2019 09:36:35 +0200 In-Reply-To: <87y34l3ei0.fsf@HIDDEN> (Juri Linkov's message of "Sun, 07 Apr 2019 23:05:19 +0300") Message-ID: <87zhp1gd8c.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:0eqQA2D9MCVVWt6KnFC0eFB2qFYuXuts/L2eplpDx+SmZMmFp85 FusL+3SXXeqapHkHGauSBKChQYKouDE/FeAMWJRu8A5BgRmH+TjUYHXGYmCy0jjg9424cqM nekAMCGqhOrlvxJb7WVB3i2Ya46N/9BQcohwzwkmJ5GqAQ88eUuSFadD6IUxJNUcVtCtubG l03lBRHA1Z2viLEL0I5Og== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:9LWmr+EmmNc=:a0Ex/mJhX6L4RL+jMbowpR koCqFJD5/9HPCUu1//I+8AqkiD+f9GzJID+H56gTX4W/d7sTm43H7NDELb2mc1HdxkRZnnE+6 KUS+zWqsW7CmRoKaOku01bo/KihNjXYHJB8zh2PTyPJQVMmXr6IIy2oRkcSuLKIZRvbTgsE+x 6eZzmNgbtlIocfMZ/iN2f1M2nou15YTahsH9IhqFEkQC7lletzpo5+kJpKP9fUYkcJbtBJiKz YOcZuRXl9WPZAxrmTCvUBfPlRiaG3EKvs1UYNr4G0FH12HHEM9EIhWktqmjWe4WG1V5rxSMu4 VGI014gg2CfMmY8oGU5UGDP7XB+egch9C9MGgyavpAcdxQvSHwdimSfZ5SIhHkyw6ho9sKFvD TJF4S3XiMrQ5i3LG7ix4DVh15dBlJ/IXw78AZYC7bH6LS34Lc3IbG6f+FeNEsYzU+lZvi4dm+ Bzh2zHOR5Uii/8JbLxMVtVV+2+9wwaAd8cQKKKlSJujG+Vt2VhE6/nIErEal0A1See8s/i5NC W4x+AzxRLuUTalqZxdQQXHBhgNmr16O0ozfO/bHpqabsPSc5sQgLxrGuouqb8CxnyfabRlWzR eXAzVxSN++JbS/84SZMK7H5Fh3lIEczOJK5tdxA0MjfPa713ZyzOQzj2yc9vkzaMMpRwV9FSY yCTCjLRaF4mS9EDcqHYzNtE7zTkybF1IcLN9pkDE/hbNEqXbrcr/WDSfm4IvHXyX4ncN8FzaZ oSmoiR1Xfgh7JDoZrqI4uiYakJgqHh51Kbl1XstH+cOjC6G2gO8HVvxW4/FSnVAK66MDjbYpt ycA0rmd44HIzt+YN+YfZLYkWQLKdJNar/gIzt+3wk3HJfQggdS2srZDIPm6/gRb+TdqyVPCAD 8/IalFatSb5qLLhwO+CNC+X7W6mj1uRHZC7DXudB/sC4FHbkl+ey9aKD4+bRZgf+gZYlMAbzF 5aeq7qRpcpw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Juri Linkov <juri@HIDDEN> writes: Hi Juri, >>> I'm not sure if we can provide min-value/max-value for >>> make-progress-reporter. If not, then it uses spinning/pulsing. >>> It seems progress-reporter doesn't support arbitrary strings >>> such as that come from underlying process like ^[7Progress: [ 0%]^[8 >> >> progress-reporter should be improved to accept also strings like "45%" >> to be displayed literally. > > Another problem is that there is no clear moment to start/stop > progress-reporter with calls to make-progress-reporter and > progress-reporter-done. At least for my use case, calling external p?scp commands in Tramp, there is no problem. But in general you might be right. >>> Could you show an example of a progress reporter from an external command. >>> Do they use arbitrary strings? >> >> Some scp or pscp versions do it. For example: >> >> $ pscp -v localhost:/net/ford/Multimedia/Eigene\ Videos/Videos/20150829_145255.mp4 /tmp/foo >> [...] >> foo | 203369 kB | 5810.6 kB/s | ETA: 00:00:00 | 84% > > Progress on copying large files would be needed for local file operations > as well. Yes. But local copying is not implemented via external commands; this needs another progress reporter call. Best regards, Michael.
Received: (at control) by debbugs.gnu.org; 10 Apr 2019 00:32:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 20:32:40 2019 Received: from localhost ([127.0.0.1]:52211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hE1AO-0003jc-DD for submit <at> debbugs.gnu.org; Tue, 09 Apr 2019 20:32:40 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:41374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hE1AN-0003jP-2r for control <at> debbugs.gnu.org; Tue, 09 Apr 2019 20:32:39 -0400 Received: by mail-qt1-f178.google.com with SMTP id w30so886213qta.8 for <control <at> debbugs.gnu.org>; Tue, 09 Apr 2019 17:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=hgRXTmzsab1EJGLZe64igDmc/d+RGFJzwz/DLfIUXpE=; b=mnS7rZ2+Wnvwz8JxtF6qWb07hsDwMMazluu1ve/FVgqgeGpEkjdpVuzv/9NEc627P/ PLqS2ubtUQS/MuphYvcpG+wVYxoLU0C5BgoBb0hTiOZSh4IR4iWW1p2qoMe5TEjm2ywD OongWKoX9rk2anRfTLswWtljhPIBdM68qeYOU0CeQkui29wjQF1M+zGAsvI2fRbW8Cdx /bQva1UmSX1ZHRXutmPDVksHm19rsxBGgbZVz7rkvENq9wbPTt7uVdjYtDrw6jEH4CFd Vt0HsgWsUAiwmZK183xtmSpWttVUV/ZtlWLW2u/ParjKgek+i6sLqmnmaquJsij2+LCj zq/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=hgRXTmzsab1EJGLZe64igDmc/d+RGFJzwz/DLfIUXpE=; b=gyl6LooVyj+Lks4M0E2zbfx+9BQcSHE2/JfJj5lNVQ8IQdwdV7xDeufjqwkWNTEDVi L/77lt6zRdNOHq71F/K1H9geahgogGS0i6FNwtT2jzXlTCFKzs5+/e5TqdbWQ3ozI10T MuyPC3AkhcH2bO4Lk6OZoVEcXVK1PJJXXD51y7uYJrS7AvivGEFgnWTXfLC+HJ1DwV7e d/kYKfVTgjzyQFcnaTjqnzlN4bJtHrx2ckOIsM44JB46sLunuZHGHiDEQvwLdX6b3HiD l80tvPIrWyIGMOziukHOZ3ri/ok7InoE/zq4n3MQ9HWvL9P5MXy/4u0V/SdvUYvWywJX We7Q== X-Gm-Message-State: APjAAAUHYfnf4a/os7lP/qOh//ph78bKZ2wrEn3NuBVX3FyntbrqalEM hB6arImr37NKv9IyqNn/hlIPeRmB X-Google-Smtp-Source: APXvYqyaEc2zWzvGm+zH5XcCA9sCxkPh5Xi4qmAPt8Ye1sM/xYTrUUJv6LPX7BPrPc2OW2ebHS69iA== X-Received: by 2002:ac8:168c:: with SMTP id r12mr31969365qtj.300.1554856353255; Tue, 09 Apr 2019 17:32:33 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s12sm19610677qke.36.2019.04.09.17.32.32 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 17:32:32 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #35129 Date: Tue, 09 Apr 2019 20:32:31 -0400 Message-ID: <874l76bsyo.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 35129 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.