talk.c (3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41) talk.c (8aed91ca2d46abbb70b137563a0854f53eec779c)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 60 unchanged lines hidden (view full) ---

69int
70main(argc, argv)
71 int argc;
72 char *argv[];
73{
74 (void) setlocale(LC_CTYPE, "");
75
76 get_names(argc, argv);
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 60 unchanged lines hidden (view full) ---

69int
70main(argc, argv)
71 int argc;
72 char *argv[];
73{
74 (void) setlocale(LC_CTYPE, "");
75
76 get_names(argc, argv);
77 setproctitle("");
77 check_writeable();
78 init_display();
79 open_ctl();
80 open_sockt();
81 start_msgs();
82 if (!check_local())
83 invite_remote();
84 end_msgs();
85 set_edit_chars();
86 talk();
87 return 0;
88}
78 check_writeable();
79 init_display();
80 open_ctl();
81 open_sockt();
82 start_msgs();
83 if (!check_local())
84 invite_remote();
85 end_msgs();
86 set_edit_chars();
87 talk();
88 return 0;
89}