mirror of
https://github.com/EverythingWindows/ShiftOS-TheRevival-Old.git
synced 2025-01-22 18:02:16 +00:00
syncing man command
This commit is contained in:
parent
680d108f07
commit
e2051f44b8
12 changed files with 305 additions and 119 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
5
ShiftOS-TheRevival/MainForms/rev.txt
Normal file
5
ShiftOS-TheRevival/MainForms/rev.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
Reverse the text you inputted in the terminal
|
||||
|
||||
[TEXT] Words or sentences you want to reverse
|
||||
|
||||
example: rev SOtfihS
|
79
ShiftOS-TheRevival/My Project/Resources.Designer.vb
generated
79
ShiftOS-TheRevival/My Project/Resources.Designer.vb
generated
|
@ -160,6 +160,32 @@ Namespace My.Resources
|
|||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' 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.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_cowsay() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_cowsay", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' 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.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_del() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_del", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' 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
|
||||
|
||||
'''<summary>
|
||||
''' 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.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_hostname() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_hostname", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' 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
|
||||
|
||||
'''<summary>
|
||||
''' 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.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_textpad() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_textpad", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Shows the time in the corresponding existed format
|
||||
'''
|
||||
'''example: time.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_time() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_time", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' 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.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property man_username() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("man_username", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Displays current version of ShiftOS TheRevival.
|
||||
'''</summary>
|
||||
|
|
|
@ -145,6 +145,12 @@
|
|||
<data name="man_colors" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\colors.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_cowsay" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\cowsay.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_del" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\del.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_dir" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\dir.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
|
@ -154,6 +160,9 @@
|
|||
<data name="man_help" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\help.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_hostname" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\hostname.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_infobar" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\infobar.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
|
@ -184,6 +193,15 @@
|
|||
<data name="man_shutdown" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\shutdown.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_textpad" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\textpad.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_time" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\time.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_username" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\username.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="man_ver" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\man manuals\ver.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
|
|
5
ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt
Normal file
5
ShiftOS-TheRevival/Resources/man Manuals/cowsay.txt
Normal file
|
@ -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
|
5
ShiftOS-TheRevival/Resources/man Manuals/del.txt
Normal file
5
ShiftOS-TheRevival/Resources/man Manuals/del.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
Delete a file in the current directory
|
||||
|
||||
[FILENAME.EXT] Filename you want to remove
|
||||
|
||||
example: del junk.exe
|
5
ShiftOS-TheRevival/Resources/man Manuals/hostname.txt
Normal file
5
ShiftOS-TheRevival/Resources/man Manuals/hostname.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
Changes the existing hostname with a new one
|
||||
|
||||
[HOSTNAME] New hostname/computer name you decided
|
||||
|
||||
example: hostname ShiftPC
|
8
ShiftOS-TheRevival/Resources/man Manuals/textpad.txt
Normal file
8
ShiftOS-TheRevival/Resources/man Manuals/textpad.txt
Normal file
|
@ -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
|
3
ShiftOS-TheRevival/Resources/man Manuals/time.txt
Normal file
3
ShiftOS-TheRevival/Resources/man Manuals/time.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Shows the time in the corresponding existed format
|
||||
|
||||
example: time
|
5
ShiftOS-TheRevival/Resources/man Manuals/username.txt
Normal file
5
ShiftOS-TheRevival/Resources/man Manuals/username.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
Changes the current username with a new one.
|
||||
|
||||
[USERNAME] New username you want to change to
|
||||
|
||||
example: username philip
|
|
@ -200,6 +200,8 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\CurrentVersion.txt" />
|
||||
<Content Include="MainForms\rev.txt" />
|
||||
<Content Include="Resources\man Manuals\textpad.txt" />
|
||||
<Content Include="Resources\epilepsy.txt" />
|
||||
<Content Include="Resources\Fortunes.txt" />
|
||||
<Content Include="Resources\hangman.txt" />
|
||||
|
@ -209,11 +211,14 @@
|
|||
<Content Include="Resources\man Manuals\codepoint.txt" />
|
||||
<Content Include="Resources\man Manuals\color.txt" />
|
||||
<Content Include="Resources\man Manuals\colors.txt" />
|
||||
<Content Include="Resources\man Manuals\del.txt" />
|
||||
<Content Include="Resources\man Manuals\dir.txt" />
|
||||
<Content Include="Resources\man Manuals\guess.txt" />
|
||||
<Content Include="Resources\man Manuals\help.txt" />
|
||||
<Content Include="Resources\man Manuals\hostname.txt" />
|
||||
<Content Include="Resources\man Manuals\infobar.txt" />
|
||||
<Content Include="Resources\man Manuals\man.txt" />
|
||||
<Content Include="Resources\man Manuals\cowsay.txt" />
|
||||
<Content Include="Resources\man Manuals\mkdir.txt" />
|
||||
<Content Include="Resources\man Manuals\print.txt" />
|
||||
<Content Include="Resources\man Manuals\pwd.txt" />
|
||||
|
@ -222,6 +227,8 @@
|
|||
<Content Include="Resources\man Manuals\shiftfetch.txt" />
|
||||
<Content Include="Resources\man Manuals\shiftorium.txt" />
|
||||
<Content Include="Resources\man Manuals\shutdown.txt" />
|
||||
<Content Include="Resources\man Manuals\time.txt" />
|
||||
<Content Include="Resources\man Manuals\username.txt" />
|
||||
<Content Include="Resources\man Manuals\ver.txt" />
|
||||
<None Include="Resources\Menu Picture\ShiftOS_MenuBanner2.jpg" />
|
||||
<None Include="Resources\Menu Picture\ShiftOS_MenuBanner1.jpg" />
|
||||
|
|
Loading…
Reference in a new issue