如何避免启动屏幕消息?

Pau*_*scu 4 gnu-screen

当我开始时screen,我收到以下消息:

Screen version 4.00.03jw4 (FAU) 2-May-06

Copyright (c) 1993-2002 Juergen Weigert, Michael Schroeder
Copyright (c) 1987 Oliver Laumann

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to screen@uni-erlangen.de

To use byobu (formerly screen-profiles), exit screen and run 'byobu'.

[Press Space or Return to end.]
Run Code Online (Sandbox Code Playgroud)

如何跳过此消息并避免每次启动时都输入额外的键screen

daw*_*wud 5

这由以下两个选项控制:

 license
 Display the disclaimer page. This is done whenever screen is started without options,
 which should be often enough. See also the "startup_message" command.
Run Code Online (Sandbox Code Playgroud)

 startup_message on|off
 Select whether you want to see the copyright notice during startup.  Default is `on',
 as you probably noticed.
Run Code Online (Sandbox Code Playgroud)

后者接受一个布尔值:

$ grep startup_message .screenrc
  startup_message off
Run Code Online (Sandbox Code Playgroud)

两者都记录在screen(1)联机帮助页中。