Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: CreateShellStream - # columns question

$
0
0
I know this is going to be a very odd question, but here it goes.

I have successfully created my SSH connection.
Using CreateShellStream("xterm", 80 , 24, 9600,9600,1024)

When I do an ls (Linux directory listing) :
I get 4 columns as that is all that fits into 80 columns.

Using CreateShellStream("xterm", 132, 24, 9600,9600,1024)

When i do an ls:
 I get 6 columns as that is all that can fit into 132 columns.
So my question,

Is there a way to tell the current stream to please use 132 columns for my next command not 80 that I originally told it?


I am guessing the SSH really cares about the # columns in the CreateShellStream as that seems to be the only way I am able to get more columns or less columns.


Thanks

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>