Google
 

Trailing-Edge - PDP-10 Archives - ap-c796e-sb - crr2.rnd
There are no other files named crr2.rnd in the archive.
.SPACING 1
.TITLE ^^CREDIR.DOC\\ -- CHANGES FROM VERSION 1 TO 2
.TAB STOPS 7
.LEFT MARGIN 7
.INDENT -7
^^CREDIR.DOC\\ -- CHANGES FROM VERSION 1 TO 2
.INDENT -7
^OCTOBER, 1974
.PARAGRAPH -7
^COPYRIGHT 1974, ^DIGITAL ^EQUIPMENT ^CORP., ^MAYNARD, ^MASS.
.SKIP 5
.INDENT -7
1.0	^^SUMMARY\\
.PARAGRAPH
1.1	^THIS RELEASE FIXES A BUG ASSOCIATED WITH ^^DATE\\-75.
^IT ALSO IMPLEMENTS TWO SUGGESTIONS RECEIVED ON ^^SPR\\S. ^THE
FIRST ADDS A SWITCH ^^/NAME\\ (DEFAULTS TO ERSATZ NAME)
WHICH IS USED TO SPECIFY THE NAME FOR ^^.RBSPL\\.
^THE SECOND IMPROVES THE ERROR MESSAGE WHICH RESULTS IF
A NON-PRIVILEGED USER TRIES TO CREATE A ^^UFD\\.
.PARAGRAPH
1.2	^THIS PROGRAM WILL RUN ON ANY 5- OR 6-SERIES
MONITOR AND HAS BEEN TESTED UNDER 6.01/5.07.
^IT DEPENDS UPON ^^SCAN\\ VERSION 7 AND ^^WILD\\ VERSION 7.
^IT HAS NO ^^DATE\\-75 DEPENDENCY AND HAS NO
KNOWN DEFICIENCIES. ^IT CURES ALL ^^SPR\\S RECEIVED
THROUGH ^SEPTEMBER, 1974 (10-14,113).
.PARAGRAPH
1.3	^^CREDIR\\ IS DOCUMENTED IN THIS FILE AND
IN THE SOFTWARE NOTEBOOK DESCRIPTIONS OF THE 6.01/5.07
MONITOR.
.PARAGRAPH
1.4	^^FUNCTION OF CREDIR\\
.BREAK
	^THIS PROGRAM IS DESIGNED TO CREATE DIRECTORIES
