Re: Row and Column Size



Per Hedeland wrote:
In article
<453a0d35-4cf0-4c81-b8e3-a460fafc8c6d@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> Nico
Kadel-Garcia <nkadel@xxxxxxxxx> writes:
On 26 May, 11:22, dd <d...@xxxxxxx> wrote:
All,

I've been writing an SSH client for fun and learning, and I've noticed
that my (OpenSSH) server sends "\r" characters after every 80 characters
of output. How can I have my client set the row and column size? I
would like to do this dynamically when the window is resized as well.
Are there any limitations to the row and column size values?

Thanks,
Dan
It's a terminal setting. You need to confince your terminal type that
your window is larger, which depends on your SSH client.

Read again - he's *writing* the client. Not sure how it's possible to do
that and not see all the window size stuff in RFC 4254, but that's where
it is, anyway.

--Per Hedeland
per@xxxxxxxxxxxx

Thanks, that helped. I think I can send this command via the SSH API that I am using (http://www.codeproject.com/KB/IP/sharpssh.aspx). It is now a matter of figuring out how to use the API. :)

Thanks,
Dan Pixley
.



Relevant Pages

  • Re: Row and Column Size
    ... I've been writing an SSH client for fun and learning, ... that my server sends "\r" characters after every 80 characters ... would like to do this dynamically when the window is resized as well. ... Read again - he's *writing* the client. ...
    (comp.security.ssh)
  • Re: Row and Column Size
    ... I've been writing an SSH client for fun and learning, ... that my server sends "\r" characters after every 80 characters ... would like to do this dynamically when the window is resized as well. ... What SSH client or terminal emulator are you using? ...
    (comp.security.ssh)
  • Re: Row and Column Size
    ... I've been writing an SSH client for fun and learning, ... that my server sends "\r" characters after every 80 characters ...  How can I have my client set the row and column size? ... would like to do this dynamically when the window is resized as well. ...
    (comp.security.ssh)
  • Row and Column Size
    ... I've been writing an SSH client for fun and learning, and I've noticed that my (OpenSSH) server sends "\r" characters after every 80 characters of output. ...
    (comp.security.ssh)
  • Setting Column and Row Size
    ... I've been coding an SSH client for fun and learning, and I've noticed that my (OpenSSH) server sends "\r" characters after every 80 characters of output. ...
    (comp.terminals)