|Daemon mode. Floppyd runs its own server loop. Do not supply this if you start floppyd from inetd.conf|
|Port number for deamon mode. Default is 5703 + displaynumber. This flag implies daemon mode. For example, for display hitchhiker:5, the port would be 5708.|
|Bind address (for multihomed hosts). This flag implies daemon mode|
|Run the server under as the given user|
|X display to use for authentication. By default, this is taken from the DISPLAY variable. If neither the x attribute is present nor DISPLAY is set, floppyd uses :0.0.|
In order to use floppyd, add the flag remote to the device description in your oo~/.mtoolsrcI file. If the flag remote is given, the file parameter of the device description is taken to be a remote address. Its format is the following: hostname:displaynumber[/[baseport][/drive]]. When using this entry, mtools connects to port baseport+displaynumber at hostname. By default baseport is 5703. The drive parameter is to distinguish among multiple drives associated with a single display (only mtools versions more recent than 3.9.11)
The following starts a floppy daemon giving access to oo/dev/fd0I, listening on the default port 5703, tied to the default X servers:
floppyd -d /dev/fd0
Each of the following starts a floppy daemon giving access to oo/dev/fd1I, tied to the :1 local X servers, and listening on port 5704. We assume that the local host is named hitchhiker.
floppyd -d /dev/fd0 floppyd -d -x :1 -p 5704 /dev/fd0
If you want to start floppyd by inetd instead of running it as a daemon, insert the following lines into oo/etc/servicesI:
# floppy daemon floppyd-0 5703/tcp # floppy daemon for X server :0 floppyd-1 5704/tcp # floppy daemon for X server :1
And insert the following into oo/etc/inetd.confI (assuming that you have defined a user named floppy in your oo/etc/passwdI):
# floppy daemon floppyd-0 stream tcp wait floppy /usr/sbin/floppyd floppyd /dev/fd0 floppyd-1 stream tcp wait floppy /usr/sbin/floppyd floppyd -x :1 /dev/fd0
Note that you need to supply the X display names for the second floppyd. This is because the port is opened by inetd.conf, and hence floppyd cannot know its number to interfere the display number.
On the client side, insert the following into your oo~/.mtoolsrcI to define a drive letter accessing floppy drive in your X terminal:
drive x: file="$DISPLAY" remote
If your X terminal has more than one drive, you may access the additional drives as follows:
drive y: file="$DISPLAY//1" remote drive z: file="$DISPLAY//2" remote
Mtools texinfo doc
This manpage has been automatically generated from mtoolss texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc.
The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.
* To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi
* To generate a html copy, run:
./configure; make html
A premade html can be found at oohttp://www.gnu.org/software/mtools/manual/mtools.htmlI
* To generate an info copy (browsable using emacs info mode), run:
./configure; make info