You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"1) I can't see the terminal text. How can I zoom in?\n 1a) You can zoom in, of course. Press and hold the Ctrl button and scroll with the mouse to your desired text size.\n"
227
244
"\n\n2) The error messages shown aren't detailed enough. How do I get better-quality error messages?\n 2a) To get better quality error messages, just enable the Verbosity Messages setting in the Settings command.\n"
228
245
"\n\n3) I'm using the Windows 7 terminal. How do I scroll up and down in the terminal without using the mouse?\n 3a) To scroll up and down without the mouse, press Alt + Space and then the keys 'E' and 'L', and then scroll with the up/down arrow keys. Use the PageUp/PageDown keys to scroll full pages in the terminal.\n"
229
246
"\n\n4) What is the difference between the 'old' and 'new' OptionSelect Session styles?\n 4a) The 'old' style is an inspiration from the TerminalAppGen2, the previous iteration of this program. It is very robust, simple and works by associating a number with each option, which you type in and press ENTER to select.\nThe 'new' style isn't exactly new, and has been in ZeeTerminal since v0.1.0. However, it is newer than the 'old' style, hence it's referred to as 'new'. It relies on using the arrow/WS keys to move a highlight up and down, to select an option.\n",
230
247
231
-
"___ABOUT THIS PROGRAM___\n\nThis is the ZeeTerminal Commandline Program, Build " + std::string(ZT_VERSION) + ".\n" +
232
-
"This is an early alpha build of ZeeTerminal, with an entirely new engine and components.\nThis program is made in C++, with a few very small parts of C." +
233
-
"\n\nThis program uses the DirectShow API in the MediaPlayer command, which is licensed by Microsoft Corporation. (c) Microsoft Corporation.\n\n" +
234
-
"This program uses the BASS API in the AudioPlayer command, which is licensed by Un4Seen Developments. (c) Un4Seen Developments.\n\n" +
235
-
"This program uses a slightly modified version of the CarDodge game v0.5.1, accessible in the Game command. CarDodge is licensed under Ryan Zorkot with the MIT License. For more information, visit the repository: https://github.com/rforzachamp821/CarDodge\n\n"
248
+
"___ABOUT THIS PROGRAM___\n\nThis is the ZeeTerminal Commandline Program, Build v" + std::string(ZT_VERSION) + ".\n" +
249
+
"This is a beta build of ZeeTerminal, with an entirely new engine and components.\nThis program is made in C++, with a few very small parts of C." +
250
+
"\n\nThis program uses the DirectShow API in the MediaPlayer command, licensed by Microsoft Corp. (c) Microsoft Corp.\n\n" +
251
+
"This program uses the BASS API in the AudioPlayer command, licensed by Un4Seen Developments. (c) Un4Seen Developments.\n\n" +
252
+
"This program uses the CarDodge game v0.6.0, accessible in the Game command. CarDodge is licensed under Ryan Zorkot with the MIT License. For more information, visit the archived repo: https://github.com/rforzachamp821/CarDodge\n\n"
236
253
"\nZeeTerminal is licensed under the MIT License. The license and credits can be viewed on Page 4.\n\n"
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n <source>\tThe original file to be copied to another file. Put the file directory in place of <source>.\n <dest>\t\tThe file directory of the new/existing file. Put the file directory in place of <dest>.")
399
+
<< wordWrap("\n\nSyntax: copyfile <source> <dest> (in this exact order).")
<< wordWrap("\n\nNOTE: For any directory with spaces, use quotes like in the example.\nNOTE: You must have both the source and the destination directories when using them as arguments.\nNOTE: Read this article for information on the different forms of filepaths: ");
399
402
@@ -422,6 +425,7 @@ namespace helpmsgs
422
425
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n -o\t\tEnable overwrite mode. Any existing file with the same filename as the file to copy will be overwritten when specified."
423
426
"\n -d\t\tEnable folder copy mode. When a folder is specified as a source, the contents of that folder will be recursively copied to the destination."
424
427
"\n <source>\tThe file to copy. Put the file directory in place of <source>.\n <dest>\t\tThe destination location/directory. Put the directory path in place of <dest>.\n\n"
428
+
"Syntax: copy <source <dest> (in this exact order).\n\n"
"NOTE: For any directory with spaces, use quotes like in the example.\nNOTE: You must have both the source and the destination directories when using them as arguments.\nNOTE: Read this article for information on the different forms of filepaths: ");
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n -i\t\tStart immediately, with default settings when no argument is given.\n --display\tStarts the hacking text part of this command.\n --type\t\tStarts the hacker typing part of this command.\n --typecustom\tStarts the hacker typing part of this command, with custom file output abilities.\n <speed>\tSpeed of output characters for 'type' and 'typecustom' arguments. Must be a number.\n <filepath>\tCustom filepath argument for 'typecustom' argument. Must be a valid filepath.")
551
555
<< wordWrap("\n\nSyntax for '--type' argument:\t\t --type <speed>\nSyntax for '--typecustom' argument:\t --typecustom <filepath> <speed> (In order)")
552
-
<< wordWrap("\n\nExample: hacker --type\n\n");
556
+
<< wordWrap("\n\nExample: hacker --type\n\nNOTE: When using the --typecustom argument, in the <filepath> argument, you can use \"*open\" without quotes to use the Windows File Dialogue to open files.\n\n");
553
557
554
558
return;
555
559
}
@@ -1034,7 +1038,8 @@ namespace helpmsgs
1034
1038
colourSubheading();
1035
1039
std::cout << "Possible arguments for this command:" << NOULINE_STR;
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n --cardodge\tStarts the CarDodge game, a game where you dodge enemy cars to gain points.\n\n"
1041
+
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n --cardodge\tStarts the CarDodge game, a game where you dodge enemy cars to gain points.\n"
1042
+
" --gtn\t\tStarts the Guess The Number game, a game where you guess a number between 1 and 100 in as little tries as you can.\n\n"
1038
1043
"Example: game --cardodge\n\n");
1039
1044
1040
1045
return;
@@ -1082,4 +1087,68 @@ namespace helpmsgs
1082
1087
1083
1088
return;
1084
1089
}
1090
+
1091
+
// FactorialHelp
1092
+
voidFactorialHelp() {
1093
+
CentreColouredText(" ___FACTORIAL___ ", 1);
1094
+
std::cout << "\n";
1095
+
CentreColouredText("This command calculates the factors and prime factors of a positive integer.", 2);
1096
+
std::cout << "\n\n";
1097
+
1098
+
colourSubheading();
1099
+
std::cout << "What this command does:" << NOULINE_STR;
std::cout << wordWrap("\n- This command simply calculates the prime factors and factors of a positive integer.\n- The results are displayed on the terminal screen.\n\n");
1102
+
1103
+
colourSubheading();
1104
+
std::cout << "Possible arguments for this command:" << NOULINE_STR;
std::cout << wordWrap("\n -h\tDisplays this help message.\n <num>\tFactorise a number from an argument parameter. Put the number in place of <num>.\n\nExample: factorial 45\n\n");
1107
+
1108
+
return;
1109
+
}
1110
+
1111
+
// CalcQuadraticHelp
1112
+
voidCalcQuadraticHelp() {
1113
+
CentreColouredText(" ___CALCQUADRATIC___ ", 1);
1114
+
std::cout << "\n";
1115
+
CentreColouredText("CalcQuadratic allows you to compute all values of a quadratic equation quickly and easily.", 2);
1116
+
std::cout << "\n\n";
1117
+
1118
+
colourSubheading();
1119
+
std::cout << "What this command does:" << NOULINE_STR;
std::cout << wordWrap("\n- This command calculates all the values of a quadratic mathematical equation quickly and easily.\n- All the command needs is the A, B and C values, from this quadratic equation form: [ax^2 + bx + c = 0].\n\n");
1122
+
1123
+
colourSubheading();
1124
+
std::cout << "Possible arguments for this command:" << NOULINE_STR;
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n <a> <b> <c>\tCompute values of quadratic equation from arguments. Put A, B and C values in place of <a>, <b> and <c> respectively.\n\n"
1127
+
"Example: calcquadratic 1 9 18\n\nNOTE: The A, B and C arguments must be numerical for the calculator to work.\n\n");
1128
+
1129
+
return;
1130
+
}
1131
+
1132
+
// Y2038Help
1133
+
voidY2038Help() {
1134
+
CentreColouredText(" ___Y2038___ ", 1);
1135
+
std::cout << "\n";
1136
+
CentreColouredText("This command displays how long is left until the Y2038 time overflow occurs.", 2);
1137
+
std::cout << "\n\n";
1138
+
1139
+
colourSubheading();
1140
+
std::cout << "What this command does:" << NOULINE_STR;
std::cout << wordWrap("\n- This command displays how long is left until the Y2038 time overflow occurs (aka the Y2038 problem, Y2K38).\n- This bug occurs because there are simply too many seconds to fit into a 32-bit integer. Therefore, it affects all 32-bit systems."
1143
+
"\n- You can find out more about this phenomenon on the Wikipedia page: ");
UserErrorDisplay("An error occured. Your setting option seems to be incorrect. Make sure it's a number and try again.\nType \"settings -h\" for more info.\n");
VerbosityDisplay("In Commands() - ERROR: Could not detect numerical value in string-based number argument.\n");
816
+
UserErrorDisplay("An error occured. Your setting option seems to be incorrect. Make sure it's a number and try again.\nType \"settings -h\" for more info.\n");
VerbosityDisplay("In Commands() - ERROR: Could not detect numerical value in string-based number argument.\n");
827
+
UserErrorDisplay("An error occured. Your setting option seems to be incorrect. Make sure it's a number and try again.\nType \"settings -h\" for more info.\n");
0 commit comments