summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk
Commit message (Collapse)AuthorAgeFilesLines
* Use socklen_t where appropriate.stefanf2005-03-111-1/+2
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Include missing headers.stefanf2005-02-092-0/+4
|
* Sort sections.ru2005-01-181-10/+10
|
* Document missing multibyte character support in utilities specifiedtjr2004-07-031-1/+3
| | | | by POSIX.
* mdoc(7) policebms2004-06-151-1/+1
| | | | Submitted by: ru
* Change the default behaviour of talk(1) to use "localhost" as thebms2004-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)
* Do not attempt ro read more than sizeof(buf) from stdin.cognet2004-05-101-0/+2
|
* Handle window resizing better.cognet2004-04-193-0/+65
| | | | | Submitted by: Cyril Nguyen Huu Obtained from: OpenBSD
* 1. Use socklen_t instead of intcperciva2004-03-211-4/+4
| | | | | | 2. Compare socket(2) return code to -1, not <= 0. Obtained from: OpenBSD rev. 1.9
* Use the new style struct sockaddr instead of osockaddr in system callstjr2003-09-282-2/+11
| | | | | | so that talk works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs
* Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makestjr2003-09-281-1/+1
| | | | | | | no function changes, but removes an unnecessary reference to a deprecated struct. Obtained from: NetBSD (thorpej)
* remove whitespace at end of lineluigi2003-07-042-2/+2
|
* Add a reference to talkd(8) as a hint that talk(1) depends on akeramida2003-01-231-1/+2
| | | | | | service to work correctly. Inspired by: P. U. Kruppa <520023893678-0001@t-online.de>
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-2/+2
| | | | especially in troff files.
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-1/+1
|
* Remove local prototypes for main().jmallett2002-08-191-2/+0
|
* mdoc fun: add a few more sentence breaks.keramida2002-07-151-4/+8
|
* Clear local screen when ^D is typed.luigi2002-07-143-2/+24
| | | | | | Use setproctitle to remove arguments from 'ps' output. MFC after: 3 days
* nroff and pr no longer try to disallow messages.tjr2002-06-081-7/+1
|
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* remove __Pimp2002-03-222-28/+28
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-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
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* WARNS=2 fixes with NO_WERROR set because of system-header originatingmarkm2001-12-1114-105/+120
| | | | warnings. Use __FBSDID().
* Add xref to wall(1).ru2001-11-201-0/+1
| | | | | PR: docs/32128 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
* Print the peer's name and address in the "Connection establish"dd2001-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
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-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>
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Include missing header files which define functions for which gcc hasdd2001-06-242-0/+2
| | | | builtints (e.g., exit, strcmp).
* It may happen so that the local talk daemon is not running.ru2000-10-051-0/+1
| | | | Let the user know...
* Remove unneded -ltermcapache2000-09-161-2/+2
|
* Fix a bug when talking to non-freebsd machines where carriage returnps2000-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
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* talk depended on side effects of curses includes.peter1999-08-302-0/+2
|
* $Id$ -> $FreeBSD$peter1999-08-2814-14/+14
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-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
* Remove couple of 'extern int errno'. (They turned to something funny whendt1999-02-141-4/+1
| | | | <errno.h> included).
* Fixed printf format errors.bde1998-07-061-2/+2
|
* Add #include <string.h> to get prototype for memcpy().jb1998-02-151-1/+2
|
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andcharnier1998-01-1412-60/+82
| | | | add usage().
* Nm talk -> Nm.charnier1997-08-131-3/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | 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.
* Enable idlok() in both windows. This is actually a no-op for libcursespeter1996-12-281-0/+2
| | | | | | (which doesn't use the setting at all), but when linking with recent versions of libncurses, ncurses screws up without it for some reason (presumably a ncurses bug).
* If running under a typical sysv-style curses, including ncurses, usepeter1996-08-201-3/+5
| | | | | | | | hline() to draw the window split rather than fudging it with dashes. This causes the line to be drawn in line-draw characters if the terminal description has them. Suggested by: ache
* Update some ancient warts in talk:peter1996-08-193-20/+25
| | | | | | | | | | - use termios, not sgtty - dont use _putchar(), that was a BSD-curses specific feature not in other curses packages (such as ncurses) - use sigaction, not sigvec while I'm there - box() does different things under sysv/ncurses on 1-line high windows, and BSD-curses doesn't have hline(), so do it by adding characters instead. That works on both styles of curses.
* Cast to unsigned char instead of unsignedache1996-04-031-2/+2
| | | | Cast ctype argument to unsigned char
* Increment network byte order properlyache1996-03-121-3/+3
| | | | Reviewed by: wollman
OpenPOWER on IntegriCloud