openSUSE version: 13.1 x86_64 (KDE)
Software version: GNU screen 4.02.00
In tty virtual terminals, GNU screen is very useful for split-screen consoles. I can see that Ctrl-A Shift-S divides the
screen equally into a top half and bottom half. I was wondering whether there’s any way to move the location of the
split, and for example enlarge the top section making the bottom section smaller? Of course I know this is trivial for
X-dependent terminal programs (such as Konsole) but I wish to use GNU screen. I tried using the command `resize’ but:
It just returned an error:
sh-4.2$ resize 30 rows
resize: Can't set window size under VT100 emulation
sh-4.2$
Invoking GNU screen’s optimal output rather than exact vt100 emulation didn’t help:
sh-4.2$ screen -O
It made no difference if I was running GNU screen within a Konsole or a tty virtual console.
On 2014-08-23, Jim Henderson <hendersj@no-mx.forums.opensuse.org> wrote:
> It seems that you’re running “resize” as a command rather than pressing
> ctrl+a and then typing “:resize” with the appropriate parameters.
>
> Jim
Thank you. You’re absolutely right. The desired effect was obtained by pressing Ctrl-a then:
On Tue, 26 Aug 2014 09:31:28 +0000, flymail wrote:
> On 2014-08-23, Jim Henderson <hendersj@no-mx.forums.opensuse.org> wrote:
>> It seems that you’re running “resize” as a command rather than pressing
>> ctrl+a and then typing “:resize” with the appropriate parameters.
>>
>> Jim
>
> Thank you. You’re absolutely right. The desired effect was obtained by
> pressing Ctrl-a then:
>
>
> :resize -v 50
Glad to help out - and I learned something in the process, too.
On 2014-08-26 11:31, flymail wrote:
> On 2014-08-23, Jim Henderson <hendersj@no-mx.forums.opensuse.org> wrote:
>> It seems that you’re running “resize” as a command rather than pressing
>> ctrl+a and then typing “:resize” with the appropriate parameters.
>>
>> Jim
>
> Thank you. You’re absolutely right. The desired effect was obtained by pressing Ctrl-a then:
>
>
> :resize -v 50
>
>
Interesting. I didn’t know about this possibility. Some time ago I
considered both screen and tmux, then decided on the later. But I don’t
use split terminals, I don’t imagine what to use it for when I can have
a dozen xterms :-? On a vtty, yes.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
On 2014-08-27, Carlos E. R. <robin_listas@no-mx.forums.opensuse.org> wrote:
> Interesting. I didn’t know about this possibility. Some time ago I
> considered both screen and tmux, then decided on the later. But I don’t
> use split terminals, I don’t imagine what to use it for when I can have
> a dozen xterms :-? On a vtty, yes.
Briefly in response to your points:
Although split screen works with tmux, it looks terrible on a virtual tty compared to GNU screen.
Although you can have a dozen xterms, split screens within a single terminal allow convenient grouping of
editor/console pairs that you efficiently switch between without having to Alt-tab through the other 10 terminals.
I find it easier to do things in a virtual tty compared to within a X-based terminal in certain situations e.g.:
a) a laptop where I keep accidently brushing the trackpad and unintentionally changing focus while typing.
b) ssh.
c) on a Linux box with a desktop environment which is either absent, not working, or disgusting.