*** masterform.c_orig Tue Sep 12 09:14:12 1995 --- masterform.c Tue Sep 19 14:59:16 1995 *************** *** 844,847 **** --- 844,848 ---- /* if no missing data, go ahead with post */ else { + char *tempname; /*create a temporary file to write to*/ sprintf (tempfile, "/tmp/techrep%d.XXXXXX", getpid()); *************** *** 855,858 **** --- 856,865 ---- if (comments) fprintf (fp, "Comments: %s\n", comments); + + if (tempname=getenv("REMOTE_HOST")) + fprintf (fp, "Remote host: %s\n", tempname); + + if (tempname=getenv("REMOTE_IDENT")) + fprintf (fp, "Remote ident: %s\n", tempname); fprintf (fp, "### Begin Citation ### Do not delete this line ###\n");