EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SSH Received Data Formatting

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#5280
Posted: 03/04/2008 18:46:01
by Mike Rowley (Basic support level)
Joined: 03/04/2008
Posts: 2

I am new to SSH and SBB so I applogize in advance, I am sure this question has been asked before but I cannot for the life of me find the information I am looking for.

I have been able to work the sample code and started modifying it for my purposes but the data coming back on a receive look like:

Microsoft Windows XP [Version 5.1.2600]© Copyright 1985-2001 Microsoft Corp.C:\WINDOWS\system32>

Can someone tell me why I get [1;1H etc all over the returned data? And most importantly, how do I format this data properly (making it readable)?

Thank you in advance for any assistance you can provide.
Thanks
M
#5281
Posted: 03/04/2008 23:18:23
by Eugene Mayevski (EldoS Corp.)

These are terminal escape sequences. You need to handle them either by hand (the sequence lists are known) or find some terminal component that will do this for you. SecureBlackbox doesn't do this, as it's not a visual component library.


Sincerely yours
Eugene Mayevski
#5288
Posted: 03/05/2008 10:21:59
by Mike Rowley (Basic support level)
Joined: 03/04/2008
Posts: 2

Excellent, that is the information I was looking for.

Thank you very much for your help.

M

Reply

Statistics

Topic viewed 1373 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!