test

Class ReadlineTest


public class ReadlineTest
extends java.lang.Object

ReadlineTest.java This class shows the usage of the readline wrapper. It will read lines from standard input using the GNU-Readline library. You can use the standard line editing keys. You can also define application specific keys. Put this into your ~/.inputrc (or into whatever file $INPUTRC points to) and see what happens if you press function keys F1 to F3:
$if ReadlineTest
"\e[11~":	"linux is great"
"\e[12~":	"jikes is cool"
"\e[13~":	"javac is slow"
$endif
If one argument is given to ReadlineTest, a private initialization file is read. If a second argument is given, the appropriate library is loaded.
Version:
$Revision: 1.17 $
Author:
$Author: Bablokb $

Constructor Summary

ReadlineTest()

Method Summary

static void
main(String[] args)
Main entry point.

Constructor Details

ReadlineTest

public ReadlineTest()

Method Details

main

public static void main(String[] args)
Main entry point. The first argument can be a filename with an application initialization file.

Released under the LGPL, (c) Bernhard Bablok, Henner Zeller 1998-2002
Homepage:
http://java-readline.sourceforge.net/