diff options
Diffstat (limited to 'usr.bin/finger/finger.1')
-rw-r--r-- | usr.bin/finger/finger.1 | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/usr.bin/finger/finger.1 b/usr.bin/finger/finger.1 index 069f9cd..306aa74 100644 --- a/usr.bin/finger/finger.1 +++ b/usr.bin/finger/finger.1 @@ -39,7 +39,7 @@ .Nd user information lookup program .Sh SYNOPSIS .Nm finger -.Op Fl lmsp +.Op Fl lmpsho .Op Ar user ... .Op Ar user@host ... .Sh DESCRIPTION @@ -53,24 +53,41 @@ Options are: .Nm Finger displays the user's login name, real name, terminal name and write status (as a ``*'' before the terminal name if write permission is -denied), idle time, login time, office location and office phone -number. +denied), idle time, login time, and either office location and office +phone number, or the remote host. If +.Fl h +is given, the remote host is printed (the default.) If +.Fl o +is given, the office location and office phone number is printed +instead. .Pp Idle time is in minutes if it is a single integer, hours and minutes if a ``:'' is present, or days if a ``d'' is present. -Login time is displayed as month, day, hours and minutes, unless -more than six months ago, in which case the year is displayed rather -than the hours and minutes. +Login time is displayed as the dayname if less than 6 days, else month, day; +hours and minutes, unless more than six months ago, in which case the year +is displayed rather than the hours and minutes. .Pp Unknown devices as well as nonexistent idle and login times are displayed as single asterisks. .Pp +.It Fl h +When used in conjunction with the +.Fl s +option, the name of the remote host is displayed instead of the office +location and office phone. +.Pp +.It Fl o +When used in conjunction with the +.Fl s +option, the office location and office phone information is displayed +instead of the name of the remote host. +.Pp .It Fl l Produces a multi-line format displaying all of the information described for the .Fl s option as well as the user's home directory, home phone number, login -shell, and the contents of the files +shell, mail status, and the contents of the files .Dq Pa .forward , .Dq Pa .plan and @@ -85,6 +102,7 @@ Phone numbers specified as eleven digits are printed as ``+N-NNN-NNN-NNNN''. Numbers specified as ten or seven digits are printed as the appropriate subset of that string. Numbers specified as five digits are printed as ``xN-NNNN''. +Numbers specified as four digits are printed as ``xNNNN''. .Pp If write permission is denied to the device, the phrase ``(messages off)'' is appended to the line containing the device name. @@ -93,6 +111,11 @@ One entry per user is displayed with the option; if a user is logged on multiple times, terminal information is repeated once per login. .Pp +Mail status is shown as ``No Mail.'' if there is no mail at all, ``Mail +last read DDD MMM ## HH:MM YYYY (TZ)'' if the person has looked at their +mailbox since new mail arriving, or ``New mail received ...'', ``Unread +since ...'' if they have new mail. +.Pp .It Fl p Prevents the |