Google
 

Trailing-Edge - PDP-10 Archives - bb-d549g-sb - login.doc
There are 3 other files named login.doc in the archive. Click here to see a list.


LOGIN.DOC -- CHANGES FROM V60A(634) TO V61(751)
June 1980






























COPYRIGHT (C) 1974,1976,1978,1979,1980 BY
DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.


THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
TRANSFERRED.

THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
CORPORATION.

DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
LGN61.DOC                                                       Page 2


LOGIN.DOC -- CHANGES FROM V60A(634) TO V61(751)
June 1980



1.0  SUMMARY

This is a development release of LOGIN.  New switches have been  added
to  support  new  7.01  features.   This  version  of  LOGIN  also has
provisions for the accounting project that will be shipped at a  later
date.  There are also bug fixes reported via SPR's.

LOGIN is documented in Software Notebook Vol.  2.

The following CUSP's must be used with LOGIN V61:

          MACRO version 53A
          UUOSYM version 15



2.0  EXTERNAL CHANGES



2.1  New Switches

New switches for timesharing users are:

     1.  /ACCOUNT:arg - This sets the account for the job to arg.

     2.  /REMARK:arg - This records the remark for the job to  arg  in
         the USAGE file.

     3.  /WATCH:FILE is a new argument to implement the SET WATCH FILE
         command in SWITCH.INI.

     4.  /TERMINAL:args  -   General   switch   to   define   terminal
         characteristics

     5.  /DEFBUF:n - Set the default number of disk buffers to n.

New switches will be seen in the LOG file on the LOGIN line of a batch
job when GALAXY Release 4.1 is available.  These switches are provided
only for USAGE accounting purposes.  They are:

     1.  /BATNAM:arg - This will record the  batch  job  name  in  the
         USAGE file for this job.

     2.  /BATSEQ:arg - This will record the batch sequence  number  in
         the USAGE file for this job.

     3.  /REQID:arg - This  will  record  the  request  identification
         number of the batch queue request in the USAGE file.
LGN61.DOC                                                       Page 3


Note that batch jobs will also  be  able  to  pass  the  /Account  and
/Remark  switches.  The switches designed for batch jobs cannot be set
by a timesharing user.

A more consistent and more easily used switch has been implemented  to
define  terminal  characteristics.   The  format  of  this  switch  is
/TERMINAL:(arg:val,arg,...).  A detailed list of the arguments may  be
found  in  the  HLP  file.   The  old  switches  that defined terminal
characteristics will still work, however it is encouraged  that  users
change  over  to  the new format, as a future release of LOGIN may not
support the old style single switches.  An example of the  new  switch
might be /TERMINAL:(TYPE:VT52,GAG,DEFER,PAGESIZE:15) vs the old format
of /TYPE:VT52/GAG/TTDEFER/PAGESIZE:15.



2.2  Account Validation

With TOPS-10 Release 7.01, the first release of the accounting daemon,
ACTDAE,  and  this  version  of  LOGIN,  account  validation  will  be
available.  A user can provide an account by:

     1.  Typing an /ACCOUNT switch on his LOGIN line,

     2.  Provide an /ACCOUNT switch in his SWITCH.INI,

     3.  Or, if he is required to have an account, the  user  will  be
         prompted  for an account.  (The same is true with the /Remark
         switch.)

If the user is required to provide an account and a remark  (available
in  the  future  with  REACT  V32),  the following LOGIN dialogue will
occur:

          .LOG 10/2162
          JOB 33     RZ364A KL #1026/1042 TTY11
          Password:
          Account: FOO
          Remark: I am debugging LOGIN
          09:11   24-Jul-79       Tue
          
          .




2.3  New Prompt

If a user is logging in, and he has a detached job logged in under the
same PPN, he will be prompted in the following manner:

          .LOG 10/2162
          JOB 33      RZ364A KL #1026/1042 TTY11
          Password:
          
LGN61.DOC                                                       Page 4


          Other jobs detached with same PPN: 37
          Type job number to ATTACH or carriage-return to LOGIN a new job:

A new switch has been provided to control the prompting  for  detached
jobs.   /ATTACH:ASK  is  the  default and sets the attach state of the
job.  If you detach from the current job, then  log  in  another  job,
LOGIN  will  ask whether you want to ATTACH to the old job or create a
new job.  /ATTACH:IGNORE prevents LOGIN from asking about the  job  if
you DETACH from the job and login again.



3.0  KNOWN BUGS AND DEFICIENCIES

none.



4.0  INSTALLATION INSTRUCTIONS

None.  (Note there is a new FILDDT patch to  debug  LOGIN  under  7.01
during timesharing included in the beginning of LOGIN.MAC)



5.0  INTERNAL CHANGES

Edit #

;640)   DO PHYSICAL-ONLY RUN UUO FOR CUSP-TO-RUN (SECURITY)

;641)   DISABLE CONTROL-C JUST BEFORE LOGIN UUO AND ENABLE ONLY IF
;       NO CUSP-TO-RUN SPECIFIED

;642)   IF A LINE OF SWITCH.INI ENDS WITH A /ASSIGN, AND THE NEXT LINE
;       CONTAINS A /ASSIGN, YOU GET ?SCNILC ILLEGAL CHAR IN CMD
;       FIX: CLEAR R.EOL EACH TIME THROUGH ASSIGN

;643)   ENQ QUOTA DOESN'T GET SET UP; SENSE OF TEST INSTRUCTION IS BACKWARDS
;       AT PRSET3+5

;644)   FIX YET ANOTHER CASE OF OFF-BY-ONE ARITHMETIC AT UFDEX1-2

;645)   DELETE SEARCH LIST IF USER TYPES ^C WHILE LOGGED OUT

;646)   ?LGNCWR UNDESERVEDLY - WRONG GETTAB VALUE BEING USED

;647)   FIX SWITCH.INI NOT BEING READ IF FACTSW TURNED OFF

;650)   RESERVE BATMIN JOB SLOTS FOR BATCON'S USE

;651)   FIX BUG IN /PASSWORD (BUG ONLY IF NCRYPT TURNED ON)

;652)   DON'T ATTEMPT TO CREATE SFD'S ON STRS THAT ARE WRITE-LOCKED
LGN61.DOC                                                       Page 5


;653)   REMOVE EDIT 547 WHICH ALLOWS USERS TO AVOID QUOTAS

;654)   FIX EDIT 650 SO ATTACH WORKS DESPITE BATMIN.  SPR#10-23336

;655)   SUPPORT "<" AS PPN DELIMITER ON ATTACH.  THIS IS FOR 2741.
;       SPR #10-23335

;656)   TEACH LOGIN ABOUT FIXED VS. UNFIXED CLASS QUOTAS.  SPR#10-23094.

;657)   DON'T PERMIT DATA-SET LOGINS AFTER KSYS.

