Unix Shell - Can I have a window wider than 132 columns?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > May 2007 > Can I have a window wider than 132 columns?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can I have a window wider than 132 columns?
George Adams

2007-05-16, 7:18 pm

I run a couple of Linux boxes (Gentoo and Ubuntu) and SSH to them via
SecureCRT (and on rare occasions, PuTTY) from my Windows XP PC at home.
I have a 21" monitor, and plenty of space to stretch out windows.

Is there a way I can have more than 132 columns displayed in my SSH
windows? SecureCRT can shrink or widen its "logical columns", but once
I widen it to 132 columns, the contents of my SSH session no longer
expand to fill the available space (and the extra wide space in
SecureCRT goes unused).

The terminal sessions use bash and a TERM of "vt100", but I can change
that if necessary.

Thanks to anyone who can help!
Patrick

2007-05-16, 7:18 pm

In news:f2fq1201rcr@enews2.newsguy.com,
George Adams <g_adams27@hotmail.SPAMBGONE.com> wrote:
> I run a couple of Linux boxes (Gentoo and Ubuntu) and SSH to them via
> SecureCRT (and on rare occasions, PuTTY) from my Windows XP PC at
> home. I have a 21" monitor, and plenty of space to stretch out
> windows.
>
> Is there a way I can have more than 132 columns displayed in my SSH
> windows? SecureCRT can shrink or widen its "logical columns", but
> once I widen it to 132 columns, the contents of my SSH session no
> longer expand to fill the available space (and the extra wide space in
> SecureCRT goes unused).


I can achieve 173 character width in PuTTY (TERM=xterm) with no loss of
data.

Thomas Dickey

2007-05-17, 1:18 pm

In comp.unix.questions George Adams <g_adams27@hotmail.spambgone.com> wrote:
> I run a couple of Linux boxes (Gentoo and Ubuntu) and SSH to them via
> SecureCRT (and on rare occasions, PuTTY) from my Windows XP PC at home.
> I have a 21" monitor, and plenty of space to stretch out windows.


> Is there a way I can have more than 132 columns displayed in my SSH
> windows? SecureCRT can shrink or widen its "logical columns", but once
> I widen it to 132 columns, the contents of my SSH session no longer
> expand to fill the available space (and the extra wide space in
> SecureCRT goes unused).


For whatever reason, SIGWINCH may not be propagated through your session,
or some applications (such as bash) may need some setting to make them
respond to it.

For the first (not propagated), "resize" is often helpful.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com