~ubuntu-branches/ubuntu/warty/libreadline-java/warty

« back to all changes in this revision

Viewing changes to debian/libreadline-java-doc.README.test

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-04-02 23:07:54 UTC
  • Revision ID: james.westby@ubuntu.com-20040402230754-1288d081hkbl6ulo
Tags: 0.8.0.1-2
* Added build-depends on libgcj4-dev, which gcj no longer drags in on its
  own (closes: #240264).
* Bumped standards-version to 3.6.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
libreadline-java Examples
 
2
-------------------------
 
3
 
 
4
The class test.ReadlineTest illustrates the usage of the Java readline
 
5
wrappers.  See the API documentation for further details.
 
6
 
 
7
To run this test, simply execute the class test.ReadlineTest (found
 
8
beneath this directory), making sure you have the readline wrappers
 
9
(/usr/share/java/libreadline-java-<version>.jar) on your classpath.
 
10
 
 
11
To explicitly force ReadlineTest to link with your choice of GNU readline,
 
12
BSD editline or pure Java (no readline/editline support), pass one of
 
13
the following three sets of command-line arguments respectively:
 
14
 
 
15
    /etc/inputrc GnuReadline
 
16
    /etc/inputrc Editline
 
17
    /etc/inputrc PureJava
 
18
 
 
19
For example, running
 
20
 
 
21
    java -classpath .:/usr/share/java/libreadline-java.jar test.ReadlineTest \
 
22
        /etc/inputrc Editline
 
23
 
 
24
from this directory will run ReadlineTest linked with BSD editline.
 
25
 
 
26
 -- Ben Burton <bab@debian.org>, Wed, 29 Jan 2003 12:31:02 +1100