[BACK]Return to init_disp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / talk

Diff for /src/usr.bin/talk/init_disp.c between version 1.16 and 1.17

version 1.16, 2003/06/03 02:56:17 version 1.17, 2003/06/10 22:20:52
Line 54 
Line 54 
  * and build the various windows.   * and build the various windows.
  */   */
 void  void
 init_display()  init_display(void)
 {  {
         struct sigaction sa;          struct sigaction sa;
   
Line 102 
Line 102 
  * connection are the three edit characters.   * connection are the three edit characters.
  */   */
 void  void
 set_edit_chars()  set_edit_chars(void)
 {  {
         u_char buf[3];          u_char buf[3];
         int cc;          int cc;
Line 127 
Line 127 
 }  }
   
 void  void
 sig_sent(dummy)  sig_sent(int dummy)
         int dummy;  
 {  {
   
         quit("Connection closing.  Exiting", 0);          quit("Connection closing.  Exiting", 0);
 }  }
   
 void  void
 sig_winch(dummy)  sig_winch(int dummy)
         int dummy;  
 {  {
   
         gotwinch = 1;          gotwinch = 1;
Line 146 
Line 144 
  * All done talking...hang up the phone and reset terminal thingy's   * All done talking...hang up the phone and reset terminal thingy's
  */   */
 void  void
 quit(warning, do_perror)  quit(char *warning, int do_perror)
         char *warning;  
         int do_perror;  
 {  {
   
         if (curses_initialized) {          if (curses_initialized) {
Line 172 
Line 168 
  * If we get SIGWINCH, recompute both window sizes and refresh things.   * If we get SIGWINCH, recompute both window sizes and refresh things.
  */   */
 void  void
 resize_display()  resize_display(void)
 {  {
         struct winsize ws;          struct winsize ws;
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17