Commit Graph

22 Commits

Author SHA1 Message Date
bde
0609531ab6 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
jb
09f4c25713 Add #include <string.h> to get prototype for memcpy(). 1998-02-15 04:15:47 +00:00
charnier
deff56dc01 Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().
1998-01-14 07:21:14 +00:00
charnier
ee20f297c2 Nm talk -> Nm. 1997-08-13 06:48:56 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 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.
1997-01-14 07:20:47 +00:00
peter
ab8678138f 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
3ca8ec42ef 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
c663bae3b7 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
ache
341755dd21 Cast to unsigned char instead of unsigned
Cast ctype argument to unsigned char
1996-04-03 07:47:35 +00:00
ache
ee6c90f5c0 Increment network byte order properly
Reviewed by: wollman
1996-03-12 10:23:30 +00:00
joerg
a12cf8aa0e 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
ache
088e7a6c48 Add setlocale LC_CTYPE 1995-10-24 06:02:24 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ache
b7b8244a6f Don't allow talk own messages wrap around on the screen, just
scroll them like normal user input/output does.
1995-03-28 19:48:45 +00:00
wollman
02a1b382cf Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
ache
319b403916 Add check for writeable terminal
Submitted by: mark@grondar.za (and slightly modified)
1994-12-30 16:09:31 +00:00
ache
debeeab73a Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.
1994-10-24 05:42:34 +00:00
ache
f6e61eb7fd 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
1994-10-24 03:48:44 +00:00
ache
3704208ad6 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
rgrimes
95020286b6 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 22:01:45 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00