There is a program called Shell Utility Extended that is basically a new child/sibling of this thing. To read more about it look here
Extended Shell - Advanced Tab-completion and Suggestions, Command History, Lua, Find, Cat. v3.0 - Rewritten.
Complete rewrite for versions 1.6 up.
Extended Shell if extension/modification of standard ComputerCraft Shell. Included are many new and useful features that make coding and working with shell much easier. Works perfect on Portable Computers as well as on all other devices :D/>.
Download Here: http://pastebin.com/wJVmXZv7
Or ingame by using command:
pastebin get wJVmXZv7 filename
(requires http-api to be active)Features List:
- Tab-Completion of commands. Lists default vanilla programs system commands and filesystem itself. Also lists possible arguments for vanilla programs. When you press Tab it will ether fill out whole name(if one possible) or print out list of possibles and fill out common part. If you are pointing at folder it will print out all files in said folder.
- Ghost suggestions - If there is a common part of word or only one word to write out it will show it in gray on advanced computers and in black (visible on large monitors) on bw ones. If you have yet to write something it will tell you what it needs next if it knows.
- Intelligent suggestions - for programs its coded for it has advanced abilities - in case of chat it lookups hostnames in area and lists them for you, in case of programs that need diskdrive/monitors it lists only sides that have them (includes wired modem systems detection of peripherals)
- Build in lua interface - type "!lua" followed by lua command to execute it. Type "!rlua" to reset shell lua environment. For fast command testing.
- Build in cat. Simply write "!cat" followed my paths to files (can be one can be many) and it will write contents of those files to console. If needed result gets paged. For fast file lookup
- File search. Use "!find" to look for file on computer by name.
- Permanent Command History - Last 100 commands that you called are stored in shell log file. Don't store empty enters for even more practical space.
- Whole Shell is written to allow live use. If placed anywhere not in rom it will store history in hidden file next to it. That allows you to keep in of floppy and take with you everywhere.!
- Also Written in way that allows to use it as main shell on computer. Simply replace "rom/programs/shell" with this file and you will have Extended Shell on all Computers.
Spoiler
v3.0 - Release of rewritten version of On OS Sub-forum - First RewritePlans For Future:
Spoiler
scrollable terminal historymore useful system commands (looking for suggestions)
Any Comment and Suggestions how to improve Code are appreciated.
Pre 1.6 archived 2.1 version
Extended Shell -Tab-completion, Command History, Pastebin, Lua, Find, Cat, Clock. v2.1Extended Shell if extension/modification of standard ComputerCraft Shell. Included are many new and useful features that make coding and working with shell much easier.
Download Here: http://pastebin.com/tQutzmaX
Or ingame by using command:
pastebin get tQutzmaX filename
(requires http-api to be active)Features List:
- Tab-Completion of commands. When you press Tab it will ether fill out whole name(if one possible) or print out list of possibles and fill out common part. If you are pointing at folder it will print out all files. You can even force it to show hidden files by specifying "."(a common start for all hidden files.). This will work in middle of command to. So per example you have
and want to tab-complete path to programs from "rom/" you can do it.!!! But remember you need to be at end of path for it to work (so in example cursor must be after "/" in "rom/".cp rom/ disk/test
- Build in lua interface - type "lua<" followed by lua command to execute it. Type "lua#" to reset shell lua environment. For fast command testing.
- Build in cat. Simply write "cat<" followed my paths to files (can be one can be many) and it will write contents of those files to console. If needed result gets paged. For fast file lookup
- File search. Use "find<" to look for file on computer by name or "findpattern<" to look for said file using string library patterns.
- Permanent Command History - Last 100 commands that you called are stored in shell log file. Don't store empty enters for even more practical space.
- Build in Pastebin cammand - Allows you to download any pastes from your account by simply logging in it using pastebin web api. commands are plogin<,plogout<,pget<,plist<. For more info on how to use it see spoiler below,
- Super Extra Clock in active line!! Always be on time! (You can turn clock on and off using "clock<" command
- Whole Shell is written to allow live use. If placed anywhere not in rom it will store pastes and history in hidden file next to it. That allows you to keep in of floppy and take with you everywhere.!
- Also Written in way that allows to use it as main shell on computer. Simply replace "rom/programs/shell" with this file and you will have Extended Shell on all Computers.
Spoiler
Tab-Completion (and color/non color difference)vpastebin in works.
"cat<" and "lua<" action
Useage of paste commands
Spoiler
There are 4 simple commands that allow you to log in and download your pastes.- plogin< - asks for login ans password to pastebin and then authenticates to it for use of other commands
- plogount< - logs out from pastebin
- pget< [path] - lists all pastes in user library - allows to selcet one that is then downloaded to [path]
- plist< - lists all pastes and allows downloading more that one at the time. pastes are downloaded into Pases folder next to shell file or in "/" if shell file is in read only directory.
Change-log:
Spoiler
v1.0 - Release On OS Sub-forum - First Relasev1.1 - Added ".vfsprograms.dat" for loading pastes into rom/programs
v1.2 - Rewrote message handling and added "cat<"
v1.2.1 -Added "clock<" command to toggle clock on and off
v1.3 - Added ability to tab-complete path in middle of command.
v1.4 - Added ability to select single files from paste-bin account when using login file
v1.5 - Small code cleanup - removed 200 lines of inactive functions.
v2.0 - Added file finding and edit modyfication
v2.1 - Removed all vitrtual files system due how shoddy i coded it, this means that list and edit are no longer modyfied. Moved all pastebin code into shell itself as build in commands.
Plans For Future:
Spoiler
Add fuel display on turtles next to clock.Any Comment and Suggestions how to improve Code are appreciated.