´ÙÀ½ ÀÌÀü Â÷·Ê

1. Introduction

mgetty´Â unixȯ°æ¿¡¼­ ¸ðµ©°ú Æѽº¸ðµ©À» °¡Àå Àß È°¿ëÇÏ°Ô ÇØÁÝ´Ï´Ù. outgoing callµéÀ» ¹æÇØÇÏÁö ¾Ê°í incoming callµéÀ» ´Ù·ì´Ï´Ù. ¸ðµ©ÀÇ fax class°¡ 2 ¶Ç´Â 2.0À̸é fax¸¦ ¹ÞÀ»¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù.

sendfax´Â fax¸¦ º¸³»´Â standalone backend programÀÔ´Ï´Ù.

ÀÌ ¸Å´º¾óÀº package¸¦ ¿©·¯ os¿Í modem¿¡ ¾î¶»°Ô ¼³Á¤ÇÏ°í ¼³Ä¡Çϸç, ÇÁ·Î±×·¥µéÀ» ¾î¶»°Ô »ç¿ëÇÏ´Â Áö¸¦ ¼³¸íÇÕ´Ï´Ù.

1.1 Copying conditions and (lack of) warranty

WARNING: ÀÌ ÆÐÅ°Áö´Â ¾ÆÁ÷ BETA softwareÀÌ°í, ÀüÇôº¸ÁõµÇÁö ¾Ê¾ÒÀ¸´Ï ±ÍÇÏÀÇ Ã¥ÀÓÇÏ¿¡ »ç¿ëÇϽʽÿÀ. harddisk¿¡ ÀÖ´Â data°¡ ÀüºÎ Áö¿öÁö°Å³ª, hardware°¡ ¸Á°¡Áö°Å³ª, kills your dogÇÏ´Â °ÍµéÀº ÀüºÎ ±ÍÇÏÀÇ ¹®Á¦ÀÔ´Ï´Ù. ´Ù¸¸, Àú¿Í ¼ö¸¹Àº ´Ù¸¥ »ç¶÷µé¿¡°Ô´Â Àß µÇ¾ú½À´Ï´Ù.

mgetty+sendfax package´Â Copyright (C) 1993-1997 Gert DoeringÀÔ´Ï´Ù.

±ÍÇϲ²¼­´Â mgetty+sendfax¸¦ ´Ù½Ã ¹èÆ÷ÇÏ°í, °íÄ¡°í, ´Ù¸¥ program¿¡ Æ÷ÇÔ½Ãų ¼ö ÀÖÁö¸¸, ¹Ø¿¡¼­ ¼³¸íÇÑ ¹Ù¿Í °°ÀÌ mgetty¸¦ ÆǸÅÇÏ¿© ÀÌÀÍÀ» º¸Áö ¸¶½Ã°í, mgetty source¸¦ ±×´ë·Î Æ÷ÇÔ½ÃÅ°½Ã°í, Á¦ À̸§À» »©Áö ¸¶¼Å¾ß ÇÕ´Ï´Ù. ¼öÁ¤º»À» ¹èÆ÷ÇϽðųª mgetty code¸¦ ±ÍÇÏÀÇ project¿¡ Æ÷ÇÔ½ÃÅ°½Ç ¶§¿¡´Â ´ÙÀ½ÀÇ ¹®±¸¸¦ ºÐ¸íÈ÷ Àû¾îÁֽñ⠹ٶø´Ï´Ù.

``... derived from mgetty+sendfax by Gert Doering.''

programÀÌ Àß ½ÇÇàµÇ°í, Á¦ ³ë°í°¡ °ªÁö´Ù°í ¿©±â½Ã¸é, ¿øÇϽô ¸¸Å­ ±âºÎÇϼŵµ µË´Ï´Ù.

