我正在使用以下版本的 Screen 命令:-
屏幕版本 4.00.03 (FAU) 2006 年 10 月 23 日
我想知道与 Screen 命令关联的 GPL 版本(GPLv2 或 GPLv3)。我可以从哪里找到任何帮助吗?
答案1
我的 Fedora 14 机器上有相同的版本。 man screen
包含一个COPYLEFT
部分,其中指出:
Copyright (C) 1993-2003
Juergen Weigert ([email protected])
Michael Schroeder ([email protected])
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 MER‐
CHANTABILITY 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., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA
这就是 GPLv2,或者如果您愿意的话可以稍后。
/usr/share/doc/screen-4.0.3/COPYING
您还可以找到确认是版本 2 的许可证。
答案2
FAU 屏幕与 GNU 屏幕
“Screen (FAU)”似乎是 Apple OS X / macOS 版本的 screen。
谷歌
谷歌似乎也不知道 fau screen 来自哪里:
https://www.google.com/search?q=%22Screen+version+4.00.03+(FAU)+23-Oct-06%22
莱斯文件系统
既没有locate screen-4.0.3
产生locate '/screen/'
任何有趣的结果。
strings /usr/bin/screen
确实显示了上面显示的相同许可证:
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to [email protected]
然而,这个版本的 screen 的行为似乎不像“真实”的 screen(例如,它不能与 ssh 一起使用),所以我的猜测是它是一个分叉。
苹果开源
苹果发布了这个(潜在的)分叉的源代码:
https://opensource.apple.com/source/screen/screen-22/
还有一个变更日志:
https://opensource.apple.com/source/screen/screen-22/screen/patchlevel.h.auto.html
但是,如果您仔细阅读了 OS X 开源的各个版本(https://opensource.apple.com/)您可以找到可能不同版本的 FAU 屏幕(例如https://opensource.apple.com/source/screen/screen-19/screen/)具有完全相同的版本输出。