[Cyberduck-trac] [Cyberduck] #10613: Erase and restore cursor position in output does not work

Cyberduck trac at cyberduck.io
Thu Feb 14 14:24:59 UTC 2019


#10613: Erase and restore cursor position in output does not work
-------------------------+----------------------
 Reporter:  MarkBlaise   |         Owner:
     Type:  enhancement  |        Status:  new
 Priority:  normal       |     Milestone:
Component:  cli          |       Version:  6.9.0
 Severity:  normal       |    Resolution:
 Keywords:               |  Architecture:  Intel
 Platform:  Windows 8.1  |
-------------------------+----------------------

Comment (by MarkBlaise):

 Running in the Windows 8.1 and Windows 10 default Windows shell (not
 PowerShell), from either a Batch file or command window.

 In Windows 8.1, multiple output lines appear both when Duck output is
 redirected to a file and when it is not (output emitted in a command
 window).

 In Windows 10, multiple output lines appear only when Duck output is
 redirected to a file. When output is not redirected (output emitted in a
 command window), the same output line is repeatedly overwritten, as
 intended.

 My goal is to be able to redirect output to a log file without all the
 extra lines. I don't know how you would do that ... if the newline is not
 written you will likely just get all of that output on one line. And I
 don't know if there is any way for Duck to be aware that its output has
 been redirected. Hence the request for a command line option to suppress
 the transfer stats.

--
Ticket URL: <https://trac.cyberduck.io/ticket/10613#comment:4>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list