À§ÀÇ "mgetty¸¦ ÆǸÅÇÏ¿© ÀÌÀÍÀ» º¸Áö ¸¶½Ã°í"¶õ ¸»Àº ´ÙÀ½°ú °°½À´Ï´Ù. mgetty¸¦ º¸Á¶¼ö´ÜÀ¸·Î Çؼ­ µ·À» ¹ú ¼ö ÀÖ°í, CD-ROM collection µî¿¡ ´Ù¸¥ °Íµé°ú ÇÔ²² mgetty¸¦ Æ÷ÇÔ½ÃÄѼ­ ¹èÆ÷ÇÒ ¼ö´Â ÀÖÁö¸¸, mgetty¸¦ faxmodem°ú ÇÔ²² Æȸ鼭 "unix fax package"³ª "unix softwareÆ÷ÇÔ"À̶ó°í Çϰųª, Á¶±Ý °³¼±ÇÏ°í¼­ ¸¹Àº µ·À» ¹Þ°í ÆȰųª ÇϽøé, Àú¿¡°Ô ÀÌÀÍÀ» ³ª´©¾î Áֽñ⠹ٶø´Ï´Ù. ÀÌÇصÇÁö ¾ÊÀ¸½Ã¸é Àú¿¡°Ô ¿©ÂåÁֽʽÿÀ.

ÀÌ licenseÀÇ Á¦ÇÑ»çÇ×ÀÌ ¸¾¿¡ µéÁö ¾ÊÀ¸½Ç¶§ ¾ðÁ¦µçÁö ¿¬¶ôÀ» ÁÖ½Ã¸é °øµ¿À¸·Î ÁÁÀº ¹æÃ¥À» ãÀ» ¼ö ÀÖ°Ú½À´Ï´Ù.

ÀÌ license´Â release dateÀÌÈÄ 5³â¸¸¿¡ ¼Ò¸êµÇ¾î ÀÌ mgetty+sendfax release´Â public domainÀ¸·Î µÇ°í, ´©±¸µçÁö code¸¦ ¿øÇÏ´Â ´ë·Î ÇÒ ¼ö ÀÖ½À´Ï´Ù.

1.2 Features of mgetty and sendfax

1.3 Supported systems and modems

´ÙÀ½ÀÇ system¿¡ ¼³Ä¡ÇÏ°í ¿òÁ÷À̴µ¥ ¼º°øÇß½À´Ï´Ù.

         SCO Unix 3.2.1 (ODT 1.0)           (well tested)
         SCO Unix 3.2.4 (ODT 2.0 + 3.0)     (very well tested)
         SCO Open Server 5.0                (well tested)
         Linux (everything from 0.99pl1 up) (very well tested)
         ISC Unix 3.0                       (tested)
         SVR4 Unix                          (well tested)
         SVR4.2 Unix                        (needs more testing)
         AT&T 3B1 3.51m                         (well tested)
         HP-UX 8.x and 9.x                  (well tested)
         AIX 3.2.5, 4.1 and 4.2             (very well tested)
         SunOS 4                            (well tested)
         Solaris 2.x                        (well tested)
         NetBSD / FreeBSD (all versions)    (very well tested)

