Cut & Paste in DOSBox (03-20-2019)

General information and assistance with DOSBox.

Cut & Paste in DOSBox (03-20-2019)

Postby techy » 2019-3-13 @ 04:59

I've been using an old DOS app for a long time, and have been able to run it fine under Windows 7 32-bit without DOSBox. But, I'm moviing to Windows 10 64-bit. I've downlaoded the newest DOSBox (as of 3-20-2019), but I am unable to Paste text to my app in DOSBox.... Generally I highlight and copy text to the Windows clipboard then Paste it to my app and its been working. However with Windows 10 64-bit the old app won't run, so I installed DOSBox. I am able to run the app in DOSBox under Windows 10 64 no problem, but don't know how to paste text I've Copied from say a web page or word document to my app running in DOSBox.

Thank you! :)
Posts: 2
Joined: 2019-3-13 @ 04:12

Re: Cut & Paste in DOSBox (03-20-2019)

Postby junglemontana » 2019-3-14 @ 18:04

Copy/paste to and from a virtual system is probably not a trivial task to implement anyway... In order to do that, the host system must understand concepts like text fields or file managers inside the guest. In virtualization software like VirtualBox or VMWare, this is achieved with a special interface between the host and the guest system, and the guest system must support this interface too. Typically, special add-ons are installed to the guest system. I'm pretty sure that such add-ons are not available for DOS.

Now I don't know how hard it would be to implement text copy/paste into DOSBox. Perhaps easier than in a more general case, but it's probably not on the top of the developers' todo-list.

Just my 2cents...
Posts: 12
Joined: 2019-2-16 @ 17:37

Re: Cut & Paste in DOSBox (03-20-2019)

Postby JosSchaars » 2019-3-14 @ 21:40

DOS has no copy/paste functionality. Copying text is quite simple: Provide for a method to select a rectangle, then copy the text in it to the clipboard. Pasting: Push the text into the BIOS keyboard buffer.
Don’t think copy/paste is of real interest for DOSBox/gaming.
vDos implements both. Copy: Left mouse click (or Ctrl+Win+click if the DOS program uses the mouse itself), drag, release. Paste: Ctrl+V (if desired) or right mouse click (Ctrl+Win…).
ASCII/Unicode conversion is transparent, text length only restricted to what the DOS program will accept, or can be selected on screen (though WP support is more versatile).
Posts: 50
Joined: 2014-1-26 @ 21:58

Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 1 guest