summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-unix.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-14 14:28:05 +0200
committerwm4 <wm4@nowhere>2017-06-14 14:28:05 +0200
commit5b3ca8ed419a95316719cad5cf3eca8bf86f2eae (patch)
tree45654fc84c4be6e63fdd0fc0ea2d787dc4d5548f /osdep/terminal-unix.c
parentd223a63bc5de423bca7337795fe165678cf6d236 (diff)
downloadmpv-5b3ca8ed419a95316719cad5cf3eca8bf86f2eae.tar.bz2
mpv-5b3ca8ed419a95316719cad5cf3eca8bf86f2eae.tar.xz
terminal: change license to LGPL
All authors of the current code have agreed. The code probably originates from a software named GySmail (as the copyright header indicates). As far as I can tell, it was written by Arpi (who has agreed), possibly with unknown co-authors. This is most likely OK, as none of the original code is around anymore anyway. I could not find a working download of GySmail, that actually contained the original getch2.c code. This also has a wild history of random people adding ifdef guards to control ioctl() vs. tcgetattr() calls. (See for example 2b1310abba4c1.) Later, the ioctl() was removed in favor of the POSIX tcgetattr(), and the ifdeffery was removed. So these people were not contacted.
Diffstat (limited to 'osdep/terminal-unix.c')
-rw-r--r--osdep/terminal-unix.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c
index 9b4e5709cc..9d30acfdd1 100644
--- a/osdep/terminal-unix.c
+++ b/osdep/terminal-unix.c
@@ -1,24 +1,20 @@
/*
- * GyS-TermIO v2.0 (for GySmail v3)
- * a very small replacement of ncurses library
+ * Based on GyS-TermIO v2.0 (for GySmail v3) (copyright (C) 1999 A'rpi/ESP-team)
*
- * copyright (C) 1999 A'rpi/ESP-team
+ * This file is part of mpv.
*
- * This file is part of MPlayer.
+ * mpv is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
*
- * MPlayer 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 of the License, or
- * (at your option) any later version.
- *
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv 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.
+ * GNU Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"