33 |
int height = 600; |
int height = 600; |
34 |
int keylayout = 0x409; |
int keylayout = 0x409; |
35 |
BOOL bitmap_compression = True; |
BOOL bitmap_compression = True; |
36 |
BOOL motion = True; |
BOOL sendmotion = True; |
37 |
BOOL orders = True; |
BOOL orders = True; |
38 |
BOOL licence = True; |
BOOL licence = True; |
39 |
BOOL use_encryption = True; |
BOOL use_encryption = True; |
40 |
BOOL desktop_save = True; |
BOOL desktop_save = True; |
|
BOOL grab_keyboard = True; |
|
41 |
BOOL fullscreen = False; |
BOOL fullscreen = False; |
|
int private_colormap = False; |
|
42 |
|
|
43 |
/* Display usage information */ |
/* Display usage information */ |
44 |
static void |
static void |
81 |
flags = RDP_LOGON_NORMAL; |
flags = RDP_LOGON_NORMAL; |
82 |
domain[0] = password[0] = shell[0] = directory[0] = 0; |
domain[0] = password[0] = shell[0] = directory[0] = 0; |
83 |
|
|
84 |
while ((c = getopt(argc, argv, "u:d:s:c:p:n:w:h:k:bml?")) != -1) |
while ((c = getopt(argc, argv, "u:d:s:c:p:n:g:k:mbleKFVh?")) != -1) |
85 |
{ |
{ |
86 |
switch (c) |
switch (c) |
87 |
{ |
{ |
132 |
break; |
break; |
133 |
|
|
134 |
case 'm': |
case 'm': |
135 |
motion = False; |
sendmotion = False; |
136 |
break; |
break; |
137 |
|
|
138 |
case 'b': |
case 'b': |
146 |
case 'e': |
case 'e': |
147 |
use_encryption = False; |
use_encryption = False; |
148 |
break; |
break; |
149 |
case 'K': |
|
|
grab_keyboard = False; |
|
|
break; |
|
150 |
case 'F': |
case 'F': |
151 |
fullscreen = True; |
fullscreen = True; |
152 |
break; |
break; |
153 |
case 'v': |
|
|
private_colormap = True; |
|
|
break; |
|
154 |
case 'h': |
case 'h': |
155 |
case '?': |
case '?': |
156 |
default: |
default: |