Add support for a .publickey file.

Submitted by:	Svein Skogen <tds@nsn.no>
Reviewed by:	brian, ru
This commit is contained in:
des 2000-12-29 11:39:25 +00:00
parent 23dcb3f38a
commit 8b067dbf44
3 changed files with 9 additions and 4 deletions

View File

@ -95,9 +95,10 @@ described for the
option as well as the user's home directory, home phone number, login
shell, mail status, and the contents of the files
.Dq Pa .forward ,
.Dq Pa .plan
and
.Dq Pa .plan ,
.Dq Pa .project
and
.Dq Pa .publickey
from the user's home directory.
.Pp
If idle time is at least a minute and less than a day, it is
@ -130,9 +131,10 @@ option of
.Nm
from displaying the contents of the
.Dq Pa .forward ,
.Dq Pa .plan
and
.Dq Pa .plan ,
.Dq Pa .project
and
.Dq Pa .publickey
files.
.It Fl m
Prevent matching of

View File

@ -95,6 +95,8 @@ lflag_print()
(void)show_text(pn->dir, _PATH_PROJECT, "Project");
if (!show_text(pn->dir, _PATH_PLAN, "Plan"))
(void)printf("No Plan.\n");
(void)show_text(pn->dir,
_PATH_PUBLICKEY, "Public key");
}
}
}

View File

@ -31,6 +31,7 @@
#define _PATH_FORWARD ".forward"
#define _PATH_PLAN ".plan"
#define _PATH_PROJECT ".project"
#define _PATH_PUBLICKEY ".publickey"
#ifndef _PATH_FINGERCONF
#define _PATH_FINGERCONF "/etc/finger.conf"