home *** CD-ROM | disk | FTP | other *** search
- CLI Utils v0.02
- ---------------
-
- Released: 23 May 1993 (well, almost)
-
- This small module was written because I found the facility of pressing TAB
- to complete a filename under certain Unix shells extremely useful. So, when
- you run this module, pressing TAB will complete the currently uncomplete
- filename! Gosh!
-
- Pressing TAB without a leafname (filename ignoring any pathname) will cause
- the first directory entry to appear. If you enter any letters, the filename
- which will appear will be the first to match what you type. You can easily
- move down a directory structure by typing the first couple of letters of each
- directory name (to ensure you get the right directory), followed by TAB to
- complete the directory name, and a dot.
-
- You will be beeped when there are no files in that directory which match the
- partial filename entered, or when you try to TAB into a file (like
- !Boot.[TAB] when !Boot is a file)
-
- You can include standard RISC OS wildcards in any filename/pathname.
-
-
- Almost techy stuff
- ------------------
- Oh, I hate CLIs... and underlines... and badly centred text ;-)
- Oh, that's quite well centred ackshully - TABs are almost useful after all...
-
- Err, it intercepts ReadlineV, so any program which reads lines with
- OS_ReadLine will have filename completion :-)
-
- It probably doesn't follow all the OS_ReadLine rules, since the Arthur PRMs
- are not consistent with RISC OS 3.10 in all cases (backspace deletes for a
- start), so I've copied it as much as I can. It shouldn't cause any problems
- though - if you find any keystrokes which don't do as you'd expect, please
- tell me, so I can correct it.
-
- Err, I can't think of anything else... Err..... Humm.... Boring huh.
-
- Oh well, I'll dedicate this program to the diminishing amount of CLI hackers
- there are these days :-)
-
- Boring distribution thingies
- ----------------------------
- Oh, almost forgot! The proggie is freeware, which means you can copy it,
- distribute it, delete it, burn it, and do anything you like with it, as long
- as it is not altered in any way (that includes this text file). You can only
- distribute the module with this text file too... The copyright remains with
- me at all times. I am not responsible for any loss of data or anyfink like
- that - I can't see why that should happen tho - it hasn't for me, and I've
- been using it for, all of an hour (very occasionally tho - I hate CLIs ;-) )
-
- Fings to cum
- ------------
- An increment in the version number.
-
- Maybe some more error checking...
-
- CTRL codes need a bit of tidying up (CTRL-V 0 enters 0 into the buffer -
- oppsy)
-
- Possible filenames if you press TAB twice.
-
- Oh, it might appear not to work under a task window - I've no idea why, and I
- think I'm too lazy to work it out (I don't think it's my fault), but CTRL-I
- (which is identical to TAB usually) works instead. It's probably some
- filtering done by the TaskWindow module or sumink...
-
- Err, it should work under both RISC OS 2 and RISC OS 3, but I've only tested
- it under RISC OS 3... It should, in fact, work under Arthur, but I'm too
- young to remember that ;-) Well, I was content with an Electron....
-
- Any suggestions, flames (they'll be fun - if they're good enough, I'll
- repeat them (under a slightly different context) to the latest DoggySoft
- member to log onto Arcade), comments and donations(?!) to:
- Piers Wombwell
- 34 Hereford Road
- Wanstead
- London
- E11 2EA
-
- or email me at ZHAC105@rhbnc.ac.uk or on Arcade (081-654 2212 - practically
- all imaginable ridiculously high and unnecessary speeds) as 'Piers'.
- (Arcade fastest during university holidays (and when I say 'fast', anyone on
- Arcade knows what I mean ;-) ), email fastest during university term times
- (probably faster than Arcade if I'm there that day), home address just boring
- and slow really :-) )
-
- If you do write, please include a SAE, especially if it's not a nice easy to
- work out postage rate :-)
-
- -expecting huge amounts of snail-mail, megs and megs of email [with my 1 Meg
- mail quota :-( Or is it two - Oh, I can never remember what a block is with
- VMS] ;-)
- -who's also been Arcadeless for the last 2 weeks! YEAK!
- -who doesn't expect to download all the messages when he next logs on :-(
- -who would like a nice 3d front-end for this, but that would be a little
- pointless really... But as long as it doesn't use WimpExt, it'll be ok ;-)
-
- The following paragraph should be ignored if you're NOT Andrew Clover, James
- Ponder or Jon Ribbens.
-
- This program is under 1k long, and does not rely on any modules being present
- other than the Utility module (well, probably not anyway). This means the 1k
- is all the RMA space that is required for this to be installed (ok, it claims
- a little more when TAB is pressed, but puts it back quickly enough to avoid
- and fragmentation) - it does not rely on any huge modules (like WimpExt) to
- supply one semi-useful SWI command, to waste approximately 50k more of your
- memory.
-
- A !Zap creation.
- (But the module was written in !Edit, since I don't like !Zap's BASIC editing
- facilities - now there's a CLI hacker probably :-I )
-