IN AN EASY AND RELIABLE FASHION.  ^IT WILL CONSTRUCT ^^SFD\\S
ON ALL STRUCTURES SELECTED INCLUDING ANY HIGHER LEVEL
DIRECTORIES NEEDED.  ^IF RUN UNDER [1,2], IT WILL CREATE
^^UFD\\S ON ANY SELECTED STRUCTURE OR SET OF STRUCTURES.
^THE USER CAN SPECIFY THE QUOTAS FOR THESE ^^UFD\\S
VIA EITHER SWITCHES OR A DIALOGUE.
^^CREDIR\\ IS PARTICULARLY USEFUL FOR CREATING THE ERSATZ
DIRECTORIES SUPPORTED BY 6.01/5.07, SINCE THESE ARE NOT
CREATED BY THE DISK REFRESHER.
^ALL THE OPERATOR NEED DO IS SPECIFY THE NAMES OF
THE ERSATZ DEVICES HE WANTS CREATED AND ^^CREDIR\\ WILL
CREATE THEM ON ALL STRUCTURES FOR THAT ERSATZ
DEVICE (TYPICALLY THE ^^SYS\\ SEARCH LIST).
^AS EACH DIRECTORY IS CREATED, THE USER IS INFORMED OF
THE NAME, UNIT, AND PROTECTION.
.PAGE
.INDENT -7
2.0	^^CHANGES\\
.PARAGRAPH
101	^FIX A ^^DATE-75\\ DEFICIENCY WHICH WOULD CAUSE THE
CREATED DIRECTORY'S CREATION DATE TO BE BAD AFTER THE
FIRST DIRECTORY CREATED.
.PARAGRAPH
102	(^^SPR\\ 10-14,113) ^ADD SWITCH ^^/NAME:\\ WHICH TAKES
A POSSIBLY QUOTED SIXBIT STRING OF ONE WORD AS ITS VALUE.
^IF NOT SPECIFIED, DIALOGUE MODE WILL PROMPT FOR IT. ^IF
NOT SET BY THE USER WHEN DOING AN ERSATZ DEVICE, THE
DEFAULT IS THE ERSATZ DEVICE NAME. ^IF SET FOR ANY OF THESE REASONS
THEN THE SPOOL NAME (^^.RBSPL\\) OF THE BOTTOM DIRECTORY CREATED
WILL BE SET TO THE SPECIFIED NAME. ^THIS WILL PRINT IN
^^DIRECT\\ORY LISTINGS, GIVING A MNEMONIC.
.PARAGRAPH
103	(^^SPR\\ 10-13,898) ^IMPROVE THE MESSAGE WHEN A NON-PRIVILEGED
USER TRIES TO CREATE A ^^UFD\\ TO BE ^^?CRRMBC MUST BE [1,2] TO
CREATE A UFD\\.
.INDENT -7
3.0	^^KNOWN DEFICIENCIES\\
.SKIP 1
^NONE.
.SKIP 2
.INDENT -7
4.0	^^INSTALLATION INSTRUCTIONS\\
.SKIP 1
^^CREDIR\\ IS ASSEMBLED WITH ^^C.MAC\\ AS A UNIVERSAL
FILE AND IS LOADED WITH ^^SCAN.REL, WILD.REL,\\ AND ^^HELPER.REL\\.
^IT SHOULD THEN BE ^^SSAVE\\D ON ^^SYS:\\.
^THERE IS ALSO A SHORT HELP FILE.
.SKIP 2
.INDENT -7
5.0	^^SUGGESTIONS\\
.PARAGRAPH
5.1	^ADD A WAY TO PUT ERSATZ DEVICES ON ONLY A SELECTED SET
OF FILE STRUCTURES.
.PARAGRAPH
5.2	^OBSERVE ^^/NOCREATE\\ IF SET.
.PAGE
.CENTER
^EXTRACTS FROM ^VERSION 1
.SKIP 5
.INDENT -7
2.0	^^EXTERNAL DESCRIPTION\\
.SKIP 1
^TO USE ^^CREDIR\\, SIMPLY ^^RUN\\ IT FROM ^^SYS:\\.
^IT WILL ASK FOR THE NAME OF A DIRECTORY.  ^YOU HAVE THREE CHOICES:
ERSATZ DEVICE MODE, SWITCH MODE, AND DIALOGUE MODE.
.SKIP 1
  ^TO ENTER DIALOGUE MODE,
