/[rdesktop]/sourceforge.net/trunk/rdesktop/rdesktop.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdesktop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 53 by matthewc, Tue May 28 11:48:55 2002 UTC revision 58 by jsorg71, Sun Jul 14 00:34:21 2002 UTC
# Line 35  char keymapname[16]; Line 35  char keymapname[16];
35  int keylayout;  int keylayout;
36  int width;  int width;
37  int height;  int height;
38    int tcp_port_rdp = TCP_PORT_RDP;
39  BOOL bitmap_compression = True;  BOOL bitmap_compression = True;
40  BOOL sendmotion = True;  BOOL sendmotion = True;
41  BOOL orders = True;  BOOL orders = True;
# Line 60  usage(char *program) Line 61  usage(char *program)
61          printf("   -b: force bitmap updates\n");          printf("   -b: force bitmap updates\n");
62          printf("   -e: disable encryption (French TS)\n");          printf("   -e: disable encryption (French TS)\n");
63          printf("   -m: do not send motion events\n");          printf("   -m: do not send motion events\n");
64          printf("   -l: do not request licence\n\n");          printf("   -l: do not request licence\n");
65            printf("   -t: rdp tcp port\n\n");
66  }  }
67    
68  /* Client program */  /* Client program */
# Line 86  main(int argc, char *argv[]) Line 88  main(int argc, char *argv[])
88          domain[0] = password[0] = shell[0] = directory[0] = 0;          domain[0] = password[0] = shell[0] = directory[0] = 0;
89          strcpy(keymapname, "us");          strcpy(keymapname, "us");
90    
91          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:fbemlh?")) != -1)          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:t:fbemlh?")) != -1)
92          {          {
93                  switch (c)                  switch (c)
94                  {                  {
# Line 151  main(int argc, char *argv[]) Line 153  main(int argc, char *argv[])
153                                  licence = False;                                  licence = False;
154                                  break;                                  break;
155    
156                            case 't':
157                                    tcp_port_rdp = strtol(optarg, NULL, 10);
158                                    break;
159    
160                          case 'h':                          case 'h':
161                          case '?':                          case '?':
162                          default:                          default:

Legend:
Removed from v.53  
changed lines
  Added in v.58

  ViewVC Help
Powered by ViewVC 1.1.26