David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Mark Murray
4e030ba6cb
WARNS=2 fix, remove 'register' and use __FBSDID().
2001-12-02 20:13:42 +00:00
Andrey A. Chernov
f4d292b799
Don't attempt to parse %c
2001-03-21 18:43:49 +00:00
Philippe Charnier
4c86f3ad84
Spelling
...
Remove unused #includes
2001-02-06 20:13:48 +00:00
Ruslan Ermilov
1e832bf81d
-Wall cleanup.
...
PR: 22187
2000-10-23 12:18:34 +00:00
Ruslan Ermilov
0272ef9b3e
Do not allow `finger -m /somefile' as well.
2000-10-05 15:56:13 +00:00
Brian Somers
7ce8924adb
Don't allow finger /somefile, only allow filname expansions from
...
inside /etc/finger.conf
PR: 21704
2000-10-02 22:27:34 +00:00
Brian Somers
1b57e36589
Don't drop out when we've processed argc - 1 names.... arguments
...
may expand to more than one user.
PR: 21228
2000-09-12 21:58:31 +00:00
Brian Somers
475f25ebaf
Fix the -m option - broken by the last commit.
...
Submitted by: Mark Knight <markk@knigma.org>
2000-08-25 18:28:43 +00:00
Brian Somers
040864ac7a
Allow finger.conf to contain aliases for files that will be displayed
...
when fingered.
Submitted by: Mark Knight <markk@knigma.org>
2000-08-25 01:01:07 +00:00
Brian Somers
098c6e8747
Allow a /etc/finger.conf file that contains finger aliases
...
This allows people who's email address differs from their account name
to be fingerable.
Submitted by: Mark Knight <markk@knigma.org>
2000-08-17 10:59:17 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bill Fumerola
9ef5c48bef
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
David E. O'Brien
dd5288f3a5
Impliment elements of TCP Wrappers's `safe_finger'.
...
* if run by root (or root process) drop privs
* ensure output size is not infinate (net finger only)
* ensure output lines are not infinate in length (net finger only)
* do not allow finger client to run longer than 3 minutes (net finger only)
1999-05-08 00:46:06 +00:00
Philippe Charnier
b14d8277cc
Add rcsid, usage(). Silent -Wall. Use warn(3).
1997-07-02 06:34:51 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Peter Wemm
df3f5d9dd5
Merge from Lite2
1997-03-11 13:43:33 +00:00
Andras Olah
03801815df
Allow the user to disable the use of T/TCP by setting the -T option.
...
This option becomes useless when all TCP stacks are fixed out there.
1996-03-15 16:41:49 +00:00
Andrey A. Chernov
d1b2ad1a54
Change locale to LC_ALL, there is no bitmask
1995-10-26 11:03:08 +00:00
Andrey A. Chernov
dc675fc2e7
Add setlocale LC_TIME|LC_CTYPE
1995-10-24 04:18:45 +00:00
Andrey A. Chernov
c2ac9540cd
Fix finger not check all users ~/.nofinger, only for actually
...
matched. Close PR 539
Submitted by: tom@haven.uniserve.com
1995-06-21 23:54:43 +00:00
Jordan K. Hubbard
8829c73eb6
Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer
...
their privacy.
Submitted by: sef
1995-01-04 01:02:43 +00:00
Paul Traina
a5af661e23
Remove extra newline introduced in 44lite (oops)
1994-12-05 10:01:39 +00:00
Paul Traina
59be608802
Add code to pull options out of FINGER environment variable if present.
...
Yes, has same stupid bug as more(1), options must be specified as one
argument.
Submitted by: pst
1994-09-08 19:27:06 +00:00
Paul Traina
86641d8f9c
Install Luke's enhancements for finger.
...
By default, behave like the old ugly 4.4bsd finger and print office
information instead of remote login information.
It's an easy one line fix to make it behave like most other vendor's
fingers if we decide to change the default.
Reviewed by: pst
1994-09-07 07:22:41 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00