/[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 213 by matthewc, Sun Oct 6 13:30:30 2002 UTC revision 214 by matthewc, Sun Oct 6 13:57:39 2002 UTC
# Line 40  int tcp_port_rdp = TCP_PORT_RDP; Line 40  int tcp_port_rdp = TCP_PORT_RDP;
40  BOOL bitmap_compression = True;  BOOL bitmap_compression = True;
41  BOOL sendmotion = True;  BOOL sendmotion = True;
42  BOOL orders = True;  BOOL orders = True;
 BOOL licence = True;  
43  BOOL encryption = True;  BOOL encryption = True;
44  BOOL desktop_save = True;  BOOL desktop_save = True;
45  BOOL fullscreen = False;  BOOL fullscreen = False;
# Line 67  usage(char *program) Line 66  usage(char *program)
66          fprintf(stderr, "   -b: force bitmap updates\n");          fprintf(stderr, "   -b: force bitmap updates\n");
67          fprintf(stderr, "   -e: disable encryption (French TS)\n");          fprintf(stderr, "   -e: disable encryption (French TS)\n");
68          fprintf(stderr, "   -m: do not send motion events\n");          fprintf(stderr, "   -m: do not send motion events\n");
         fprintf(stderr, "   -l: do not request licence\n");  
69          fprintf(stderr, "   -t: rdp tcp port\n");          fprintf(stderr, "   -t: rdp tcp port\n");
70          fprintf(stderr, "   -K: keep window manager key bindings\n");          fprintf(stderr, "   -K: keep window manager key bindings\n");
71          fprintf(stderr, "   -w: window title\n");          fprintf(stderr, "   -w: window title\n");
# Line 129  main(int argc, char *argv[]) Line 127  main(int argc, char *argv[])
127          domain[0] = password[0] = shell[0] = directory[0] = 0;          domain[0] = password[0] = shell[0] = directory[0] = 0;
128          strcpy(keymapname, "us");          strcpy(keymapname, "us");
129    
130          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:t:fbemlKw:h?")) != -1)          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:t:fbemKw:h?")) != -1)
131          {          {
132                  switch (c)                  switch (c)
133                  {                  {
# Line 201  main(int argc, char *argv[]) Line 199  main(int argc, char *argv[])
199                                  sendmotion = False;                                  sendmotion = False;
200                                  break;                                  break;
201    
                         case 'l':  
                                 licence = False;  
                                 break;  
   
202                          case 't':                          case 't':
203                                  tcp_port_rdp = strtol(optarg, NULL, 10);                                  tcp_port_rdp = strtol(optarg, NULL, 10);
204                                  break;                                  break;

Legend:
Removed from v.213  
changed lines
  Added in v.214

  ViewVC Help
Powered by ViewVC 1.1.26