;660)   PERMIT DETACHED [1,2] JOB TO LOGIN PTY SUBJOBS. SPR #10-23725.
;       NOTE: ONLY PERMITS SON OF [1,2] NOT SON OF DETACHED OPR OR CTY.

;661)   MOVE LOGIN UUO AFTER MESSAGE TYPE-OUT TO PERMIT PROPER /STR
;       OPERATION.  SPR #10-23847

;662)   EDIT 661 WAS NOT VERY GOOD.  REMOVE IT AND TRY AGAIN.

;663)   FIX UP ALL DATES AND COPYRIGHT STATEMENTS

;664)   DON'T PERMIT MORE THAN LOGMAX JOBS IF BATMAX TESTING
;       IS DISABLED.  SPR #10-24354.

;665)   LOGMAX+1 JOBS CAN LOGIN; SHOULD BE LOGMAX.  SPR #10-24354

;666)   IMPLEMENT ACCOUNT AND REMARK PROMPTS TO ENTER AN ACCOUNT STRING
;       AND A REMARK

;667)   DO UFD ZERO COMPRESSION WHEN RECOMPUTING QUOTA.
;       THIS USES THE DISK. UUO FUNCTION CODE 7 WHICH IS NEW FOR
;       7.01.  THE EFFECT OF UFD COMPRESSION IS TO SPEED UP
;       LOOKUPS AND ENTERS.

;670)   FIX BAD POPJ ON ERROR RETURN FROM CTLJOB UUO. SPR #10-24481

;671)   FIX SOME PROBLEMS INTRODUCED BY EDIT 666.

;672)   ADD BACKROUND BATCH SUPPORT.

;673)   IMPLEMENT ACCOUNT VALIDATION

;674)   PUT IN TEMPORARY FIX SO BATCH JOBS CAN RUN WITH ACCOUNT VALIDATION

;675)   IMPLEMENT /TYPE SWITCH TO SET TERMINAL TYPE.

;676)   SPR # 10-25342  WCL  JUNE-27-78
;       Fix code that checks for necessary job slots for Batch so it checks
;       how many Batch jobs are already logged in
;       Areas affected: PPNGO
;677)   FIX BUG IN 675.  AT NOTTYP INSERT  POP                        T,T1.
;700)   FIX BUG WHERE CODE AT BACHEK NEVER GETS EXECUTED.
;701)   IMPLEMENT USAGE ACCOUNTING, SPECIFICALLY ACCOUNT VALIDATION (LGNUSG MODULE)
;702)   FIX A VALIDATION ERROR. ALSO MAKE THE LOGIN MESSAGE REPORT THE TIME
;       AS HH:MM INSTEAD OF HHMM.
LGN61.DOC                                                       Page 6


;703)   FIX BUGS INTRODUCED WITH 702
;704)   DON'T LOSE OWNER PPN FOR NESTED PTY SUBJOBS. SPR #10-27223
;705)   MAKE  /PATH[,,SFD] USE LOGGED-IN PPN AS DEFAULT. SPR #10-27073
;706)   /BAH
;       1)  ADD ATTACH, LOGIN, AND SESSION IPCF MESSAGES SO THE ACCOUNT
;       DAEMON CAN DO USAGE ACCOUNTING WITH SESSION ENTRIES. 
;       2)  ADD /BATSEQ, /BATNAM, AND /REQID SWITCHES SO BATCON CAN PASS
;       BATCH JOB INFORMATION TO THE ACCOUNT DAEMON VIA LOGIN IPCF MESSAGES
;707)   /BAH ADD SETUUO FUNCTION TO SET OPERATOR PRIVILEGES FOR GALAXY 4 SUPPORT
;       3)  FIX UP EDIT 701'S ERROR MESSAGES
;710    REPEAT LOGMAX CHECK JUST PRIOR TO LOGIN UUO
;       SPR 10-27195
;711    CHECK THAT STR NAME IN AUXACC IS "FULL FILE STRUCTURE NAME"
;       SPR 10-27402
;712    /MSL/BAH 22-MAY-79 Display SEARCH, .REQUEST info during compilation
;713)   /MSL/BAH 22-MAY-79 Limit /DSKPRI value by ACCT.SYS
;714)   /MSL/BAH 22-MAY-79 Warn user if account expires within one month
;715)   /MSL/BAH 22-MAY-79 Let user logging in attach if PPN already has detached job
;716)   /MSL/BAH 22-MAY-79 Set up search list before calling OSCAN (for SWITCH.INI), thus
;       allowing account switches, UFD defaults, etc. in SWITCH.INI
;       This rewrite completely changes the order of things (such as 
;       where account validation and accounting is done).  As a result,
;       the FTTASK switch (an unsupported switch used by our in-house
;       systems) no longer applied as written and has been removed.
;717)   /MSL/BAH 22-MAY-79 No NOTICE.TXT if Job Capacity Exceeded
;720)   /MSL/BAH 22-MAY-79 Clear search list before LOGOUT when flushing (c.f. ed.645)
;721)   /MSL/BAH 22-MAY-79 Fix so last error try also gets a FACT entry
;722)   /MSL/BAH 22-MAY-79 Make ENCODE global (SPR 10-23055)
;723)   /MSL/BAH 22-MAY-79 Clear FL.ACC when done with ACCT instead of waiting for AUXACC
;724)   /MSL/BAH 22-MAY-79 Fill AUXACC pointer table, even if early EOF
;725)   /BAH 31-MAY-79 IF A JOB REQUIRES AN ACCOUNT AND/OR REMARK AND THE
;       TERMINAL IS A PTY AND AN ACCOUNT/REMARK WAS NOT SUPPLIED, USE THE
;       CONTROLLING JOB'S ACCOUNT (IF IT EXISTS) AND ALLOW A NULL REMARK.
;726    IF A USER HAS ZERO LOGGED-IN QUOTA ON A STR IN HIS SEARCH LIST
;       DON'T TRY TO CREATE AN SFD ON IT.
;727    COMMAND LIST IS ONE TOO LONG.  ALSO FIX A PJRST P,.USAGE
;730    SEARCH OF AUXACC.SYS FOR PPN IS OFF BY 1.
;       SPR 10-28333.
;731    REMOVE EDIT 730
;732    20-SEP-79/BAH CORE UUO TO EXPAND HIGH SEGMENT CAN FAIL IF 1) SOMEONE
;       IS SAVING LOGIN OR IF 2) IN AN SMP ENVIRONMENT, ANOTHER CPU IS
;       EXECUTING THE SAME CODE WITH THE HIGH SEGMENT WRITE-ENABLED.
;       TO GIVE THE MONITOR TIME TO CATCH UP, SLEEP A SECOND AND TRY AGAIN
;       (3 TIMES) IF THE CORE UUO FAILS.
;733    4-OCT-79/BAH  ADD ATTACH:ARG SWITCH.  IF ATTACH:IGNORE IS IN SWITCH.INI OR TYPED,
;       THEN DON'T PROMPT USER FOR ATTACH MESSAGE IF ANY DETACHED
;       JOBS UNDER HIS PPN.  IF ATTACH:ASK IS IN SWITCH.INI OR TYPED, THEN
;       ASK USER IF HE WANTS TO ATTACH OR LOGIN.  THE DEFAULT IS
;       ALWAYS ASK IF ANY DETACHED JOBS.  SEE EDIT 715.
;734    22-OCT-79/BAH SET U.ACTS AND U.RMRK TO -1 FOR SCAN.  ALSO ZERO  THEM
;       BEFORE FILLING IN THE CHARACTERS SO THE USAGE FILES GET THEM RIGHT.
;735    7-NOV-79/BAH  MAKE LOGIN SEARCH ACTSYM.UNV INSTEAD OF ACCSYM.UNV.
;736    25-JAN-80/BAH  EDIT 723 CLEARED FL.ACC TOO SOON CAUSING PASSWORDS
;       NOT TO BE CHANGED.  ALSO EDIT 716 DELETED THE CALL TO .USAGE THAT
;       SENT A LOGIN MESSAGE TO THE ACCOUNT DAEMON.  ALSO CHANGE THE CALL TO
LGN61.DOC                                                       Page 7


