/[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 64 by astrand, Thu Jul 18 16:38:31 2002 UTC revision 66 by astrand, Thu Jul 18 18:28:12 2002 UTC
# Line 32  Line 32 
32  char username[16];  char username[16];
33  char hostname[16];  char hostname[16];
34  char keymapname[16];  char keymapname[16];
35  int keylayout;  int keylayout = 0x409;          /* Defaults to US keyboard layout */
36  int width;  int width;
37  int height;  int height;
38  int tcp_port_rdp = TCP_PORT_RDP;  int tcp_port_rdp = TCP_PORT_RDP;
# Line 55  usage(char *program) Line 55  usage(char *program)
55          printf("   -c: working directory\n");          printf("   -c: working directory\n");
56          printf("   -p: password (autologon)\n");          printf("   -p: password (autologon)\n");
57          printf("   -n: client hostname\n");          printf("   -n: client hostname\n");
58          printf("   -k: keyboard layout\n");          printf("   -k: keyboard layout on terminal server (us,sv,gr etc.)\n");
59          printf("   -g: desktop geometry (WxH)\n");          printf("   -g: desktop geometry (WxH)\n");
60          printf("   -f: full-screen mode\n");          printf("   -f: full-screen mode\n");
61          printf("   -b: force bitmap updates\n");          printf("   -b: force bitmap updates\n");
# Line 222  main(int argc, char *argv[]) Line 222  main(int argc, char *argv[])
222          strcpy(title, "rdesktop - ");          strcpy(title, "rdesktop - ");
223          strncat(title, server, sizeof(title) - sizeof("rdesktop - "));          strncat(title, server, sizeof(title) - sizeof("rdesktop - "));
224    
225            xkeymap_init1();
226    
227          if (!rdp_connect(server, flags, domain, password, shell, directory))          if (!rdp_connect(server, flags, domain, password, shell, directory))
228                  return 1;                  return 1;
229    

Legend:
Removed from v.64  
changed lines
  Added in v.66

  ViewVC Help
Powered by ViewVC 1.1.26