Subversion Repositories SvarDOS

Rev

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

Rev 421 Rev 449
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
static int cmd_echo(struct cmd_funcparam *p) {
29
static int cmd_echo(struct cmd_funcparam *p) {
30
  unsigned short offs = FP_OFF(p->cmdline) + 5;
30
  unsigned short offs = FP_OFF(p->cmdline) + 5;
31
  unsigned short segm = FP_SEG(p->cmdline);
31
  unsigned short segm = FP_SEG(p->cmdline);
32
  unsigned char far *echostatus = MK_FP(p->rmod_seg, RMOD_OFFSET_ECHOFLAG);
32
  unsigned char far *echostatus = MK_FP(p->rmod->rmodseg, RMOD_OFFSET_ECHOFLAG);
33
 
33
 
34
  /* display help only if /? is the only argument */
34
  /* display help only if /? is the only argument */
35
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
35
  if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) {
36
    outputnl("Displays messages, or turns command-echoing on or off");
36
    outputnl("Displays messages, or turns command-echoing on or off");
37
    outputnl("");
37
    outputnl("");