dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

implement toclip-alike winoldap support #88

Open stsp opened 7 months ago

stsp commented 7 months ago

Can use middle mouse button for pasting.

stsp commented 7 months ago

Can use middle mouse button for pasting.

Or not, as the clipboard rarely contains the command.com's commands to paste into a cmd buffer. It might be better to implement something like "toclip" tool inside comcom64.

severach commented 1 month ago

Clipboard support won't be of much use if the DOS output is LF terminated. Is there a way to get write(STDOUT_FILENO,...) to convert LF -> CRLF or do I need to include my toclip code? Seems that read(STDIN_FILENO...) is already performing CRLF->LF so I don't need to do that.

I have simple code done. How much of toclip should I implement?

stsp commented 1 month ago

Hmm I suspect this should be implemented in dosemu2, not here, to match windows behavior.

I have simple code done. How much of toclip should I implement?

Read and write, not much.

stsp commented 1 month ago

Added crlf conversion, please test.