Aug. 28, 2025
5:38 p.m.
On Thu Aug 28 17:38:52 2025 +0000, eric pouech wrote: > (Dont have access to a dev box, so only asking questions) > - what behavior are fixed by this MR? > - which interactive tests did you perform with/without this MR ? > - does copy /b con foo uses the ascii mode ? > - does the new behavior of changing copy mode for CON applies to other > devices ? * what behavior are fixed by this MR? ^Z does not terminate a copy of text from the console device. * which interactive tests did you perform with/without this MR ? copy con tmp.txt copy con: tmp.txt copy con:s tmp.txt copy /b con tmp.txt In each case above, text was entered, followed by ^Z. copy nul tmp.txt copy nul: tmp.txt Both of these cases also worked as expected. * does copy /b con foo uses the ascii mode ? Native Win10 appears to force ASCII mode for 'copy con' even if /b were specified. ^Z still terminated the copy operation. * does the new behavior of changing copy mode for CON applies to other devices ? That's an interesting question. My best answer is no. LPTx is an output device. COMx perhaps, although these are mainly configured via MODE, and I don't have a good way to test that functionality. Should be easy to add an additional device name comparison in the future if it is found to be needed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8849#note_114100