Commit Graph

30 Commits

Author SHA1 Message Date
ru
1e41fdc2cf It may happen so that the local talk daemon is not running.
Let the user know...
2000-10-05 17:39:01 +00:00
ache
ac8e5477e1 Remove unneded -ltermcap 2000-09-16 03:30:50 +00:00
ps
bd64605db3 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
2000-07-11 01:31:39 +00:00
sheldonh
49c4458c80 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.
2000-03-01 12:20:22 +00:00
peter
b059faadfe talk depended on side effects of curses includes. 1999-08-30 08:21:17 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb 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
1999-07-12 20:24:20 +00:00
dt
d17e2b0643 Remove couple of 'extern int errno'. (They turned to something funny when
<errno.h> included).
1999-02-14 22:22:54 +00:00
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