;       .SIXSW FOR THE /BATNAM SWITCH TO .SIXQW.
;737    14-FEB-80/BAH IF A USER TRIES TO LOGIN WITH AN ILLEGAL PROGRAMMER
;       NUMBER, THEN LOGIN GOES INTO A LOOP READING ACCT.SYS AND REBUILDING
;       ITS TABLE.
;740    SPR 10-28750 Edit 627 caused SCAN to read the slash after a name
;       twice in an /ASSIGN switch if there were more switches.
;741    11-Apr-80/BAH QAR 10-03985 Don't type out error message setting
;       operator privileges if the monitor version number is earlier than
;       7.00.
;742    24-Apr-80/BAH LOGIN doesn't send the terminal designator in its
;       LOGIN and ATTACH IPCF messages to the account daemon.  Include
;       a common routine to find the terminal designator, line number and
;       node name of the job -- SETTNL.  Also include a switch to defer
;       TTY output /TTDEFER.
;743    29-april-80/FRS SPR 10-28831
;       Change put in FACTOR to check to see if job being attached to
;       is DAEMON and [1,2].  If so, skip trying to write FACT entry.
;744    5-May-80/WSM Allow new form for specifing settty switches for LOGIN.
;       ie /TERMINAL:(NOPAGE,SPEED:300,WIDTH:80,TYPE:VT52) instead of a
;       random set of several switches. Also, cleanup some SCAN switch
;       handling. Use standard version macro from MACTEN.
;       Fix recovery from %LGNTTI Terminal type invalid errors
;745    6-May-80/WSM Improve command scanning especially for SESSION
;746    6-MAY-80/WSM Fix the bug that didnt set path to area that
;       already existed if user had no login quota or software write-locked
;       Also, type warning if any PATH. uuo fails.
;747    Complete implementation of /TERMINAL by adding keywords [no]UC,
;       NOFILL and [no]TIDY. Also, dont prompt with password if the user
;       types it on the same line.
;750    Include debugged DDT patch for testing LOGIN under 7.01 
;       (QAR 10-04145) Add /DEFBUFFER:n switch to set default number
;       of disk buffers, like .SET DEFAULT BUFFER n command
;751    (QARs 10-42046, 10-04172) LOGIN loops if invalid PPN given.
;       Edit 737 didnt fix the problem as reported.



6.0  Suggestions

None


[End of LOGIN.DOC]

[LGN60A.DOC is appended as an integral part of LOGIN.DOC]
LGN60A.DOC                                                      Page 8


LOGIN.DOC -- Changes from V60(631) to V60A(634)
August 1978



1.0  SUMMARY

This release of LOGIN is being sent with 603A and only includes  those
edits  which  were  sent as correction files with release 6.03 and the
scheduler  LIR.   A  combined  correction  file,  LOGIN.COR,  is  also
included.   Note  that THERE ARE NO OTHER BUG FIXES OR CHANGES.  LOGIN
V60A(634) is the field image version plus 3 edits.   See  section  5.0
for a list of the patches.

LOGIN is documented in Software Notebook Vol.  2.



2.0  EXTERNAL CHANGES

There are no external changes.



3.0  KNOWN BUGS AND DEFICIENCIES

The bugs reported via SPR's are not included in  this  release.   This
release  only includes the correction files shipped with 6.03 and 6.03
scheduler LIR.   MACRO  V53  will  not  assemble  the  POINTER  macros
correctly.



4.0  INSTALLATION INSTRUCTIONS

None.



5.0  INTERNAL CHANGES

Edit #

632    DON'T TRY TO SET  SCHEDULER  CLASS  QUOTAS  IF  6.03  SCHEDULER
       RUNNING IN WMU MODE

633    LOCATE USER AT CENTRAL SITE IF LOGGING IN ON A NODE WITHOUT  AN
       LPT (DN87)

634    PUT IN SUPPORT FOR BACKGROUND BATCH FOR THE NEW CLASS SCHEDULER


[End of LGN60A.DOC]

[LGN60.DOC is appended as an integral part of LGN60A.DOC]
LGN60.DOC                                                       Page 9


LOGIN.DOC -- Changes from V57 to V60(631)
August 1976



1.0  SUMMARY

This is a maintenance release of LOGIN.  Most of  the  edits  are  bug
fixes  which  will  increase  LOGIN's  stability  in  the field.  Also
included is (unsupported) code to allow the user to change his/her own
password and a system for encrypting passwords for greater security.

LOGIN is documented in Software Noteboook Vol.  2A.

This version of LOGIN supersedes all previous versions.  It runs under
all  supported monitors.  LOGIN V60 has been tested successfully under
5.07B/6.01B, 6.02, 6.02A, and field test versions of 6.03.

The following CUSPs must be used with LOGIN V60:

     MACRO version 50 or 52
     SCAN and WILD version 7
     FACTOR version 1



2.0  EXTERNAL CHANGES

There are three new switches supported in LOGIN version 60.

/UFDPROT:nnn   Set protection of created UFD's to nnn
/SFDPROT:nnn   Set protection of created SFD's to nnn
/DEFPROT:nnn   Set default protection for  all  files  created  during
               this  terminal session to nnn (requires monitor 6.03 or
               later)

There  are  also  two  switches  controlled  by  assembly  conditional
switches  which  are  normally  off.   This code is unsupported and is
supplied solely as a convenience to the user site.

