Ingolf Koch writes:
>
> It appears that when using pserver together with a
> CVSROOT/passwd file which maps cvs users to different
> UNIX user ids (i.e. with three entries per line), it
> is not possible by programs called e.g. on commit
> automatically to find out which _cvs_ user did the
> commit. It is only possible to investigate the USER
> or LOGNAME environment variables which contain the
> effective (UNIX) user, the server has switched to.
CVS has an internal variable ($USER) that contains the cvs user name --
you just have to pass it to the script rather than using environment
variables. See "Expansions in administrative files" and "Loginfo
example" in the Cederqvist manual for more information and a complete
example of doing exactly this.
-Larry Jones
I always send Grandma a thank-you note right away. ...Ever since she
sent me that empty box with the sarcastic note saying she was just
checking to see if the Postal Service was still working. -- Calvin