summaryrefslogtreecommitdiff
path: root/usr.bin/talk/io.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-06-10 21:41:27 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-06-10 21:41:27 +0000
commit53c5905b071647ba7a61fb1493f9458f0cc258d9 (patch)
tree591850e1c321d5a60562a8e4a85a15cc12da23b0 /usr.bin/talk/io.c
parent17b34a0b85355a48dfd8fe91d8fa349f23b8143b (diff)
Use beep() with ncurses
Use hline() with ncurses
Diffstat (limited to 'usr.bin/talk/io.c')
-rw-r--r--usr.bin/talk/io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index da7c100b543..6e6f1b62f5e 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -67,7 +67,14 @@ talk()
char buf[BUFSIZ];
struct timeval wait;
+#ifdef NCURSES_VERSION
+ message("Connection established");
+ beep();
+ beep();
+ beep();
+#else
message("Connection established\007\007\007");
+#endif
current_line = 0;
sockt_mask = (1<<sockt);