diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
| commit | 7799f52a32f592a7efe259bc3411ba52d13db797 (patch) | |
| tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/talk | |
| parent | 5ebc7e6281887681c3a348a5a4c902e262ccd656 (diff) | |
Notes
Diffstat (limited to 'usr.bin/talk')
| -rw-r--r-- | usr.bin/talk/ctl.c | 2 | ||||
| -rw-r--r-- | usr.bin/talk/ctl_transact.c | 2 | ||||
| -rw-r--r-- | usr.bin/talk/init_disp.c | 6 | ||||
| -rw-r--r-- | usr.bin/talk/invite.c | 4 | ||||
| -rw-r--r-- | usr.bin/talk/io.c | 8 | ||||
| -rw-r--r-- | usr.bin/talk/look_up.c | 6 | ||||
| -rw-r--r-- | usr.bin/talk/msgs.c | 2 | ||||
| -rw-r--r-- | usr.bin/talk/talk.c | 8 |
8 files changed, 19 insertions, 19 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c index 250cbc10d478b..18b0c5c2aed54 100644 --- a/usr.bin/talk/ctl.c +++ b/usr.bin/talk/ctl.c @@ -81,7 +81,7 @@ open_sockt() } /* open the ctl socket */ -open_ctl() +open_ctl() { int length; diff --git a/usr.bin/talk/ctl_transact.c b/usr.bin/talk/ctl_transact.c index 73ee23b840377..512e040de7c2b 100644 --- a/usr.bin/talk/ctl_transact.c +++ b/usr.bin/talk/ctl_transact.c @@ -90,7 +90,7 @@ ctl_transact(target, msg, type, rp) } } while (nready == 0); /* - * Keep reading while there are queued messages + * Keep reading while there are queued messages * (this is not necessary, it just saves extra * request/acknowledgements being sent) */ diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c index ee9955600e282..e50b9e891babd 100644 --- a/usr.bin/talk/init_disp.c +++ b/usr.bin/talk/init_disp.c @@ -50,7 +50,7 @@ static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94"; #include <err.h> #include "talk.h" -/* +/* * Make sure the callee can write to the screen */ void check_writeable() @@ -66,7 +66,7 @@ void check_writeable() errx(1, "The callee cannot write to this terminal, use \"mesg y\"."); } -/* +/* * Set up curses, catch the appropriate signals, * and build the various windows. */ @@ -119,7 +119,7 @@ set_edit_chars() int cc; struct sgttyb tty; struct ltchars ltc; - + ioctl(0, TIOCGETP, &tty); ioctl(0, TIOCGLTC, (struct sgttyb *)<c); my_win.cerase = tty.sg_erase; diff --git a/usr.bin/talk/invite.c b/usr.bin/talk/invite.c index 16fc4e6038845..d7c33f341aeb4 100644 --- a/usr.bin/talk/invite.c +++ b/usr.bin/talk/invite.c @@ -49,13 +49,13 @@ static char sccsid[] = "@(#)invite.c 8.1 (Berkeley) 6/6/93"; /* * There wasn't an invitation waiting, so send a request containing * our sockt address to the remote talk daemon so it can invite - * him + * him */ /* * The msg.id's for the invitations * on the local and remote machines. - * These are used to delete the + * These are used to delete the * invitations. */ int local_id, remote_id; diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c index e9f04809f2404..f7f31bd551e3e 100644 --- a/usr.bin/talk/io.c +++ b/usr.bin/talk/io.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ /* - * This file contains the I/O handling and the exchange of + * This file contains the I/O handling and the exchange of * edit characters. This connection itself is established in * ctl.c */ @@ -67,7 +67,7 @@ talk() sockt_mask = (1<<sockt); /* - * Wait on both the other process (sockt_mask) and + * Wait on both the other process (sockt_mask) and * standard input ( STDIN_MASK ) */ read_template = sockt_mask | STDIN_MASK; @@ -85,7 +85,7 @@ talk() p_error("Unexpected error from select"); quit(); } - if (read_set & sockt_mask) { + if (read_set & sockt_mask) { /* There is data on sockt */ nb = read(sockt, buf, sizeof buf); if (nb <= 0) { @@ -115,7 +115,7 @@ extern int sys_nerr; * p_error prints the system error message on the standard location * on the screen and then exits. (i.e. a curses version of perror) */ -p_error(string) +p_error(string) char *string; { wmove(my_win.x_win, current_line, 0); diff --git a/usr.bin/talk/look_up.c b/usr.bin/talk/look_up.c index 9c335ae693957..cc4b4c55a3682 100644 --- a/usr.bin/talk/look_up.c +++ b/usr.bin/talk/look_up.c @@ -63,8 +63,8 @@ check_local() if (!look_for_invite(rp)) return (0); /* - * There was an invitation waiting for us, - * so connect with the other (hopefully waiting) party + * There was an invitation waiting for us, + * so connect with the other (hopefully waiting) party */ current_state = "Waiting to connect with caller"; do { @@ -78,7 +78,7 @@ check_local() if (errno == ECONNREFUSED) { /* * The caller gave up, but his invitation somehow - * was not cleared. Clear it and initiate an + * was not cleared. Clear it and initiate an * invitation. (We know there are no newer invitations, * the talkd works LIFO.) */ diff --git a/usr.bin/talk/msgs.c b/usr.bin/talk/msgs.c index 733c2073fb335..6e8cc9b7d1653 100644 --- a/usr.bin/talk/msgs.c +++ b/usr.bin/talk/msgs.c @@ -35,7 +35,7 @@ static char sccsid[] = "@(#)msgs.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ -/* +/* * A package to display what is happening every MSG_INTERVAL seconds * if we are slow connecting. */ diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c index 8873e26afffef..ca0dcb4a42e6c 100644 --- a/usr.bin/talk/talk.c +++ b/usr.bin/talk/talk.c @@ -44,14 +44,14 @@ static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93"; #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 + * 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 |
