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

Diff for /src/usr.bin/telnet/telnet.c between version 1.4 and 1.5

version 1.4, 1998/03/12 04:57:43 version 1.5, 1998/05/15 03:16:43
Line 35 
Line 35 
  */   */
   
 #include "telnet_locl.h"  #include "telnet_locl.h"
   #include <term.h>
   
 #define        strip(x) (eight ? (x) : ((x) & 0x7f))  #define        strip(x) (eight ? (x) : ((x) & 0x7f))
   
Line 537 
Line 538 
  * duplicate, or verbose names (names with spaces).   * duplicate, or verbose names (names with spaces).
  */   */
   
   int is_unique P((char *, char **, char **));
   
 static char *name_unknown = "UNKNOWN";  static char *name_unknown = "UNKNOWN";
 static char *unknown[] = { 0, 0 };  static char *unknown[] = { 0, 0 };
   
Line 779 
Line 782 
             TerminalSpeeds(&ispeed, &ospeed);              TerminalSpeeds(&ispeed, &ospeed);
   
             snprintf((char *)temp, sizeof(temp),              snprintf((char *)temp, sizeof(temp),
                      "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED,                       "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED,
                      TELQUAL_IS, ospeed, ispeed, IAC, SE);                       TELQUAL_IS, ospeed, ispeed, IAC, SE);
             len = strlen((char *)temp+4) + 4;   /* temp[3] is 0 ... */              len = strlen((char *)temp+4) + 4;   /* temp[3] is 0 ... */
   

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