Chris Hanson [Tue, 29 Sep 1992 21:12:19 +0000 (21:12 +0000)]
Use MAJOR-MODE-LOCKED feature to prevent users from frobbing the major
mode of a REPL buffer. Conditionalize this feature by the editor
variable REPL-MODE-LOCKED, normally enabled.
Chris Hanson [Tue, 29 Sep 1992 21:11:24 +0000 (21:11 +0000)]
Add MAJOR-MODE-LOCKED feature.
Chris Hanson [Mon, 28 Sep 1992 16:38:50 +0000 (16:38 +0000)]
Reimplement in-line combined stack and interrupt check, now that
microcode will support it properly.
Chris Hanson [Mon, 28 Sep 1992 16:35:41 +0000 (16:35 +0000)]
Eliminate an additional instruction in the in-line combined stack and
interrupt check; total is now four instructions.
Guillermo J. Rozas [Sat, 26 Sep 1992 16:03:18 +0000 (16:03 +0000)]
Allow UNSPECIFIC as a directory specifier.
That way we can construct pathnames for DOS devices (e.g. NUL, CON,
etc.)
Chris Hanson [Sat, 26 Sep 1992 15:56:19 +0000 (15:56 +0000)]
Tighten up the code sequence for the combined interrupt and stack
check. New sequence is same number of instructions, but eliminates a
load-delay interlock. Sequence can perhaps be shortened by one
additional instruction.
Chris Hanson [Sat, 26 Sep 1992 15:49:20 +0000 (15:49 +0000)]
Tighten up the code sequence for the combined interrupt and stack
check. New sequence is 6 instructions rather than former 8.
Chris Hanson [Sat, 26 Sep 1992 15:40:02 +0000 (15:40 +0000)]
Don't refer to COMPLEX:COMPLEX? here -- use NUMBER? instead.
Chris Hanson [Sat, 26 Sep 1992 04:13:26 +0000 (04:13 +0000)]
The microcode no longer knows how many bytes the interrupt-check
sequence is, so allow in-line stack checks again.
Chris Hanson [Sat, 26 Sep 1992 03:27:21 +0000 (03:27 +0000)]
Add conditional to allow this file to be included multiple times.
Chris Hanson [Sat, 26 Sep 1992 03:21:24 +0000 (03:21 +0000)]
Add conditional to allow this file to be included multiple times.
Chris Hanson [Sat, 26 Sep 1992 03:12:30 +0000 (03:12 +0000)]
Change `(Registers[REGBLOCK_STACK_GUARD])' to be a cache for the C
variable `Stack_Guard'. Change COMPILER_SETUP_INTERRUPT so that
compiled code doesn't signal GC or stack-overflow interrupts when the
corresponding interrupt enable bit is not set. Change compiled-code
interface to assume this, and eliminate back-out code; this eliminates
the _SKIPPED_CHECK_OFFSET constants built into the microcode, allowing
the compiled code more coding flexibility.
Chris Hanson [Sat, 26 Sep 1992 03:12:03 +0000 (03:12 +0000)]
Move definitions of TYPE_CODE_LENGTH and HAS_COMPILER_SUPPORT out of
the command line and into "config.h"
Chris Hanson [Sat, 26 Sep 1992 02:55:06 +0000 (02:55 +0000)]
Change `(Registers[REGBLOCK_STACK_GUARD])' to be a cache for the C
variable `Stack_Guard'. Change COMPILER_SETUP_INTERRUPT so that
compiled code doesn't signal GC or stack-overflow interrupts when the
corresponding interrupt enable bit is not set. Change compiled-code
interface to assume this, and eliminate back-out code; this eliminates
the _SKIPPED_CHECK_OFFSET constants built into the microcode, allowing
the compiled code more coding flexibility.
Chris Hanson [Sat, 26 Sep 1992 02:48:56 +0000 (02:48 +0000)]
Move definitions of TYPE_CODE_LENGTH and HAS_COMPILER_SUPPORT out of
the command line and into "config.h"
Guillermo J. Rozas [Fri, 25 Sep 1992 21:46:01 +0000 (21:46 +0000)]
Add critical-error handling outside of DPMI (Windows).
Guillermo J. Rozas [Fri, 25 Sep 1992 01:23:24 +0000 (01:23 +0000)]
Work around bug in X32 by which it swaps ss if it is not what it
expected when a trap occurs.
We now use DPMI exceptions directly under DPMI rather than X32
exceptions.
Guillermo J. Rozas [Fri, 25 Sep 1992 01:21:28 +0000 (01:21 +0000)]
Remove unnecessary segment overrides.
Chris Hanson [Fri, 25 Sep 1992 01:20:59 +0000 (01:20 +0000)]
Remove some now-unnecessary compiler switches.
Chris Hanson [Fri, 25 Sep 1992 01:19:13 +0000 (01:19 +0000)]
Implement close-coded stack and interrupt check.
Chris Hanson [Fri, 25 Sep 1992 01:04:06 +0000 (01:04 +0000)]
Override DEFAULT-HOMEDIR-DIRECTORY to be the "work" directory so that
buffers with no natural directory end up being in a reasonable place.
Chris Hanson [Fri, 25 Sep 1992 01:01:02 +0000 (01:01 +0000)]
Add binding of DEFAULT-HOMEDIR-PATHNAME to allow 6.001 to override the
default "home" directory.
Brian A. LaMacchia [Thu, 24 Sep 1992 22:13:25 +0000 (22:13 +0000)]
more bug fixes; prevented rmail-sort-messages from keeping multiple
strings with message text around; improved date handling
Chris Hanson [Thu, 24 Sep 1992 22:07:15 +0000 (22:07 +0000)]
Export variables controlling generation of debugging info files.
Chris Hanson [Thu, 24 Sep 1992 20:21:04 +0000 (20:21 +0000)]
Bypass use of shell for DOS file commands. This obviates the need for
quoting.
Chris Hanson [Thu, 24 Sep 1992 18:55:43 +0000 (18:55 +0000)]
Quote unusual characters in filenames that are passed to the shell.
Chris Hanson [Thu, 24 Sep 1992 01:35:49 +0000 (01:35 +0000)]
Change typing of procedure to match arguments that are normally passed
to it.
Chris Hanson [Thu, 24 Sep 1992 01:35:18 +0000 (01:35 +0000)]
Change typing of procedure to match arguments that are normally passed
to it.
Chris Hanson [Thu, 24 Sep 1992 01:34:59 +0000 (01:34 +0000)]
Use incorrect typing of references to `make_primitive' to eliminate
warning messages.
Chris Hanson [Thu, 24 Sep 1992 01:30:06 +0000 (01:30 +0000)]
Add conditionalization that works with ANSI cpp when `unix' isn't
defined.
Guillermo J. Rozas [Wed, 23 Sep 1992 23:59:26 +0000 (23:59 +0000)]
Add comhst and dirunx.
Guillermo J. Rozas [Wed, 23 Sep 1992 23:06:49 +0000 (23:06 +0000)]
Split dired and comint into system-independent and system-dependent
portions. This eliminates the need for most process stubs under DOS.
Guillermo J. Rozas [Wed, 23 Sep 1992 23:05:22 +0000 (23:05 +0000)]
Move dired system-dependent stuff elsewhere (dos.scm, unix.scm, dirunx.scm).
Guillermo J. Rozas [Wed, 23 Sep 1992 23:05:02 +0000 (23:05 +0000)]
Initial revision
Guillermo J. Rozas [Wed, 23 Sep 1992 23:04:55 +0000 (23:04 +0000)]
Move system-dependent stuff elsewhere (dos.scm, unix.scm, dirunx.scm).
Guillermo J. Rozas [Wed, 23 Sep 1992 23:04:23 +0000 (23:04 +0000)]
Remove most of the contents. dired and comint have been cleaned so
that fewer bindings are needed.
Guillermo J. Rozas [Wed, 23 Sep 1992 23:03:55 +0000 (23:03 +0000)]
Split comint into history manipulation and subprocess manipulation.
History is used by intmod, but the rest is not available under DOS.
Guillermo J. Rozas [Wed, 23 Sep 1992 22:44:24 +0000 (22:44 +0000)]
Update date.
Chris Hanson [Tue, 22 Sep 1992 22:42:14 +0000 (22:42 +0000)]
Fix implementation of X-GRAPHICS/DISCARD-EVENTS.
Chris Hanson [Tue, 22 Sep 1992 22:12:59 +0000 (22:12 +0000)]
Re-enable stack checks -- they're fixed now.
Chris Hanson [Tue, 22 Sep 1992 21:59:29 +0000 (21:59 +0000)]
Fix typo in sense of conditional branch.
Chris Hanson [Tue, 22 Sep 1992 20:13:23 +0000 (20:13 +0000)]
COMPRESSED-LOADER now takes a second argument, the pathname-type of
the uncompressed file to be generated when *SAVE-UNCOMPRESSED-FILES?*
is true. This is necessary to allow COMPRESSED-LOADER to be used to
load ".bcs" files as well as ".bci" files.
Chris Hanson [Tue, 22 Sep 1992 02:19:42 +0000 (02:19 +0000)]
Changes to match those to runtime system's arithmetic.
Chris Hanson [Mon, 21 Sep 1992 21:23:54 +0000 (21:23 +0000)]
Add hack to eliminate (lambda #f ...).
Chris Hanson [Mon, 21 Sep 1992 20:35:24 +0000 (20:35 +0000)]
Add hack to eliminate (lambda #f ...).
Chris Hanson [Mon, 21 Sep 1992 19:06:40 +0000 (19:06 +0000)]
Some n-ary procedures return their argument when they are passed
exactly one. Previously these procedures performed no type-checking
on such arguments; these checks have been added.
Guillermo J. Rozas [Sat, 19 Sep 1992 19:06:16 +0000 (19:06 +0000)]
Fix DPMI_stack_fault_handler to use INT_Stack_Overflow.
Guillermo J. Rozas [Sat, 19 Sep 1992 19:05:17 +0000 (19:05 +0000)]
Fix limit handling in DPMI_alloc_scheme_stack.
Guillermo J. Rozas [Fri, 18 Sep 1992 21:59:42 +0000 (21:59 +0000)]
Use OS_channel_close_noerror instead of OS_channel_close in
CLOSE-LOST-OPEN-FILES.
Guillermo J. Rozas [Fri, 18 Sep 1992 19:40:07 +0000 (19:40 +0000)]
Fix typo.
Guillermo J. Rozas [Fri, 18 Sep 1992 19:39:16 +0000 (19:39 +0000)]
Can't use signed as a variable name.
Chris Hanson [Fri, 18 Sep 1992 19:05:24 +0000 (19:05 +0000)]
Implement new procedure X-GRAPHICS/DISCARD-EVENTS to discard mouse
button events that are in the queue.
Chris Hanson [Fri, 18 Sep 1992 18:56:13 +0000 (18:56 +0000)]
Signal error if user tries to set the pathname of a buffer to a
directory.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:55:10 +0000 (16:55 +0000)]
Use ulong_to_integer instead of long_to_integer to handle clock wrap
around correctly.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:54:40 +0000 (16:54 +0000)]
Add ulong_to_integer and integer_to_ulong.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:52:34 +0000 (16:52 +0000)]
Add ulong_to_bignum and bignum_to_ulong.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:38:47 +0000 (16:38 +0000)]
Add the arities for all the primitives so the file can be sf'd on a
non-DOS.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:35:32 +0000 (16:35 +0000)]
Fix bug in last edit.
Guillermo J. Rozas [Fri, 18 Sep 1992 16:30:34 +0000 (16:30 +0000)]
Add the arities for all the primitives so the file can be sf'd on a
non-Unix.
Guillermo J. Rozas [Fri, 18 Sep 1992 05:54:21 +0000 (05:54 +0000)]
Add hardware stack overflow protection under DPMI.
Guillermo J. Rozas [Fri, 18 Sep 1992 05:53:31 +0000 (05:53 +0000)]
Add STACK_RESET macro for machines/OSs in which we have hardware stack
protection.
Guillermo J. Rozas [Fri, 18 Sep 1992 05:52:35 +0000 (05:52 +0000)]
Initialize Scheme_Stack_Segment_Selector only if it has not been
initialized.
Guillermo J. Rozas [Fri, 18 Sep 1992 02:05:26 +0000 (02:05 +0000)]
Add Scheme_Stack_Segment_Selector for DOS, and make sure that esp is
loaded immediately after ss because the 386 architecture masks
interrupts for one instruction after modifying ss.
Guillermo J. Rozas [Fri, 18 Sep 1992 02:03:13 +0000 (02:03 +0000)]
Rename improperly declared extern (i386_interface_initialize.
Chris Hanson [Thu, 17 Sep 1992 23:48:42 +0000 (23:48 +0000)]
Add code to recognize the "write-protected" error when writing to the
floppy, and to give a more succinct error message.
Chris Hanson [Thu, 17 Sep 1992 23:18:04 +0000 (23:18 +0000)]
In TYPEIN-EDIT-OTHER-WINDOW, don't return a window that has been
deleted. Always return *some* window, even if all of the saved
windows has been deleted.
Guillermo J. Rozas [Thu, 17 Sep 1992 13:31:53 +0000 (13:31 +0000)]
int 21h 60h only writes 128 bytes.
Chris Hanson [Thu, 17 Sep 1992 05:15:08 +0000 (05:15 +0000)]
Add code to detect non-DOS filenames and discourage their use.
Guillermo J. Rozas [Thu, 17 Sep 1992 01:31:42 +0000 (01:31 +0000)]
Fix the adjustment for real-time timer wrap around.
Guillermo J. Rozas [Thu, 17 Sep 1992 00:57:07 +0000 (00:57 +0000)]
Add a patch to deliver-timer-events for real-time timer wrap-around.
Guillermo J. Rozas [Thu, 17 Sep 1992 00:47:35 +0000 (00:47 +0000)]
Flush references to indirect primitives. They do not exist for DOS.
Guillermo J. Rozas [Thu, 17 Sep 1992 00:45:29 +0000 (00:45 +0000)]
Flush indirect primitives. They make no sense in DOS.
Guillermo J. Rozas [Thu, 17 Sep 1992 00:41:34 +0000 (00:41 +0000)]
Add file-access-time-direct, file-access-time-indirect,
file-access-time, and set-file-times!
Guillermo J. Rozas [Thu, 17 Sep 1992 00:26:15 +0000 (00:26 +0000)]
Fix broken conditional in notifier.
The notify string was not being updated at all if the mail
notification hook was not installed.
Guillermo J. Rozas [Tue, 15 Sep 1992 21:40:26 +0000 (21:40 +0000)]
Get rid of IntEnb and IntCode as independent variables. They are now
part of the register block.
Guillermo J. Rozas [Tue, 15 Sep 1992 20:35:55 +0000 (20:35 +0000)]
Make FILE-EQ? work correctly under DOS.
Chris Hanson [Mon, 14 Sep 1992 23:53:03 +0000 (23:53 +0000)]
Add HOOK/REPL-PROMPT.
Chris Hanson [Mon, 14 Sep 1992 23:18:10 +0000 (23:18 +0000)]
Define NIL and USER-INITIAL-ENVIRONMENT.
Chris Hanson [Mon, 14 Sep 1992 23:14:05 +0000 (23:14 +0000)]
Disable EXIT and QUIT so that students aren't logged out by accident.
Chris Hanson [Mon, 14 Sep 1992 23:12:23 +0000 (23:12 +0000)]
Use new %QUIT.
Chris Hanson [Mon, 14 Sep 1992 23:11:54 +0000 (23:11 +0000)]
Add %QUIT to guarantee access to basic QUIT mechanism.
Chris Hanson [Mon, 14 Sep 1992 23:08:42 +0000 (23:08 +0000)]
Add HOOK/EXIT and HOOK/QUIT to allow EXIT and QUIT to be overridden.
Chris Hanson [Mon, 14 Sep 1992 23:00:50 +0000 (23:00 +0000)]
Change mail to insert both "From:" and "Reply-to:" addresses.
Chris Hanson [Mon, 14 Sep 1992 21:43:09 +0000 (21:43 +0000)]
Install new login window text from LAS.
Chris Hanson [Mon, 14 Sep 1992 21:21:32 +0000 (21:21 +0000)]
Use home directory if "work/" doesn't exist.
Chris Hanson [Mon, 14 Sep 1992 21:18:46 +0000 (21:18 +0000)]
Add code to support a "motd" file.
Chris Hanson [Mon, 14 Sep 1992 20:51:31 +0000 (20:51 +0000)]
Add dependencies for "lookprm".
Chris Hanson [Mon, 14 Sep 1992 20:34:40 +0000 (20:34 +0000)]
Fix occurrences of `set_IntEnb'.
Chris Hanson [Mon, 14 Sep 1992 20:34:20 +0000 (20:34 +0000)]
In definitions of interrupt registers, use `Registers' instead of
`Regs', because the latter breaks in "interp.c" where references occur
outside of `Interpret'.
Chris Hanson [Mon, 14 Sep 1992 20:14:31 +0000 (20:14 +0000)]
For FOCUS-IN events, don't generate a SELECT-SCREEN operation if the
screen is already selected. This should prevent spurious failures of
PROMPT-FOR-CHAR.
Chris Hanson [Sat, 12 Sep 1992 00:16:46 +0000 (00:16 +0000)]
Add new hook for close-coded stack/interrupt check.
Chris Hanson [Sat, 12 Sep 1992 00:08:33 +0000 (00:08 +0000)]
Add new hook for close-coded stack/interrupt check.
Chris Hanson [Fri, 11 Sep 1992 22:34:34 +0000 (22:34 +0000)]
Add new hook for close-coded stack/interrupt check.
Chris Hanson [Fri, 11 Sep 1992 21:59:11 +0000 (21:59 +0000)]
Move IntCode and IntEnb to the register block so that compiled code
can access them.
Chris Hanson [Fri, 11 Sep 1992 05:45:43 +0000 (05:45 +0000)]
Disable generation of stack checks until implementation bugs are
fixed.
Chris Hanson [Fri, 11 Sep 1992 02:04:05 +0000 (02:04 +0000)]
Handle stack checks correctly. Previous code was jumping to interrupt
code even when stack-overflow interrupt was disabled.
Chris Hanson [Thu, 10 Sep 1992 09:03:32 +0000 (09:03 +0000)]
Don't do compensation kludge for 60-second granularity, it causes all
files to be written back to floppy every time.
Chris Hanson [Thu, 10 Sep 1992 08:17:59 +0000 (08:17 +0000)]
Tweak some of the presentations.
Chris Hanson [Thu, 10 Sep 1992 07:33:15 +0000 (07:33 +0000)]
Add "floppy" to the list of files that need compilation.
Chris Hanson [Thu, 10 Sep 1992 07:32:50 +0000 (07:32 +0000)]
Move editor customizations from "make.scm" to "edextra.scm". Extend
filename customizations so that they do the usual thing when the files
being operated on are not part of the student environment. Add
remaining backup and auto-save filename customizations. Add
Scheme's file types to list of ignored types. Disable key bindings
that exit the editor.