[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.5 and 1.6

version 1.5, 1998/08/18 04:02:14 version 1.6, 1998/08/31 08:00:46
Line 108 
Line 108 
 void  void
 set_edit_chars()  set_edit_chars()
 {  {
         char buf[3];          u_char buf[3];
         int cc;          int cc;
         struct termios tty;          struct termios tty;
   
Line 116 
Line 116 
         buf[0] = my_win.cerase = tty.c_cc[VERASE] == (u_char)_POSIX_VDISABLE          buf[0] = my_win.cerase = tty.c_cc[VERASE] == (u_char)_POSIX_VDISABLE
             ? CERASE : tty.c_cc[VERASE];              ? CERASE : tty.c_cc[VERASE];
         buf[1] = my_win.kill = tty.c_cc[VKILL] == (u_char)_POSIX_VDISABLE          buf[1] = my_win.kill = tty.c_cc[VKILL] == (u_char)_POSIX_VDISABLE
             ? CKILL : tty.c_cc[CKILL];              ? CKILL : tty.c_cc[VKILL];
         buf[2] = my_win.werase = tty.c_cc[VWERASE] == (u_char)_POSIX_VDISABLE          buf[2] = my_win.werase = tty.c_cc[VWERASE] == (u_char)_POSIX_VDISABLE
             ? CWERASE : tty.c_cc[VWERASE];              ? CWERASE : tty.c_cc[VWERASE];
         cc = write(sockt, buf, sizeof(buf));          cc = write(sockt, buf, sizeof(buf));

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6