NOTES:

1.	There have been some questions about the order that you invoke the serial 	methods.   You  MUST open the port before you invoke any serial methods or you will 	receive  PORTNOTOPEN errors.    This is because we actually query the port for those 	settings.

Example: HELLO SERIAL WORLD

#import "Serial.h"

	id serialPort;   //the serial object
	int ok;	//int to hold error messages

	- someMethod
	{
		serialPort = [[Serial alloc] init]; // Does NOT open a port

		ok = [serialPort openRAW:"/dev/cua" baudrate:B9600];

		if( ok != SERIALOK)
		{
  		   //find out whats wrong here
		}
		
		ok = [serialPort writeString:"HELLO SERIAL WORLD\r\n"];
		ok = [serialPort closePort];
		return self;
	}

1.4 to 1.5
	Fixed SEC. It was defined as 100,000 instead of 1,000,000.   This affected
	the waitForInput method and timeouts on readString and readBlock.

	Added setTimeout and timeout methods.    This allows the users to change the default 	timeout of 1 Second and to ask the Serial object what it's current timeout is.

1.5 to 1.6
	Added ttyptr method to allow the easy addition of user written low-level methods.

	Made the routines "Thread Safe" on writes by adding mutex locking around the write and 	switching from  alarm functions to select()  for  port  timeouts.  

1.6 to 1.7
	A bug was found in readBLock: for: and readBlock: for: term:  
	If you ask for more characters than was in the queue (causing a timeout)
	the last character was lost.

1.7 to 1.8
	The functionality of the methods UseXONXOFF and CRMod were reversed.
	We changeds the names and revised the testing procedure that let this one
	get through.

	Added the setNotifyThreshold methods (Due to popular request)

2.0	Added Modem Support.   Enhanced Serial object with additional methods.
	renamed setTimeout to setCharacterTimeout to avoid the compiler complaining
	about duplicate method names.

	Added some better examples to the distribution.

	Added support for YRRID's high speed serial port  using the DSP.
	The product is called TTYDSP

		Yrrid Incorporated
		507 Monroe Street
		Chapel Hill, NC 27516

		Phone:	1-800-443-0065
		Email:	yrrid@world.std.com

KNOWN BUGS:

1.   NeXT (most likely MACH) has a bug that, if you close and re-open a serial port
	in the application, close will return a "NOT OWNER" error unless you are root. ( who 	looks at the return value from close anyway?).    What makes this bug so nasty is that 	when you re-open the port, writes will continue to work but reads will stop.   This all 	clears up when the application is re-started.

	Work around:   None.   (NeXT needs to fix this ASAP)

	(valid for 2.x)
	(valid for 3.0PR2)