/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/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/branches/seamlessrdp-branch/rdesktop/rdesktop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 610 by stargo, Thu Feb 19 22:36:03 2004 UTC revision 628 by n-ki, Thu Mar 4 12:43:10 2004 UTC
# Line 131  usage(char *program) Line 131  usage(char *program)
131          fprintf(stderr, "             or      LPT1=/dev/lp0,LPT2=/dev/lp1\n");          fprintf(stderr, "             or      LPT1=/dev/lp0,LPT2=/dev/lp1\n");
132          fprintf(stderr, "         '-r printer:mydeskjet': enable printer redirection\n");          fprintf(stderr, "         '-r printer:mydeskjet': enable printer redirection\n");
133          fprintf(stderr,          fprintf(stderr,
134                  "             or       mydeskjet=\"HP LaserJet IIIP\" to enter server driver as well\n");                  "             or      mydeskjet=\"HP LaserJet IIIP\" to enter server driver as well\n");
135          fprintf(stderr, "         '-r sound': enable sound redirection\n");          fprintf(stderr, "         '-r sound:[on|off|remote]': enable sound redirection\n");
136            fprintf(stderr, "                     remote would leave sound on server\n");
137          fprintf(stderr, "   -0: attach to console\n");          fprintf(stderr, "   -0: attach to console\n");
138          fprintf(stderr, "   -4: use RDP version 4\n");          fprintf(stderr, "   -4: use RDP version 4\n");
139          fprintf(stderr, "   -5: use RDP version 5 (default)\n");          fprintf(stderr, "   -5: use RDP version 5 (default)\n");
# Line 414  main(int argc, char *argv[]) Line 415  main(int argc, char *argv[])
415    
416                                  if (strncmp("sound", optarg, 5) == 0)                                  if (strncmp("sound", optarg, 5) == 0)
417                                  {                                  {
418                                            if (*(optarg + 6) == ':')
419                                            {
420    
421                                                    if (strncmp("remote", optarg + 7, 6) == 0)
422                                                            flags |= RDP_LOGON_LEAVE_AUDIO;
423                                                    else if (strncmp("on", optarg + 7, 2) == 0)
424                                                    {
425    #ifdef WITH_RDPSND
426                                                            g_rdpsnd = True;
427    #else
428                                                            warning("Not compiled with sound support");
429    #endif
430                                                    }
431                                            }
432                                            else
433                                            {
434  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
435                                          g_rdpsnd = True;                                                  g_rdpsnd = True;
436  #else  #else
437                                          warning("Not compiled with sound support");                                                  warning("Not compiled with sound support");
438  #endif  #endif
439                                            }
440                                  }                                  }
441                                  else if (strncmp("disk", optarg, 4) == 0)                                  else if (strncmp("disk", optarg, 4) == 0)
442                                  {                                  {

Legend:
Removed from v.610  
changed lines
  Added in v.628

  ViewVC Help
Powered by ViewVC 1.1.26