TIP: Click on subject to list as thread! ANSI
echo: msged_echo
to: All
from: Matthew Parker
date: 1997-02-02 08:00:04
subject: Patch

This is a context diff of all my changes since 4.00 except for the
MSGEDMP change.

   ----- G:GREAT.DIF begins -----
*** old/msged.c    Sat Jul 27 17:01:00 1996
--- msged.c    Sun Feb  2 07:58:06 1997
***************
*** 1417,1423 ****
      if (SW->scanned)
      {
          NewArea--;
!         NewArea = (SW->area areas - 1 : NewArea;
          while (((long)arealist[NewArea].messages -
(long)arealist[NewArea].lastread) <= 0)
          {
              NewArea--;
--- 1417,1423 ----
      if (SW->scanned)
      {
          NewArea--;
!         NewArea = (NewArea areas - 1 : NewArea;
          while (((long)arealist[NewArea].messages -
(long)arealist[NewArea].lastread) <= 0)
          {
              NewArea--;
***************
*** 1779,1785 ****
  
      char swapfn[PATHLEN];
      char **envp = environ, **env, *envbuf, *envptr, *ep;
!     int swapping = USE_ALL | HIDE_FILE;
      int envlen = 0;
  
      if (envp != NULL)
--- 1779,1785 ----
  
      char swapfn[PATHLEN];
      char **envp = environ, **env, *envbuf, *envptr, *ep;
!     int swapping = USE_ALL | HIDE_FILE | DONT_SWAP_ENV;
      int envlen = 0;
  
      if (envp != NULL)
***************
*** 1876,1886 ****
  static void rundos(void)
  {
      WND *hCurr, *hWnd;
!     char tmp[PATHLEN];
      char cmd[64];
      int ret;
  
!     mygetcwd(tmp, PATHLEN);
      memset(cmd, 0, sizeof cmd);
  
  #if defined(MSDOS)
--- 1876,1887 ----
  static void rundos(void)
  {
      WND *hCurr, *hWnd;
!     char curdir[PATHLEN];
      char cmd[64];
+     char tmp[40];
      int ret;
  
!     mygetcwd(curdir, PATHLEN);
      memset(cmd, 0, sizeof cmd);
  
  #if defined(MSDOS)
***************
*** 1917,1923 ****
  
      WClose(hWnd);
      WCurr(hCurr);
!     setcwd(tmp);
      message = KillMsg(message);
  }
  
--- 1918,1924 ----
  
      WClose(hWnd);
      WCurr(hCurr);
!     setcwd(curdir);
      message = KillMsg(message);
  }
  
*** old/textfile.c    Wed Jul 24 06:20:16 1996
--- textfile.c    Sun Feb  2 07:48:50 1997
***************
*** 43,49 ****
      LINE *n;
      int ret;
  
!     memset(fn, 0, sizeof fn);
      ret = GetString(" Import File ", "Name of file to
import?", fn, PATHLEN);
  
      TTCurSet(1);
--- 43,49 ----
      LINE *n;
      int ret;
  
!     /*memset(fn, 0, sizeof fn);*/
      ret = GetString(" Import File ", "Name of file to
import?", fn, PATHLEN);
  
      TTCurSet(1);
*** old/wrap.c    Sun Jul 21 15:32:20 1996
--- wrap.c    Sun Feb  2 07:48:50 1997
***************
*** 1885,1895 ****
  static void doscmd(void)
  {
      WND *hCurr, *hWnd;
!     static char tmp[PATHLEN];
!     static char cmd[64];
      int ret;
  
!     mygetcwd(tmp, PATHLEN);
      memset(cmd, 0, sizeof cmd);
  
  #if defined(MSDOS)
--- 1885,1896 ----
  static void doscmd(void)
  {
      WND *hCurr, *hWnd;
!     static char curdir[PATHLEN];
!     char cmd[64];
!     char tmp[40];
      int ret;
  
!     mygetcwd(curdir, PATHLEN);
      memset(cmd, 0, sizeof cmd);
  
  #if defined(MSDOS)
***************
*** 1906,1912 ****
--- 1907,1915 ----
      hCurr = Wtop();
      hWnd = WndOpen(0, 0, maxx - 1, maxy - 1, NBDR, 0, cm[CM_NTXT]);
  
+     cursor(1);
      ret = system(cmd);
+     cursor(0);
  
  #if defined(MSDOS)
      sprintf(tmp, "DOS command returned %d", ret);
***************
*** 1919,1925 ****
  
      WClose(hWnd);
      WCurr(hCurr);
!     setcwd(tmp);
      cursor(TRUE);
  }
  
--- 1922,1928 ----
  
      WClose(hWnd);
      WCurr(hCurr);
!     setcwd(curdir);
      cursor(TRUE);
  }
  
*** old/dosasm.c    Tue Jul 23 23:37:42 1996
--- dosasm.c    Sun Feb  2 07:49:08 1997
***************
*** 34,44 ****
  #else
      union REGS r;
  
-     r.x.ax = 0x101a;
-     int86(0x15, &r, &r);
      r.x.ax = 0x1000;
-     int86(0x15, &r, &r);
-     r.x.ax = 0x1025;
      int86(0x15, &r, &r);
  #endif
  }
--- 34,40 ----
   ----- G:GREAT.DIF ends -----

Matthew
@EOT:

--- Msged 4.00
* Origin: Blueee Lilly Snowy (3:711/934.31)
SEEN-BY: 711/934 712/624
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.