50 |
int height = 600; |
int height = 600; |
51 |
int tcp_port_rdp = TCP_PORT_RDP; |
int tcp_port_rdp = TCP_PORT_RDP; |
52 |
int server_bpp = 8; |
int server_bpp = 8; |
53 |
|
int win_button_size = 0; /* If zero, disable single app mode */ |
54 |
BOOL bitmap_compression = True; |
BOOL bitmap_compression = True; |
55 |
BOOL sendmotion = True; |
BOOL sendmotion = True; |
56 |
BOOL orders = True; |
BOOL orders = True; |
147 |
domain[0] = password[0] = shell[0] = directory[0] = 0; |
domain[0] = password[0] = shell[0] = directory[0] = 0; |
148 |
strcpy(keymapname, "en-us"); |
strcpy(keymapname, "en-us"); |
149 |
|
|
150 |
while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:a:fbemCKT:Dh?")) != -1) |
while ((c = getopt(argc, argv, "u:d:s:S:c:p:n:k:g:a:fbemCKT:Dh?")) != -1) |
151 |
{ |
{ |
152 |
switch (c) |
switch (c) |
153 |
{ |
{ |
164 |
STRNCPY(shell, optarg, sizeof(shell)); |
STRNCPY(shell, optarg, sizeof(shell)); |
165 |
break; |
break; |
166 |
|
|
167 |
|
case 'S': |
168 |
|
if (!strcmp(optarg, "standard")) |
169 |
|
{ |
170 |
|
win_button_size = 18; |
171 |
|
break; |
172 |
|
} |
173 |
|
|
174 |
|
win_button_size = strtol(optarg, &p, 10); |
175 |
|
|
176 |
|
if (*p) |
177 |
|
{ |
178 |
|
error("invalid button size\n"); |
179 |
|
return 1; |
180 |
|
} |
181 |
|
|
182 |
|
break; |
183 |
|
|
184 |
case 'c': |
case 'c': |
185 |
STRNCPY(directory, optarg, sizeof(directory)); |
STRNCPY(directory, optarg, sizeof(directory)); |
186 |
break; |
break; |