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; |
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"); |
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 |
{ |
{ |
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; |