summaryrefslogtreecommitdiff
path: root/usr.bin/talk/io.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-04-27 15:45:52 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-04-27 15:45:52 +0000
commit421895e2e32ad4c8081d2da40f1ab89f0244e709 (patch)
tree5a7f5e62109e349df834e08c1c4a5642ef5411d0 /usr.bin/talk/io.c
parentc81c723323599767d82c9030756091af9665f89f (diff)
Historically, talk pays no attention to hostnames, so if you've typed
'talk aaa@b' and are waiting for a response, and user aaa@c tries to talk to you, you'll be transparently connected. Now, talk will print the hostname of the remote party if it's not the same host that you asked for.
Diffstat (limited to 'usr.bin/talk/io.c')
-rw-r--r--usr.bin/talk/io.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index a39c34d4bd8..e1ddb6ec4bd 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.3 1996/06/26 05:40:23 deraadt Exp $ */
+/* $OpenBSD: io.c,v 1.4 1998/04/27 15:45:50 pjanzen Exp $ */
/* $NetBSD: io.c,v 1.4 1994/12/09 02:14:20 jtc Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: io.c,v 1.3 1996/06/26 05:40:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: io.c,v 1.4 1998/04/27 15:45:50 pjanzen Exp $";
#endif /* not lint */
/*
@@ -70,9 +70,13 @@ talk()
#ifdef NCURSES_VERSION
message("Connection established");
+ /*
+ * beep() doesn't flush output on its own.
+ */
beep();
beep();
beep();
+ refresh();
#else
message("Connection established\007\007\007");
#endif