aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/talk
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270650 (this is what should have been committed in r273497):Enji Cooper2014-10-231-2/+2
| | | | | | | | | | | | | | Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks Phabric: D675 (as part of a larger diff) PR: 192762 Notes: svn path=/stable/10/; revision=273499
* MFC r263264 (by glebius):Enji Cooper2014-10-234-122/+143
| | | | | | | | | Make talk(1) capable of displaying UTF-8 characters. Sponsored by: Nginx, Inc. Notes: svn path=/stable/10/; revision=273496
* Bump date missed in r202756Eitan Adler2012-09-141-1/+1
| | | | | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days Notes: svn path=/head/; revision=240506
* Remove hand-written version of strcspn().Ed Schouten2012-01-031-2/+1
| | | | | | | | The code searches for the first occurence of @, : or !. Upon failure, it returns the index of \0. This is exactly what strcspn() does. Notes: svn path=/head/; revision=229386
* Spelling fixes for usr.bin/Ulrich Spörlein2011-12-302-3/+3
| | | | Notes: svn path=/head/; revision=228992
* Add missing static keywords to talk(1)Ed Schouten2011-11-064-4/+6
| | | | Notes: svn path=/head/; revision=227185
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-1114-56/+2
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Remove stale references to utmp(5) and its corresponding filenames.Ed Schouten2010-01-211-2/+2
| | | | | | | I removed utmp and its manpage, but not other manpages referring to it. Notes: svn path=/head/; revision=202756
* Move unistd.h includes to individual .c files and remove unnecessaryXin LI2009-12-119-2/+7
| | | | | | | includes. Notes: svn path=/head/; revision=200418
* Utilize strlcpy().Xin LI2009-02-211-6/+3
| | | | Notes: svn path=/head/; revision=188886
* ANSIfy function prototypes. While I am there, constify some parameters andXin LI2008-04-2813-61/+36
| | | | | | | | make use of C99 sparse initialization for static variables, this makes talk(1) to compile cleanly with WARNS=6. Notes: svn path=/head/; revision=178642
* Use socklen_t where appropriate.Stefan Farfeleder2005-03-111-1/+2
| | | | Notes: svn path=/head/; revision=143415
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Include missing headers.Stefan Farfeleder2005-02-092-0/+4
| | | | Notes: svn path=/head/; revision=141563
* Sort sections.Ruslan Ermilov2005-01-181-10/+10
| | | | Notes: svn path=/head/; revision=140420
* Document missing multibyte character support in utilities specifiedTim J. Robbins2004-07-031-1/+3
| | | | | | | by POSIX. Notes: svn path=/head/; revision=131511
* mdoc(7) policeBruce M Simpson2004-06-151-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=130533
* Change the default behaviour of talk(1) to use "localhost" as theBruce M Simpson2004-06-142-1/+18
| | | | | | | | | | | | | | | | | | | | | "machine name" in ntalkd(8) request packets, when the destination and source are local. This should make talk(1) use much more pleasant for those security- conscious individuals who have chosen to bind talkd to "localhost". Previous to this change, talk(1) would require that the hostname of the machine, as retrieved by gethostname(3), resolved to a valid and reachable IPv4 address, using gethostbyname(3). This makes talk(1) dependent on a valid host entry for "localhost" in /etc/hosts (or the Domain Name System). PR: bin/23178 Submitted by: angui.sh admin (with cleanups) Notes: svn path=/head/; revision=130494
* Do not attempt ro read more than sizeof(buf) from stdin.Olivier Houchard2004-05-101-0/+2
| | | | Notes: svn path=/head/; revision=129090
* Handle window resizing better.Olivier Houchard2004-04-193-0/+65
| | | | | | | | Submitted by: Cyril Nguyen Huu Obtained from: OpenBSD Notes: svn path=/head/; revision=128445
* 1. Use socklen_t instead of intColin Percival2004-03-211-4/+4
| | | | | | | | | 2. Compare socket(2) return code to -1, not <= 0. Obtained from: OpenBSD rev. 1.9 Notes: svn path=/head/; revision=127263
* Use the new style struct sockaddr instead of osockaddr in system callsTim J. Robbins2003-09-282-2/+11
| | | | | | | | | so that talk works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs Notes: svn path=/head/; revision=120550
* Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makesTim J. Robbins2003-09-281-1/+1
| | | | | | | | | | no function changes, but removes an unnecessary reference to a deprecated struct. Obtained from: NetBSD (thorpej) Notes: svn path=/head/; revision=120549
* remove whitespace at end of lineLuigi Rizzo2003-07-042-2/+2
| | | | Notes: svn path=/head/; revision=117238
* Add a reference to talkd(8) as a hint that talk(1) depends on aGiorgos Keramidas2003-01-231-1/+2
| | | | | | | | | service to work correctly. Inspired by: P. U. Kruppa <520023893678-0001@t-online.de> Notes: svn path=/head/; revision=109762
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-012-2/+2
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* mdoc(7) police: Deal with self-xrefs.Ruslan Ermilov2002-12-241-1/+1
| | | | Notes: svn path=/head/; revision=108257
* Remove local prototypes for main().Juli Mallett2002-08-191-2/+0
| | | | Notes: svn path=/head/; revision=102084
* mdoc fun: add a few more sentence breaks.Giorgos Keramidas2002-07-151-4/+8
| | | | Notes: svn path=/head/; revision=100048
* Clear local screen when ^D is typed.Luigi Rizzo2002-07-143-2/+24
| | | | | | | | | Use setproctitle to remove arguments from 'ps' output. MFC after: 3 days Notes: svn path=/head/; revision=99965
* nroff and pr no longer try to disallow messages.Tim J. Robbins2002-06-081-7/+1
| | | | Notes: svn path=/head/; revision=98046
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95124
* remove __PWarner Losh2002-03-222-28/+28
| | | | Notes: svn path=/head/; revision=92922
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm Notes: svn path=/head/; revision=90868
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.Mark Murray2002-02-081-1/+0
| | | | Notes: svn path=/head/; revision=90416
* WARNS=2 fixes with NO_WERROR set because of system-header originatingMark Murray2001-12-1114-105/+120
| | | | | | | warnings. Use __FBSDID(). Notes: svn path=/head/; revision=87710
* Add xref to wall(1).Ruslan Ermilov2001-11-201-0/+1
| | | | | | | | PR: docs/32128 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially) Notes: svn path=/head/; revision=86672
* Print the peer's name and address in the "Connection establish"Dima Dorfman2001-08-091-2/+25
| | | | | | | | | | | | message. Similar information is given by the talk daemon when a connection is requested, but that part isn't on the screen when the main "talk" screen appears, and sometimes it's nice to know who you're talking to. Reviewed by: ru Notes: svn path=/head/; revision=81346
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-07-261-1/+2
| | | | | | | | | | 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
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-242-0/+2
| | | | | | | builtints (e.g., exit, strcmp). Notes: svn path=/head/; revision=78733
* It may happen so that the local talk daemon is not running.Ruslan Ermilov2000-10-051-0/+1
| | | | | | | Let the user know... Notes: svn path=/head/; revision=66682
* Remove unneded -ltermcapAndrey A. Chernov2000-09-161-2/+2
| | | | Notes: svn path=/head/; revision=65910
* Fix a bug when talking to non-freebsd machines where carriage returnPaul Saab2000-07-111-0/+4
| | | | | | | | | | | | | | was being interperated and displayed as ^M on the remote side. Old curses used to change the behavior of the tty and how carriage return was interperated via STDIN. ncurses does this on a per-window basis within the library rather than using the tty modes. Since talk is bypassing ncurses, it was missing the conversion. Reviewed by: peter Notes: svn path=/head/; revision=62932
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | 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
* talk depended on side effects of curses includes.Peter Wemm1999-08-302-0/+2
| | | | Notes: svn path=/head/; revision=50636
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2814-14/+14
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Remove couple of 'extern int errno'. (They turned to something funny whenDmitrij Tejblum1999-02-141-4/+1
| | | | | | | <errno.h> included). Notes: svn path=/head/; revision=44026