Hi All,
	Attached are the latest set of changes I've made to 'scu', which I'll
be submitting to steelos in the near future.  I'd appreciate feedback (hopefully
positive) on the new "show edt" summary display format.  Roger and I have worked
together on this, and believe it provides all the information most people desire.

	As usual, executables are in: wasted:~rmiller/nscu.d/{scu,scu-ptos,scu.hlp}

Cheers,
Robin
================================================================================

	What's New as of October 16, 1996
	---------------------------------
     o	Removed warning message displayed when Inquiry and system names differ.
	(QARs 45191 & 49169).

     o	Added support for devices which do not return block descriptors.
	QAR 48942.  A new (undocumented) command "set default dbd on" can be
	used to set the dbd bit in Mode Sense, to disable block discriptors.
	[ NOTE: Not all devices support the Mode Sense "dbd" bit. ]

     o	Correct problem where device name constructed from Inquiry product ID,
	contained a trailing space (minor, but screwed up Roger's scripts).

     o	Added a new command "sbtl bus target lun", shorthand for "set nexus".
	If no parameters are specified, "sbtl" does a "show nexus".  See the
	'scu' help file for further information on this command.

     o	Updated tape density codes to support new densities and added missing
	densities (those not used by DEC tapes).

     o	Updated "show inquiry" to display SCSI-3 supported capability bits.
	[ NOTE:  These SCSI-3 bits are _only_ displayed if they are set. ]

     o	Modified "show edt" to skip EDT entries marked as "Not Present".
	[ NOTE:  These are normally entries from LUN's with no devices. ]

     o	Changed default "show edt" summary display format, and added a new
	option "capabilities" to list device capabilities enabled. See below.
	[ NOTE:  The "N/W" field indicates Narrow or Wide (requested by rer). ]

     o	Fixed problem using wrong mask when obtaining LUN (lost high LUN bit).
	[ NOTE:  This problem only existed on the non-ptos version of 'scu'. ]

================================================================================

og% ./scu show edt

CAM Equipment Device Table (EDT) Information:

    Bus/Target/Lun Device Type  ANSI  Vendor ID    Product ID    Revision N/W
    -------------- ----------- ------ --------- ---------------- -------- ---
     0    0    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   442D    N
     0    1    0   Direct      SCSI-2 DEC       RZ29B    (C) DEC   0014    N
     0    2    0   Direct      SCSI-2 DEC       RZ29B    (C) DEC   0014    N
     0    3    0   Direct      SCSI-2 DEC       RZ28M    (C) DEC   0466    N
     0    5    0   Sequential  SCSI-2 DEC       TLZ06     (C)DEC   4BQD    N
     0    6    0   CD-ROM      SCSI-2 DEC       RRD43   (C) DEC    1084    N
     1    4    0   Sequential  SCSI-2 DEC       TLZ7      (C)DEC   4BQH    N
     1    4    1   Changer     SCSI-2 DEC       TLZ7      (C)DEC   4BQH    N
     1    5    0   Sequential  SCSI-2 DEC       TLZ9     (C) DEC   A017    N
     1    5    1   Changer     SCSI-2 DEC       TLZ9     (C) DEC   A017    N

og% ./scu show edt cap                                                            

CAM Equipment Device Table (EDT) Information:

    Bus/Target/Lun Device Type  ANSI  Vendor ID    Product ID    Revision Capabilities
    -------------- ----------- ------ --------- ---------------- -------- ------------
     0    0    0   Direct      SCSI-2 DEC       RZ28     (C) DEC   442D   cmdque transdis sync
     0    1    0   Direct      SCSI-2 DEC       RZ29B    (C) DEC   0014   cmdque transdis linked sync
     0    2    0   Direct      SCSI-2 DEC       RZ29B    (C) DEC   0014   cmdque transdis linked sync
     0    3    0   Direct      SCSI-2 DEC       RZ28M    (C) DEC   0466   cmdque transdis sync
     0    5    0   Sequential  SCSI-2 DEC       TLZ06     (C)DEC   4BQD   rmb linked sync
     0    6    0   CD-ROM      SCSI-2 DEC       RRD43   (C) DEC    1084   rmb linked sync reladdr
     1    4    0   Sequential  SCSI-2 DEC       TLZ7      (C)DEC   4BQH   rmb linked sync
     1    4    1   Changer     SCSI-2 DEC       TLZ7      (C)DEC   4BQH   rmb linked sync
     1    5    0   Sequential  SCSI-2 DEC       TLZ9     (C) DEC   A017   rmb mchngr sync
     1    5    1   Changer     SCSI-2 DEC       TLZ9     (C) DEC   A017   rmb mchngr sync

og% 
og% ./scu sbtl 1 5 1 show inquiry      
Device: TLZ9, Bus: 1, Target: 5, Lun: 1, Type: Medium Changer

Inquiry Information:

            Peripheral Device Type: 0x8 (Medium Changer)
              Peripheral Qualifier: 0 (Peripheral Device Connected)
              Device Type Modifier: 0
                   Removable Media: Yes
                      ANSI Version: 2 (Complies to ANSI X3.131-1994, SCSI-2)
                      ECMA Version: 0
                       ISO Version: 0
              Response Data Format: 2 (SCSI-2)
             Terminate I/O Process: No
                 Additional Length: 31
            Medium Changer Support: Yes
                Soft Reset Support: No
           Command Queuing Support: No
           Target Transfer Disable: No
            Linked Command Support: No
        Synchronous Data Transfers: Yes
      Support for 16 Bit Transfers: No
      Support for 32 Bit Transfers: No
       Relative Addressing Support: No
             Vendor Identification: DEC     
            Product Identification: TLZ9     (C) DEC
           Firmware Revision Level: A017

og% 
og% ./scu                                                                         
scu> sbtl 1 5 0
Device: TLZ9, Bus: 1, Target: 5, Lun: 0, Type: Sequential Access
scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                  Mode Data Length: 71
                       Medium Type: 0x32
                        Tape Speed: 0 (Using Default Speed)
                     Buffered Mode: 0x1 (Buffering Enabled)
                   Write Protected: No
           Block Descriptor Length: 8

Mode Parameter Block Descriptor:

                      Density Code: 0x24 (61000 BPI, DDS-2 (DDS, CS))
          Number of Logical Blocks: 0
              Logical Block Length: 0

scu> set default dbd on
scu> show mode

Mode Parameters (Current Values):

Mode Parameter Header:

                  Mode Data Length: 63
                       Medium Type: 0x32
                        Tape Speed: 0 (Using Default Speed)
                     Buffered Mode: 0x1 (Buffering Enabled)
                   Write Protected: No
           Block Descriptor Length: 0

scu> quit
og% 
