|
|
1.1 ! root 1: /* $Header: talk.c 1.3 83/04/23 02:08:25 moore Exp $ */ ! 2: ! 3: #include "talk.h" ! 4: ! 5: /* ! 6: * talk: A visual form of write. Using sockets, a two way ! 7: * connection is set up between the two people talking. ! 8: * With the aid of curses, the screen is split into two ! 9: * windows, and each users text is added to the window, ! 10: * one character at a time... ! 11: * ! 12: * Written by Kipp Hickman ! 13: * ! 14: * Modified to run under 4.1a by Clem Cole and Peter Moore ! 15: * Modified to run between hosts by Peter Moore, 8/19/82 ! 16: * Modified to run under 4.1c by Peter Moore 3/17/83 ! 17: */ ! 18: ! 19: main(argc, argv) ! 20: int argc; ! 21: char *argv[]; ! 22: { ! 23: get_names(argc, argv); ! 24: ! 25: init_display(); ! 26: ! 27: open_ctl(); ! 28: open_sockt(); ! 29: ! 30: start_msgs(); ! 31: ! 32: if ( !check_local() ) { ! 33: invite_remote(); ! 34: } ! 35: ! 36: end_msgs(); ! 37: ! 38: set_edit_chars(); ! 39: ! 40: talk(); ! 41: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.