Xin LI
3daadfc833
Move unistd.h includes to individual .c files and remove unnecessary
...
includes.
2009-12-11 23:23:57 +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
Luigi Rizzo
2233a14e50
remove whitespace at end of line
2003-07-04 20:44:25 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
Luigi Rizzo
8aed91ca2d
Clear local screen when ^D is typed.
...
Use setproctitle to remove arguments from 'ps' output.
MFC after: 3 days
2002-07-14 14:08:43 +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
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
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
Andrey A. Chernov
481f550e6c
Cast to unsigned char instead of unsigned
...
Cast ctype argument to unsigned char
1996-04-03 07:47:35 +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
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