Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ textddif(1) — OSF/1 SILVER Baselevel 4 rev36

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdoc(1)

ddifanls(1)

ddifps(1)

ddiftext(1)

dtifanls(1)

dtifddif(1)

textddif(1)  —  Commands

Digital

NAME

textddif − convert text formatted files to DDIF formatted files
 

SYNOPSIS

textddif [−m message_log] [−O optionfile] [−o outputfile] [−p options_line]... [−d extension] [inputfile [outputfile [logfile]]]
 

DESCRIPTION

The textddif command reads a text formatted file from inputfile and writes a DDIF file to outputfile. To convert from file.text to file.ddif type:

textddif file.text file.ddif

If you do not supply an input file, or if you supply a minus sign (−) as an argument, textddif reads the DDIF file from the standard input file.  If you do not supply an output file, or if a minus sign (−) is encountered as an argument, textddif writes the PostScript file to the standard output file. 
 
You can also invoke the textddif conversion with the cdoc(1) command when you use that command and specify the option −d text or −s ddif. 

The textddif command maps line breaks and form feeds to DDIF directives.  One or more contiguous blank lines are interpreted as end-of-paragraph markers. The text input file does not lose any information because no structure information is contained in a text file.  The information in the intermediate representation of the input file maps directly to the DTIF output file. 

The textddif command converts all nonprinting characters to space characters.  For example, characters introducing ANSI escape characters are converted to space characters. There is no attempt to interpret ANSI escape sequences. 
 

FLAGS

−m message_log
Logs messages to the specified file or, if a minus sign (−) is encountered as an argument, to the standard error file.
 
If you do not specify this option, but you do specify inputfile, outputfile, and logfile, then message_log will contain only serious errors. 

−O optionfile
Specifies the name of the options file containing options for this converter.

−o outputfile
Specifies the name of the output file. Included in the command syntax for compatibility with the cdoc command. 

−p options_line
Allows you to specify options on command line. Has the same effect as specifying an options file for this converter. You can specify up to 100 options.

−d extension
Allows the specification of a default file extension for compatibility with other operating systems.
 

RELATED INFORMATION

cdoc(1), ddifanls(1), ddifps(1), ddiftext(1), dtifanls(1), dtifddif(1)

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