DISTN.W, INET.W, and SUPPORT.W (MsgSys) ======================================= Eliminated the "close(STDOUT)" call from distn.w`distn.r`main as per Joe's suggestion of 21-Nov-83. This fixes online notification, which was previously broken. Added Joe's decnet.r which fixes the CRLF vs LF imcompatability with other SMTP sites. The tools mail system now works against TOPS-20 mm. See "mailsys.doc" for a description of new MSG and SNDMSG features. INTRO ===== *** Version # 1.5 19-Nov-83 09:45:04 dpm Changed intro.w`intro.r`dointr to display the intro lines with hyphens aligned. Purely cosmetic. PS == *** Version # 1.3.3 07-Dec-83 16:51:00 eccmnk Modified the terminal name field to display the mode ("net"=network, "sub"=subprocess, "bat"=batch or "det"=detached) of non-interactive processes. Re-arranged the display of the priority field from "base/current" to "current/base" to be consistent with DEC (e.g. show process/continuous display). Modified the size of the image name buffer to handle the maximum size image name possible. Modified the processing of image names to handle directory specifications which use "" instead of "[directory_spec]" and to display "(dcl)" to be more consistent with `who' and with DEC (e.g. ^T display). Added the process scheduling state field to the display. Made modifications in the processing of job/process information to prevent `ps' from becoming `hung' or from taking a very long time to complete or from swapping in outswapped jobs. `ps' first calls sys$getjpi with an item list that contains information that is available from all processes regardless of their state. `ps' next checks the state of the process to determine if further information (image name and CPU time) can be obtained. If the process is in state CEF, LEF, HIB, COM, CUR then another call to sys$getjpi is made to obtain the additional information. If the process is in state COLPG, FPG, MWAIT, PFW or SUSP the additional sys$getjpi call is not made as this call would not complete until the process exits its current state which could take a very long time or the call might never complete. If the process is in state LEFO, HIBO, SUSPO or CEFO the additional sys$getjpi call is not made since this would force the process to be inswapped. If the additional information could not be obtained then the fields in the display will be filled with "-"'s. Modified the process name field to not display any character c, where c < SP or c >= DEL, as a dot ("."). This prevents users from setting their process names to escape sequences intended to mess up someone's terminal. This is consistent with the way DEC handles the display of process names (e.g. show system, show process, monitor). Modified the display of `ps' to line up with the display of `who' for easier comparison of the two outputs and to make room for the process scheduling state field. Also made `ps' dump the header line (if specified to do so) immediately instead of waiting until all the information has been gathered. This gives an indication, when the system is busy, that the `ps' image has been activated and is working on gathering the job/process information. These changes required modifications to ps.w`ps.r`main, ps.w`ps.r`dispone, ps.w`cllist, ps.w`pssym and ps.w`ps.fmt. Also, ps.w`ps.r`nocc, ps.w`ps.r`putsta, and ps.w`ps.r`putsts were added. RATP2 ===== *** Version # 1.4 19-Nov-83 09:26:04 dpm Added LARGE_ADDRESS_SPACE test to set value of A_S_X multiplier to 4 for large machines and 1 for small ones. This is used to increase the size of MAXBUF and MAXSAVE. RC == *** Version # 1.8 18-Apr-84 12:11:51 dpm Conditionalized code for "SINGLE_PASS" definition in rc.w`rc.r`defns. If enabled, this causes RC to spawn RatFor instead of RatP1/RatP2. This improves compilation time dramatically at the expense of the features provided by RatP2. This should be enabled with caution... SEND ==== *** Version # 1.1.3 07-Dec-83 16:51:30 eccmnk Added the following new features: (1) appended "hh:mm:ss" to the "[message from on ]" message and appended "from hh:mm:ss" to the eot message; (2) added -user option to send each line to all of the terminals that a user is logged in on; (3) added "[] " header to lines sent to the other user's terminal; (4) added a routine to remove unwanted (possibly malicious) non-printable characters from the line sent; (5) removed the extra new-line character from each line sent to the other user's terminal; (6) made "send" report that the user you are sending your message to has logged out and to terminate "send" if "user" is no longer logged in on the terminal(s) you were sending to. Required modifications to send.w`send.r`send, send.w`send.fmt, and the addition of send.w`send.r`getdvi, send.w`send.r`lsttrm, send.w`send.r`nocc, send.w`send.r`sndmsg and send.w`sndsym. WHO === *** Version # 1.3.3 07-Dec-83 16:51:16 eccmnk Re-arranged the display of the priority field from "base/current" to "current/base" to be consistent with DEC (e.g. show process/continuous display). Modified the size of the image name buffer to handle the maximum size image name possible. Also made changes to the processing of image names to handle directory specifications which use "" instead of "[directory_spec]". Added the process scheduling state field to the display. Made modifications in the processing of job/process information to prevent `who' from becoming `hung' or from taking a very long time to complete or from swapping in outswapped jobs. First, `who' calls sys$getjpi with an item list that contains information that is available from all processes regardless of their state. Next, `who' checks the state of the process to determine if further information (image name and connect time) can be obtained. If the process is in state CEF, LEF, HIB, COM, CUR then another call to sys$getjpi is made to obtain the additional information. If the process is in state COLPG, FPG, MWAIT, PFW or SUSP the additional sys$getjpi call is not made as this call would not complete until the process exits its current state which could take a very long time or the call might never complete. If the process is in state LEFO, HIBO, SUSPO or CEFO the additional sys$getjpi call is not made since this would force the process to be inswapped. If the additional information could not be obtained then the fields in the display will be filled with "-"'s. Modified the process name field to not display any character c, where c < SP or c >= DEL, as a dot ("."). This prevents users from setting their process names to escape sequences intended to mess up someone's terminal. This is consistent with the way DEC handles the display of process names (e.g. show system, show process, monitor). These changes required modifications to who.w`who.r`fmtbuf, who.w`who.r`main, who.w`cllist and who.w`whosym. Also who.w`who.r`nocc and who.w`who.r`putsta were added.