From: utzoo!decvax!harpo!npois!alice!rabbit!pyuxmm!ggr Newsgroups: net.news.b Title: Real Names on a 4.0 USG system Article-I.D.: pyuxmm.131 Posted: Mon Jun 21 16:47:36 1982 Received: Thu Jun 24 02:16:33 1982 The gecos field on our USG 4.0 UNIX has the format: 59451-Guy Riddle(6420)P116 If your password file has the same format, the following change to ifuncs.c (the "2.10 6/8/82" version) will delete all the numeric garbage, placing only the user's name on the From line: 446a447 > char *s1; 453a455,462 > #ifdef USG > if((s1 = strchr(inbuf, '-')) == NULL) > return un; > strcpy(inbuf, s1+1); > if((s1 = strchr(inbuf, '(')) == NULL) > return un; > *s1 = '\0'; > #endif