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
resolve(["You can read the help of a specific command by entering as follows: 'help commandName'","List of useful commands:",`<div class="ls-files">${commands.join("<br>")}</div>`]);
283
+
resolve([
284
+
"You can read the help of a specific command by entering as follows: 'help commandName'",
"You can navigate in the commands usage history using the UP & DOWN arrow keys.",
288
+
"The TAB key will provide command auto-completion."
289
+
]);
284
290
}elseif(args[0]==="clear"){
285
291
resolve(["Usage:","> clear","The clear command will completely wipeout the entire screen, but it will not affect the history."]);
286
292
}elseif(args[0]==="date"){
@@ -296,11 +302,23 @@ system = {
296
302
}elseif(args[0]==="mail"){
297
303
resolve(["Usage:","> mail","If you're logged in you can list your mail messages if any."]);
298
304
}elseif(args[0]==="ping"){
299
-
resolve(["Usage:","> ping address","The ping command will try to reach a valid address.","If the ping doesn't return a valid response, the address may be incorrect, may not exist or can't be reached locally."]);
305
+
resolve([
306
+
"Usage:",
307
+
"> ping address",
308
+
"The ping command will try to reach a valid address.",
309
+
"If the ping doesn't return a valid response, the address may be incorrect, may not exist or can't be reached locally."
310
+
]);
300
311
}elseif(args[0]==="read"){
301
312
resolve(["Usage:","> read x","If you're logged in you can read your mail messages if any."]);
302
313
}elseif(args[0]==="telnet"){
303
-
resolve(["Usage:","> telnet address","> telnet address@password","You can connect to a valid address to access a specific server if the server is at internet.","Intranet servers can only be accessed locally.","You may need a password if it isn't a public server."]);
314
+
resolve([
315
+
"Usage:",
316
+
"> telnet address",
317
+
"> telnet address@password",
318
+
"You can connect to a valid address to access a specific server if the server is at internet.",
319
+
"Intranet servers can only be accessed locally.",
320
+
"You may need a password if it isn't a public server."
321
+
]);
304
322
}elseif(args[0]==="whoami"){
305
323
resolve(["Usage:","> whoami","Display the server you are currently connected to, and the login you are registered with."]);
0 commit comments