Commit Graph

381 Commits

Author SHA1 Message Date
shivers 4dc9707d7b Added TTY?, TTY-FILE-NAME, and CONTROL-TTY-FILE-NAME (aka isatty(),
ttyname(), and ctermid()). We are now 100% Posix.
1996-09-13 01:45:40 +00:00
shivers 912bf51c24 More bug and fixes. 1996-09-13 01:42:49 +00:00
shivers b64ae78af7 AUTOREAP-POLICY's optional argument wasn't. 1996-09-13 01:28:10 +00:00
shivers 241fe9c520 Added ctermid, istty, & ttyname -- we are now 100% Posix. 1996-09-12 20:17:10 +00:00
shivers 391365171f moved signals1.h 1996-09-12 06:31:17 +00:00
shivers 2a34e9d53a Moved signals1.h to OS-independent directory. 1996-09-12 06:01:30 +00:00
shivers c36b4abf3f Signal-handler support 1996-09-12 06:00:19 +00:00
shivers 6e52fcbdee Signal-handler support. 1996-09-12 05:22:56 +00:00
shivers c50650d7eb Moving signals1.h to OS-independent code 1996-09-12 04:58:58 +00:00
shivers 8fc03c01c8 - Improved CLOEXEC support for unrevealed ports.
- sleazy-call/fdes useage introduced for speed.
- fcntl support added.
1996-09-12 04:53:36 +00:00
shivers 894d4c32e9 Derived files -- why are these stored in CVS? 1996-09-12 04:48:35 +00:00
shivers 5aa87bc9fe Signal-handler support. 1996-09-12 04:43:30 +00:00
shivers a44f8882e6 Signal-handler support. 1996-09-12 04:43:16 +00:00
shivers b4909649d4 Signal-handler support. 1996-09-12 04:35:43 +00:00
shivers b48e4874c5 Sig-handler support 1996-09-12 04:34:28 +00:00
shivers 0716fc06cd signal-handler support 1996-09-12 04:29:59 +00:00
shivers 8adc0d3f5b fcntl support, signal-handler support, regexp substitution,
new initialize-vector utility
1996-09-12 04:29:26 +00:00
shivers f948e51831 Added regexp compilation 1996-09-12 04:26:13 +00:00
shivers e84440fecd Added define-enum-constants macro.
(And cleaned up all the enum constants in the OS-dependent subdirs)
1996-09-12 03:33:32 +00:00
shivers 70a1342cef Hacked I/O system so that ports set/clear their
fd's CLOEXEC bit when they become unrevealed/revealed.
1996-09-12 01:43:53 +00:00
shivers aed6c163b8 Hacked I/O system so that ports set/clear their
fd's CLOEXEC bit when they become unrevealed/revealed.
1996-09-12 01:42:58 +00:00
shivers dfda637610 Added INITIALIZE-VECTOR 1996-09-12 01:39:18 +00:00
shivers ae2b8700e5 (chdir) now correctly changes to the home dir, rather than to "." 1996-09-08 09:14:40 +00:00
shivers d16ad942c0 AWK now pre-compiles its regexps outside the main loop. 1996-09-08 09:08:47 +00:00
shivers 9610aeab66 Changed the -s- option to the -s<num> option. 1996-08-30 08:36:34 +00:00
shivers 46aa9a9424 Added -s- option. 1996-08-30 07:16:53 +00:00
shivers d8d1758d11 Hacked file-loading code so that we could load from ports. This to support
the new -s- switch.
1996-08-30 07:15:14 +00:00
shivers 0d7befeb82 Fixed up some small bugs (e.g., pid -> proc) 1996-08-29 08:35:58 +00:00
shivers aabe436bef I changed the meta-arg parsers (C and Scheme) so that newline *always*
terminates an arg, even if it is an empty arg. Consistency. KISS.
1996-08-29 08:35:25 +00:00
bdc 4961de1b9b updated with rule for scsh/scsh.vm 1996-08-25 07:54:14 +00:00
bdc b5a653f1f3 cleaned up static linker code 1996-08-24 09:27:47 +00:00
shivers d472115b34 Retry syscalls when interrupted. 1996-08-24 08:52:34 +00:00
shivers 75bad52dfe Trivial documentation addition. 1996-08-24 07:52:41 +00:00
shivers 996ee5db33 Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +00:00
bdc 060badffa7 yet another scratch version of the static heap stuff 1996-08-24 02:03:27 +00:00
bdc c4927cc255 an attempt to export new things from the vm without modifiying it; scrapped 1996-08-24 02:02:24 +00:00
bdc 3b0a2e2fa5 the pre scsh static linker 1996-08-24 02:00:47 +00:00
shivers 1df0338fb0 I removed DEFINE-SIMPLE-ERRNO-SYSCALL because it is simply a special
case of DEFINE-ERRNO-SYSCALL. However, this change causes simple errno
syscalls to return 0 values, which blows up I/O methods used in S48's
extensible port system, so I had to hack three or four of those methods
to return a random value (#F).
1996-08-23 23:29:51 +00:00
shivers 464f44f2a3 Brian was using error-checking code of the form
(CASE ERROR ((ERRNO/INTR) ...) ...)
But CASE doesn't evauate its keys, so this didn't work. I switched it
to COND's.

We should import my conditional macros, which includes an evaluating-key
CASE.
	-Olin
1996-08-23 21:43:22 +00:00
shivers 975278b58b Removed ERRNO/DEADLK and ERRNO/NOLCK from extra-errno's list -- they are Posix! 1996-08-23 03:21:14 +00:00
shivers 84c705fcc7 New signal-handler code. 1996-08-22 20:13:14 +00:00
bdc 509fb5c6d1 fixed another bug in clean target 1996-08-22 19:46:07 +00:00
shivers e124c6906c Export names from sighandlers1.c. 1996-08-22 19:42:59 +00:00
shivers 66be6be3d5 Typo: clear-cig -> clean-cig 1996-08-22 17:03:05 +00:00
bdc 6ea9a75721 updated static linker script; can handle scsh.image; improved autoconf macros 1996-08-22 07:31:36 +00:00
shivers 6d8929b608 defrec.scm -- trivial doc bug in comments.
jcontrol1.c -- signal handler stuff

signal handler hacking -- added Unix signals to VM's interrupt set.
1996-08-21 21:29:59 +00:00
shivers 3595da3986 signal handler hacking -- added Unix signals to VM's interrupt set. 1996-08-21 21:28:40 +00:00
shivers dd40a220df signal handler and job control hacking. 1996-08-21 21:27:48 +00:00
shivers 7a1e5a6da7 Keep bugfixes here. 1996-08-21 21:19:23 +00:00
shivers 7e184be69d Added documentation for new command-line switches. 1996-08-21 20:52:21 +00:00