/[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 333 by astrand, Thu Feb 20 12:14:13 2003 UTC revision 350 by forsberg, Thu Mar 27 13:18:13 2003 UTC
# Line 1  Line 1 
1  /*  /* -*- c-basic-offset: 8 -*-
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     Entrypoint and utility functions     Entrypoint and utility functions
4     Copyright (C) Matthew Chapman 1999-2003     Copyright (C) Matthew Chapman 1999-2003
# Line 59  BOOL desktop_save = True; Line 59  BOOL desktop_save = True;
59  BOOL fullscreen = False;  BOOL fullscreen = False;
60  BOOL grab_keyboard = True;  BOOL grab_keyboard = True;
61  BOOL hide_decorations = False;  BOOL hide_decorations = False;
62    BOOL use_rdp5 = False;
63  extern BOOL owncolmap;  extern BOOL owncolmap;
64    
65  #ifdef RDP2VNC  #ifdef RDP2VNC
# Line 99  usage(char *program) Line 100  usage(char *program)
100          fprintf(stderr, "   -T: window title\n");          fprintf(stderr, "   -T: window title\n");
101          fprintf(stderr, "   -D: hide window manager decorations\n");          fprintf(stderr, "   -D: hide window manager decorations\n");
102          fprintf(stderr, "   -a: server bpp\n");          fprintf(stderr, "   -a: server bpp\n");
103            fprintf(stderr, "   -5: Use RDP5 (EXPERIMENTAL!)\n");
104  }  }
105    
106  static BOOL  static BOOL
# Line 165  main(int argc, char *argv[]) Line 167  main(int argc, char *argv[])
167  #define VNCOPT  #define VNCOPT
168  #endif  #endif
169    
170          while ((c = getopt(argc, argv, VNCOPT "u:d:s:S:c:p:n:k:g:a:fbemCKT:Dh?")) != -1)          while ((c = getopt(argc, argv, VNCOPT "u:d:s:S:c:p:n:k:g:a:fbemCKT:Dh?54")) != -1)
171          {          {
172                  switch (c)                  switch (c)
173                  {                  {
# Line 301  main(int argc, char *argv[]) Line 303  main(int argc, char *argv[])
303                                  }                                  }
304                                  break;                                  break;
305    
306                            case '5':
307                                    use_rdp5 = True;
308                                    break;
309                          case 'h':                          case 'h':
310                          case '?':                          case '?':
311                          default:                          default:

Legend:
Removed from v.333  
changed lines
  Added in v.350

  ViewVC Help
Powered by ViewVC 1.1.26