Problem with Columns and Lines

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Olive
Posts: 4
Joined: Thu 24 Sep 2009 22:09

Problem with Columns and Lines

Post by Olive » Thu 24 Sep 2009 22:28

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!

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 29 Sep 2009 07:59

We have investigated this problem. We will add the possibility to set the terminal information for TScSSHShell in the next SecureBridge build.

Olive
Posts: 4
Joined: Thu 24 Sep 2009 22:09

Post by Olive » Tue 29 Sep 2009 08:30

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!

Post Reply