<<< SPCVXA::DUA2:[NOTES$LIBRARY]X-INFO-FINGER.NOTE;1 >>> -< X-Info-Finger >- ================================================================================ Note 8.0 Info-Finger Postings for January, 1990 3 replies SPCVXA::BBOARD "Notes Poster Daemon" 0 lines 12-JAN-1990 21:57 -------------------------------------------------------------------------------- ================================================================================ Note 8.2 Info-Finger Postings for January, 1990 2 of 3 SPCVXA::INFOFINGER "ltran@wdl1.fac.ford.com" 10 lines 12-JAN-1990 22:35 -< logintime and decnet object >- -------------------------------------------------------------------------------- how do I go about adding extra info for logintime ? I want to add the month and day plus the time of the user login. I have two nodes cluster. Should I use a different object number for FINGER for each node ? Linh Tran ltran@wdl1.fac.ford.com Much appreciate.... ================================================================================ Note 8.3 Info-Finger Postings for January, 1990 3 of 3 SPCVXA::INFOFINGER "Terry Kennedy, Operations Mgr <" 38 lines 13-JAN-1990 06:42 -< RE: logintime and decnet object >- -------------------------------------------------------------------------------- Linh Tran writes: > how do I go about adding extra info for logintime ? I want to add the > month and day plus the time of the user login. There are two areas where you need to change things: in routine User_Info in FINGER.FOR, you will find the line: Login_Time = Time_String(1:5) and above it, a call to sys$asctim. You need to change the trailing 1 in the sys$asctim call to a 0 (to get the full date/time) and then change the line I showed above to edit it however you want it to appear. Also, in FINGERSHO.FOR, there is similar code which is used when the user says /SORT=LOGINTIME. You may want to change this for completeness, but remem- ber that this is an ASCII sort, so 01-JAN is "earlier" than 11-DEC. You may have to convert to numeric months and then build it as MMDDHHMMSS and sort on that. Now, let me mention 2 important points about changes like this: 1) The code is 'rather' disorganized. You'll have to check carefully for string lengths (increasing them, that is). Likewise, the output routine chops many fields to their "expected" lengths. Also, you'll have to expand the hea- der width. 2) If you widen any of the fields, you have to give up at least one other field if you want it to fit on an 80-column screen. > I have two nodes cluster. Should I use a different object number for > FINGER for each node ? Nope - the same object number should be used all over. Like MAIL, the object number defines the task to be performed, not the node. DECnet will get you to the right node. Terry