Skip to contentSkip to conversation

Copy / Paste to / from Dosemu

DISCUSSION Victor Warner 4 participants 8 messages Mar 27, 2008 – Apr 18, 2008

lore
Share & tools
lore
#0 lore raw

I would like to know whether it is possible to copy / paste text to / from dos applications running under Dosemu to / from Linux applications.

If so, I would be grateful to know how it can be done.

Victor Warner.

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Victor Warner

I would like to know whether it is possible to copy / paste text to / from dos applications running under Dosemu to / from Linux applications.

If so, I would be grateful to know how it can be done.

You can't directly. My workaround is to copy the text to a DOS text file, such as the WordPerfect text editor, open that file in a Linux text editor, such as Kedit, and then insert that file in the desired Linux application.

As you can see the workaround is quite cumbersome. I have many important texts written when I was still using WordPerfect 5.1, parts of which I want to incorporate in documents created in OpenOffice, which I now use as my primary word processor. The workaround described is how I manage the transfer.

Ken Heard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7HE6lNlJzOkJmTcRAimlAJ0bQ4q8Bpqi4Xo2mZW/J1RJp+UsPgCfRRTp 3H1PkdUekLLgF1V7tIK5xAU=
=PWsB
-----END PGP SIGNATURE-----

#2 lore raw

Ken,

Thank you for the reply. What you have written is what I believed still to be the case.

However, I was intrigued by the following comment from Bart Oldeman announcing 1.4.0.1:

"Improved copy and paste of text to and from DOSEMU."

But this is not explained further.

Victor Warner.

Quoted 38 lines · Ken Heard

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Victor Warner

I would like to know whether it is possible to copy / paste text to / from dos applications running under Dosemu to / from Linux applications.

If so, I would be grateful to know how it can be done.

You can't directly. My workaround is to copy the text to a DOS text file, such as the WordPerfect text editor, open that file in a Linux text editor, such as Kedit, and then insert that file in the desired Linux application.

As you can see the workaround is quite cumbersome. I have many important texts written when I was still using WordPerfect 5.1, parts of which I want to incorporate in documents created in OpenOffice, which I now use as my primary word processor. The workaround described is how I manage the transfer.

Ken Heard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7HE6lNlJzOkJmTcRAimlAJ0bQ4q8Bpqi4Xo2mZW/J1RJp+UsPgCfRRTp 3H1PkdUekLLgF1V7tIK5xAU=
=PWsB
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 7 lines · Victor Warner

Thank you for the reply. What you have written is what I believed still to be the case.

However, I was intrigued by the following comment from Bart Oldeman announcing 1.4.0.1:

"Improved copy and paste of text to and from DOSEMU."

Use the middle mouse button to paste the current selection. Perhaps I sometimes forget that this is a very common mechanism in X to copy & paste because so many people are used to the ctrl-c,x,v way of doing things now.

Sometimes you need to use shift too. The improved copy and paste refers to "extended ASCII" -- before international characters could be pasted into something completely different but now they are usually translated to and from UTF-8.

Bart

#4 lore raw

Kind of on the same subject line here but the inverse of it. How do you get dosemu not to copy/paste with the mouse button. I have an application that reads the keyboard expecting such entries as function keys and user entries. If I accidentaly hit the center mouse button it sends whatever is in the copy/paste buffer to this program completely freaking it out and causing un-intentional actions to occur. Is there a a way to comfigure dosemu mouse to act like it did in MSDOS? The program does need the mouse and can interpet the outside buttons correctly but god help you if you hit the center button.

Thanks,
Mike

Quoted 32 lines · Bart Oldeman
Quoted 9 lines · Victor Warner

Thank you for the reply. What you have written is what I believed still to be the case.

However, I was intrigued by the following comment from Bart Oldeman announcing 1.4.0.1:

"Improved copy and paste of text to and from DOSEMU."

Use the middle mouse button to paste the current selection. Perhaps I sometimes forget that this is a very common mechanism in X to copy & paste because so many people are used to the ctrl-c,x,v way of doing things now.

Sometimes you need to use shift too. The improved copy and paste refers to "extended ASCII" -- before international characters could be pasted into something completely different but now they are usually translated to and from UTF-8.

Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
Quoted 2 lines · Mike R Brown

Kind of on the same subject line here but the inverse of it. How do you
get dosemu not to copy/paste with the mouse button.

I would say, grab the mouse (ctrl-alt-home) but that disables selection but not pasting. You would need to apply a patch which is in SVN now but you could easily put that into older versions too:

http://dosemu.svn.sourceforge.net/viewvc/dosemu/trunk/src/plugin/X/X.c?r1=1854&r2=1853&view=patch
http://dosemu.svn.sourceforge.net/viewvc/dosemu/trunk/src/plugin/sdl/sdl.c?r1=1854&r2=1853&view=patch

Bart

#6 lore raw

Unable to run dosemu under Ubuntu 8.04

In reply to Ken Heard

I have installed dosemu 1.40 with synpatic with ubuntu 8.04

"LOWRAM map: Invalid argument
Segmentation fault (core dumped)"

On trying to run it, I get this error message in console.

Is there anyway of solving this?

Victor Warner

#7 lore raw

Re: Unable to run dosemu under Ubuntu 8.04

Quoted 8 lines · Victor Warner

I have installed dosemu 1.40 with synpatic with ubuntu 8.04

"LOWRAM map: Invalid argument
Segmentation fault (core dumped)"

On trying to run it, I get this error message in console.

Is there anyway of solving this?

Run
sysctl -w vm.mmap_min_addr=0
as root, or
echo 0 > /proc/sys/vm/mmap_min_addr

Bart