1
0
Fork 0

Removal of intro command from shell

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@844
This commit is contained in:
Sjoerd van der Berg 2003-03-30 20:59:42 +00:00
parent c7f8e95cdb
commit 09b7167fcf
3 changed files with 1 additions and 34 deletions

View file

@ -67,7 +67,7 @@ Bit32u DOS_Shell::GetRedirection(char *s, char **ifn, char **ofn) {
return 1;
}
}
@ -235,31 +235,6 @@ void SHELL_Init() {
MSG_Add("SHELL_CMD_DELETE_HELP","Removes files.\n");
MSG_Add("SHELL_CMD_COPY_HELP","Copy files.\n");
MSG_Add("SHELL_CMD_INTRO_HELP","Gives an introduction into dosbox\n");
MSG_Add("SHELL_CMD_INTRO",
"Welcome to DOSBox, a x86 emulator with sound and graphics\n"
"DOSBox creates a shell for you which looks like old plain DOS\n"
"\n"
"Here are some commands to get you started:\n"
"Before you can use the files located on your own filesystem,\n"
"You have to mount the directory containing the files.\n"
"For MS Windows users:\n"
"mount c c:\\dosprog will create a C drive in dosbox with c:\\dosprog as contents.\n"
"\n"
"For linux users:\n"
"mount c /home/user/dosprog will do the same.\n"
"\n"
"Mac OS and others:\n"
"\n"
"I have no idea\n"
"\n"
"When the mount has succesfully completed you can type c: to go to your freshly\n"
"mounted C-drive. Typing dir there will show its contents. cd will allow you to\n"
"enter a directory (recognised by the [] in a directory listing).\n"
"You can run programs/files which end at .exe .bat and .com .\n"
"\n"
"DOSBox will stop/exit without a warning if an error occured!\n"
);
/* Regular startup */
call_shellstop=CALLBACK_Allocate();
/* Setup the startup CS:IP to kill the last running machine when exitted */

View file

@ -43,7 +43,6 @@ static SHELL_Cmd cmd_list[]={
"RENAME", 0, &DOS_Shell::CMD_RENAME, "SHELL_CMD_RENAME_HELP",
"REN", 1, &DOS_Shell::CMD_RENAME, "SHELL_CMD_RENAME_HELP",
"PAUSE", 0, &DOS_Shell::CMD_PAUSE, "SHELL_CMD_PAUSE_HELP",
"INTRO", 0, &DOS_Shell::CMD_INTRO, "SHELL_CMD_INTRO_HELP",
/*
"CHDIR", 0, &DOS_Shell::CMD_CHDIR, "Change Directory",
"MKDIR", 0, &DOS_Shell::CMD_MKDIR, "Make Directory",
@ -521,9 +520,3 @@ void DOS_Shell::CMD_PAUSE(char * args){
DOS_ReadFile (STDIN,&c,&n);
}
void DOS_Shell::CMD_INTRO(char* args)
{
WriteOut(MSG_Get("SHELL_CMD_INTRO"));
// Bit8u c;Bit16u n=1;
// DOS_ReadFile (STDIN,&c,&n);
}

View file

@ -80,7 +80,6 @@ public:
void CMD_RENAME(char * args);
void SyntaxError(void);
void CMD_PAUSE(char * args);
void CMD_INTRO(char * args);
/* The shell's variables */
Bit16u input_handle;
BatchFile * bf;