Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f4ff92dae |
@@ -878,17 +878,15 @@ Additional requirements:
|
|||||||
terminal is. A line too wide for the terminal first loses its bar, which gives
|
terminal is. A line too wide for the terminal first loses its bar, which gives
|
||||||
way to the spinner, then its rate, the words of a stalled phase, or what the
|
way to the spinner, then its rate, the words of a stalled phase, or what the
|
||||||
phase is waiting for. The phase and its place, the progress, the elapsed time
|
phase is waiting for. The phase and its place, the progress, the elapsed time
|
||||||
and the ETA are kept whole. On an 80-column terminal, at counts like those of
|
and the ETA are kept whole. On an 80-column terminal, a stalled line at counts
|
||||||
the stalled line in the example above, a stalled line keeps its words whenever
|
and times like those of the stalled line in the example above keeps its words
|
||||||
the elapsed time and the ETA are both in minutes, except in the content
|
whole in every phase; where the words and the ETA do not both fit, as at
|
||||||
phase's checks and reads. Their lines are the widest, and at most times in
|
millions of files and times in hours, the words give way. Only when those four
|
||||||
minutes they lose the words. Where the words and the ETA do not both fit, as
|
alone are too wide, as on a terminal narrower than about 70 columns hours into
|
||||||
at millions of files and times in hours, the words give way. Only when those
|
a scan of millions of files, is the line cut short at the terminal's edge, so
|
||||||
four alone are too wide, as on a terminal narrower than about 70 columns hours
|
the end of the ETA is lost first. A terminal made narrower while a phase runs
|
||||||
into a scan of millions of files, is the line cut short at the terminal's
|
gets the same: the next draw erases the line within the new width and fits the
|
||||||
edge, so the end of the ETA is lost first. A terminal made narrower while a
|
line to it, and the display goes on redrawing in place.
|
||||||
phase runs gets the same: the next draw erases the line within the new width
|
|
||||||
and fits the line to it, and the display goes on redrawing in place.
|
|
||||||
- When stderr is not a terminal (a pipe, a file, `/dev/null`), do not emit ANSI
|
- When stderr is not a terminal (a pipe, a file, `/dev/null`), do not emit ANSI
|
||||||
redraws: print the line the moment each phase starts, every 5 seconds while it
|
redraws: print the line the moment each phase starts, every 5 seconds while it
|
||||||
runs (whether or not an item has completed, and never more often), and once
|
runs (whether or not an item has completed, and never more often), and once
|
||||||
|
|||||||
@@ -38,11 +38,9 @@
|
|||||||
`db`, `out` for stdout or `cpu`, or two of them for a phase that may wait on
|
`db`, `out` for stdout or `cpu`, or two of them for a phase that may wait on
|
||||||
either, each phase giving its word where it is defined. A line too wide for
|
either, each phase giving its word where it is defined. A line too wide for
|
||||||
the terminal loses its bar first, then its rate or those words, so the phase,
|
the terminal loses its bar first, then its rate or those words, so the phase,
|
||||||
progress, elapsed time and ETA stay whole. On an 80-column terminal, at counts
|
progress, elapsed time and ETA stay whole; on an 80-column terminal the words
|
||||||
like those of README's example, the content phase's checks and reads lose
|
fit beside them in an ordinary scan. The content phase's last partial batch is
|
||||||
those words at most times in minutes, and every other phase keeps them
|
now written under a display of its own (2026-10-16,
|
||||||
whenever the elapsed time and the ETA are both in minutes. The content phase's
|
|
||||||
last partial batch is now written under a display of its own (2026-10-16,
|
|
||||||
https://git.eeqj.de/sneak/sfdupes/issues/125)
|
https://git.eeqj.de/sneak/sfdupes/issues/125)
|
||||||
|
|
||||||
- new subcommand `info` prints the database's details on stdout, one per line as
|
- new subcommand `info` prints the database's details on stdout, one per line as
|
||||||
|
|||||||
Reference in New Issue
Block a user