RESPOND TO THE QUESTION WITH A DEVICE AND NO DIRECTORY (BUT
NOT AN ERSATZ DEVICE).
^^CREDIR\\ WILL THEN LOOP REQUESTING A DIRECTORY.  ^EACH
TIME, RESPOND WITH THE DIRECTORY NAME IN SQUARE BRACKETS.
^THE STANDARD ^^UFD\\ PROJECT AND PROGRAMMER DEFAULTS CAN
BE USED.  ^THUS, TO CREATE A SUBDIRECTORY NAMED
^^MAIL\\ DIRECTLY UNDER YOUR OWN ^^UFD\\, SIMPLY TYPE
"[,,^^MAIL\\]".
^^CREDIR\\ WILL THEN PROMPT FOR THE NAME; USUALLY YOU WILL WANT
TO IGNORE THIS, SO RESPOND WITH A CARRIAGE RETURN. ^IF YOU WANT
TO SPECIFY A MNEMONIC NAME, GIVE IT (INSIDE DOUBLE QUOTES
IF SPECIAL CHARACTERS ARE INCLUDED).
^^CREDIR\\ WILL THEN PROMPT FOR THE PROTECTION; SIMPLY
ANSWER WITH THE PROTECTION IN OCTAL.
^^CREDIR\\ WILL TYPE OUT THE NAME, UNIT, AND
PROTECTION OF EACH DIRECTORY.  ^IF YOU ARE UNDER [1,2] AND
SPECIFY A ^^UFD\\, YOU WILL ALSO BE PROMPTED FOR LOGGED IN
AND LOGGED OUT QUOTAS. ^RESPOND WITH A DECIMAL NUMBER (IF IN
THOUSANDS, YOU CAN SAY 10^K FOR 10000, ETC.).  ^IF YOU GIVE A
NULL RESPONSE TO THE QUOTAS, THE QUOTA WILL BE SET TO
INFINITY.
^YOU CAN TERMINATE THE LOOP ASKING FOR DIRECTORIES WITH
EITHER _^^C OR _^^Z.
.SKIP 1
^TO USE ^^CREDIR\\ IN SWITCH MODE, RESPOND TO THE ORIGINAL
PROMPT WITH A DIRECTORY AND OPTIONALLY A DEVICE.  ^YOU CAN
SPECIFY THE NAME WITH THE SWITCH ^^/NAME\\: FOLLOWED
BY THE NAME AS A QUOTED STRING.  ^YOU CAN
SPECIFY THE PROTECTION WITH THE SWITCH ^^/PROTECTION\\:
FOLLOWED BY THE PROTECTION IN OCTAL. ^IF YOU ARE
CREATING A ^^UFD\\ FROM [1,2], YOU CAN ALSO SPECIFY
QUOTAS BY THE SWITCHES ^^/IN:\\ AND ^^/OUT:\\ FOLLOWED
BY A DECIMAL NUMBER (AGAIN, THE SUFFIX ^K MEANS THOUSAND).
^^CREDIR\\ WILL RESPOND WITH THE NAME OF THE DIRECTORY
BEING CREATED, THE UNIT, AND THE PROTECTION.
^IT WILL THEN RE-PROMPT FOR ANOTHER DIRECTORY.  ^TO
EXIT FROM THE LOOP, TYPE _^^C OR _^^Z.
.SKIP 1
^TO USE ^^CREDIR\\ IN ERSATZ DEVICE MODE, RESPOND TO
THE ORIGINAL QUESTION WITH THE NAME OF THE ERSATZ DEVICE
YOU WISH TO CREATE.  ^DON'T BOTHER SPECIFYING A DIRECTORY
SINCE ^^CREDIR\\ WILL IGNORE IT ANYWAY. ^^CREDIR\\ WILL
RESPOND WITH THE NAMES OF THE STRUCTURES, ETC., UNITS,
AND PROTECTION USED FOR THE ERSATZ DEVICE.  ^THE DEFAULT
NAME WILL BE THE SAME AS THE ERSATZ DEVICE.  ^THE DEFAULT
PROTECTION WILL BE THE SAME AS THAT FOR ^^SYS:\\, AND
THE DEFAULT QUOTAS ARE INFINITY.  ^YOU CAN OVERRIDE THE
DEFAULTS BY SPECIFYING THE SWITCHES ^^/NAME\\, ^^/PROTECTION\\,
^^/IN\\, AND ^^/OUT\\.
.SKIP 3
^^EXAMPLES:\\
.SKIP 1
.INDENT -7
DIALOGUE MODE:
.NOFILL
^^.R CREDIR
CREATE DIRECTORY: DSK:
CREATE DIRECTORY: [,,MAIL]
NAME: "FOO-1"
PROTECTION: 722
  CREATED DSKB0:[10,22,MAIL].SFD/PROTECTION:722
  CREATED DSKC0:[10,22,MAIL].SFD/PROTECTION:722
CREATE DIRECTORY: _^Z
.SKIP 2
.INDENT -7
\\SWITCH MODE:^^
_.R CREDIR
CREATE DIRECTORY: DSKC:[,,ABC,XYZ]
  CREATED DSKC0:[13,74,ABC]/PROTECTION:750
  CREATED DSKC0:[13,74,ABC,XYZ].SFD/PROTECTION:750
CREATE DIRECTORY: _^Z
.SKIP 2
.INDENT -7
\\ERSATZ DEVICE MODE:^^
_.R CREDIR
CREATE DIRECTORY: MUS:
  CREATED DSKA0:[5,16].UFD/PROTECTION:755
  CREATED DSKB1:[5,16].UFD/PROTECTION:755
  CREATED DSKC1:[5,16].UFD/PROTECTION:755
CREATE DIRECTORY: _^Z
.PAGE
.FILL
.LEFT MARGIN 10
.TAB STOPS 10
.CENTER
^^ERROR MESSAGES\\
.SKIP 2
.PARAGRAPH
^^CRRDAE\\	^^DIRECTORY\\ UNIT:[DIRECTORY].EXT ^^ALREADY EXISTS\\
.PARAGRAPH
^^CRRDEE\\	^^ENTER\\ MNEMONIC ^^ON DIRECTORY\\ UNIT:[DIRECTORY].EXT
.PARAGRAPH
^^CRRDMS\\	^^DIRECTORY MUST BE SPECIFIED
.PARAGRAPH
^^CRRDND\\	^^DEVICE NOT A DISK
.PARAGRAPH
^^CRRDOF\\	^^DEVICE OPEN FAILURE
.PARAGRAPH
^^CRRFNI\\	^^FILE NAME ILLEGAL
.PARAGRAPH
^^CRRMBC\\	^^MUST BE [1,2] TO CREATE A UFD
.PARAGRAPH
^^CRRWCI\\	^^WILD-CARD ILLEGAL
.SKIP 2
.LEFT MARGIN 0
[END OF ^^CREDIR.DOC\\]