开发者

Detach and reattach a complete Screen session with multiple windows

开发者 https://www.devze.com 2023-02-02 00:50 出处:网络
I am writing a client/server-application and when I\'m testing the code I want to be able to have both the server and client in a separate terminal (+ vim). For this I thought I could use GNU Screen a

I am writing a client/server-application and when I'm testing the code I want to be able to have both the server and client in a separate terminal (+ vim). For this I thought I could use GNU Screen and divide the terminal in multiple windows (and it works great!). But I have a problem when I want to detach the whole session with windows and all. When I try to reattach the session I don't get them in windows like I arranged it, but instead they attaches like "normal" s开发者_开发知识库creen instances.

Also, is there a way to change the size of a screen window? Like change the height proportions of two windows splitted vertically.


your first question isn't possible because the regions (the way the windows are displayed) are bound to a single screen instance and not to a screen session.

C-a : 
  resize 

see man screen for more explanation of the resize command

0

精彩评论

暂无评论...
验证码 换一张
取 消