/*-*-text-*-*/ /* * Copyright (C) 1986, 1996 Philip L. Budne * * This file is part of "Phil's Finger Program". * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 1, or (at your option) * any later version. * */ # define HISTORY_RCSID "$Id: History.h,v 3.83 2003/11/08 02:58:42 phil Exp $" # ifdef __GNUC__x /* works in GCC 1.20 and up */ # define B(x) /* RMS does not believe in regression tests! */ # else /* __GNUC__x not defined */ # define B(x) : x # endif /* __GNUC__x not defined */ struct _JBVER { unsigned who B(3); /* 0=development group, 1=other digital */ /* 2,3,4 customer; 5,6,7 customer's user */ unsigned major B(9); unsigned minor B(6); # if 1 unsigned edit B(18); # else /* not 1 */ unsigned flag B(1); unsigned edit B(17); # endif /* not 1 */ }; /* * For the uninformed: * * This is the format TOPS-10 uses to store version numbers. Word * 0137 in low core -- The JOB DATa area (JOBDAT) is called .JBVER * * TOPS-20 uses it too, with minor perversions: major/minor edits are * displayed as major.minor (5.1 rather than 5A) If the high order bit * of edit is set (0400000) the low 17 bits are printed in decimal. * */ /**************************************************************** Pre-History: Nov 85 -- Work began with code that is now maketree and dofinger. Just printed current users nicely. Dec 85 -- enhanced ttylocs. Jan 86 -- Command line parsing added. 100 Wed May 21, 1986 Phil Start History file. Allow slash switches appended directly to unames. Create routine doswitch(). Files: args.c 101 Wed May 28, 1986 Phil Display last login host uppercase. Remove ".arpa" in undomain. Files: lastlog.c undomain.c 102 Thurs May 28, 1986 Phil Wrote my own getutmp(). Flush SYS V utmp.c Files: getut.c 103 Thurs May 28, 1986 Phil Massive cleanup. Add copyrights, make sure to use finger.h Display [n.n.n.n] Files: doremote.c .... **** given to sundar@mit-hermes **** 104 July 16, 1986 BZS Add SYSLOG option to fingerd.c 105 August 12, 1986 Phil Add ttyplace, ttyrandom options to ttyask.c 106 August 12, 1986 Phil Add -j option to force whoj output Files: args.c args.h 107 Weds Sept 3, 1986 Phil Merge in stuff for Umax (Encore Multimax 4.2) [under ifdef Umax] Files: luser.h getttyloc.c output.c getcommand.c readpr.c fingerd.c 108 Sat Sept 27, 1986 Phil Remove "On since" since it only applies to one login. Files: whois.c 109 Thus Oct 2, 1986 Phil Add hackery for "consdev" on sun. Does the right thing when console is really a printer on ttya, but not when workstation with a console window. Files: readpr.c getcommand.c 110 Thus Oct 2, 1986 Phil Add NETLOC and OTTYLOC conditionals. Files: getttyloc.c locname.c 111 Fri Oct 3, 1986 Phil Add (/L) sw_location -- ignore user ttyloc Files: getttyloc.c args.h args.c 112 Mon Oct 6, 1986 Phil Fix undomain File: undomain.c 113 Mon Oct 6, 1986 Phil Merge in working inq_stats code for Umax (encore) Files: undomain.c 114 Weds Oct 22, 1986 Phil Make getcommand() return struct pr. Print flag for suid programs. Make room for inquire group. Split off whoj.c and finger.c from output.c. Add ifdef lint around copyright in finger.h. Create inquire.c hook into inquire/holmes. Add fields in person struct, move p_Rc into p_flags. Files: whoj.c finger.c output.c finger.h inquire.c getperson.c 115 Wednesday October 28, 1986 Phil Create code to use mmap to read process table, and upage pagemaps. Code to read actual upage(s) does not work. (MAP UMAP1 UMAP2 in map.h). Performance win is barely noticeable Create names.c syms.h info.h. Read namelist into info struct and save as /etc/saved-finger-namelist. BIG win, bigger than any crock in readpr. Files: readpr.c names.c syms.h info.h map.h 116 Thursday October 29, 1986 Phil create ttycycle (ttyask -c[time]). Cycles thru ttylplaces sleeping for time seconds. Files: ttyask.c **** second version given to sundar@hermes **** 117 Saturday November 1, 1986 Phil Split readpr.c into kmem.c, readpr.c, ustruct.c Split pr.h into pr.h and kmem.h Files: getcommand.c readpr.c pr.h 118 Sunday November 1, 1986 Phil Add optional ttyrandom cycling (ttyask -r