$FUNCNAME$
	COM_HARD()
$CATEGORY$
  Serial I/O
$SUMMARY$
	Turns the hardware handshake (automatic CTS) on/off.
$LANG_RU$
	/     (CTS/RTS).
$SYNTAX$
	COM_HARD(<nComPort>,<lNewHandshake>,[<lDTR/DSR>]) --> lOldHandshake
$ARGUMENTS$
	<nComPort> - Designates the number of the port (1 to N).
	<lNewHandshake> - Designates whether the handshake is on (.T.) or off (.F.).
	<lDTR/DSR> - Designates whether the function uses the DTR/DSR
	handshake or the RTS/CTS handshake. When passed as .T., the function
	uses the DTR/DSR handshake instead of the RTS/CTS handshake.
$LANG_RU$
	<nComPort> -   ( 1  N).
	<lNewHandshake> -   (.T.)   (.F.)   .
	<lDTR/DSR> - ,     
	  DTS/DSR (.T.)  RTS/CTS (.F.).
$RETURNS$
	When called only with <nComPort>, the COM_HARD() returns .T. if
	the hardware handshake is on and .F. if the hardware handshake is off.
	When <lNewHandshake> is passed, the function returns the status prior to
	the new setting.
$LANG_RU$
	      <nComPort>,
	 .T.     ,  .F. 
	.    <lNewHandshake>,  
	 .
$DESCRIPTION$
	The size of a receiving buffer is always limited. To avoid
	overflow, and thereby a loss of characters, software or hardware
	handshakes are usually implemented. During a hardware handshake, the
	port monitors the RTS signal. If you use this function to switch this
	handshake on, the signal is activated as soon as the buffer is 75% full.
	As soon as the buffer content is once again reduced to 50% or less, the
	port (the RTS signal) is once again released. Some printers use the port
	signals, DTR (output like RTS) and DSR (entry like CTS) instead of RTS/
	CTS, to avoid buffer overflow. In this case, <lDTR/DSR> can be passed
	with .T..

	This function works for data input as well as output.

	If you use a hardware handshake, then the RTS signal should no
	longer be affected by COM_RTS() or COM_MCR().
$LANG_RU$
	    .   
	    ,   
	  .   , 
	  RTS   .   
	   75%, RTS   
	.       50%,  RTS
	   .    
	 (DTR)  RTS  DSR  CTS.    
	  <lDTR/DSR>  .T.

	    ,    .

	     ,  RTS 
	      COM_RTS() 
	COM_MCR().
$EXAMPLES$
	COM_OPEN(2)      // Open COM2
	COM_HARD(2, .T.) // RTS/CTS Hardware handshake
$PECULIARITIES$
$LANG_RU$
$PLATFORMS$
   No dependies of platform.
   $LANG_RU$
      
$SEEALSO$
	COM_DTR(),COM_RTS(),COM_SOFT(),COM_TIMEOUT(),COM_NUM(),COM_COUNT()
$AUTHOR$
ITK,Paul
$END$
