summaryrefslogtreecommitdiff
path: root/usr.bin/chat
Commit message (Collapse)AuthorAgeFilesLines
* Fix a few mandoc issuesGordon Bergling2020-10-091-1/+2
| | | | | | | | | | | - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order - normalizing date format - AUTHORS section without An macro Notes: svn path=/head/; revision=366572
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Delete dead code in chat(8)Alan Somers2017-01-041-8/+1
| | | | | | | | | | | | | It's always been dead, ever since first import in 1994. It's still dead in OpenBSD's version, too. Reported by: Coverity CID: 270586 MFC after: 4 weeks Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=311288
* Fix off by one error that overflowed the rep_len array when doingDon Lewis2016-05-161-1/+1
| | | | | | | | | | | the final NUL termination. Reported by: Coverity CID: 1007617 MFC after: 1 week Notes: svn path=/head/; revision=299971
* chat(8): use NULL instead of zero for initializing a pointer.Pedro F. Giffuni2016-05-121-1/+1
| | | | Notes: svn path=/head/; revision=299500
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-042-359/+427
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=242545
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'. Notes: svn path=/head/; revision=241737
* | Minor mdoc fix.Joel Dahl2012-09-111-13/+13
| | | | | | | | Notes: svn path=/head/; revision=240370
* | mdocify the chat(8) manual page.Joel Dahl2012-09-101-332/+401
|/ | | | | | | Reviewed by: brueffer Notes: svn path=/head/; revision=240304
* Make sure that each va_start has one and only one matching va_end,Kevin Lo2012-05-291-0/+2
| | | | | | | especially in error cases. Notes: svn path=/head/; revision=236213
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Merge revisions 1.10 and 1.11 from DragonFly:Xin LI2008-03-071-68/+61
| | | | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=176888
* Rename logf --> chat_logf to avoid naming conflictsTim Kientzle2003-10-312-30/+29
| | | | | | | | | with GCC built-in (and with C90 reserved library name). Approved by: gordon (Mentor) Notes: svn path=/head/; revision=121784
* Replace -fno-builtin-logf with a -D argument to change the function name.Peter Wemm2003-10-301-1/+1
| | | | Notes: svn path=/head/; revision=121764
* Disclaim ownership of pppd/chat. It is vendor code, but has been badlyPeter Wemm2003-10-291-3/+3
| | | | | | | neglected here. Notes: svn path=/head/; revision=121701
* The math function logf() probably isn't doing us much good for loggingPeter Wemm2003-10-261-0/+1
| | | | | | | stuff. Add -fno-builtin-logf. Notes: svn path=/head/; revision=121544
* Big cleanup. Remove unused stuff, make closer to style(9).Mark Murray2003-08-221-183/+79
| | | | | | | OK'ed by: peter (long time ago) Notes: svn path=/head/; revision=119316
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
| | | | Notes: svn path=/head/; revision=102412
* Remove local prototypes for main().Juli Mallett2002-08-191-2/+0
| | | | Notes: svn path=/head/; revision=102084
* Revert last commit. Sorry for breaking thingsTom Rhodes2002-07-221-10/+10
| | | | Notes: svn path=/head/; revision=100532
* MFC: Fix some grammar, greater reduce diffs to HEADTom Rhodes2002-07-221-10/+10
| | | | Notes: svn path=/head/; revision=100529
* Remove GCC-specific flags.Mark Murray2002-04-281-1/+0
| | | | Notes: svn path=/head/; revision=95653
* remove __PWarner Losh2002-03-221-62/+34
| | | | Notes: svn path=/head/; revision=92920
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-261-5/+5
| | | | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> Notes: svn path=/head/; revision=80381
* Remove whitespace at EOL.Dima Dorfman2001-07-151-7/+7
| | | | Notes: svn path=/head/; revision=79755
* Eliminate troff(1) warnings that were hiding some useful text.Ruslan Ermilov2001-07-121-10/+10
| | | | Notes: svn path=/head/; revision=79633
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-2/+1
| | | | Notes: svn path=/head/; revision=74848
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-2/+4
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-77/+154
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Fix a buffer overflow due to sending strings >1k in length. This is unlikelyKris Kennaway1999-11-251-7/+9
| | | | | | | | | to be a security problem, but it's not totally impossible. OpenBSD take note Reviewed by: imp Notes: svn path=/head/; revision=53686
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-062-2/+4
| | | | Notes: svn path=/head/; revision=41568
* Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth)Peter Wemm1998-06-232-7/+13
| | | | Notes: svn path=/head/; revision=37126
* Spelling corrections.Joseph Koshy1998-06-031-3/+3
| | | | | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36601
* merge ppp-2.3.3 changes onto mainlinePeter Wemm1998-03-212-726/+732
| | | | Notes: svn path=/head/; revision=34766
* -Wall cleanup.Alexander Langer1997-12-291-2/+2
| | | | Notes: svn path=/head/; revision=32069
* Cleanup and remove the not-too-useful examples. The current versionsPeter Wemm1997-08-227-368/+4
| | | | | | | should be in share/examples if anywhere. Notes: svn path=/head/; revision=28600
* Merge ppp-2.3.1 changes onto mainlinePeter Wemm1997-08-222-119/+614
| | | | Notes: svn path=/head/; revision=28597
* Remove use of program_name variable.Philippe Charnier1997-06-241-9/+7
| | | | Notes: svn path=/head/; revision=26880
* make it so that chat doesn't fail when it can't get terminal params..John-Mark Gurney1997-04-021-2/+3
| | | | | | | | | | this allows it to work on non-tty input... also don't warn when this happens as it could get noisy... Silence is Acceptance Notes: svn path=/head/; revision=24541
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673