Subject: RE: nano output

RE: nano output

From: Mark Smith <mts-filtered_at_avcosystems.co.uk>
Date: Wed, 22 Sep 2010 12:57:44 +0100

Paresh wrote:

> So, how can i decide that the string is with this color and
> which character indicates what? What kind of character
> encoding i need to use to decode the above string, so, i can
> get idea that 'GNU nano ...' should be printed in reverse
> mode, etc.? How to decide we need to print tabs, etc? I need
> to implement virtual terminal but don't know how to decode
> characters and draw terminal on UIView.

This topic is beyond the scope of a transport library like libssh2. Perhaps
you'd like to investigate terminal implementations such as VT100, VT220...

http://en.wikipedia.org/wiki/VT100
http://en.wikipedia.org/wiki/VT220

HTH,

-- 
Mark Smith, libssh2 lurker
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-09-22