History log of /freebsd-10.0-release/usr.bin/talk/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


240506 14-Sep-2012 eadler

Bump date missed in r202756

PR: docs/171624
Submitted by: bdrewery
Approved by: gabor
MFC after: 3 days


229386 03-Jan-2012 ed

Remove hand-written version of strcspn().

The code searches for the first occurence of @, : or !. Upon failure, it
returns the index of \0. This is exactly what strcspn() does.


228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


227185 06-Nov-2011 ed

Add missing static keywords to talk(1)


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
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


202756 21-Jan-2010 ed

Remove stale references to utmp(5) and its corresponding filenames.

I removed utmp and its manpage, but not other manpages referring to it.


200418 11-Dec-2009 delphij

Move unistd.h includes to individual .c files and remove unnecessary
includes.


188886 21-Feb-2009 delphij

Utilize strlcpy().


178642 28-Apr-2008 delphij

ANSIfy function prototypes. While I am there, constify some parameters and
make use of C99 sparse initialization for static variables, this makes talk(1)
to compile cleanly with WARNS=6.


143415 11-Mar-2005 stefanf

Use socklen_t where appropriate.


141846 13-Feb-2005 ru

Expand *n't contractions.


141563 09-Feb-2005 stefanf

Include missing headers.


140420 18-Jan-2005 ru

Sort sections.


131511 03-Jul-2004 tjr

Document missing multibyte character support in utilities specified
by POSIX.


130533 15-Jun-2004 bms

mdoc(7) police

Submitted by: ru


130494 14-Jun-2004 bms

Change the default behaviour of talk(1) to use "localhost" as the
"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)


129090 10-May-2004 cognet

Do not attempt ro read more than sizeof(buf) from stdin.


128445 19-Apr-2004 cognet

Handle window resizing better.

Submitted by: Cyril Nguyen Huu
Obtained from: OpenBSD


127263 21-Mar-2004 cperciva

1. Use socklen_t instead of int
2. Compare socket(2) return code to -1, not <= 0.

Obtained from: OpenBSD rev. 1.9


120550 28-Sep-2003 tjr

Use the new style struct sockaddr instead of osockaddr in system calls
so that talk works without COMPAT_43.

Obtained from: NetBSD (christos), Rumi Szabolcs


120549 28-Sep-2003 tjr

Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makes
no function changes, but removes an unnecessary reference to a
deprecated struct.

Obtained from: NetBSD (thorpej)


117238 04-Jul-2003 luigi

remove whitespace at end of line


109762 23-Jan-2003 keramida

Add a reference to talkd(8) as a hint that talk(1) depends on a
service to work correctly.

Inspired by: P. U. Kruppa <520023893678-0001@t-online.de>


108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


108257 24-Dec-2002 ru

mdoc(7) police: Deal with self-xrefs.


102084 19-Aug-2002 jmallett

Remove local prototypes for main().


100048 15-Jul-2002 keramida

mdoc fun: add a few more sentence breaks.


99965 14-Jul-2002 luigi

Clear local screen when ^D is typed.
Use setproctitle to remove arguments from 'ps' output.

MFC after: 3 days


98046 08-Jun-2002 tjr

nroff and pr no longer try to disallow messages.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


92922 22-Mar-2002 imp

remove __P


90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
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


90416 08-Feb-2002 markm

Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.


87710 11-Dec-2001 markm

WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().


86672 20-Nov-2001 ru

Add xref to wall(1).

PR: docs/32128
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)


81346 09-Aug-2001 dd

Print the peer's name and address in the "Connection establish"
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


80381 26-Jul-2001 sheldonh

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>


79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


78733 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).


66682 05-Oct-2000 ru

It may happen so that the local talk daemon is not running.
Let the user know...


65910 16-Sep-2000 ache

Remove unneded -ltermcap


62932 11-Jul-2000 ps

Fix a bug when talking to non-freebsd machines where carriage return
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


57670 01-Mar-2000 sheldonh

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.


50636 30-Aug-1999 peter

talk depended on side effects of curses includes.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
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


44026 14-Feb-1999 dt

Remove couple of 'extern int errno'. (They turned to something funny when
<errno.h> included).


37453 06-Jul-1998 bde

Fixed printf format errors.


33359 15-Feb-1998 jb

Add #include <string.h> to get prototype for memcpy().


32503 14-Jan-1998 charnier

Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().


28151 13-Aug-1997 charnier

Nm talk -> Nm.


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

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.


20988 28-Dec-1996 peter

Enable idlok() in both windows. This is actually a no-op for libcurses
(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).


17698 20-Aug-1996 peter

If running under a typical sysv-style curses, including ncurses, use
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


17676 19-Aug-1996 peter

Update some ancient warts in talk:
- 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.


15022 03-Apr-1996 ache

Cast to unsigned char instead of unsigned
Cast ctype argument to unsigned char


14585 12-Mar-1996 ache

Increment network byte order properly
Reviewed by: wollman


14443 09-Mar-1996 joerg

Make talk automagically find out the interface IP address where the
remote peer will be connected through. This avoids the ``Checking for
invitation on caller's machine'' problem for multi-homed hosts.

Thanks to: Garrett, for his `find_interface' example


11764 24-Oct-1995 ache

Add setlocale LC_CTYPE


8874 30-May-1995 rgrimes

Remove trailing whitespace.


7451 28-Mar-1995 ache

Don't allow talk own messages wrap around on the screen, just
scroll them like normal user input/output does.


6594 21-Feb-1995 wollman

Not sure why this one was -lcompat since it doesn't reference anything in
it.


5297 30-Dec-1994 ache

Add check for writeable terminal
Submitted by: mark@grondar.za (and slightly modified)


3829 24-Oct-1994 ache

Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.


3823 24-Oct-1994 ache

Remove undocumented talk behaviour, when names like
aa.bb aa:bb and aa!bb treated as user+host and not as local user
names (especially aa.bb is common case).
Only @ is valid user/host separator according to manpage.
Pointed-by: doctor@dream.demos.su


2929 20-Sep-1994 ache

Make talk ctype-aware, handle controns as tcsh does, use human-oriented
scroll, most of changes from 1.x


2679 11-Sep-1994 rgrimes

Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.