bb6b92bd34
precise, it is a JNI-wrapper to Readline. It is distributed under the LGPL. You must call Readline.load(ReadlineLibrary lib); before using any other methods. If you omit the call to the load()-method, the pure Java fallback solution is used. Possible values for lib are: ReadlineLibrary.PureJava ReadlineLibrary.GnuReadline ReadlineLibrary.Editline ReadlineLibrary.Getline Note that all programs using GnuReadline will fall under the GPL, since Gnu-Readline is GPL software! WWW: http://sourceforge.net/projects/java-readline/ PR: ports/116817 Submitted by: Martin Kammerhofer <mkamm at gmx.net>
10 lines
360 B
C
10 lines
360 B
C
--- src/native/getline.c 2003-01-07 11:14:35.000000000 +0100
|
|
+++ /tmp/libreadline-java-0.8.0/src/native/getline.c 2007-09-22 22:20:06.000000000 +0200
|
|
@@ -136,7 +136,6 @@
|
|
#ifndef __convexc__
|
|
extern int read();
|
|
extern int kill();
|
|
-extern int ioctl();
|
|
#endif /* not __convexc__ */
|
|
#ifdef POSIX /* use POSIX interface */
|
|
#include <termios.h>
|