again for some time.
.It Ic keepenv
The user's environment is maintained.
-The default is to reset the environment, except for the variables
-.Ev DISPLAY ,
+The default is to retain the variables
+.Ev DISPLAY
+and
+.Ev TERM
+from the invoking process, reset
.Ev HOME ,
.Ev LOGNAME ,
-.Ev MAIL ,
.Ev PATH ,
-.Ev TERM ,
-.Ev USER
+.Ev SHELL ,
and
-.Ev USERNAME .
+.Ev USER
+as appropriate for the target user, and discard the rest of the environment.
.It Ic setenv { Oo Ar variable ... Oc Oo Ar variable=value ... Oc Ic }
In addition to the variables mentioned above, keep the space-separated
specified variables.