Thu Sep 26 18:54:42 1996  David Mosberger-Tang  <davidm@azstarnet.com>

	* tkmscan: Check and clip negative positions.

	* msci.c (strndup) [__GNU_LIBRARY__ < 6]: New function to
	make it possible to build mscan on older Linux systems.
	(msci_scan_image): Check return value of scan_area_and_windows().

	* mscan.c, msci.c, scsi.c: Cast size_t variables to (long) before
 	printing them so they can always be printed as %ld independent of
 	the size of size_t.

	* mscan.lsm: New file.

	* msci.c (mode_select): Convert grain size into Mustek grain code.
	(msci_scan_image): Replaced function names in error messages with
	name of program.

	* mscan.c (opts): Rename --gray-scale to --halftone to better
	indicate purpose of option.  Rename --line-art to --one-bit
	to better indicate purpose.
	(scan_pos): Use MM_PER_INCH rather than hardcoding.
	(main): Initialize mode to MSCI_MULTIBIT, not MSCI_HALFTONE.
	(main): Tell getopt_long to expect an argument for -d.
	(main): Option 'm' now sets halftone mode rather than clearing
	MSCI_COLOR bit.
	(main): In verbose mode, print some info about the image being
	scanned.
	(opts): Added missing --contrast option.
	(main): Bumped version number to 0.1.
	(main): An alternate device name can now be specified as the
	one and only argument.
	(scan_pos): Add cm unit.

	* msci.c (msci_open): Print scanner model and firmware info
	in verbose mode.
	(scan_area_and_windows): Don't depend on MSCI_HALFTONE being
	bit 0.
	(start_scan): Depend on single vs multi-bit setting, not on halftoning.
	(read_data): Ditto.
	(msci_scan_image): Ditto.

	* msci.h [MSCI_IMAGE_TYPE_1BPP, MSCI_IMAGE_TYPE_3BPP]: Removed
	since they are obsolete.
	(MSCI_MULTIBIT): Renamed from MSCI_HALFTONE.
	(MSCI_HALFTONE): New macro to indicate halftoning (dithering).

	* msci.c (MM_PER_INCH): Moved to...
	* mscan.h (MM_PER_INCH): ...here

