comcom64 icon indicating copy to clipboard operation
comcom64 copied to clipboard

implement toclip-alike winoldap support

Open stsp opened this issue 11 months ago • 4 comments

Can use middle mouse button for pasting.

stsp avatar Mar 19 '24 11:03 stsp

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.

stsp avatar Mar 19 '24 12:03 stsp

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?

severach avatar Sep 22 '24 18:09 severach

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 avatar Sep 22 '24 19:09 stsp

Added crlf conversion, please test.

stsp avatar Sep 22 '24 20:09 stsp