/[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 1226 by astrand, Wed Apr 12 06:47:24 2006 UTC revision 1272 by stargo, Thu Sep 21 19:00:11 2006 UTC
# Line 179  usage(char *program) Line 179  usage(char *program)
179          fprintf(stderr, "         '-r printer:mydeskjet': enable printer redirection\n");          fprintf(stderr, "         '-r printer:mydeskjet': enable printer redirection\n");
180          fprintf(stderr,          fprintf(stderr,
181                  "             or      mydeskjet=\"HP LaserJet IIIP\" to enter server driver as well\n");                  "             or      mydeskjet=\"HP LaserJet IIIP\" to enter server driver as well\n");
182          fprintf(stderr, "         '-r sound:[local|off|remote]': enable sound redirection\n");  #ifdef WITH_RDPSND
183            fprintf(stderr,
184                    "         '-r sound:[local[:driver[:device]]|off|remote]': enable sound redirection\n");
185          fprintf(stderr, "                     remote would leave sound on server\n");          fprintf(stderr, "                     remote would leave sound on server\n");
186            fprintf(stderr, "                     available drivers for 'local':\n");
187            rdpsnd_show_help();
188    #endif
189          fprintf(stderr,          fprintf(stderr,
190                  "         '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard\n");                  "         '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard\n");
191          fprintf(stderr, "                      redirection.\n");          fprintf(stderr, "                      redirection.\n");
# Line 403  main(int argc, char *argv[]) Line 408  main(int argc, char *argv[])
408          BOOL geometry_option = False;          BOOL geometry_option = False;
409          int run_count = 0;      /* Session Directory support */          int run_count = 0;      /* Session Directory support */
410          BOOL continue_connect = True;   /* Session Directory support */          BOOL continue_connect = True;   /* Session Directory support */
411            char *rdpsnd_optarg = NULL;
412    
413  #ifdef HAVE_LOCALE_H  #ifdef HAVE_LOCALE_H
414          /* Set locale according to environment */          /* Set locale according to environment */
# Line 663  main(int argc, char *argv[]) Line 669  main(int argc, char *argv[])
669    
670                                                          if (str_startswith(optarg, "local"))                                                          if (str_startswith(optarg, "local"))
671  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
672                                                            {
673                                                                    rdpsnd_optarg =
674                                                                            next_arg(optarg, ':');
675                                                                  g_rdpsnd = True;                                                                  g_rdpsnd = True;
676                                                            }
677    
678  #else  #else
679                                                                  warning("Not compiled with sound support\n");                                                                  warning("Not compiled with sound support\n");
680  #endif  #endif
# Line 876  main(int argc, char *argv[]) Line 887  main(int argc, char *argv[])
887    
888  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
889          if (g_rdpsnd)          if (g_rdpsnd)
890                  rdpsnd_init();          {
891                    if (!rdpsnd_init(rdpsnd_optarg))
892                    {
893                            warning("Initializing sound-support failed!\n");
894                    }
895            }
896  #endif  #endif
897    
898          if (lspci_enabled)          if (lspci_enabled)

Legend:
Removed from v.1226  
changed lines
  Added in v.1272

  ViewVC Help
Powered by ViewVC 1.1.26