From e2051f44b828b2347be216931377817efb2648d7 Mon Sep 17 00:00:00 2001 From: EverythingWindows Date: Wed, 9 Nov 2022 07:02:59 +0700 Subject: [PATCH] syncing man command --- ShiftOS-TheRevival/MainForms/Terminal.vb | 126 +------------- .../MainForms/TerminalInternalApps.vb | 158 ++++++++++++++++++ ShiftOS-TheRevival/MainForms/rev.txt | 5 + .../My Project/Resources.Designer.vb | 79 +++++++++ ShiftOS-TheRevival/My Project/Resources.resx | 18 ++ .../Resources/man Manuals/cowsay.txt | 5 + .../Resources/man Manuals/del.txt | 5 + .../Resources/man Manuals/hostname.txt | 5 + .../Resources/man Manuals/textpad.txt | 8 + .../Resources/man Manuals/time.txt | 3 + .../Resources/man Manuals/username.txt | 5 + ShiftOS-TheRevival/ShiftOS-TheRevival.vbproj | 7 + 12 files changed, 305 insertions(+), 119 deletions(-) create mode 100644 ShiftOS-TheRevival/MainForms/rev.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/del.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/hostname.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/textpad.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/time.txt create mode 100644 ShiftOS-TheRevival/Resources/man Manuals/username.txt diff --git a/ShiftOS-TheRevival/MainForms/Terminal.vb b/ShiftOS-TheRevival/MainForms/Terminal.vb index ceb1390..e74f317 100644 --- a/ShiftOS-TheRevival/MainForms/Terminal.vb +++ b/ShiftOS-TheRevival/MainForms/Terminal.vb @@ -223,6 +223,9 @@ Public Class Terminal TextBox1.Text = TextBox1.Text & Environment.NewLine & "CODEPOINT Display Codepoint(s) from your wallet" TextBox1.Text = TextBox1.Text & Environment.NewLine & "COLOR Changes Terminal Text and Background color to the corresponding choice" TextBox1.Text = TextBox1.Text & Environment.NewLine & "COLORS Shows available colors support for the terminal" + If Strings.AvailableFeature(22) = 1 Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & "COWSAY Spawn a cow and saying anything you want" + End If If Strings.AvailableFeature(16) = 1 Then TextBox1.Text = TextBox1.Text & Environment.NewLine & "DEL Delete a selected file from the directory" TextBox1.Text = TextBox1.Text & Environment.NewLine & "DIR Displays subdirectories and files in a directory" @@ -248,6 +251,9 @@ Public Class Terminal TextBox1.Text = TextBox1.Text & Environment.NewLine & "PRINT Prints a corresponding text entered in the command" End If TextBox1.Text = TextBox1.Text & Environment.NewLine & "REBOOT Terminate and re-run ShiftOS session" + If Strings.AvailableFeature(21) = 1 Then + TextBox1.Text = TextBox1.Text & Environment.NewLine & "REV Turn any sentences you want and making it reversed" + End If If Strings.AvailableFeature(16) = 1 Then TextBox1.Text = TextBox1.Text & Environment.NewLine & "RMDIR Deleting a directory" End If @@ -458,125 +464,7 @@ Public Class Terminal End If If command Like "man *" Then If Strings.AvailableFeature(0) = "1" Then - 'MAN command starts with this kinda format - 'ShiftOS Help Manual - ' - ''command' Usage: [switch/value if needed] - ' - 'Summary of the command's action - ' - 'Example usage : command - TextBox1.Text = TextBox1.Text & Environment.NewLine & "ShiftOS Help Manual" & Environment.NewLine - 'TextBox1.Text = TextBox1.Text & Environment.NewLine & command.Substring(4) - Dim mancommand As String = command.Replace("man ", "") - Dim TempUsage As String = "'" & mancommand & "' Usage: " - Select Case mancommand - 'In process to convert every command from printing from code to printing from text file - Case "bc" - If Strings.AvailableFeature(9) = "1" Then - TempUsage = TempUsage & "bc" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_bc & Environment.NewLine - BadCommand = False - End If - Case "cd" - If Strings.AvailableFeature(16) = "1" Then - TempUsage = TempUsage & "cd [DIRECTORY]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_cd & Environment.NewLine - BadCommand = False - End If - Case "clear" - If Strings.AvailableFeature(1) = "1" Then - TempUsage = TempUsage & "clear" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_clear & Environment.NewLine - BadCommand = False - End If - Case "color" - TempUsage = TempUsage & "color [bg][fg]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_color & Environment.NewLine - BadCommand = False - Case "colors" - TempUsage = TempUsage & "colors" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_colors & Environment.NewLine - BadCommand = False - Case "codepoint" - TempUsage = TempUsage & "codepoint" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_codepoint & Environment.NewLine - BadCommand = False - Case "dir" - If Strings.AvailableFeature(16) = "1" Then - TempUsage = TempUsage & "dir" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_dir & Environment.NewLine - BadCommand = False - End If - Case "guess" - TempUsage = TempUsage & "guess" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_guess & Environment.NewLine - BadCommand = False - Case "help" - TempUsage = TempUsage & "help" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_help & Environment.NewLine - BadCommand = False - Case "infobar" - If Strings.AvailableFeature(4) = 1 Then - TempUsage = TempUsage & "infbar [ON|OFF] [OPTION]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_infobar & Environment.NewLine - BadCommand = False - End If - Case "man" - If Strings.AvailableFeature(0) = "1" Then - TempUsage = TempUsage & "man [command]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_man & Environment.NewLine - BadCommand = False - End If - Case "mkdir" - If Strings.AvailableFeature(16) = "1" Then - TempUsage = TempUsage & "mkdir [DIRECTORY]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_mkdir & Environment.NewLine - BadCommand = False - End If - Case "print" - If Strings.AvailableFeature(2) = "1" Then - TempUsage = TempUsage & "print [text]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_print & Environment.NewLine - BadCommand = False - End If - Case "pwd" - If Strings.AvailableFeature(16) = "1" Then - TempUsage = TempUsage & "pwd" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_pwd & Environment.NewLine - BadCommand = False - End If - Case "reboot" - TempUsage = TempUsage & "reboot" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_reboot & Environment.NewLine - BadCommand = False - Case "rmdir" - If Strings.AvailableFeature(16) = "1" Then - TempUsage = TempUsage & "rmdir [DIRECTORY]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_rmdir & Environment.NewLine - BadCommand = False - End If - Case "shiftfetch" - If Strings.AvailableFeature(8) = "1" Then - TempUsage = TempUsage & "shiftfetch" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shiftfetch & Environment.NewLine - BadCommand = False - End If - Case "shiftorium" - TempUsage = TempUsage & "shiftorium [option] [featureName]" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shiftorium & Environment.NewLine - BadCommand = False - Case "shutdown" - TempUsage = TempUsage & "shutdown" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shutdown & Environment.NewLine - BadCommand = False - Case "ver" - TempUsage = TempUsage & "ver" - TextBox1.Text = TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_ver & Environment.NewLine - BadCommand = False - Case Else - TextBox1.Text = TextBox1.Text & Environment.NewLine & "MAN : Invalid command" - End Select + Manual(command) End If End If If command Like "mkdir *" Then diff --git a/ShiftOS-TheRevival/MainForms/TerminalInternalApps.vb b/ShiftOS-TheRevival/MainForms/TerminalInternalApps.vb index b757cb6..4a7aa65 100644 --- a/ShiftOS-TheRevival/MainForms/TerminalInternalApps.vb +++ b/ShiftOS-TheRevival/MainForms/TerminalInternalApps.vb @@ -82,4 +82,162 @@ 'Loop End Select End Sub + + Public Sub Manual(Command As String) + 'MAN command starts with this kinda format + 'ShiftOS Help Manual + ' + ''command' Usage: [switch/value if needed] + ' + 'Summary of the command's action + ' + 'Example usage : command + Terminal.TextBox1.Text = Terminal.TextBox1.Text & Environment.NewLine & "ShiftOS Help Manual" & Environment.NewLine + 'Terminal.TextBox1.Text = Terminal.TextBox1.Text & Environment.NewLine & command.Substring(4) + Dim mancommand As String = Command.Replace("man ", "") + Dim TempUsage As String = "'" & mancommand & "' Usage: " + Select Case mancommand + 'In process to convert every command from printing from code to printing from text file + Case "bc" + If Strings.AvailableFeature(9) = "1" Then + TempUsage = TempUsage & "bc" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_bc & Environment.NewLine + Terminal.BadCommand = False + End If + Case "cd" + If Strings.AvailableFeature(16) = "1" Then + TempUsage = TempUsage & "cd [DIRECTORY]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_cd & Environment.NewLine + Terminal.BadCommand = False + End If + Case "clear" + If Strings.AvailableFeature(1) = "1" Then + TempUsage = TempUsage & "clear" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_clear & Environment.NewLine + Terminal.BadCommand = False + End If + Case "color" + TempUsage = TempUsage & "color [bg][fg]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_color & Environment.NewLine + Terminal.BadCommand = False + Case "colors" + TempUsage = TempUsage & "colors" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_colors & Environment.NewLine + Terminal.BadCommand = False + Case "cowsay" + If Strings.AvailableFeature(22) = 1 Then + TempUsage = TempUsage & "cowsay [STRING]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_cowsay & Environment.NewLine + Terminal.BadCommand = False + End If + Case "codepoint" + TempUsage = TempUsage & "codepoint" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_codepoint & Environment.NewLine + Terminal.BadCommand = False + Case "del" + If Strings.AvailableFeature(16) = 1 Then + TempUsage = TempUsage & "del [FILENAME.TXT]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_del & Environment.NewLine + Terminal.BadCommand = False + End If + Case "dir" + If Strings.AvailableFeature(16) = "1" Then + TempUsage = TempUsage & "dir" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_dir & Environment.NewLine + Terminal.BadCommand = False + End If + Case "guess" + TempUsage = TempUsage & "guess" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_guess & Environment.NewLine + Terminal.BadCommand = False + Case "help" + TempUsage = TempUsage & "help" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_help & Environment.NewLine + Terminal.BadCommand = False + Case "hostname" + If Strings.AvailableFeature(20) = 1 Then + TempUsage = TempUsage & "hostname [HOSTNAME]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_hostname & Environment.NewLine + Terminal.BadCommand = False + End If + Case "infobar" + If Strings.AvailableFeature(4) = 1 Then + TempUsage = TempUsage & "infobar [ON|OFF] [OPTION]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_infobar & Environment.NewLine + Terminal.BadCommand = False + End If + Case "man" + If Strings.AvailableFeature(0) = "1" Then + TempUsage = TempUsage & "man [command]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_man & Environment.NewLine + Terminal.BadCommand = False + End If + Case "mkdir" + If Strings.AvailableFeature(16) = "1" Then + TempUsage = TempUsage & "mkdir [DIRECTORY]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_mkdir & Environment.NewLine + Terminal.BadCommand = False + End If + Case "print" + If Strings.AvailableFeature(2) = "1" Then + TempUsage = TempUsage & "print [text]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_print & Environment.NewLine + Terminal.BadCommand = False + End If + Case "pwd" + If Strings.AvailableFeature(16) = "1" Then + TempUsage = TempUsage & "pwd" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_pwd & Environment.NewLine + Terminal.BadCommand = False + End If + Case "reboot" + TempUsage = TempUsage & "reboot" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_reboot & Environment.NewLine + Terminal.BadCommand = False + Case "rmdir" + If Strings.AvailableFeature(16) = "1" Then + TempUsage = TempUsage & "rmdir [DIRECTORY]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_rmdir & Environment.NewLine + Terminal.BadCommand = False + End If + Case "shiftfetch" + If Strings.AvailableFeature(8) = "1" Then + TempUsage = TempUsage & "shiftfetch" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shiftfetch & Environment.NewLine + Terminal.BadCommand = False + End If + Case "shiftorium" + TempUsage = TempUsage & "shiftorium [option] [featureName]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shiftorium & Environment.NewLine + Terminal.BadCommand = False + Case "shutdown" + TempUsage = TempUsage & "shutdown" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_shutdown & Environment.NewLine + Terminal.BadCommand = False + Case "textpad" + If Strings.AvailableFeature(17) = "1" Then + TempUsage = TempUsage & "textpad [FILENAME.TXT]" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_textpad & Environment.NewLine + Terminal.BadCommand = False + End If + Case "time" + If Strings.AvailableFeature(17) = "1" Then + TempUsage = TempUsage & "time" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_time & Environment.NewLine + Terminal.BadCommand = False + End If + Case "username" + If Strings.AvailableFeature(19) = "1" Then + TempUsage = TempUsage & "username" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_username & Environment.NewLine + Terminal.BadCommand = False + End If + Case "ver" + TempUsage = TempUsage & "ver" + Terminal.TextBox1.Text = Terminal.TextBox1.Text & TempUsage & Environment.NewLine & Environment.NewLine & My.Resources.man_ver & Environment.NewLine + Terminal.BadCommand = False + Case Else + Terminal.TextBox1.Text = Terminal.TextBox1.Text & Environment.NewLine & "MAN : Invalid command" + End Select + End Sub End Module diff --git a/ShiftOS-TheRevival/MainForms/rev.txt b/ShiftOS-TheRevival/MainForms/rev.txt new file mode 100644 index 0000000..2e44708 --- /dev/null +++ b/ShiftOS-TheRevival/MainForms/rev.txt @@ -0,0 +1,5 @@ +Reverse the text you inputted in the terminal + +[TEXT] Words or sentences you want to reverse + +example: rev SOtfihS \ No newline at end of file diff --git a/ShiftOS-TheRevival/My Project/Resources.Designer.vb b/ShiftOS-TheRevival/My Project/Resources.Designer.vb index 4631ae5..4565264 100644 --- a/ShiftOS-TheRevival/My Project/Resources.Designer.vb +++ b/ShiftOS-TheRevival/My Project/Resources.Designer.vb @@ -160,6 +160,32 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Spawns a cow into the terminal and making it saying anything you typed in the terminal + ''' + '''[STRING] Words or sentences you want to say + ''' + '''example: cowsay ShiftOS is cool. + ''' + Friend ReadOnly Property man_cowsay() As String + Get + Return ResourceManager.GetString("man_cowsay", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Delete a file in the current directory + ''' + '''[FILENAME.EXT] Filename you want to remove + ''' + '''example: del junk.exe. + ''' + Friend ReadOnly Property man_del() As String + Get + Return ResourceManager.GetString("man_del", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Displays all subdirectories and files that are in the current directory ''' @@ -189,6 +215,19 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Changes the existing hostname with a new one + ''' + '''[HOSTNAME] New hostname/computer name you decided + ''' + '''example: hostname ShiftPC. + ''' + Friend ReadOnly Property man_hostname() As String + Get + Return ResourceManager.GetString("man_hostname", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Displays informations about current session of Terminal such as current time, current application, current user, and current codepoint ''' @@ -306,6 +345,46 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to A simple text-editor for ShiftOS. + ''' + '''[FILENAME.TXT] Filename of the text you want to write + ''' + ''' It will open a blank text if the file is not existent + ''' Otherwise, it will open the file and fills the text with the file's content + ''' + '''example: textpad important.txt. + ''' + Friend ReadOnly Property man_textpad() As String + Get + Return ResourceManager.GetString("man_textpad", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Shows the time in the corresponding existed format + ''' + '''example: time. + ''' + Friend ReadOnly Property man_time() As String + Get + Return ResourceManager.GetString("man_time", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Changes the current username with a new one. + ''' + '''[USERNAME] New username you want to change to + ''' + '''example: username philip. + ''' + Friend ReadOnly Property man_username() As String + Get + Return ResourceManager.GetString("man_username", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Displays current version of ShiftOS TheRevival. ''' diff --git a/ShiftOS-TheRevival/My Project/Resources.resx b/ShiftOS-TheRevival/My Project/Resources.resx index 9359e8c..7b9b712 100644 --- a/ShiftOS-TheRevival/My Project/Resources.resx +++ b/ShiftOS-TheRevival/My Project/Resources.resx @@ -145,6 +145,12 @@ ..\resources\man manuals\colors.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + ..\resources\man manuals\cowsay.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + ..\resources\man manuals\del.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + ..\resources\man manuals\dir.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 @@ -154,6 +160,9 @@ ..\resources\man manuals\help.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + ..\resources\man manuals\hostname.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + ..\resources\man manuals\infobar.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 @@ -184,6 +193,15 @@ ..\resources\man manuals\shutdown.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + ..\resources\man manuals\textpad.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + ..\resources\man manuals\time.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + ..\resources\man manuals\username.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + ..\resources\man manuals\ver.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 diff --git a/ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt b/ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt new file mode 100644 index 0000000..976371d --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt @@ -0,0 +1,5 @@ +Spawns a cow into the terminal and making it saying anything you typed in the terminal + +[STRING] Words or sentences you want to say + +example: cowsay ShiftOS is cool \ No newline at end of file diff --git a/ShiftOS-TheRevival/Resources/man Manuals/del.txt b/ShiftOS-TheRevival/Resources/man Manuals/del.txt new file mode 100644 index 0000000..0757988 --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/del.txt @@ -0,0 +1,5 @@ +Delete a file in the current directory + +[FILENAME.EXT] Filename you want to remove + +example: del junk.exe \ No newline at end of file diff --git a/ShiftOS-TheRevival/Resources/man Manuals/hostname.txt b/ShiftOS-TheRevival/Resources/man Manuals/hostname.txt new file mode 100644 index 0000000..a336dc9 --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/hostname.txt @@ -0,0 +1,5 @@ +Changes the existing hostname with a new one + +[HOSTNAME] New hostname/computer name you decided + +example: hostname ShiftPC \ No newline at end of file diff --git a/ShiftOS-TheRevival/Resources/man Manuals/textpad.txt b/ShiftOS-TheRevival/Resources/man Manuals/textpad.txt new file mode 100644 index 0000000..0fe2434 --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/textpad.txt @@ -0,0 +1,8 @@ +A simple text-editor for ShiftOS. + +[FILENAME.TXT] Filename of the text you want to write + + It will open a blank text if the file is not existent + Otherwise, it will open the file and fills the text with the file's content + +example: textpad important.txt \ No newline at end of file diff --git a/ShiftOS-TheRevival/Resources/man Manuals/time.txt b/ShiftOS-TheRevival/Resources/man Manuals/time.txt new file mode 100644 index 0000000..f4b7277 --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/time.txt @@ -0,0 +1,3 @@ +Shows the time in the corresponding existed format + +example: time \ No newline at end of file diff --git a/ShiftOS-TheRevival/Resources/man Manuals/username.txt b/ShiftOS-TheRevival/Resources/man Manuals/username.txt new file mode 100644 index 0000000..88059bc --- /dev/null +++ b/ShiftOS-TheRevival/Resources/man Manuals/username.txt @@ -0,0 +1,5 @@ +Changes the current username with a new one. + +[USERNAME] New username you want to change to + +example: username philip \ No newline at end of file diff --git a/ShiftOS-TheRevival/ShiftOS-TheRevival.vbproj b/ShiftOS-TheRevival/ShiftOS-TheRevival.vbproj index 8548cf7..8447290 100644 --- a/ShiftOS-TheRevival/ShiftOS-TheRevival.vbproj +++ b/ShiftOS-TheRevival/ShiftOS-TheRevival.vbproj @@ -200,6 +200,8 @@ + + @@ -209,11 +211,14 @@ + + + @@ -222,6 +227,8 @@ + +