
Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
>>> Hi,
>>> I am trying to code a terminal application. I would like to know if
[quoted text clipped - 18 lines]
> library, allowing a Java program to handle screens and forms on a
> console screen rather than painting it inside an AWT or Swing window.
I assumed from what the OP said that "terminal application" was an application
running within a terminal, and "redrawing all the characters on the screen" is
exactly what curses did for you.
The description in the original post was limited, so we have to fill in the gaps
and guess what was intended. Because of that I didn't download any info on the
package, I left that as an exercise for the OP...

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
Martin Gregorie - 23 Nov 2007 23:15 GMT
>>>> Hi,
>>>> I am trying to code a terminal application. I would like to know if
[quoted text clipped - 27 lines]
> and guess what was intended. Because of that I didn't download any info on the
> package, I left that as an exercise for the OP...
I took a look because, if it would do things like emulating a VT-100,
xterm or wyse-120 terminal inside a GUI window, I may well have a use
for it. But I don't think it will do that.
Instead, it looks as if its targeted on allowing Java to do curses-type
things without needing a GUI interface (i.e. you could use it in a DOS
box, Linux or X-term console, or even on a physical character-mode
terminal (VT-100, Wyse-120 etc.).
However, it if can read, parse and interpret a termcap definition I can
at least swipe some code from it to glue on the back of my JTextArea
screen emulation. At some point I know I'll need an application that
emulates a terminal while using a socket connection to talk to some
emulated hardware running an OS that thinks its using a serial port.

Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
RedGrittyBrick - 26 Nov 2007 11:29 GMT
<snip discussion of java curses library etc>
> I took a look because, if it would do things like emulating a VT-100,
> xterm or wyse-120 terminal inside a GUI window, I may well have a use
[quoted text clipped - 10 lines]
> emulates a terminal while using a socket connection to talk to some
> emulated hardware running an OS that thinks its using a serial port.
JTA is a Java applet that emulates an ANSI terminal. I believe the API
can be used for other applications too.
http://javassh.org/space/Docs+and+Tutorials