Short: Completes filenames in shellwindows ** Update ** Author: e93hpe@efd.lth.se (Håkan Persson) Uploader: e93hpe efd lth se Type: util/cli Architecture: m68k-amigaos CFN - Complete FileNames This is a utility which provides filename completion in a ordinary shell window. Once installed it allows you to type the first few characters in the filename then press Tab and the rest is filled in for you. Also you can now press Left-Amiga-Tab to cycle through intuition windows. There are now two versions of the program, CFN which is the full version and CFNLITE which doesn't support window cycling. Though the programs only differ about 300 bytes in size, CFN uses a bigger stack and therefore requires about 2.5 Kbytes extra. Installation ------------ 0. Check that your Amiga has Kickstart 2.0 or higher! 1. Copy CFN (or CFNLITE) and Notify to somewhere in your path ie C: 2. Add the following lines to your s:startup-sequence. Stack 2048 ; CFN allocates its own stack! Run >nil: CFN ; Or CFNLITE Stack 4096 ; Or whatever size you want 3. Put the following line FIRST in your s:shell-startup. Notify ; Notify depends on the shellwindow being active, ; if another window is active that window will ; get filename-completion. 4. Now reboot to turn CFN on! Operation --------- Open a shell window. Type a few characters in a filename. Now press Tab, CFN will find the first file in the directory with the beginning you specified and fill in the missing characters for you. If you press Tab once more CFN will find the next match for you and replace the previous filename. Continue to press Tab. When no match is found DisplayBeep() is called and the screen blinks. Press Left-Amiga-Tab to cycle through intuition windows. CFN is a hack, that means some peculiar things can happen. CFN remembers the characters typed in the shell window with some restrictions. Pressing one of the arrowkeys or space or ctrl-x causes CFN to clear its buffer, so after editing a command line CFN wont work. Also ">" and "<" in the beginning of filenames are ignored (pipes). To remove CFN from memory just send it a CTRL-C signal, this is easiest done using the CLI command BREAK . To find out the processnumber use the CLI command status. Author ------- CFN is based on CFN (Fish 888) written by Andreas Günther. It was converted to E and enhanced by me. It is now a lot more stable, faster and requires less memory. This program is Public Domain, but I really would appreciate some feedback: a postcard, email or even a bug report ;-). Håkan Persson Magistratsvägen 55F206 226 44 Lund Sweden Or email: e93hpe@efd.lth.se