| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 374.1 | Answers 1 & 2 | SWAMI::LAMIA | Cheap, fast, good -- pick two | Wed Dec 17 1986 13:45 | 50 | 
|  |     1.  (extracted from $PRDEF.MAR in STARLET.MAR)
   
$EQU	PR$_SID_TYP780	1
$EQU	PR$_SID_TYP750	2
$EQU	PR$_SID_TYP730	3
$EQU	PR$_SID_TYP790	4
$EQU	PR$_SID_TYP8SS	5
$EQU	PR$_SID_TYP8NN	6
$EQU	PR$_SID_TYPMAX	8
$EQU	PR$_SID_TYPUV1	7
$EQU	PR$_SID_TYPUV2	8
$EQU	PR$_SID_TYP640	8
$EQU	PR$_SID_TYPUV	8
$EQU	PR$_XSID_UV_UV	0
$EQU	PR$_XSID_UV_UV2	1
$EQU	PR$_XSID_UV_640	4
$EQU	PR$_XSID_N8800	0
$EQU	PR$_XSID_N8700	1
$EQU	PR$_XSID_N2	2
$EQU	PR$_XSID_N3	3
$EQU	PR$_XSID_N4	4
$EQU	PR$_XSID_N5	5
$EQU	PR$_XSID_N8550	6
$EQU	PR$_XSID_N8500	7
$EQU	PR$_XSID_N8NNN	-1
    
    2. (extracted by using MCR SYSGEN, then HELP TERM)
  
mc sysgen
help
  Information available:
  AUTOCONFIGURE         CONFIGURE  CONNECT    CREATE     DISABLE    ENABLE
  EXIT       HELP       INSTALL    LOAD       MSCP       Parameters RELOAD
  SET        SHARE      SHOW       TERMINAL   USE        WRITE
term
TERMINAL
  Modifies the CTRL/C, CTRL/O, CTRL/Y, and CTRL/Z echo strings on
  a system-wide basis.  The /ECHO qualifier is required.
  Format
    TERMINAL/ECHO
 | 
| 374.2 | SYS$EXAMPLES:SYSGTTSTR.MSG | FROST::HARRIMAN | A cold blast from the North... | Thu Dec 18 1986 11:02 | 6 | 
|  |     See SYS$EXAMPLES:SYSGTTSTR.MSG
    
    to change ^O, ^Y, ^C strings...
    
    /pjh
    
 | 
| 374.3 | Look at directory bit | CRVAX1::LAMPSON | Mike Lampson @DDO | Thu Dec 18 1986 15:22 | 5 | 
|  |         There is a bit in the file header to tell if a file is a directory
        file.  You will need to find someone who's more of an RMS guru
        than myself to find this flag.
       
       _Mike
 | 
| 374.4 | RMS? | CAFEIN::PFAU | You can't get there from here | Thu Dec 18 1986 17:00 | 4 | 
|  |     Not sure that this information is available through RMS.  You might
    have to use ACP/XQP calls...
    
    tom_p
 | 
| 374.5 | .DIR;1 | TLE::GRIEB | SET TERMINAL/READ_MOSTLY | Fri Dec 19 1986 11:13 | 6 | 
|  | 
Yeah - do a QIO and you can get it. Unfortunately it isn't used in a lot
of places that it should be. The test that is STILL used in a lot of VMS code
is if the name is xxxxx.DIR;1 then it's a directory.
 | 
| 374.6 | Answer to #3 | THEBAY::HAYES | Same stuff, different Day | Sat Dec 20 1986 18:03 | 12 | 
|  |     
    Thank you for the pointer.   The answer to question #3 is to:
    
    Do a $QIO using the IO$ACCESS function with P5 pointing to an Attribute
    control block specifying ATR$C_UCHAR to return file characteristics
    in a longword.  A directory file has the FCH$M_DIRECTORY bit set.
    
    (From the I/O Users Guide, Chapter 1).
    
    Happy Holidays!
    John
    
 |