Linux Core Kernel Commentary: The LineFinder Applet

Most Recent Change: Fri Aug 3 08:33:00 2001 UTC.

You're either not loading Java applets or your browser doesn't support them. In either case, you're welcome to the source code.

About LineFinder

The LineFinder applet is meant to be used in conjunction with the book Linux Core Kernel Commentary. It displays the same code printed in the book; the applet just saves you from having to flip back and forth between the commentary section you're reading and the pages with the relevant code.

Using the applet should be self-explanatory: just type in the line number you want to see and press Enter; the applet will scroll to the indicated line for you. I'd add the ability to search for arbitrary text, and other cool features, but because of the size of the text, the behind-the-scenes string copies tend to make the applet run out of memory (it almost does so already).

Running LineFinder Standalone

You can download the source code; it's GPLd, so you can freely copy, improve, and redistribute it as you please. More important, you can run it on your own machine, which is usually faster and more convenient, not to mention that you can then resize the window to suit yourself. Note that for some reason, under Kaffe, LineFinder runs excruciatingly slowly and consumes huge amounts of memory, so I compile and run it with the Linux port of the Sun JDK instead.

You can also download the precompiled JAR, which you can run with a command line like this one:

java  [ -Dprop=value ... ]  LineFinder.jar LineFinder

LineFinder understands the following system properties:


Up.

[Support Free Speech Online] [Best Viewed with Any Browser] [Made with Emacs!] [Boycott Micro$oft] [Page Counter]

lckc@ScottMaxwell.org