±×¹ÛÀÇ Unix¿¡¼­µµ termio.h³ª termios.h°¡ ÀÖÀ¸¸é °¡´ÉÇÕ´Ï´Ù. °á°ú°¡ °¡Àå ÁÁ°Ô ³ª¿¡°Ô ÇÏ·Á¸é select(s) ¶Ç´Â poll(s) µîÀÇ library functionÀ» ¾²½Ã¶ó°í ±ÇÀåÇÕ´Ï´Ù. ±×·¯³ª systemÀÌ ¿©ÀÇÄ¡ ¾ÊÀ¸¸é ´Ù¸¥ ¹æ¹ýµµ ÀÖ½À´Ï´Ù. (Warning: Unix SVR3.1ÀÌÀüÀÇ system¿¡¼­ poll()À» ¾²¸é tty device¸¦ ÀÛµ¿½ÃÅ°Áö ¸øÇÏ°Ô µÇ´Ï »ç¿ëÇÏÁö ¸¶½Ê½Ã¿À.

fax mode¿¡¼­´Â Áö±Ý±îÁö ´ÙÀ½ÀÇ modemµé°ú Àß ¾î¿ï·È½À´Ï´Ù. (´Ù ÀûÁö´Â ¸øÇß½À´Ï´Ù.)

         ZyXEL U1496 (various ROM releases)
             (very well tested, a couple of problems remain, depending on the
              ROM release)
  
         ZyXEL 2864/2864I (various ROM releases)
             (very well tested, some firmware versions have problems)
  
         USR Courier/Sportster series
             (well tested, Couriers work great, Sportsters are ok)
  
         MultiTech (various models)
             (tested, works very well, very good fax implementation)
  
         SupraFAX v32bis
             (tested, works well, no fax polling available)
  
         GVC FM144/+
             (tested, works well, no fax polling available)
  
         TKR DM-24VF+ (Deltafax)
             (tested, works quite well)
  
         Zoom V.FAST 24K/28K
             (tested, works, some problems with fax/data distinction)

¸ðµç class 2 faxmodem¿¡ Àû¿ëµË´Ï´Ù. faxrec.c¿¡ ÀÇÇÑ pageÀÇ Ã¹ºÎºÐ¿¡¼­ DC2 character°¡ º¸³»Áö´Âµ¥, (¸Å¿ì ¿À·¡µÈ standard draft¸¦ ±¸ÇöÇÏ´Â) ±¸½Ä class 2 modemÀº ÀÌ°ÍÀ» XONÀ¸·Î ¹Ù²ãÁà¾ß ÇÕ´Ï´Ù. ( modem section ÂüÁ¶)

data mode¿¡¼­´Â Hayes ȣȯÀÎ modemÀÌ¸é ´Ù Àߵ˴ϴÙ.

1.4 Configuration and installation

compileÀº ¸Å¿ì ½±½À´Ï´Ù. policy.h-dist¸¦ policy.h·Î º¹»çÇÑ ÈÄ¿¡ ±× file¿¡ ÀÖ´Â comment¸¦ º¸°í ÆíÁýÇؼ­ local policy optionÀ» ¼³Á¤ÇϽʽÿÀ.

´ÙÀ½¿¡´Â MakefileÀ» ÆíÁýÇؼ­ installation path, system define, ±×¸®°í, system¿¡ ÀÇÁ¸ÀûÀÎ library¸¦ Ç¥½ÃÇϽʽÿÀ . (±× ÆÄÀϳ»¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.)

make·Î buildÇÏ°í, make install·Î ¼³Ä¡ÇϽʽÿÀ.

compiler°¡ RCS¿ëÀ¸·Î ³ÖÀº #identÁÙ¶§¹®¿¡ ¹®Á¦°¡ ÀÖ´Ù°í Çϸé make noident·Î buildÇÏ¸é µÉ°ÍÀÔ´Ï´Ù.

unresolved symboss¶ó´Â error message°¡ link½Ã¿¡ »ý±â¸é Makefile¿¡¼­ -DUSE_SELECT ¶Ç´Â -DUSE_POLL flagÀ» Á¤ÀÇÇØÁ༭ select(s)³ª poll(s) µîÀÇ system callÀÌ ÀÖ´Ù´Â °ÍÀ» package¿¡ ¾Ë·ÁÁà¾ß ÇÕ´Ï´Ù. (Àß ¸ð¸£°ÚÀ¸¸é error°¡ ¾ø¾îÁú ¶§±îÁö µÑ ´Ù Çغ¸½Ê½Ã¿À.) select³ª poll°ú »ó°ü¾øÀ¸¸é, ¾î´À library¸¦ linkÇÒ Áö systems man page¸¦ Âü°íÇÏ¿© LIBS¿¡ -l <library>¶ó°í Àû´çÈ÷ ³Ö¾îÁÖ¼¼¿ä.

select(s) callÀ̳ª poll(s) call µîÀº ´Ù¸¥ process°¡ ÀüÈ­¸¦ °É·Á°í ÇÒ ¶§ character¸¦ ¸Ô¾îÄ¡¿ìÁö ¾Êµµ·Ï ÇÏ´Â À¯ÀÏÇÑ ¹æ¹ýÀ̱⠶§¹®¿¡ system¿¡ À̵éÀÌ µÑ ´Ù ¾øÀ¸¸é ¿ÏÀüÈ÷ µ¿ÀÛÇÏÁö´Â ¸øÇÏ°Ô µË´Ï´Ù.

±×·¸´õ¶óµµ -DUSE_READ¶ó°í Makefile¿¡ ¸í½ÃÇÏ¸é ´Ù¸¥ programÀÌ ÀüÈ­¸¦ °É·Á°í ÇÒ ¶§ Àû¾îµµ ÇÑ °³ÀÇ character¸¦ ¸Ô¾îÄ¡¿ìÁö¸¸ »ç¿ëÇÒ ¼ö´Â ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î¼­ ¸¸ÀÏ CONNECT stringÀÌ ¾û¸ÁÀÌ µÇ¸é ½É°¢ÇÏ°Ô ³ª»Û °á°ú°¡ µÇ°ÚÁö¸¸, ´ëºÎºÐÀÇ °æ¿ì¿¡ ¸Ô¾îÄ¡¿ì´Â °ÍÀº crÀ̳ª nl ¶Ç´Â modemÀÌ ¹ÝÇâ½ÃÅ°´Â ¸í·ÉÀÇ ÀϺκÐÀÔ´Ï´Ù.

mgetty¿Í sendfax¸¦ ÄÄÆÄÀÏÇϸ鼭 (Unix·ùÀÇ system¿¡¼­¸¸ -- MS-DOS ³ª Window´Â Áö¿øµÇÁö ¾Ê´Â´Ù.) ¾î¶² ¹®Á¦°¡ ÀÖÀ¸¸é Á¦°Ô ¿¬¶ôÀ» Áֽʽÿä. ±×·¯³ª ¸ÕÀú ÀÌ ¼³¸í¼­¸¦ ÀÐÀ¸½Ê½Ã¿À!

1.5 Runtime configuration: Overview

mgetty¿Í sendfax°¡ ÀÖ´Â ±×´ë·Î »ç¿ëµÇ¸é, policy.h·ÎºÎÅÍ default·Î compileµÈ °ÍÀ» ÀÌ¿ëÇÕ´Ï´Ù.

mgetty.config ( runtime-mgetty section ÂüÁ¶) °ú sendfax.config ( runtime-sendfax section ÂüÁ¶) µîÀÇ ¼³Á¤ÆÄÀÏÀÌ ÀÖ°í ÀÐÀ» ¼ö ÀÖÀ¸¸é, run-time ¼³Á¤À» °Å±â¿¡¼­ ¾ò½À´Ï´Ù. °Å±â¿¡ ¸í½ÃµÇÁö ¾ÊÀº Ç׸ñµéÀº compile½Ã ÀÔ·ÂµÈ default¿¡¼­ ¾ò¾îÁý´Ï´Ù. ¸í·ÉÇà¿¡¼­ ÁÖ¾îÁö´Â switch´Â ¾ðÁ¦³ª ÀÌµé ¼³Á¤°ªµéÀ» ´ëüÇÕ´Ï´Ù. ¼³Á¤ fileµéÀº º¸Åë /usr/local/etc/mgetty+sendfax/¿¡ ÀÖ½À´Ï´Ù.

¸í·ÉÇà Àμöµé(ÀÚ¼¼ÇÑ °ÍÀº mgetty(1)°ú sendfax(8) man pages¸¦ º¸½Ê½Ã¿ä.)À» ¸í½ÃÇϸé À̰͵éÀº compileµÈ ±×¸®°í ¼³Á¤ fileÀÇ default¸¦ ´ëüÇÕ´Ï´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê