2 * SCREEN.C - screen internal command.
4 * clone from 4nt msgbox command
7 * started - Paolo Pantaleo <paolopan@freemail.it>
9 * 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
10 * Remove all hardcode string to En.rc
17 #ifdef INCLUDE_CMD_SCREEN
20 INT
CommandScreen (LPTSTR cmd
, LPTSTR param
)
23 BOOL bSkipText
= FALSE
;
25 if (_tcsncmp (param
, _T("/?"), 2) == 0)
27 ConOutResPaging(TRUE
,STRING_SCREEN_HELP
);
32 while(_istspace(*param
))
37 error_req_param_missing ();
42 if (y
<0 || y
>(maxy
-1))
44 ConOutResPuts(STRING_SCREEN_ROW
);
49 if(!(param
= _tcschr(param
,_T(' '))))
51 error_req_param_missing ();
55 while(_istspace(*param
))
60 error_req_param_missing ();
65 if (x
<0 || x
>(maxx
-1))
67 ConErrResPuts(STRING_SCREEN_COL
);
72 if(!(param
= _tcschr(param
,_T(' '))))
78 while(_istspace(*param
))
101 #endif /* INCLUDE_CMD_SCREEN */