<sect1>
<title>Commands &#38; Utilities</title>

<para>
These are some utitlies to assist you in using Dosemu.
</para>

<sect2>
<title>Programs</title>

<para>
<variablelist>

<varlistentry>
<term>bootoff.com</term>
<listitem>
<para>
 switch off the bootfile to access disk
see examples/config.dist at bootdisk option
</para>
</listitem></varlistentry>
<varlistentry>
<term>booton.com</term>
<listitem>
<para>
 switch on the bootfile to access bootfile
see examples/config.dist at bootdisk option
</para>
</listitem></varlistentry>
<varlistentry>
<term>uchdir.com</term>
<listitem>
<para>
 change the Unix directory for Dosemu (use chdir(2))
</para>
</listitem></varlistentry>
<varlistentry>
<term>dosdbg.com</term>
<listitem>
<para>
 change the debug setting from within Dosemu

<itemizedlist>
<listitem>

<para>
               dosdbg -- show current state
</para>
</listitem>
<listitem>

<para>
               dosdbg &lt;string&gt;
</para>
</listitem>
<listitem>

<para>
               dosdbg help -- show usage information
</para>
</listitem>

</itemizedlist>

</para>
</listitem></varlistentry>
<varlistentry>
<term>eject.com</term>
<listitem>
<para>
 eject CD-ROM from drive
</para>
</listitem></varlistentry>
<varlistentry>
<term>emumouse.com</term>
<listitem>
<para>
 fine tune internal mousedriver of Dosemu

<itemizedlist>
<listitem>

<para>
               emumouse h -- display help screen
</para>
</listitem>

</itemizedlist>

</para>
</listitem></varlistentry>
<varlistentry>
<term>exitemu.com</term>
<listitem>
<para>
 terminate Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>ugetcwd.com</term>
<listitem>
<para>
 get the Unix directory for Dosemu (use getcwd(2))
</para>
</listitem></varlistentry>
<varlistentry>
<term>isemu.com</term>
<listitem>
<para>
 detects Dosemu version and returns greater 0 if running under
Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>lancheck.exe</term>
<listitem>
<para>
 ???
</para>
</listitem></varlistentry>
<varlistentry>
<term>lredir.com</term>
<listitem>
<para>
 redirect Linux directory to Dosemu

<itemizedlist>
<listitem>

<para>
               lredir -- show current redirections
</para>
</listitem>
<listitem>

<para>
               lredir D: LINUX\FS\tmp -- redirects /tmp to drive D:
</para>
</listitem>
<listitem>

<para>
               lredir help -- display help screen
</para>
</listitem>

</itemizedlist>

</para>
</listitem></varlistentry>
<varlistentry>
<term>mgarrot.com</term>
<listitem>
<para>
 give up cpu time when Dosemu is idle
</para>
</listitem></varlistentry>
<varlistentry>
<term>speed.com</term>
<listitem>
<para>
 set cpu usage (HogThreshold) from inside Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>system.com</term>
<listitem>
<para>
 interface to system(2)...
</para>
</listitem></varlistentry>
<varlistentry>
<term>unix.com</term>
<listitem>
<para>
 execute Unix commands from Dosemu

<itemizedlist>
<listitem>

<para>
               unix -- display help screen
</para>
</listitem>
<listitem>

<para>
               unix ls -al -- list current Linux directory
</para>
</listitem>
<listitem>

<para>
               caution! try "unix" and read the help screen
</para>
</listitem>

</itemizedlist>

</para>
</listitem></varlistentry>
<varlistentry>
<term>cmdline.exe</term>
<listitem>
<para>
 Read /proc/self/cmdline and put strings such as "var=xxx"
found on the commandline into the DOS enviroment.
Example having this as the dosemu commandine:

<screen>
                 dosemu.bin "autoexec=echo This is a test..."
</screen>

then doing

<screen>
 
                 C:\cmdline &lt; D:\proc\self\cmdline
                 %autoexec%
</screen>

would display "This is a test..." on the DOS-Terminal
</para>
</listitem></varlistentry>
<varlistentry>
<term>vgaoff.com</term>
<listitem>
<para>
 disable vga option
</para>
</listitem></varlistentry>
<varlistentry>
<term>vgaon.com</term>
<listitem>
<para>
 enable vga option
</para>
</listitem></varlistentry>
<varlistentry>
<term>xmode.exe</term>
<listitem>
<para>
 set special X parameter when running as xdos
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

</sect2>

<sect2>
<title>Drivers</title>

<para>
These are useful drivers for Dosemu
</para>

<para>
<variablelist>

<varlistentry>
<term>cdrom.sys</term>
<listitem>
<para>
 allow direct access to CD-ROM drives from Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>ems.sys</term>
<listitem>
<para>
 enable EMM in Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>emufs.sys</term>
<listitem>
<para>
 redirect Unix directory to Dosemu
</para>
</listitem></varlistentry>
<varlistentry>
<term>aspi.sys</term>
<listitem>
<para>
 ASPI conform SCSI driver
</para>
</listitem></varlistentry>
<varlistentry>
<term>fossil.com</term>
<listitem>
<para>
 FOSSIL serial driver (TSR)
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

</sect2>

</sect1>