Assembly switch PSWCHG turns on code to allow users  to  change  their
own  passwords.  If this switch is turned on, it enables the /PASSWORD
switch.  This switch is ignored in SWITCH.INI, but  if  typed  on  the
LOGIN  command  line  it causes LOGIN to prompt "New password: " after
the old one has been validated.  The  users  types  his  new  password
(which  is  echoed to prevent typing errors from locking a user out of
his own PPN).  This password is then written into ACCT.SYS and becomes
the user's new password.

Assembly switch NCRYPT turns on code that  performs  a  non-invertible
hashing function on the user's password before checking it against the
one in ACCT.SYS.  This assumes that the password  was  hashed  by  the
same  function  before being stored in ACCT.SYS.  The purpose of doing
this is that if only hashed passwords are  stored,  then  even  though
someone  gains  access  to ACCT.SYS, he still cannot use the passwords
LGN60.DOC                                                      Page 10


since there is no way to convert the hashed passwords  back  into  the
real  ones.   The one drawback is that if a user forgets his password,
there is no way to find it out:  he must  simply  create  a  new  one.
REACT  is  not  yet  coded  to  hash  passwords before storing them in
ACCT.SYS, but it is a simple matter to copy the routine from LOGIN (it
is only half a page long) into REACT.



3.0  KNOWN BUGS AND DEFICIENCIES

None.



4.0  INSTALLATION INSTRUCTIONS

Previous versions of LOGIN never checked the "may log in under  Batch"
bit  in  ACCT.SYS  for  [1,2] jobs.  Since LOGIN version 60 now checks
this bit, you should be sure that this bit is set if you plan  to  run
batch jobs under [1,2].  Previous versions of LOGIN also never checked
the bit which says "may log in as a Batch job subjob".  Since this bit
is  now  checked,  you may wish to revise your ACCT.SYS entries if you
plan to have Batch jobs log in subjobs in any manner.



5.0  INTERNAL CHANGES

Edit #

540      Check creation date-time of accounting files and rebuild high
         segment database if they have changed.

541      Give warning message if not JACCTed.

542      Fix /VERB and /MESSAGE

543      Move call to RNMAIL to before the LOGIN UUO so it  has  JACCT
         and can rename mail to user's area.

544      .REQUEST SCAN, WILD, and  HELPER  to  simplify  assembly  and
         loading.

545      Fix one more bug in /CORE.

546      Determine 2741-ness of terminal early enough so  we  know  to
         unlock the keyboard when giving the # prompt.

547      Allow /QUOTA to force recomputing even if  other  users  same
         PPN.

550      Add /SFDPROT:nnn to do the obvious.

551      Rewrite /CORE logic once and for all.
LGN60.DOC                                                      Page 11


552      Reorder some code to make it less convoluted.

553      Fix bug in WAITO routine.

554      Add /UFDPROT:nnn to do the obvious.

555      Don't allow ATTACHes after KSYS unless OPR or son-of-OPR.

556      Clean up the listing.

557      Add two (unsupported)  security  features.   Assembly  switch
         NCRYPT  causes  password  encryption  before  comparison with
         ACCT.SYS.  REACT should  encrypt  passwords  using  the  same
         algorithm  before  storing  them  if  this is used but is not
         coded to do so yet.  Assembly switch PSWCHG enables  code  to
         allow  users  to  change  their own passwords via a /PASSWORD
         switch.

560      Remove the significance of slash in PPN (but still allow it -
         old habits die hard).

561      Do extended LOOKUP of FACT file so we always get file's exact
         length in words.

562      Don't assume any error return while reading  ACCT.SYS  is  an
         end-of-file.  Check it and print a useful message if there is
         a real error while reading it.

563      Don't enable control-c if user is locked into running a cusp.

564      Clean up exit sequence.

565      Re-init stack every time through LOGIN3.

566      Turn RP.LOG off if user control-c's while recomputing  so  he
         won't recompute needlessly next time.

567      If either half of LIB PPN is zero, default  to  corresponding
         half of logged-in PPN.

570      Clean up some code.

571      Remove FACT file code from LOGIN and put  it  in  a  separate
         module called FACTOR.

572      Add check to bypass blank AUXACC.SYS entries.

573      Fix ?LGNSND error in monitors with LIMLVL=5.

574      Save M, N, and CH over STUFBS if the message is typed  so  we
         don't garbage the quotas.

575      Make Batch jobs wait twice as long for  UFD  interlocks,  and
         don't let them break it down at all.
LGN60.DOC                                                      Page 12


576      Fix ?ILL MEM REF when CUSP-to run doesn't exist.

577      Allow OPR to log in even if no AUXACC.SYS.

600      Only type error severity number to Batch jobs.

601      Add TWOSEG to LGNDCL so LOGIN assembles with MACRO v.52

602      Check JBTLIM to see if we're a Batch job so we  don't  depend
         on BATCON being called that.

603      Check times-to-log-in for Batch jobs and P.LGBT.

604      Fix ?SCNNDV Null device illegal mesage from SCAN on  2nd  try
         at logging in.

605      Rewrite code at NOJBMS through TTYDET to fix bugs  introduced
         by edits 602 and 603 and to make the code readable.

606      Allow ATTACH and LOGIN after KSYS from local TTY's.

607      Fix problem in edit 605.

610      Allow passwords in entries which span disk blocks in ACCT.SYS
         to be changed.

611      Prevent strange races in ATTACHes.

612      Make ?may not log in remote/batch subjob/batch/dataset errors
         fatal so BATCON won't waste time trying the jobs again.

613      Clean  up  the  listing;   remove   unreferenced   data   and
         unreachable code.

614      Add a missing POPJ to end of ENTPTH.

615      If LOGIN dies for any reason, SETNAM  to  FLUSH  rather  than
         LOGIN to avoid kludge in CLOCK1.

616      Don't change UFD protection unless /UFDPROT specified.

617      More changes to make LOGIN assemble with MACRO v.52.

620      Implement /DEFPROT:nnn.

621      Don't type strange garbage if logged-in user types .R LOGIN.



[End of LGN60.DOC]

[LGN57.DOC is appended as an integral part of LGN60.DOC]
LGN57.DOC                                                      Page 13


LOGIN.DOC - Changes from V56 to V57
July 1975



1.0  SUMMARY

The principle purpose of this release is to provide  support  for  the
new features of the 6.02 Monitor;  specifically, to set ENQ/DEQ quotas
and to place the job in the  appropriate  scheduler  class  on  Login.
Also  included are several bug fixes and hooks for external accounting
modules to simplify the task  of  adding  extra  accounting  logic  to
LOGIN.

LOGIN is documented in Software Noteboook Vol.  2A.

This version of LOGIN supersedes all previous versions.  It runs under
all  supported  monitors.   The  DATE75  project is fully implemented.
LOGIN V57 has been tested successfully under 5.07A,  5.07B/6.01B,  and
6.02.

The following CUSPs or later must be used with LOGIN V57:

     MACRO version 50
     SCAN and WILD version 7



2.0  EXTERNAL CHANGES

None.



