Contents
========
* DOS clip/paste utilities
* FreeDOS
* DOSBox-X

DOS clip/paste utilities
========================
clip.com and paste.com are 16-bit real mode DOS utilities to access
the Windows clipboard.  They will copy up to 64K of text.

Usage: clip.com <file.txt
Copy the contents of file.txt to the Windows clipboard.

Usage: paste.com >file.txt
Copy the contents of the Windows clipboard to file.txt.

FreeDOS
=======
The winoldap.com TSR provides the WinOldAp API for a system-wide
clipboard on FreeDOS.  It is limited to 64K of data.  It is based
on code from dosclip.arj

Run: winoldap\winoldap.com

The mousclip.exe TSR provides a console copy/paste feature using
the mouse.  It has been modified to always use the WinOldAp clipboard.
It has also been modified to increase the maximum buffer size to 32K.

Run: mousclip\mousclip.exe /B32767

FreeDOS includes setedit, which can access the clipboard via [Alt-E F]
and [Alt-E W].

The vim documentation mentions integration with the Windows clipboard
but it didn't work for me.  As a workaround you can pipe to the DOS
clip/paste utilities.  In the examples below, spaces are important!

:w !clip.com

:r!paste.com

DOSBox-X
========
DOSBox-X has clipboard integration built in.  It is not necessary to
run winoldap.com.  The mousclip.exe, clip.com, and paste.com
utilities can be used with the host system clipboard thanks to
DOSBox-X.

Note: This only works in the normal DOSBox-X mode.  It will not work
when booting into FreeDOS.

<http://dosbox-x.com/wiki/#Guide:Clipboard-support-in-DOSBox‐X>