|
|
Power 6/32 Unix version 1.21
/* $Header: /var/lib/cvsd/repos/cci/cci/usr/src/ucb/talk/talk.c,v 1.1.1.1 2019/07/28 12:29:26 root Exp $ */
#include "talk.h"
/*
* talk: A visual form of write. Using sockets, a two way
* connection is set up between the two people talking.
* With the aid of curses, the screen is split into two
* windows, and each users text is added to the window,
* one character at a time...
*
* Written by Kipp Hickman
*
* Modified to run under 4.1a by Clem Cole and Peter Moore
* Modified to run between hosts by Peter Moore, 8/19/82
* Modified to run under 4.1c by Peter Moore 3/17/83
*/
/*
* Changes:
* . add global variable vaxbyteorder which specifies if outgoing
* requests should be byte-ordered vax style.
* See other routines for different changes.
*/
int vaxbyteorder = 1; /* default is vax-style byte-order */
#ifdef DEBUG
int debug = 1;
#else
int debug = 0;
#endif
main(argc, argv)
int argc;
char *argv[];
{
get_names(argc, argv);
init_display();
open_ctl();
open_sockt();
start_msgs();
if ( !check_local() ) {
invite_remote();
}
end_msgs();
set_edit_chars();
talk();
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.