3.0  KNOWN BUGS AND DEFICIENCIES

None.



4.0  INSTALLATION INSTRUCTIONS


4.1  ENQ/DEQ:

REACT V31 has an extra question which  asks  for  the  user's  ENQ/DEQ
quota.   This is stored in bits 27-35 of the expiration date word, the
right half of which was previously unused.  LOGIN reads this  quantity
and passes it to the Monitor as the user's ENQ/DEQ quota.  However, if
these bits are all ones, LOGIN does not set the quota.  When the  user
first  does  an  ENQ, Monitor will then supply the current system-wide
default quota.
LGN57.DOC                                                      Page 14


4.2  Scheduler Parameters:

REACT V31 has another new question which asks for the user's scheduler
type.   This  9-bit quantity is stored in bits 18-26 of the expiration
date, the right half of which was previously unused.

When LOGIN V57 is first run, it reads a  new  accounting  file  called
SCDMAP.SYS  into  its  high  segment.   This  file  provides a mapping
between scheduler types, which are stored in ACCT.SYS,  and  scheduler
classes,  which  is what the scheduler and SCHED.UUO talk about.  When
the user logs  in,  LOGIN  gets  his  scheduler  type  from  ACCT.SYS.
SCDMAP.SYS  is  a binary file with 4 entries per word.  Entry number n
is the scheduler class for type n.  In other words, SCDMAP.SYS is  set
up  somewhat like a page map.  LOGIN computes an index into SCDMAP.SYS
from  the  scheduler  type  read  from  ACCT.SYS  and  picks  up   the
appropriate  scheduler  class  from its copy of SCDMAP.SYS in its high
segment.

SCDMAP.SYS has two parallel tables in it.  The first 512  entries,  or
128  words, contain the mappings from types to classes for timesharing
jobs.  The second 512 entries contain the mapping of types to  classes
for  batch  jobs.   Thus,  system administrators can specify different
scheduling priorities for batch jobs and timesharing jobs.

SCDMAP.SYS is generated by a new CUSP called SCDSET.  This  CUSP  also
tweaks  the  scheduler  on  the  fly.   This  CUSP  must be run before
bringing up LOGIN V57 in order to create  SCDMAP.SYS.   If  SCDMAP.SYS
does  not  exist  or  cannot be read, the first user to run LOGIN will
receive the warning message:

     Cannot find SCDMAP.SYS.  Please call the operator.

Only the first user will receive this message as LOGIN sets a flag  in
its  hi  seg  and  if  it could not read SCDMAP.SYS the first time, it
doesn't attempt to do any of the scheduler stuff.  Installations which
are  running  Monitors  without  the  new  scheduler  need  not create
SCDMAP.SYS as LOGIN checks the second states word in Monitor and  does
not  attempt any of the scheduler setting code if the Monitor does not
support it.  It should be mentioned that  if  any  of  the  accounting
files  (not only SCDMAP.SYS) are modified while the system is running,
LOGIN should be renamed to itself.  This will supersede  the  copy  of
LOGIN  on  the  swapping  space which would otherwise contain obsolete
indices  into  ACCT.SYS  and  AUXACC.SYS  and  an  obsolete  copy   of
SCDMAP.SYS.    For   more  detailed  information  concerning  the  new
scheduler and its parameters, see the DOC file for SCDSET.
LGN57.DOC                                                      Page 15


5.0  INTERNAL CHANGES

Edit #

420      Fix security bug in ATTACH.

421      Fix test for detached line.

422      fix bug in recomputing logic which caused file structures  to
         be omitted from search list.

423      Add /RTCOMP switch.

424      Make LOGIN use all of hi seg for  ACCT.SYS  directory  (LOGIN
         used to always expand core even when not necessary).

425      Add code to read SCDMAP.SYS and set scheduler classes.

426      Fix bug in ENQ/DEQ routine.

427      Check for end of TABSTR in Tiny Monitors.

430      Make a -1 ENQ/DEQ quota entry mean don't set the quota so  on
         the  first  ENQ  Monitor  will  supply  a system-wide default
         quota.

431      Skip about 30 useless instructions if non-6.02 monitor.

432      Do a CRLF after typing "No operator coverage".

433      Fix possible race condition in SCHED.   table  logic  and  do
         some random code cleanup.

434      Allow switch alone on cmd line (so /HELP wins).

435      Allow CR in response to # without nasty error message.

436      Add some preliminary hooks for external accounting module.

437      Fix bug related to VM and ACCT.SYS version 4.

440      When saying "Other jobs same PPN", tell him what jobs.

441      Make start address and program name work right.

442      Move call to .OSCAN so A) user has search  list  when  it  is
         called,  and  B)  /NAME  works right without the necessity of
         hacks like edit 355.

443      Finish the job of edit 442 by removing SETTMP and CLRTMP.

444      Code cleanup.

445      Don't tell [1,2] jobs which jobs are also under [1,2].
LGN57.DOC                                                      Page 16


446      Fix spurious error message in Tiny Monitor.

447      Make .LOGIN[proj,prog,sfd,sfd,...]/switch work.

450      Add /NOTICE:arg switch to control printing NOTICE.TXT.
         arg=ALWAYS to always see notice
         arg=SOMETIMES to work like slash in PPN
         arg=NEVER to never see notices.

451      Re-allow user to have different path than logged-in PPN.

452      Use second 512 entries of SCDMAP.SYS for batch jobs.

453      Make default for /NOTICE be sometimes.

454      Fix bug in sfd logic and typo in /NOTICE logic.

455      Make /VERBOSITY work right.

456      Convert all output TTCALLS to use buffered tty output.

457      Add /PATH switch to do the obvious thing.

460      When doing a recompute, sprinkle some OUTPUT TTYs  around  to
         keep the user patient.

461      Add a few more OUTPUT TTYs and fix security breach in ATTACH.

462      When ATTACHing to a job whose ACCT.SYS entry requires a name,
         only  ask  if  there  is  a name in ACCT.SYS against which to
         check it.

463      Fix possible bug in scheduler table building logic.

464      Reserve BATMIN jobs for Batch.

465      Add another OUTPUT TTY.

466      Save error code over call to UFDSMB at LGNCAS [SPR 10-15873]

467      Make /PATH in SWITCH.INI work.

470      Add /ASSIGN:phys:log to do the obvious.

471      Edit 467 broke /SPOOL.  Fix:  add the oft-forgotten -1  after
         a BLT.

472      Split TRMOP.s into two groups:  those which  should  be  done
         before  printing  notices,  and  those  which  should be done
         afterwards.  Currently, the only ones which  are  done  after
         are speed.
LGN57.DOC                                                      Page 17


473      Fix halt when /ASSIGN used without logical name.

474      Fix possible stack phase problem in PARSE.

475      Add timeout to WAITO routine.

476      Fix bad return from error recovery routine in LGNDSK.

