/[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 800 by stargo, Thu Nov 18 11:18:49 2004 UTC revision 848 by jsorg71, Sun Mar 13 03:29:19 2005 UTC
# Line 1  Line 1 
1  /* -*- c-basic-offset: 8 -*-  /* -*- 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-2005
5    
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 61  BOOL g_bitmap_cache_persist_enable = Fal Line 61  BOOL g_bitmap_cache_persist_enable = Fal
61  BOOL g_bitmap_cache_precache = True;  BOOL g_bitmap_cache_precache = True;
62  BOOL g_encryption = True;  BOOL g_encryption = True;
63  BOOL packet_encryption = True;  BOOL packet_encryption = True;
64  BOOL g_desktop_save = True;  BOOL g_desktop_save = True;     /* desktop save order */
65    BOOL g_polygon_ellipse_orders = True;   /* polygon / ellipse orders */
66  BOOL g_fullscreen = False;  BOOL g_fullscreen = False;
67  BOOL g_grab_keyboard = True;  BOOL g_grab_keyboard = True;
68  BOOL g_hide_decorations = False;  BOOL g_hide_decorations = False;
# Line 94  static void Line 95  static void
95  usage(char *program)  usage(char *program)
96  {  {
97          fprintf(stderr, "rdesktop: A Remote Desktop Protocol client.\n");          fprintf(stderr, "rdesktop: A Remote Desktop Protocol client.\n");
98          fprintf(stderr, "Version " VERSION ". Copyright (C) 1999-2003 Matt Chapman.\n");          fprintf(stderr, "Version " VERSION ". Copyright (C) 1999-2005 Matt Chapman.\n");
99          fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n");          fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n");
100    
101          fprintf(stderr, "Usage: %s [options] server[:port]\n", program);          fprintf(stderr, "Usage: %s [options] server[:port]\n", program);
# Line 457  main(int argc, char *argv[]) Line 458  main(int argc, char *argv[])
458    
459                                  if (*p == '+' || *p == '-')                                  if (*p == '+' || *p == '-')
460                                          g_xpos = strtol(p, &p, 10);                                          g_xpos = strtol(p, &p, 10);
461                                    
462                                  if (*p == '+' || *p == '-')                                  if (*p == '+' || *p == '-')
463                                          g_ypos = strtol(p, NULL, 10);                                          g_ypos = strtol(p, NULL, 10);
464    
# Line 690  main(int argc, char *argv[]) Line 691  main(int argc, char *argv[])
691                  STRNCPY(g_hostname, fullhostname, sizeof(g_hostname));                  STRNCPY(g_hostname, fullhostname, sizeof(g_hostname));
692          }          }
693    
694            if ((flags & RDP_COMPRESSION) && (g_server_bpp > 8))
695            {
696                    warning("rdp compression not supported for bpp > 8, compression disabled\n");
697                    flags ^= RDP_COMPRESSION;
698            }
699    
700          if (prompt_password && read_password(password, sizeof(password)))          if (prompt_password && read_password(password, sizeof(password)))
701                  flags |= RDP_LOGON_AUTO;                  flags |= RDP_LOGON_AUTO;
702    

Legend:
Removed from v.800  
changed lines
  Added in v.848

  ViewVC Help
Powered by ViewVC 1.1.26