Idea for auto-complete, history and unix-like more command
Anthony Vaughan Bartram (2454) 458 posts |
I have an idea of how to write a wrapper program that would provide: 1) auto-complete for module *commands and commands in the path variables. I wrote a unix like more program 20 years ago on Windows (with search built in etc) for my own use & have mostly ported it to RISC OS already. Just wondered, whether a task window / shell extension already existed that did 1 & 2? Otherwise, I thought I’d write one as I think it would help with usability. I’d put all of these features in the program, if its deemed worth writing. If anyone knows if this already exists please let me know here. As well as, if this would be a good idea. Thanks, Tony |
Steffen Huber (91) 1953 posts |
Filename completion and command history is provided by the LineEditor module by Olly Betts https://survex.com/~olly/software.html |
Steve Pampling (1551) 8172 posts |
Got LineEditor loaded here. Handy for all those instances where I expect things to just work. That said, perhaps a more feature rich version, with the source as part of the ROOL archive and available to all RO5 users by default might be rather useful. |
Anthony Vaughan Bartram (2454) 458 posts |
Thanks Steffan and Steve. I have found the source code & binary for the 32 bit version and am studying the assembler & SWIs it uses. As I am becoming familiar with module development through writing my RISC OS sound module, I will look at creating a new feature rich shell extension (e.g. with find / grep / more built-in and additional file completion options) which I could submit for inclusion to ROOL. This would be written in C. I’ve got several projects in development at the moment. So I’ll place in the queue and start sketching it out. |
Matthew Phillips (473) 721 posts |
Well, I had no idea the LineEditor module did filename completion! I’ve been using its command history function for years. |