Subversion Repositories SvarDOS

Rev

Rev 958 | Rev 963 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 958 Rev 960
Line 869... Line 869...
869
      }
869
      }
870
      /* %-decoding of variables (%PATH%, %1, %%...), result in cmdline */
870
      /* %-decoding of variables (%PATH%, %1, %%...), result in cmdline */
871
      batpercrepl(cmdline, CMDLINE_MAXLEN, BUFFER, rmod, *rmod_envseg);
871
      batpercrepl(cmdline, CMDLINE_MAXLEN, BUFFER, rmod, *rmod_envseg);
872
      /* skip any leading spaces */
872
      /* skip any leading spaces */
873
      while (*cmdline == ' ') cmdline++;
873
      while (*cmdline == ' ') cmdline++;
-
 
874
      /* skip batch labels */
-
 
875
      if (*cmdline == ':') continue;
874
      /* output prompt and command on screen if echo on and command is not
876
      /* output prompt and command on screen if echo on and command is not
875
       * inhibiting it with the @ prefix */
877
       * inhibiting it with the @ prefix */
876
      if ((rmod->flags & FLAG_ECHOFLAG) && (cmdline[0] != '@')) {
878
      if ((rmod->flags & FLAG_ECHOFLAG) && (cmdline[0] != '@')) {
877
        build_and_display_prompt(BUFFER, *rmod_envseg);
879
        build_and_display_prompt(BUFFER, *rmod_envseg);
878
        outputnl(cmdline);
880
        outputnl(cmdline);