/svarcom/trunk/cmd/_notimpl.c |
---|
0,0 → 1,32 |
/* This file is part of the SvarCOM project and is published under the terms |
* of the MIT license. |
* |
* Copyright (C) 2021 Mateusz Viste |
* |
* Permission is hereby granted, free of charge, to any person obtaining a |
* copy of this software and associated documentation files (the "Software"), |
* to deal in the Software without restriction, including without limitation |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, |
* and/or sell copies of the Software, and to permit persons to whom the |
* Software is furnished to do so, subject to the following conditions: |
* |
* The above copyright notice and this permission notice shall be included in |
* all copies or substantial portions of the Software. |
* |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
* DEALINGS IN THE SOFTWARE. |
*/ |
/* |
* handler for all "not implemented yet" commands |
*/ |
static enum cmd_result cmd_notimpl(struct cmd_funcparam *p) { |
outputnl("This command is not implemented yet. Sorry!"); |
return(CMD_FAIL); |
} |
/svarcom/trunk/cmd.c |
---|
70,6 → 70,7 |
return(0); |
} |
#include "cmd/_notimpl.c" |
#include "cmd/break.c" |
#include "cmd/call.c" |
#include "cmd/cd.c" |
76,7 → 77,6 |
#include "cmd/chcp.c" |
#include "cmd/cls.c" |
#include "cmd/copy.c" |
#include "cmd/ctty.c" |
#include "cmd/date.c" |
#include "cmd/del.c" |
#include "cmd/for.c" |
86,7 → 86,6 |
#include "cmd/dir.c" |
#include "cmd/echo.c" |
#include "cmd/exit.c" |
#include "cmd/loadhigh.c" |
#include "cmd/ln.c" |
#include "cmd/mkdir.c" |
#include "cmd/path.c" |
117,7 → 116,7 |
{"CHDIR", cmd_cd}, |
{"CLS", cmd_cls}, |
{"COPY", cmd_copy}, |
{"CTTY", cmd_ctty}, |
{"CTTY", cmd_notimpl}, |
{"DATE", cmd_date}, |
{"DEL", cmd_del}, |
{"DIR", cmd_dir}, |
127,9 → 126,9 |
{"FOR", cmd_for}, |
{"GOTO", cmd_goto}, |
{"IF", cmd_if}, |
{"LH", cmd_loadhigh}, |
{"LH", cmd_notimpl}, |
{"LN", cmd_ln}, |
{"LOADHIGH",cmd_loadhigh}, |
{"LOADHIGH",cmd_notimpl}, |
{"MD", cmd_mkdir}, |
{"MKDIR", cmd_mkdir}, |
{"PAUSE", cmd_pause}, |
/svarcom/trunk/history.txt |
---|
16,7 → 16,6 |
- DIR command: /a:xxx is supported like an equivalent to /axxx [#44077] |
- VER command: displays true DOS version, DOS rev, memory location [#44050] |
- REN command: allows renaming directory names [#44060] |
- implemented CTTY and LOADHIGH/LH as no-ops (LH loads programs low) |
- ln creates %DOSDIR%\LINKS directory when needed and warns on error [#44042] |
- ln add outputs an error message when link already exists [#44043] |
- added Polish translations |
/svarcom/trunk/lang/en-utf8.txt |
---|
15,7 → 15,6 |
0.6:Invalid parameter |
0.7:Required parameter missing |
0.8:Invalid destination |
0.9:This command is not implemented |
# the message below MUST be a two-letter UPPER-CASE string for "Yes/No" keys |
# that user can press to answer interactive "Yes/No" questions |