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
);
34 while(_istspace(*param
))
39 error_req_param_missing ();
44 if (y
<0 || y
>(maxy
-1))
46 ConOutResPuts(STRING_SCREEN_ROW
);
52 if(!(param
= _tcschr(param
,_T(' '))))
54 error_req_param_missing ();
58 while(_istspace(*param
))
63 error_req_param_missing ();
68 if (x
<0 || x
>(maxx
-1))
70 ConErrResPuts(STRING_SCREEN_COL
);
75 if(!(param
= _tcschr(param
,_T(' '))))
81 while(_istspace(*param
))
104 #endif /* INCLUDE_CMD_SCREEN */