如何避免启动屏幕消息?

时间:2014-06-05 22:35:59

标签: 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.]

如何跳过此消息,并避免每次开始screen时都输入额外的密钥?

1 个答案:

答案 0 :(得分:3)

这由以下两个选项控制:

 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.

 startup_message on|off
 Select whether you want to see the copyright notice during startup.  Default is `on',
 as you probably noticed.

后者接受一个布尔值:

$ grep startup_message .screenrc
  startup_message off

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