#pragma ident "@(#)readme_hupctl	1.2      01/07/30 SMI"
# Copyright (c) 2001 by Sun Microsystems, Inc.  All rights reserved.
#
#
# Balchandra Vaidya   16/10/2000
#

TEST NAME : hupctl 

DESCRIPTION: This program verifies the standard terminal/modem property "Hang up on last close".
	     It uses termio(7I) implementation. 

COMMAND LINE:
	     hupcli -d <devicename> -b <baud_rate>
	     hupclo -d <devicename> -b <baud_rate> 

REQUIRED RUN TIME: ~10 min.

INFORMATION:
	   The hupcli and hupclo are started on transmitter an d reciever side respectively. The hupcli
	   run for predetermine period of time, say $RUNTIME. When HUPCL occurs ie. when hupcli
	   completes its reading(recieving), the device opened by hupclo also closed.
	     
	     The following options are supported.

	     -d 	 Device for communication. The device name should follow the 
			 full path. Usually All dialout devices path starts as
			 /dev/cua/...

	     -b		 Baud rate. This must be the one specified in termio(7I) man page.
	     

	     

EXAMPLE    :
	      If, reciever device is /dev/cua/a
		  transmitter device is /dev/cua/b
		  Reciever baud rate is 38400
		  Transmitter baud rate is 38400

	      then,
		on reciever side,
		hupcli  -d /dev/cua/a -b 38400

		on transmitter side,
		hupclo  -d /dev/cua/b -b 38400


		Note: The reciever or transmitter can be on same machine or different
		      machine, but must physically connected.

ISSUES     :
	    