477      Check LOGMAX for Batch jobs and add  a  new  class  of  error
         message  for BATCON:  REQUE, error code 5, meaning reque this
         job and don't schedule any more jobs for a little while.

500      Removed by edit 505.

501      When scanning all job numbers, scan thru HIGHJOB, not LOGNUM.

502      In a sequence of /ASSIGNs, the last one is not  done.   Cure:
         change an AOJL to AOJLE.

503      When LOGMAX is exceeded LOGIN tells  you  and  then  cleverly
         proceeds to log you in.  Fix:  treat REQUE as a fatal error.

504      Put EQACT in the high seg where it belongs.

505      Check BATMAX rather than LOGMAX for Batch  jobs.   LOGMAX  is
         now  (re-)defined  to  mean  the  number of interactive, user
         (non-OPR) jobs allowed to be logged in.  Also add conditional
         assembly switch BATMAX which will turn on the BATMAX-checking
         code.  This requires edit 1055 in BATCON.

506      Make .LOG 3,4[5,6] work.

507      Add an error message if the ENQC.  UUO fails.

510      Clean up some error messages.

511      Fix bug in /CORE logic;  add some error  messages  for  "this
         can never happen" type stuff.

512      Add check in TYPE routine to POPJ right out if name  of  file
         is  zero  (no  name,  no wildcards) to avoid a bizarre bug in
         WILD.

513      Don't turn off echo until entire command  line  is  typed  so
         continuation lines will echo.

514      If UFD interlock is busy too long, get impatient and clear it
         anyway.

515      Make sure RP.LOG gets set.

516      Code cleanup.
LGN57.DOC                                                      Page 18


517      Don't type "No operator coverage" on every retry

520      Don't bother clearing TMPCOR.  Lock out ctrl-c while we  have
         UFD interlock.  This will fix some obscure bugs in LOGIN that
         have been around for a long time.

521      Fix handling of /CORE.



[End of LGN57.DOC]

[LGN55 is appended as an integral part of LGN57.DOC]
LGN55.DOC                                                      Page 19


LOGIN.DOC -- Changes from V54 to V55
June 1974



1.0  SUMMARY

This major release of LOGIN supports a large number of  new  features.
These include:

     - Use of SCAN and WILD for SFD support
     - Ability to read switches from the LOGIN line
     - Ability to read SWITCH.INI to set user profiles
     - Improved directory logic
     - Support for 5.07 and 6.01 monitors
     - Support for 2541 terminals
     - Support for BATCON V12 and SPRINT V2
     - Improved error messages
     - Support for DATE75
     - Watchdog timeout to prevent LOGIN from hanging
     - Cleanup of internal logic
     - Improved control-  C processing

Parameters which may be set from SWITCH.INI or the users command  line
include:

     - Core limit (for use by BATCON V12)
     - Dskful error or pause
     - Default path
     - Library
     - Time limit (for use by BATCON V12)
     - Station number
     - User name
     - NEW or SYS
     - Private notice file
     - Virtual memory parameters
     - WATCH and SPOOL

LOGIN version 55 runs on all supported monitors.  It has  been  tested
on  5.06 and 6.01/5.07.  It fully supports the DATE-75 project.  LOGIN
version 55 fully supersedes all previous versions.

LOGIN version 55 is documented in the system command manual.   Related
documentation  can  be found in the DOC files for WILD version 6, SCAN
version 6, and REACT version 30.
LGN55.DOC                                                      Page 20


1.1  Function of LOGIN

LOGIN is used to verify a users right to  access  the  system.   LOGIN
does password and name checking as required.  LOGIN logs the user into
the system by creating directories, writing an accounting record,  and
setting  user  parameters  as  directed  by  the  accounting files and
switches on the LOGIN line and in  SWITCH.INI.   LOGIN  also  verifies
that an Attach command is valid.



2.0  EXTERNAL CHANGES

None.



3.0  KNOWN BUGS AND DEFICIENCIES

None.



4.0  INSTALLATION INSTRUCTIONS

See .CTL file.



5.0  INTERNAL CHANGES

Edits prior to edit 74 were never recorded and are  lost  to  history.
The major change was the addition of SCAN and WILD.  All edits from 74
to 314 are listed below:

EDIT #

 74  Turn off the level c switch (LEVCSW) 

 75  Make symbols match C.MAC.  Use C.MAC with LOGIN.  

 76  Change AC names so that there is only 1  name  for  a  given  AC.
     Make  the names and usage agree with SCAN and the cusp standards.

          OLD  NEW
          A    T1
          B    T2
          C    T3
          D    T4

 77  Make AC5=P1 be preserved.  

100  Change CALC to P2 

101  Get rid of T,E.  AC 5 is now P1.  
LGN55.DOC                                                      Page 21


102  Make CH=14.  Rename AC 10 c.  CH  is  the  character  output  and
     manipulation  AC.  C is the character input AC.  C is set by SCAN
     and never modified by LOGIN.  

103  Call .PSCAN to  do  partial  scanning.   Calling  .TSCAN  is  not
     correct.  

104  Have ATTACH check its arguments prior to doing  the  ATTACH  UUO.
     This will filter out bugs.  

105  Use standard date format (as returned by .GTNOW) to  compute  the
     day of the week.  Idea:  add a routine (.WKDAY) to SCAN to return
     the day of the week in T1.  WED.=0 

106  Add a watchdog timeout to TTY input routine.  If there is no  TTY
     activity  in  2  min.   The  user  is given a helpful message and
     logged off.  

107  Add global routine .TNEWL to satisfy extern in WILD.  For LOGIN's
     simple needs this routine is just a POPJ 

110  Add the message "invalid PATH specification".  This is induced by
     supplying a file name or extension on the PATH.  

111  Add "invalid format  for  project-programmer  number".   This  is
     induced by any one of a long list of syntax errors.  

112  Add the /QUOTA switch to force quota to be recomputed.  

113  Make sure P2 is preserved.  

114  If the UFD interlock is busy for more than 10 seconds  and  there
     are  no other users under this PPN, LOGIN will assume a swap read
     error took place and clear and reset the UFD interlock.  

115  AC BP was removed since it did not contain a global byte  pointer
     and it confused the logic flow.  

116  Remove the UFD buffer since the UFD is never read.  

117  Do not SCAN all users S.L.'s if OTHUSR says there  are  no  other
     users under this PPN.  

120  Create SFD's as needed to set up the correct default PATH.  

121  Do not recomp if only the error bit is set since  it  slows  down
     LOGIN which users do not like.  

122  ILL.  MEM.  REF.  in FASTLG code.  Diagnosis:  indexing  a  HISEG
     address  by  a  HISEG  address.   Cure:   remove  HRR T1,PDACC at
     CHECK1+43 

123  SFD's are not created correctly.  All SFD's are in the UFD rather
     than nested.  Diagnosis:  missing MOVEM.  Cure:  add it.  
