| version 1.1, 2025/01/19 02:04:04 | version 1.5, 2025/03/09 19:14:25 | 
| Line 1 | Line 1 | 
 | /* | /* | 
| *                            * | *   $Id$ | 
| *                           * * |  | 
| *                          *   * |  | 
| *                     *************** |  | 
| *                      * *       * * |  | 
| *                       *  MUMPS  * |  | 
| *                      * *       * * |  | 
| *                     *************** |  | 
| *                          *   * |  | 
| *                           * * |  | 
| *                            * |  | 
| * |  | 
| *   frmgbl.c |  | 
 | *    freem global C variables | *    freem global C variables | 
 | * | * | 
 | * | * | 
| *   Author: Serena Willis <jpw@coherent-logic.com> | *   Author: Serena Willis <snw@coherent-logic.com> | 
 | *    Copyright (C) 1998 MUG Deutschland | *    Copyright (C) 1998 MUG Deutschland | 
| *    Copyright (C) 2020 Coherent Logic Development LLC | *    Copyright (C) 2020, 2025 Coherent Logic Development LLC | 
 | * | * | 
 | * | * | 
 | *   This file is part of FreeM. | *   This file is part of FreeM. | 
| Line 35 | Line 23 | 
 | *   You should have received a copy of the GNU Affero Public License | *   You should have received a copy of the GNU Affero Public License | 
 | *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>. | *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>. | 
 | * | * | 
 |  | *   $Log$ | 
 |  | *   Revision 1.5  2025/03/09 19:14:25  snw | 
 |  | *   First phase of REUSE compliance and header reformat | 
 |  | * | 
 |  | * | 
 |  | * SPDX-FileCopyrightText:  (C) 2025 Coherent Logic Development LLC | 
 |  | * SPDX-License-Identifier: AGPL-3.0-or-later | 
 | **/ | **/ | 
 |  |  | 
 | /* needed if byte data are to be interpreted as unsigned integer */ | /* needed if byte data are to be interpreted as unsigned integer */ | 
| Line 56 | Line 51 | 
 | # include "errmsg.h" | # include "errmsg.h" | 
 | #endif | #endif | 
 |  |  | 
 | #if defined HAVE_NCURSESW_CURSES_H |  | 
 | #  include <ncursesw/curses.h> |  | 
 | #elif defined HAVE_NCURSESW_H |  | 
 | #  include <ncursesw.h> |  | 
 | #elif defined HAVE_NCURSES_CURSES_H |  | 
 | #  include <ncurses/curses.h> |  | 
 | #elif defined HAVE_NCURSES_H |  | 
 | #  include <ncurses.h> |  | 
 | #elif defined HAVE_CURSES_H |  | 
 | #  include <curses.h> |  | 
 | #else |  | 
 | #  error "SysV or X/Open-compatible Curses header file required" |  | 
 | #endif |  | 
 |  |  | 
 | #define UNSIGN(A) ((A)&0377) | #define UNSIGN(A) ((A)&0377) | 
 |  |  | 
 | #define g_EOL 30 | #define g_EOL 30 | 
| Line 636  short   timeoutms; | Line 617  short   timeoutms; | 
 | char    tmp4[80] = "\201"; | char    tmp4[80] = "\201"; | 
 | short   param = 0;          /* parameter count */ | short   param = 0;          /* parameter count */ | 
 | short   paramx = 0;         /* current parameter */ | short   paramx = 0;         /* current parameter */ | 
 | char   *ttyname (); |  | 
 | short   level = 0;          /* level count */ | short   level = 0;          /* level count */ | 
 | pid_t    pid;                /* $J = process ID */ | pid_t    pid;                /* $J = process ID */ | 
 |  |  |