Commit Graph

46 Commits

Author SHA1 Message Date
Ulrich Spörlein
0d9deed52c mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
Xin LI
18ebe77959 Merge revisions 1.10 and 1.11 from DragonFly:
- Use real getopt() handling instead of the hand-rolled and
   IOCCC-worthy "Micro getopt()" macros, plus clean up to the
   option handling code:
    * Sort the options in the switch statement;
    * Plug piddling memory leaks when processing repeated options
      by freeing strings before allocating them for a second time;
    * Die with a fatal error if the requested report file cannot
      be opened for appending;
    * Don't call init() before usage() (to prevent the usage
      message being mangled by changes to the terminal settings;)
 - Clean up the usage message, both in usage() and in the main
   program comment, both stylistically (sort and combine options)
   and for accuracy (following the manual page, make note of the -s
   and -S flags, and use the term 'send' instead of 'say' to reduce
   confusion (SAY is the name of a command for output to the user,
   not the connection.))

Obtained from:	DragonFly
2008-03-07 00:01:19 +00:00
Tim Kientzle
8491f23424 Rename logf --> chat_logf to avoid naming conflicts
with GCC built-in (and with C90 reserved library name).

Approved by:	gordon (Mentor)
2003-10-31 06:22:03 +00:00
Peter Wemm
4a4c2efa6a Replace -fno-builtin-logf with a -D argument to change the function name. 2003-10-30 22:53:56 +00:00
Peter Wemm
144b6720d9 Disclaim ownership of pppd/chat. It is vendor code, but has been badly
neglected here.
2003-10-29 19:24:04 +00:00
Peter Wemm
35f47c5002 The math function logf() probably isn't doing us much good for logging
stuff.  Add -fno-builtin-logf.
2003-10-26 04:49:58 +00:00
Mark Murray
ee6b974c41 Big cleanup. Remove unused stuff, make closer to style(9).
OK'ed by:	peter (long time ago)
2003-08-22 17:47:40 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Philippe Charnier
93b0017f88 Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
Juli Mallett
3a7fc8ce59 Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
Tom Rhodes
31352a12bf Revert last commit. Sorry for breaking things 2002-07-22 21:45:16 +00:00
Tom Rhodes
623bc624b0 MFC: Fix some grammar, greater reduce diffs to HEAD 2002-07-22 21:14:16 +00:00
Mark Murray
5666a04546 Remove GCC-specific flags. 2002-04-28 13:53:38 +00:00
Warner Losh
f1bb2cd2aa remove __P 2002-03-22 01:22:50 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov
96e0c91959 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:16:48 +00:00
Ruslan Ermilov
dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Sheldon Hearn
4e86fcacf6 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
Sheldon Hearn
87faa07bec Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Kris Kennaway
4e83a8fef4 Fix a buffer overflow due to sending strings >1k in length. This is unlikely
to be a security problem, but it's not totally impossible. OpenBSD take note

Reviewed by:	imp
1999-11-25 07:28:54 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Peter Wemm
7288c50357 Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth) 1998-06-23 21:58:41 +00:00
Joseph Koshy
9595a75afa Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
Peter Wemm
01c855ca0a merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
Alexander Langer
d7d1005304 -Wall cleanup. 1997-12-29 00:09:06 +00:00
Peter Wemm
54c521fbd8 Cleanup and remove the not-too-useful examples. The current versions
should be in share/examples if anywhere.
1997-08-22 15:42:33 +00:00
Peter Wemm
3d793cf175 Merge ppp-2.3.1 changes onto mainline 1997-08-22 15:24:36 +00:00
Philippe Charnier
afaeb55344 Remove use of program_name variable. 1997-06-24 06:52:33 +00:00
John-Mark Gurney
39746e4630 make it so that chat doesn't fail when it can't get terminal params..
this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
1997-04-02 09:55:26 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Alexander Langer
f3792cedc3 Typo fix.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-12-15 15:14:26 +00:00
Mike Pritchard
6abc8fd6cc Correct a typo.
Closes PR# 2217.
1996-12-15 07:34:07 +00:00
Mike Pritchard
9ef62d7c38 Document how chat logis it information via syslog.
Submitted by:	Partially based on a patch by Mark Diekhans
1996-07-03 02:27:30 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
9f65f104f5 Merge in changes from ppp-2.2's chat onto the mainline... 1995-10-31 23:28:29 +00:00
Peter Wemm
698ac68e11 This commit was generated by cvs2svn to compensate for changes in r11987,
which included commits to RCS files with non-trunk default branches.
1995-10-31 23:07:20 +00:00
Peter Wemm
2253b28816 Vendor branch import of chat from ppp-2.2 package.. 1995-10-31 23:07:20 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Andrey A. Chernov
338bca2c5e Use proper device names.
Remove fix-cua script, does nothing good.
1994-12-19 01:22:21 +00:00
Andrey A. Chernov
4fcbc726d9 Use proper dialout device name 1994-12-19 01:14:58 +00:00
Andrey A. Chernov
322c962402 Use proper lock dir name 1994-12-19 01:02:11 +00:00
Andreas Schulz
e82f07e12e Changed one uucico(1) to uucico(8). 1994-12-12 00:19:19 +00:00
Lars Fredriksen
9b1aec4804 chat for ppp, from ppp 2.1.2 1994-11-12 05:25:32 +00:00