LGN55.DOC                                                      Page 22


124  Call .PSCAN after the command is decoded but before  the  PPN  is
     stripped  off.   Note:  this will allow switches on the line with
     the   prompt.  

125  Handle control-c on input as soon as possible.  

126  Setting up default paths still does not work correctly  for  WILD
     card  programmer numbers.  Diagnosis:  default is not known until
     after all UFD's are created.  Cure:  add another test.  

127  LOKALL never finds file errors.  Diagnosis:  extended  LOOKUP  is
     not extended far enough.  Cure:  get data up to .RBSTS 

130  The /WATCH switch uses different names the the monitor set  watch
     command.  Cure:  make LOGIN agree with the monitor.  

131  LOGIN with no arguments gives an error message.  Cure:  check for
     end of line.  

132  Implement SWITCH.INI in LOGIN.  

133  Add an example of how to patch you monitor to debug LOGIN 

134  Add 2 switches to LOGIN.  They are watch and spool.  E.g.  

     /WATCH:(VERSION,DAY)/SPOOL:NONE 
     /WATCH:ALL/SPOOL:(LPT,CDR) 

     These switches are "ored" with those specified by the  accounting
     file.  

135  Improve the message for KSYS up to:  timesharing is over 

136  If LOGIN is loaded with DDT do not clear core  when  done.   Also
     transfer to DDT instead of doing a LOGOUT UUO.  

137  More conversion to C.MAC.  Use TXNN, MOVX etc.  

140  Get MFDPPN,etc from GETTAB 

141  Allow /HELP 

142  Misc bug fixes 

143  LOGIN did not clear args for RUN UUO.  Some edit left junk in the
     core arg.  Change to clear core arg.  

144  Convert all messages to conform to message standard 

145  Fix bug in WILD card PPN  logic.   FASTLG  code  read  the  wrong
     block.  

146  Fix bug in file error logic 

147  Cleanup listing 
LGN55.DOC                                                      Page 23


150  Compensate for some bugs in SCAN.  These the bugs are related  to
     the use of .PSCAN and end of line conditions.  

151  Wrong time was typed because an AC was getting destroied.  

152  Improve recomp messages 

153  Give fact files standard SYS protection 

154  Make LOGIN over a PTY from a detached job behave like LOGIN  from
     a remote terminal.  

155  Make LOGIN over a PTY have privileges of last job before a  [1,2]
     job in CTLJOB sequence 

156  Don't turn echoing on for HDX lines 

157  Prevent security breach in ATTACH 

160  Log ATTACH failures - same code as LOGIN failures 

161  Move time to LOGIN check to before password check 

162  Remove level-c code from the listing.  

163  Removed by edit 313 

164  Correct a bug related to lower case passwords 

165  Correct TTYGET so that it only waits 2 min.  As advertised.  

166  Change message from "recomputing  disk  quotas"  to  "recomputing
     disk usage".  

167  Add /CORE switch to set user core limit 

170  Add /LOCATE switch to set user station number 

171  Add /NEW /SYS /SCAN to set PATH specification.  

172  Add /DSKFUL and /DSKPRI to do those set UUO's 

173  Add /PHYSICAL:N to set current physical limit and /VIRTUAL:N 

175  Remove definitions of JBTSTS bits and use JOBSTS UUO to read JLOG
     and JACCT.  

176  Implement /RUN:FILESPEC.  this will run the selected  program  if
     and only if there is not program specified in ACCT.SYS.  

177  Implement /NOTE:FILESPEC.  this switch will  print  the  selected
     file  using the NOTICE.TXT logic.  This is useful if one wants to
     print a project notice kept in a library area.  The filespec  may
     contain wildcards.  
LGN55.DOC                                                      Page 24


200  Improve "timesharing is over" message to be in  upper  and  lower
     case  and  begin with lgttio.  Also, change severity of error (to
     BATCON) from fatal to stop scheduling.  

201  Fix a bug in /QUOTA logic.  With this  fixlogin  will  clear  any
     error  bits  in  UFD  which  reflect the status of deleted files.
     I.e.  The makes "lgnfee xxxx file errors exist" go away.  

202  Rewrite NOTICE.TXT printer to be smaller and  faster.   Also  add
     argument to subroutine to alow a general filespec to 

203  Add /LIB:[PPN].  this sets up a LIB:  area 

204  Add /NOLIB, /NONEW, /NOSCAN, /NOSPOOL, /NOWATCH to do the obvious
     things.  

205  Add /STR and /NOSTR to type STR.TXT on  all  file  structures  on
     which the user has a UFD 

206  Use correct bits in setting /LIB and /SYS.  

207  If the user types "log p/pn /SWITCH:FILE"  SCAN  returns  with  a
     PATH spec of all zeros.  Zero is not a disk and LOGIN gets upset.
     This is fixed by changing zero to SIXBIT dsk.  

210  Change max for /QUOTA from zero to  one.   This  will  keep  SCAN
     happy.  

211  Fix up call to .LKWLD so all files get found.  This requires WILD
     edit 143 (version 6).  

212  Fix LGNBPN to have a CRLF 

213  Make SNOOZE time dependent on ACCT.SYS file length 

214  /TIME:N sets system CORMAX to N words instead of setting per user
     time limit.  Fix:  HLRI to HRLI 

215  If SETUUO for watch bits  ever  failed  error  message  would  be
     garbage.  Fix:  load correct AC 

216  Fix up PATH.  UUO's so that only correct operation takes place.  

217  Fix /DSKPRI switch.  

220  Clean up error messages 

221  Prevent NOTICE.TXT from printing while running OPSER 

222  SWITCH.INI does not get looked at by SCAN.  Diagnosis:   call  to
     .ISCAN  remembers  PPN so chgppn UUO has no effect.  Cure:  store
     new PPN in .MYPPN so SCAN will see it.  
LGN55.DOC                                                      Page 25


223  SWITCH.INI does not get looked at by SCAN.  Diagnosis:   at  time
     of call to .OSCAN job's search list is null, so LOOKUP gets error
     code 24.  Cure:  set a temporary search list to be  the  list  of
     all mounted structures.  

224  Allow version 3 of ACCT.SYS to be processed.  The only difference
     between  version 2 and version 3 isword 6 in a version 2 ACCT.SYS
     entry contains junk while word 6 in a version 3 entry contains:  

          Bits 0-8 maximum physical page limit 
          Bits 9-17 maximum virtual page limit 
          Bits 18-26 IPCF RCV quota 
          Bits 27-35 IPCF XMT quota 

225  Fix remaining bugs in SWITCH.INI processing 

226  Fix 221 

227  Replace calls to SIXMSG with calls  to  .TSIXN.   Straighten  out
     messed up AC useage related to UFD enter failures.  

230  Speed up .TNEWL so that it does not do any TRMOP.  uuos 

231  Fix up message for STRUUO failure related to inserting  str  into
     your search list 

