home *** CD-ROM | disk | FTP | other *** search
- *** c:/emacs-18.58.3/emacs/src/editfns.c Fri May 01 17:14:48 1992
- --- c:/test/emacs/src/editfns.c Thu Jun 25 10:20:22 1992
- ***************
- *** 99,106 ****
- tem = Fstring_equal (Vuser_name, Vuser_real_name);
- if (NULL (tem))
- pw = (struct passwd *) getpwnam (XSTRING (Vuser_name)->data);
- !
- ! p = (unsigned char *) (pw ? USER_FULL_NAME : "unknown");
- q = (unsigned char *) index (p, ',');
- Vuser_full_name = make_string (p, q ? q - p : strlen (p));
-
- --- 99,108 ----
- tem = Fstring_equal (Vuser_name, Vuser_real_name);
- if (NULL (tem))
- pw = (struct passwd *) getpwnam (XSTRING (Vuser_name)->data);
- !
- ! p = (unsigned char *) getenv("USERFULLNAME");
- ! if (p==0)
- ! p = (unsigned char *) (pw ? USER_FULL_NAME : "unknown");
- q = (unsigned char *) index (p, ',');
- Vuser_full_name = make_string (p, q ? q - p : strlen (p));
-
-
-
-
- *** c:/emacs-18.58.3/emacs/src/emacs.c Sat Apr 25 16:20:20 1992
- --- c:/test/emacs/src/emacs.c Sat Jun 20 11:36:10 1992
- ***************
- *** 124,129 ****
- --- 124,133 ----
-
- int noninteractive1;
-
- + #ifdef OS2
- + void ctrl_break_signal();
- + #endif
- +
- /* Signal code for the fatal signal that was received */
- int fatal_error_code;
-
- ***************
- *** 387,392 ****
- --- 391,400 ----
- signal (SIGXFSZ, fatal_error_signal);
- #endif SIGXFSZ
-
- + #ifdef OS2
- + signal (SIGBREAK, ctrl_break_signal);
- + #endif /* OS2 */
- +
- #ifdef AIX
- /* This used to run fatal_error_signal,
- but it isn't fatal. There's nothing Emacs can usefully do.
-
- *** c:/emacs-18.58.3/emacs/src/fileio.c Sun May 03 14:13:46 1992
- --- c:/test/emacs/src/fileio.c Thu Jun 18 14:05:12 1992
- ***************
- *** 603,608 ****
- --- 603,613 ----
- }
- else if (p[0] == '/' || p[0] == '\\' || _fngetdrive (p) != 0)
- {
- + /* Find out about Server paths */
- + if ((p[0] == '/' || p[0] == '\\') &&
- + (p[1] == '/' || p[1] == '\\'))
- + return build_string(p);
- +
- rel = 0;
- if (_fngetdrive (p) == 0)
- {
- ***************
- *** 986,991 ****
- --- 991,997 ----
-
- for (p = nm; p != endp; p++)
- {
- + #ifndef OS2
- if ((p[0] == '~' ||
- #ifdef APOLLO
- /* // at start of file name is meaningful in Apollo system */
- ***************
- *** 1002,1007 ****
- --- 1008,1035 ----
- #ifdef VMS
- )
- #endif /* VMS */
- + #else /* OS2 */
- + /* Ok, it seems as if the following needs a little explanation:
- + Line 1+2: Detects an absolute path name:
- + ~ / \ indicate absolute pathnames if the previous character
- + is / or \. : indicates absolute pathnames in the sequence
- + /a: or \a:, where a is a character.
- + In the case of / and \ it must be tested, if the sequence
- + starts at the beginning of the file name, since the means
- + name of the server on network software.
- + Line 3: If the above characters appear at the very beginning of a file
- + name, nothing is to do, but this condition must be tested to
- + secure line 3.
- + Line 4: Checks wether the chars from Line 1 really appear in sequences
- + that indicates an absolute path name.
- + Uff !
- + */
- +
- + if ( (p[0] == '~' || p[1] == ':'
- + || (p[0] == '/' && p-1!=nm) || (p[0] == '\\' && p-1!=nm))
- + && p!=nm
- + && (p[-1] == '/' || p[-1] == '\\'))
- + #endif /* OS2 */
- {
- nm = p;
- substituted = 1;
-
- *** c:/emacs-18.58.3/emacs/src/keyboard.c Sun Apr 19 18:03:46 1992
- --- c:/test/emacs/src/keyboard.c Sat Jun 20 12:12:04 1992
- ***************
- *** 2047,2054 ****
- /* Perhaps should really fork an inferior shell?
- But that would not provide any way to get back
- to the original shell, ever. */
- ! printf ("No support for stopping a process on this operating system;\n");
- ! printf ("you can continue or abort.\n");
- #endif /* not VMS */
- #endif /* not SIGTSTP */
- printf ("Auto-save? (y or n) ");
- --- 2047,2054 ----
- /* Perhaps should really fork an inferior shell?
- But that would not provide any way to get back
- to the original shell, ever. */
- ! printf ("No support for stopping a process on this operating system;\n\r");
- ! printf ("you can continue or abort.\n\r");
- #endif /* not VMS */
- #endif /* not SIGTSTP */
- printf ("Auto-save? (y or n) ");
- ***************
- *** 2065,2071 ****
- if (((c = getchar ()) & ~040) == 'Y')
- abort ();
- while (c != '\n') c = getchar ();
- ! printf ("Continuing...\n");
- fflush (stdout);
- init_sys_modes ();
- }
- --- 2065,2071 ----
- if (((c = getchar ()) & ~040) == 'Y')
- abort ();
- while (c != '\n') c = getchar ();
- ! printf ("Continuing...\n\r");
- fflush (stdout);
- init_sys_modes ();
- }
-
- *** c:/emacs-18.58.3/emacs/src/s-os2.h Sun May 03 14:17:08 1992
- --- c:/test/emacs/src/s-os2.h Sat Jun 20 11:27:50 1992
- ***************
- *** 1,5 ****
-
- ! /* Definitions file for GNU Emacs running on AT&T's System V Release 3
- Copyright (C) 1987 Free Software Foundation, Inc.
-
- This file is part of GNU Emacs.
- --- 1,5 ----
-
- ! /* Definitions file for GNU Emacs running on IBM's OS/2 2.0
- Copyright (C) 1987 Free Software Foundation, Inc.
-
- This file is part of GNU Emacs.
- ***************
- *** 223,225 ****
- --- 223,227 ----
- #define SYSTEM_MALLOC
- #define PURESIZE 200000
- #define CANNOT_UNEXEC
- + #define SYMS_SYSTEM syms_of_os2()
- + #define OBJECTS_SYSTEM os2.o
-
-
- *** c:/emacs-18.58.3/emacs/src/ymakefile Sun Apr 19 17:47:48 1992
- --- c:/test/emacs/src/ymakefile Tue Jun 23 12:01:26 1992
- ***************
- *** 333,346 ****
- @if exist xemacs.exe del xemacs.exe
- @ren temacs.exe xemacs.exe
- #else
- - echo Version is not incremented !
- # temacs -batch -l inc-vers
- - temacs -batch -l loadup.el dump
- #ifdef OS2
- ! emxbind -x temacs.exe a.out
- ! emxbind -ccore c:\emx\bin\emxl.exe a.out xemacs.exe
- ! del a.out
- ! del core
- #endif /* not OS2 */
- #endif /* not CANNOT_DUMP */
- #endif /* not HAVE_SHM */
- --- 333,341 ----
- @if exist xemacs.exe del xemacs.exe
- @ren temacs.exe xemacs.exe
- #else
- # temacs -batch -l inc-vers
- #ifdef OS2
- ! cmd /c "dump-emacs.cmd"
- #endif /* not OS2 */
- #endif /* not CANNOT_DUMP */
- #endif /* not HAVE_SHM */
- ***************
- *** 360,366 ****
- #endif
-
- temacs.exe: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE
- ! $(LD) ${STARTFLAGS} ${LDFLAGS} -o temacs.exe ${STARTFILES} ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
-
- /* These are needed for C compilation, on the systems that need them */
- #ifdef NEED_CPP
- --- 355,361 ----
- #endif
-
- temacs.exe: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) $(OLDXMENU) ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE
- ! $(LD) ${STARTFLAGS} ${LDFLAGS} -o temacs.exe ${STARTFILES} ${obj} ${otherobj} _fill.o read.o open.o OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
-
- /* These are needed for C compilation, on the systems that need them */
- #ifdef NEED_CPP
- ***************
- *** 447,452 ****
- --- 442,450 ----
- buffer.o : buffer.c syntax.h buffer.h commands.h window.h config.h
- callint.o : callint.c window.h commands.h buffer.h config.h
- callproc.o : callproc.c paths.h buffer.h commands.h config.h
- + #ifdef OS2
- + os2.o : os2.c config.h
- + #endif
- casefiddle.o : casefiddle.c syntax.h commands.h buffer.h config.h
- cm.o : cm.c cm.h termhooks.h config.h
- cmds.o : cmds.c syntax.h buffer.h commands.h config.h