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

Diff for /src/usr.bin/cu/command.c between version 1.7 and 1.8

version 1.7, 2012/07/10 10:56:12 version 1.8, 2012/07/10 11:42:02
Line 35 
Line 35 
 void    pipe_command(void);  void    pipe_command(void);
 void    connect_command(void);  void    connect_command(void);
 void    send_file(void);  void    send_file(void);
   void    send_xmodem(void);
   
 void  void
 pipe_command(void)  pipe_command(void)
Line 159 
Line 160 
 }  }
   
 void  void
   send_xmodem(void)
   {
           const char      *file;
           char            *expanded;
   
           file = get_input("Local file?");
           if (file == NULL || *file == '\0')
                   return;
   
           expanded = tilde_expand(file);
           xmodem_send(expanded);
           free(expanded);
   }
   
   void
 set_speed(void)  set_speed(void)
 {  {
         const char      *s, *errstr;          const char      *s, *errstr;
Line 196 
Line 212 
                 break;                  break;
         case 'S':          case 'S':
                 set_speed();                  set_speed();
                   break;
           case 'X':
                   send_xmodem();
                 break;                  break;
         case '$':          case '$':
                 pipe_command();                  pipe_command();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8