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 .
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.
Plans For Future:
Any Comment and Suggestions how to improve Code are appreciated.
Edited by wojbie, 04 October 2015 - 01:45 PM.