Mailing List Archive

ssh/byobu screen size
Hi,

In the meantime I'm pretty happy with my conserver setup and managed to
get ssh going as well.

Why would I go for a simple ssh connection through conserver?

$ consoles
Enter student@vlab2-gateone's password:
igepv2-1 up <none>
beagle-xm-1 up <none>
student@vlab2-armv7a-dev up student@console
student@vlab2-gateone up <none>

Like this I can see who is using which machine.

Some mysterious problem I see is related to screen size when I use byobu.

If I ssh to a machine and execute byobu the size of it is full screen,
but as soon as I ssh through conserver the size of byobu is just a
quarter of the screen, which is quite annoying.

I compare the environment variables and they don't indicate any obvious
problem size problem:

22,24c22,24
< declare -x SSH_CLIENT="192.168.2.132 34830 22"
< declare -x SSH_CONNECTION="192.168.2.132 34830 192.168.2.160 22"
< declare -x SSH_TTY="/dev/pts/2"
---
> declare -x SSH_CLIENT="192.168.2.132 34829 22"
> declare -x SSH_CONNECTION="192.168.2.132 34829 192.168.2.160 22"
> declare -x SSH_TTY="/dev/pts/0"
27c27
< declare -x
XDG_SESSION_COOKIE="33f8bc2dcb5d99346cfaa01700000004-1357413880.650470-1787195920"
---
> declare -x
XDG_SESSION_COOKIE="33f8bc2dcb5d99346cfaa01700000004-1357413754.175098-985048905"

Regards,

Robert


_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: ssh/byobu screen size [ In reply to ]
On 05 January, 2013 - Robert Berger wrote:

<snip/>

> Some mysterious problem I see is related to screen size when I use byobu.
>
> If I ssh to a machine and execute byobu the size of it is full screen,
> but as soon as I ssh through conserver the size of byobu is just a
> quarter of the screen, which is quite annoying.
>
> I compare the environment variables and they don't indicate any obvious
> problem size problem:

Try a :
eval `resize`

In your remote shell.

//Anton


--
Anton Lundin +46702-161604
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: ssh/byobu screen size [ In reply to ]
Hi Anton,

On 01/05/2013 11:30 PM, Anton Lundin wrote:
>
> Try a :
> eval `resize`

This did the trick - thanks!

Regards,

Robert

>
> In your remote shell.
>
> //Anton
>
>

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users