So if you've installed Lazarus (not a bad idea), but you want a faster command line console programming environment to make small fast utilities for scripts, then here's how.
1) Grab the docs for 2.6.4 (maybe) from the freepascal.org website and a few links later. (the .gz smallest)
2) tar xvf the docs. Then delete the .gz as it's a waste of space now.
3) fp to start the free pascal IDE.
4) Select help ... Files ... and add the table of contents from the untared docs. Make an index too.
5) After this go back to the main window and make a new file.
6) Ctrl+V puts you in insert mode (just the once I had to do this).
You can now type in your programs into a fast IDE, with easy distribution and cross compilation to many other systems.