Annotation of 43BSD/old/talk/talk.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1983 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  */
        !             6: 
        !             7: #ifndef lint
        !             8: char copyright[] =
        !             9: "@(#) Copyright (c) 1983 Regents of the University of California.\n\
        !            10:  All rights reserved.\n";
        !            11: #endif not lint
        !            12: 
        !            13: #ifndef lint
        !            14: static char sccsid[] = "@(#)talk.c     5.1 (Berkeley) 6/6/85";
        !            15: #endif not lint
        !            16: 
        !            17: #include "talk.h"
        !            18: 
        !            19: /*
        !            20:  * talk:       A visual form of write. Using sockets, a two way 
        !            21:  *             connection is set up between the two people talking. 
        !            22:  *             With the aid of curses, the screen is split into two 
        !            23:  *             windows, and each users text is added to the window,
        !            24:  *             one character at a time...
        !            25:  *
        !            26:  *             Written by Kipp Hickman
        !            27:  *             
        !            28:  *             Modified to run under 4.1a by Clem Cole and Peter Moore
        !            29:  *             Modified to run between hosts by Peter Moore, 8/19/82
        !            30:  *             Modified to run under 4.1c by Peter Moore 3/17/83
        !            31:  */
        !            32: 
        !            33: main(argc, argv)
        !            34:        int argc;
        !            35:        char *argv[];
        !            36: {
        !            37: 
        !            38:        get_names(argc, argv);
        !            39:        init_display();
        !            40:        open_ctl();
        !            41:        open_sockt();
        !            42:        start_msgs();
        !            43:        if (!check_local() )
        !            44:                invite_remote();
        !            45:        end_msgs();
        !            46:        set_edit_chars();
        !            47:        talk();
        !            48: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.