Commit Graph

19 Commits

Author SHA1 Message Date
Pedro F. Giffuni
8a16b7a18f General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
2017-11-20 19:49:47 +00:00
Warner Losh
fbbd9655e5 Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
Ed Schouten
b8d48d6233 Add missing static keywords to talk(1) 2011-11-06 08:17:23 +00:00
Joel Dahl
da52b4caaf 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
2010-12-11 08:32:16 +00:00
Xin LI
b6d9e1f355 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.
2008-04-28 21:08:42 +00:00
Olivier Houchard
ec8ffccbdc Handle window resizing better.
Submitted by:	Cyril Nguyen Huu
Obtained from:	OpenBSD
2004-04-19 21:37:29 +00:00
Mark Murray
caa648017b WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().
2001-12-11 23:51:14 +00:00
Dima Dorfman
9582ea7e62 Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).
2001-06-24 23:22:14 +00:00
Peter Wemm
b34453922a talk depended on side effects of curses includes. 1999-08-30 08:21:17 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Philippe Charnier
20868061ee Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().
1998-01-14 07:21:14 +00:00
Peter Wemm
c3d9ef558c 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).
1996-12-28 20:44:58 +00:00
Peter Wemm
ec52662281 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
1996-08-20 00:31:37 +00:00
Peter Wemm
e151ec2315 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.
1996-08-19 19:42:00 +00:00
Joerg Wunsch
285926046a 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
1996-03-09 19:23:01 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Andrey A. Chernov
f3392428da Add check for writeable terminal
Submitted by: mark@grondar.za (and slightly modified)
1994-12-30 16:09:31 +00:00
Andrey A. Chernov
edee6d3816 Make talk ctype-aware, handle controns as tcsh does, use human-oriented
scroll, most of changes from 1.x
1994-09-20 08:07:52 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00