bug#70887: In coreutils 9.5, "cp" command does not honor "--interactive" option

2024-05-12 Thread Pádraig Brady
On 12/05/2024 16:06, Paul Eggert wrote: On 2024-05-12 04:49, Pádraig Brady wrote: @@ -1151,7 +1151,8 @@ main (int argc, char **argv) { /* Default cp operation. */ x.update = false; - x.interactive = I_UNSPECIFIED; +

bug#70887: In coreutils 9.5, "cp" command does not honor "--interactive" option

2024-05-12 Thread Robert Hill
Pádraig, Thank you very much indeed for responding so quickly and thoroughly. As you suggest, instead of "cp -Tipruvx ..." I am now using "cp -Tpruivx ..." ("-i" after "-u"), which works just fine. Many thanks, and kind regards, Bob. From: Pádraig Brady on behalf

bug#70887: In coreutils 9.5, "cp" command does not honor "--interactive" option

2024-05-12 Thread Paul Eggert
On 2024-05-12 04:49, Pádraig Brady wrote: @@ -1151,7 +1151,8 @@ main (int argc, char **argv) { /* Default cp operation. */ x.update = false; - x.interactive = I_UNSPECIFIED; + if (x.interactive != I_ASK_USE

bug#70887: In coreutils 9.5, "cp" command does not honor "--interactive" option

2024-05-12 Thread Pádraig Brady
On 12/05/2024 00:03, Robert Hill wrote: After upgrading coreutils from 9.0 to 9.5, the following change occurred: In coreutils 9.0, the command "cp -Tipruvx /src-dir /dst-dir" requested interactive confirmation before replacing an old destination file with a newer source file, as expected. In c

bug#70891: "stty sane" fails to reset the terminal cursor

2024-05-12 Thread Milan Hauth
"tput init" from ncurses works as expected