Diff for /freem/src/frmgbl.c between versions 1.18 and 1.20

version 1.18, 2025/05/16 04:42:02 version 1.20, 2025/05/18 18:15:38
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.20  2025/05/18 18:15:38  snw
    *   Add ZEDIT command for editing routines
    *
    *   Revision 1.19  2025/05/16 13:22:58  snw
    *   Bump version to account for shared memory changes
    *
  *   Revision 1.18  2025/05/16 04:42:02  snw   *   Revision 1.18  2025/05/16 04:42:02  snw
  *   Fix macOS port   *   Fix macOS port
  *   *
Line 561  char    curdir[256] = ".";      /* curre Line 567  char    curdir[256] = ".";      /* curre
 char    startuprou[PATHLEN] = "\201";   /* start up routine from cmdline*/  char    startuprou[PATHLEN] = "\201";   /* start up routine from cmdline*/
   
 char    zcommds[256] =  char    zcommds[256] =
 " za zb zc zd zg zh zi zj zl zm zn zp zq zr zs zth ztr zwa zwi zwr zassert zbreak \  " za zb zc ze zg zh zi zj zl zm zn zp zq zr zs zth ztr zwa zwi zwr zassert zbreak \
 zconst zgo zhalt zinsert zjob zload zmap znamespace zprint zquit zremove zsave zthrow ztrap zunmap zwatch zwith zwrite \201";  /* intrinsic z-commands */  zconst zedit zgo zhalt zinsert zjob zload zmap znamespace zprint zquit zremove zsave zthrow ztrap zunmap zwatch zwith zwrite \201";  /* intrinsic z-commands */
 char    zfunctions[256] =       /* intrinsic z-functions */  char    zfunctions[256] =       /* intrinsic z-functions */
 " zb zc zd ze zh zht zk zl zm zn zo zp zr zs zt zboolean zcall zcr zcrc zdata zdate zedit zhorolog \  " zb zc zd ze zh zht zk zl zm zn zo zp zr zs zt zboolean zcall zcr zcrc zdata zdate zedit zhorolog \
 zkey zlength zlsd zname znext zorder zpiece zprevious zreplace zsyntax zsort ztime \201";  zkey zlength zlsd zname znext zorder zpiece zprevious zreplace zsyntax zsort ztime \201";
Line 676  short debug_mode = FALSE; Line 682  short debug_mode = FALSE;
 int lasterr[NESTLEVLS + 1];  int lasterr[NESTLEVLS + 1];
   
 short first_process = FALSE;  short first_process = FALSE;
 #if defined(__FreeBSD__)  size_t shm_init_size = 16777216; /* initial size of SysV shared memory segment (16M + overhead);
  size_t shm_init_size = 4194304;                                      requires a kernel shmmax (or equivalent) parameter of at least
 #else                                      17002496 */
 # if !defined(__APPLE__)  
  size_t shm_init_size = 16777216;  
 # else  
  size_t shm_init_size = 2048576;  
 #endif  
 #endif  
 short inrpt_after_async = FALSE;  short inrpt_after_async = FALSE;
   
 void unnew (void)  void unnew (void)

Removed from v.1.18  
changed lines
  Added in v.1.20


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>