Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dtox.exe(LM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xtod.exe(LM)

dtox(C)


 dtox.exe(LM)                  06 January 1993                   dtox.exe(LM)


 Name

    dtox.exe - change file format from DOS to the UNIX System format.

 Syntax


    dtox  [ filename ]   [ > output.file ]


 Description

    The DOS command dtox.exe converts a file from DOS format to UNIX System
    and XENIX format.  UNIX System and XENIX formats are the same for text
    files.  DOS files terminate a line of text with a carriage return and a
    linefeed, while UNIX System files terminate a line with a linefeed only.
    Also DOS places a <Ctrl>Z at the end of a file, while the UNIX System
    does not.  Some programs and utilities are sensitive to this difference
    and some are not.  If a text or data file is not being interpreted
    correctly, then use the dtox.exe and xtod.exe conversion utilities.  The
    dtox.exe command strips the extra carriage return from the end of each
    line and strips the <Ctrl>Z from the end of the file.  This utility
    should not be used for binary object files.

    If no filename is specified on the command line, dtox.exe takes input
    from standard input.  Utility output goes to standard output.

    To use this command, you must first copy the dtox.exe file from the
    /usr/lib/lm/dos directory to the DOS or OS/2 machine.

 Files

    /usr/lib/lm/dos/dtox.exe

 See also

    xtod.exe(LM), dtox(C)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026