Formatting sshj output

31 views
Skip to first unread message

Robert Butera

unread,
Sep 17, 2016, 5:42:26 AM9/17/16
to sshj-users
Hi, 

I am using sshj to automate interaction with a text based UI.

I would like to format the echo output/input that comes out of sshj so that it actually looks like the user interface.  There are no colors, but there are some lines drawn and the positioning of text.

As far as I can tell the character set from the remote UI conforms to ISO-8859-1:1998

Can anybody suggest a mechanism/library I can use to format the output correctly?  Also, it doesn't need to be a java solution, I would be happy to pipe the output to a linux based command line tool to achieve the formatting.

Thanks
Rob
Reply all
Reply to author
Forward
0 new messages