VOGONS

Common searches


Cut&Paste

Topic actions

First post, by Dr.K.

User metadata
Rank Newbie
Rank
Newbie

Hello,
I need a way to paste text into the software running in the DOSBox, which is taken (cut) from a software running parallel in Windows. The DOS-Boxes in Win98 and also WinXP allow this but unfort. I can not use Win98 with this PC and the software does not run properly in the WinXP-DOS-Box so that I have to use DOSBox as DOS-emulator.
Is there any possibility to to this with DOSBox?

Greetings, Dr.K.

Reply 3 of 6, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Whoops... Wasn't aware of that patch, sorry. But i can't imagine how copy/paste should work, because DOSBox uses graphics mode for output, not character mode, like the W9x DOS boxes, or NTVDM. There are no characters to copy, only pixels. (;

Ahh, i've read the patch desc, and i think i understand how that could work. Interesting idea. Dr.K.: if you want to try the patch, you have to compile your own DOSBox. The patch is quite old, so i think there could be compatibility problems with the current source (just a guess). I'm not aware of any "normal" build (like ykhwong's or Gulizoka's) that has the patch included.

EDIT: ah, and i think the answer to the OP's question would still be "no", even when using that patch. It's not for "standard" copy/paste, like we know it from Windows or other OS's, but for copying content to a specific device which acts as an interface to the windows clipboard (like the "copy clip:" functions in 4nt/tcmd32). I remember another thread on VOGONS about c/p, and i think there was another solution to the problem, something with an external program i think.

Reply 4 of 6, by Dr.K.

User metadata
Rank Newbie
Rank
Newbie
h-a-l-9000 wrote:

There is still this patch: Clipboard access
(I never tried it)

Looks as if this need changing the source fo DOSBox etc. etc. Sorry, I am absolutely unable to do this.

Greetings, Dr.K.

Reply 5 of 6, by gmichels

User metadata
Rank Newbie
Rank
Newbie

Hijacking the thread, but it's related... I'm using DosBox to run an old DOS application on Mac OS X, and I need to do the opposite, copy the text from the application running in DosBox and paste it in another application on Mac OS X.

In a windows environment I press the printscreen key to achieve this, the text data is copied to the clipboard and I can paste it in any software like Excel (that's what I need). Even though I did the key remapping so the application gets the correct keycode for printscreen, nothing gets to the Mac OS X clipboard.

Is it possible to do it?

Thanks

Reply 6 of 6, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

No.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32