Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

megatron(1) [redhat man page]

MEGATRON(1)						      General Commands Manual						       MEGATRON(1)

NAME
megatron, unhex, unbin, unsingle, hqx2bin, single2bin, macbinary - Macintosh file format transformer SYNOPSIS
megatron [ sourcefile... ] unbin [ sourcefile... ] unhex [ sourcefile... ] unsingle [ sourcefile... ] hqx2bin [ sourcefile... ] single2bin [ sourcefile... ] macbinary [ sourcefile... ] DESCRIPTION
megatron is used to transform files from BinHex, MacBinary, AppleSingle, or netatalk style AppleDouble formats into MacBinary or netatalk style AppleDouble formats. The netatalk style AppleDouble format is the file format used by afpd, the netatalk Apple Filing Protocol (AppleShare) server. BinHex, MacBinary, and AppleSingle are commonly used formats for transferring Macintosh files between machines via email or file transfer protocols. megatron uses its name to determine what type of tranformation is being asked of it. If megatron is called as unhex, unbin, or unsingle, it tries to convert file(s) from BinHex, MacBinary, or AppleSingle into AppleDouble format. BinHex is the format most often used to send Macintosh files by e-mail. Usually these files have an extension of ".hqx". MacBi- nary is the format most often used by terminal emulators "on the fly" when transferring Macintosh files in binary mode. MacBinary files often have an extension of ".bin". Some Macintosh LAN-based email packages use uuencoded AppleSingle format to "attach" or "enclose" files in email. AppleSingle files don't have a standard filename extension. If megatron is called as hqx2bin, single2bin, or macbinary, it will try to convert the file(s) from BinHex, AppleSingle, or AppleDouble into MacBinary. This last translation may be useful in moving Macintosh files from your afpd server to some other machine when you can't copy them from the server using a Macintosh for some reason. If megatron is called with any other name, it uses the default translation, namely unhex. If no source file is given, or if sourcefile is `-', and if the conversion is from a BinHex or MacBinary file, megatron will read from standard input. The filename used to store any output file is the filename that is encoded in the source file. MacBinary files are created with a ".bin" extension. In the case of conflicts, the old file is overwritten! SEE ALSO
afpd(8) netatalk 1.2 8 Jan 1992 MEGATRON(1)

Check Out this Related Man Page

T1UNMAC(1)						      General Commands Manual							T1UNMAC(1)

NAME
t1unmac - translate a Mac PostScript Type 1 font into PFA or PFB format SYNOPSIS
t1unmac [-a|-b] [-r] [input [output]] DESCRIPTION
t1unmac extracts POST resources from a Macintosh PostScript font file and creates a PFA (hexadecimal) or PFB (binary) font file. The file input should be in MacBinary I or II, AppleSingle, AppleDouble, or BinHex format, or it can be a raw resource fork. If the file is a raw resource fork, you need to give the `--raw' option; otherwise t1unmac should automatically figure out what kind of file you have. If the file output is not specified output goes to the standard output. OPTIONS
--pfa, -a Output in PFA (ASCII) format. --pfb, -b Output in PFB (binary) format. This is the default. --raw, -r Indicates that the input is a raw resource fork. --macbinary Indicates that the input is in MacBinary I or II format. --applesingle Indicates that the input is in AppleSingle format. --appledouble Indicates that the input is in AppleDouble format. --binhex Indicates that the input is in BinHex 4.0 format. --block-length=num, -l num PFB only: Set the maximum output block length to num. The default length is as large as memory allows. --line-length=num, -l num PFA only: Set the maximum length of encrypted lines in the output to num. (These are the lines consisting wholly of hexadecimal dig- its.) The default is 64. EXAMPLES
On Mac OS X, you can use t1unmac to translate a font into PFA or PFB format as follows: % t1unmac --raw FONTFILENAME/..namedfork/rsrc > OUTPUT SEE ALSO
t1mac(1), t1ascii(1), t1binary(1), t1asm(1), t1disasm(1) AUTHORS
Lee Hetherington (ilh@lcs.mit.edu) Eddie Kohler (ekohler@gmail.com) Ported to Microsoft C/C++ Compiler and MS-DOS operating system by Kai-Uwe Herbing (herbing@netmbx.netmbx.de). Version 1.37 T1UNMAC(1)
Man Page