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: Sun, 07 Apr 2019 23:05:19 +0300 Organization: LINKOV.NET Message-ID: <87y34l3ei0.fsf@mail.linkov.net> References: <87lg0qx2ab.fsf@mail.linkov.net> <8736mx4hi2.fsf@mail.linkov.net> <87r2ahornd.fsf@gmx.de> <877ec6c0uq.fsf@mail.linkov.net> <87r2aei4ok.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167944"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35129@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 07 22:56:16 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 1hDEpr-000hZu-F3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Apr 2019 22:56:15 +0200 Original-Received: from localhost ([127.0.0.1]:43469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDEpq-0004og-F6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Apr 2019 16:56:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDEpf-0004nd-VG for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 16:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDEpe-0006mI-Tt for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 16:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hDEpe-0006mB-Lw for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2019 16:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hDEpe-0007qG-JV for bug-gnu-emacs@gnu.org; Sun, 07 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: Sun, 07 Apr 2019 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35129 X-GNU-PR-Package: emacs Original-Received: via spool by 35129-submit@debbugs.gnu.org id=B35129.155467055030093 (code B ref 35129); Sun, 07 Apr 2019 20:56:02 +0000 Original-Received: (at 35129) by debbugs.gnu.org; 7 Apr 2019 20:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:48763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hDEpS-0007pJ-8U for submit@debbugs.gnu.org; Sun, 07 Apr 2019 16:55:50 -0400 Original-Received: from firebrick.maple.relay.mailchannels.net ([23.83.214.59]:5228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hDEpO-0007p8-2b for 35129@debbugs.gnu.org; Sun, 07 Apr 2019 16:55:48 -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 70B5F6A19C6; Sun, 7 Apr 2019 20:55:44 +0000 (UTC) Original-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@jurta.org Original-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@jurta.org X-MailChannels-Auth-Id: dreamhost X-Fumbling-Robust: 76f6dfd9409e5cd4_1554670543374_4022303004 X-MC-Loop-Signature: 1554670543374:1031798389 X-MC-Ingress-Time: 1554670543374 Original-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= 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-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 In-Reply-To: <87r2aei4ok.fsf@gmx.de> (Michael Albinus's message of "Sun, 07 Apr 2019 10:46:03 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddugdduheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrvddtvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrvddtvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehmihgthhgrvghlrdgrlhgsihhnuhhssehgmhigrdguvgenucevlhhushhtvghrufhiiigvpedt 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:157324 Archived-At: >>> 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.