Page 1 of 1

Problem with Columns and Lines

Posted: Thu 24 Sep 2009 22:28
by Olive
Hello,

I am a new user of the secureBridge components and I really love them, they are really easy to use and fast!

I found a little problem in the latest versions (2.50.0.9 and 2.60.0.11): when using the TScSSHShell component in order to build a terminal application (like PuTTY), the COLUMNS variable is defined to "25" and the LINES to "80". It should be the contrary for vt100 terminals (or even better, it could be a new property of the component).

The problem is confirmed in the new SSH Client demo: when I connect to a remote server with a "bash" shell, I obtain the following output:

Last login: Fri Sep 25 00:20:21 2009 from xxx.xxx.xxx.xxx
OpenSSH Server 5.1-p1
$ echo "$COLUMNS"
25
$ echo "$LINES"
80

Is it possible to fix this issue? Thank you in advance!

Posted: Tue 29 Sep 2009 07:59
by Dimon
We have investigated this problem. We will add the possibility to set the terminal information for TScSSHShell in the next SecureBridge build.

Posted: Tue 29 Sep 2009 08:30
by Olive
Thank you very much, this is very good news, I will wait for the next version to be released.
Thank you for these great components, they are totally worth buying!