Menu

#69 Not Possible To Use JLine in Pure Java Swing Terminal

open
nobody
5
2011-05-26
2011-05-26
Anonymous
No

I'm trying to use JLine in a pure Java Swing terminal (http://javassh.org/space/Plugin+Terminal). The problem is that there is no way to run JLine and get the line editing functionalities without having the system dependent calls enabled. It is a quite severe problem for my project because the native calls makes it difficult to use my program as an applet in a web browser etc.

I know of the option "-Djline.terminal=jline.UnsupportedTerminal" but then JLine's line editing functionality is disabled. I suggest that another option is added which can be called jline.PureJavaTerminal or similar. When that option is set, JLine can work exactly as when it is a unix terminal but with the difference that no native calls are performed.

You can see the program at http://scala-edit.googlecode.com if you are interested in how JLine is used.

Discussion


Log in to post a comment.