232  Turn on /OKNONE for all files to be typed out.   This  will  keep
     LOGIN from complaining about a missing NOTICE.TXT 

233  Since every call to STUFCL has a JFCL after it  the  skip  return
     seems non-useful.  Therefor, change STUFCL to always return .POPJ

234  Convert LOGIN to use C.MAC and SCNMAC as universal files.  

235  Remove LEVDSW, LEVCSW and CDSW 

236  Inset DATE75 conditional to decide if date is in the new  or  old
     format.  If DATE75 is non-zero date is in new format.  

237  Straighten out use of flags in left half  of  F.   the  following
     flags  go  away:   FL.TYO,  L.FRE1, L.SIN, L.FRE2, FL.LVD, FL.ERR
     FL.RCQ.  The following flags now have thier ouwn bits and are not
     shared with other bits:  FL.ERR,L.PEND 

240  Remove code which can never be executed.  

241  If the user logges in with a slash and says /STR and has  already
     seen  STR.TXT  he does not see STR.TXT again.  Since this feature
     is designed to tell the user what packs are  mounted  this  is  a
     bug.  Fix:  always print STR.TXT 

242  Type out filename, extension, PATH etc.  For files typed  by  the
     /NOTE switch.  
LGN55.DOC                                                      Page 26


243  Fix misplaced POPJ so that LOGIN 0/0 does not win.  Also fix  bad
     test so we do not log format errors in FACT.SYS 

244  Prevent  WILD  from  giving  protection   failure   messages   on
     NOTICE.TXT STR.TXT etc.  

245  Support set watch version and set watch mta from ACCT.SYS 

246  Fix SNOOZE to check for a 60 second max.  Sleep time 

247  Move some symbols to C.MAC so they need not be defined here.  

250  Clean up the listing 

251  Define some macros to generate error messages.  These are :

          STOP  --  very fatal error have BATCON stop
          FATAL --  fatal to this user
          WARN  --  semi-fatal for this user
          INFO  --  message in []

     This will help use do /VERBOSITY in a future edit.

252  Convert /WATCH and /SPOOL to use the OBV ("or" bit value) feature
     in SCAN.  

253  Fix /DSKPRI to return correctly 

254  Call .CLRBF on all errors 

255  Reorder the code so that similar functions are close together 

256  Break up LOGIN into several seperate modules:

          LOGIN  -- universal parameter file 
          LGNINI -- startup module aa.br LGNSCN -- command scanner 
          LGNACT -- accounting module 
          LGNDSK -- directory builder 
          LGNSET -- module to do set UUO's for user switches 
          LGNIO  -- random I/O subroutines 
          LGNERR -- error message typers 
          LGNEND -- exit sequence 
          LGNLOW -- low segment 

     The modules still live in one file for convience.  The reason for
     the  changes is to allow parts of LOGIN to be used in the rewrite
     of the mount system.  

257  Change SETSTS at FLUSHX to a reset which will work just as  well.

260  Fix a bug introduced by sorting the code.  

261  Change LGNCUX to LGNNSL which seems more mnemonic 

262  Make sure charge number gets set on every LOGIN 
LGN55.DOC                                                      Page 27


263  Implement /GUIDELINE to set physical guideline 

264  Implement /LIMIT to be the opposite of  /GUIDELINE.   note:   one
     can say /NOGUIDELINE or /GUIDELINE:0 or /LIMIT:0 or /NOLIMIT etc.

265  Rework the control-c logic as follows:   if  control-c  is  typed
     prior  to LOGIN and no critical action is in progress and no disk
     writes have been done, LOGIN types KJOB and exits.  If a critical
     action  (building  HISEG  index)  is  in progress LOGIN will exit
     a.s.a.p.  If LOGIN is recomping or has created a  UFD  it  forces
     the  user to LOGIN then exits.  After the user is logged in LOGIN
     will abort on the first control-c.  

266  Require a value to be typed  on  /CORE,  /DSKPRI,  /LIB,  /LOCATE
     /NOTE, /PHYSICAL, /TIME, and /VIRTUAL 

267  Pick up the verbosity in .FLVRB and include in  set  UUO  to  set
     watch arguments.  

270  Fix some misc problems 

271  If both logged-in  and  logged-out  quota  are  infinite  do  not
     recompute  disk  useage.   [infinite  =  377777,,777777(8)] note:
     /QUOTA will still force a recomp 

272  Move NEWACT to HISEG if FASTLG is non-zero.   That  way  we  will
     remember that we have the new ACCT.SYS.  

273  Do not attempt to put single access file structures into the fake
     search list set up for .OSCAN.  

274  Improve the routine that  reads  the  password  for  half-duplex,
     local copy, and 2741 terminals.  

275  Invent .CLEOF and call it whenever .CLRBF is called.   This  will
     cause LOGIN to give a prompt at the correct places.  

276  Change the /STR  switch  to  print  ALL:STR.TXT[1,4]  instead  of
     SYS:STR.TXT.  

277  Move some more code to LGNSCN 

300  Fix SCAN to work better.  While most of the edits are in SCAN  we
     have to change some of the calls.  This does that.  

301  Make UFD LOOKUP failure give correct error core 

302  Set mppl and mvpl to be 1  greater  than  the  number  stored  in
     ACCT.SYS  if that number is non-zero.  This lets us have 512p max
     at the cost of not allowing 1p.  

303  Support LOGNUM 

304  If BATCON gets confused and sends an illegal command string do no
     allow a retry.  
LGN55.DOC                                                      Page 28


305  Removed by 306 

306  Remove edit 305 

307  Rework the retry logic slightly to not sleep unless user is  very
     fast.  This will slow down PTY jobs without affecting real users.

310  Clear out some flags on retry so user always gets the right  PPN.

311  Fix up the /WATCH switch to set the right bits 

312  Improve the mask printer for 2741 terminals 

313  Add the /NAME switch for BATCON V12 and SPRINT  V2.   /NAME  will
     work as follows:  

     If name in ACCT.SYS equals 0 then begin 
     If /NAME given use it else 
     Ask for name and use result end 
     If name in ACCT.SYS = 0 then begin 
     If /NAME given begin 
     If name required must match ACCT.SYS entry end 
     Use the name 
     If no /NAME switch then begin 
     If name required ask for name and match ACCT.SYS 
     If name not required use name from ACCT.SYS 
     End 
     End 

     The net effect is to allow user to specify his name  on  the  job
     card  and get it stored correctly in the job tables.  If the user
     does not need his name checked he can specify any name he  wants.
     To  defeat this for installations which want to force the name in
     ACCT.SYS to be used, change the namesw routine in LGNSCN to be  a
     POPJ.  That will make the /NAME switch a nop.  

314  Fix ILL.  MEM.  REF.  in local copy code.  

315  Clean up lowseg so no low file.  



[End of LGN55.DOC]