V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
wusheng0
V2EX  ›  Linux

各位老哥, screen -A, A 参数到底什么意思呀

  •  
  •   wusheng0 · 2019-03-17 16:16:50 +08:00 · 3210 次点击
    这是一个创建于 1837 天前的主题,其中的信息可能已经有所发展或是发生改变。
    搜到的解释都是“将所有的视窗都调整为目前终端机的大小。”
    就是说,将运行的任务窗口调整为我当前 ssh 工具的窗口吗?还是别的什么.....
    15 条回复    2019-03-19 13:15:10 +08:00
    uyhyygyug1234
        1
    uyhyygyug1234  
       2019-03-17 16:51:32 +08:00
    man page 里面就是这个意思啊

    -A Adapt the sizes of all windows to the size of the current terminal. By default, screen tries to restore its old window sizes when attaching to resizable terminals (those with "WS" in its description, e.g. suncmd or some xterm).
    xfspace
        2
    xfspace  
       2019-03-17 16:54:04 +08:00 via Android
    Adapt the sizes of all windows to the size of the display. By default, screen may try to restore its old window sizes when attaching to resizable terminals (those with ‘ WS ’ in their descriptions, e.g. suncmd or some varieties of xterm).
    catalina
        3
    catalina  
       2019-03-17 17:33:37 +08:00 via Android
    @uyhyygyug1234
    @xfspace 这个好像是默认操作?
    masker
        4
    masker  
       2019-03-17 17:44:54 +08:00 via Android
    man screen or screen --help
    fantasylidong
        5
    fantasylidong  
       2019-03-17 17:47:51 +08:00 via Android
    man 不就好了
    wusheng0
        6
    wusheng0  
    OP
       2019-03-17 20:40:03 +08:00 via Android
    @uyhyygyug1234

    @xfspace
    谢谢二位
    wusheng0
        7
    wusheng0  
    OP
       2019-03-17 20:40:56 +08:00 via Android
    @masker

    @fantasylidong
    我一时没想到。多谢提醒😁
    loading
        8
    loading  
       2019-03-17 21:10:01 +08:00 via Android
    楼主是不是男人,不知道 man。
    saluton
        9
    saluton  
       2019-03-17 22:06:19 +08:00
    @loading 你性别歧视(
    loading
        10
    loading  
       2019-03-17 22:11:41 +08:00 via Android
    @saluton ⊙∀⊙!
    aristotll
        11
    aristotll  
       2019-03-18 00:00:40 +08:00
    @saluton emacs 就是 woman😁
    saluton
        12
    saluton  
       2019-03-18 10:01:03 +08:00   ❤️ 1
    @loading 你的号好像还是降权状态?#10 没收到回复提示
    loading
        13
    loading  
       2019-03-18 12:38:25 +08:00 via Android
    @saluton 是的,我就是那个第一个降权的用户。
    kios
        14
    kios  
       2019-03-18 17:01:23 +08:00
    Adapt the sizes of all windows to the size of the current termi-
    nal. By default, screen tries to restore its old window sizes
    when attaching to resizable terminals (those with "WS" in its
    description, e.g. suncmd or some xterm).
    Hardrain
        15
    Hardrain  
       2019-03-19 13:15:10 +08:00
    man $COMMAND
    $COMMAND --help
    https://explainshell.com/
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5469 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:12 · PVG 16:12 · LAX 01:12 · JFK 04:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.