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; |
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 */ |
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 |
{ |
{ |
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: |