0.7.7.6:
authorWilliam Harold Newman <william.newman@airmail.net>
Sat, 31 Aug 2002 23:36:57 +0000 (23:36 +0000)
committerWilliam Harold Newman <william.newman@airmail.net>
Sat, 31 Aug 2002 23:36:57 +0000 (23:36 +0000)
merged Nathan Froyd's "various constants in SB-UNIX" patch
(sbcl-devel 2002-08-27)

doc/sbcl.1
src/code/load.lisp
tools-for-build/grovel_headers.c
version.lisp-expr

index aeb686c..908f9a1 100644 (file)
@@ -61,7 +61,10 @@ Many people like to run SBCL, like other Lisp systems, as a subprocess
 under Emacs. The Emacs "ilisp" mode provides many convenient features,
 like command line editing, tab completion, and various kinds of
 coupling between Common Lisp source files and the interactive SBCL
-subprocess.
+subprocess, but can be somewhat fragile because it tries to be so
+clever and intimate in its interactions with the Lisp subprocess. In
+case of ilisp problems, running SBCL in the Emacs "shell" mode can a
+useful substitute.
 
 .SH OVERVIEW
 
index d7bf601..a818cbf 100644 (file)
                     table
                     nil))
          prefixes)))
-
 \f
 ;;;; stuff for debugging/tuning by collecting statistics on FOPs (?)
 
index 0d33082..0184bfa 100644 (file)
@@ -23,6 +23,8 @@
 #include <sys/times.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
+#include <sys/ioctl.h>
+#include <sys/termios.h>
 #include <fcntl.h>
 #include <unistd.h>
 
@@ -102,5 +104,40 @@ main(int argc, char *argv[])
     defconstant("wuntraced", WUNTRACED);
     printf("\n");
 
+    printf(";;; various ioctl(2) flags\n");
+    defconstant("tiocnotty",  TIOCNOTTY);
+    defconstant("tiocgwinsz", TIOCGWINSZ);
+    defconstant("tiocswinsz", TIOCSWINSZ);
+    defconstant("tiocgpgrp",  TIOCGPGRP);
+    defconstant("tiocspgrp",  TIOCSPGRP);
+    /* KLUDGE: These are referenced by old CMUCL-derived code, but
+     * Linux doesn't define them.
+     *
+     * I think these are the BSD names, but I don't know what the
+     * corresponding SysV/Linux names are. As a point of reference,
+     * CMUCL doesn't have these defined either (although the defining
+     * forms *do* exist in src/code/unix.lisp), so I don't feel nearly
+     * so bad about not hunting them down. Insight into renamed
+     * obscure ioctl(2) flags appreciated. --njf, 2002-08-26
+     *
+     * I note that the first one I grepped for, TIOCSIGSEND, is
+     * referenced in SBCL conditional on #+HPUX. Maybe the porters of
+     * Oxbridge know more about things like that? And even if they
+     * don't, one benefit of the Rhodes crusade to heal the worthy
+     * ports should be that afterwards, if we grep for something like
+     * this in CVS and it's not there, we can lightheartedly nuke it.
+     * -- WHN 2002-08-30 */
+    /*
+      defconstant("tiocsigsend", TIOCSIGSEND);
+      defconstant("tiocflush", TIOCFLUSH);
+      defconstant("tiocgetp", TIOCGETP);
+      defconstant("tiocsetp", TIOCSETP);
+      defconstant("tiocgetc", TIOCGETC);
+      defconstant("tiocsetc", TIOCSETC);
+      defconstant("tiocgltc", TIOCGLTC);
+      defconstant("tiocsltc", TIOCSLTC);
+    */
+    printf("\n");
+
     return 0;
 }
index 2b267bd..8f08a60 100644 (file)
@@ -18,4 +18,4 @@
 ;;; for internal versions, especially for internal versions off the
 ;;; main CVS branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
 
-"0.7.7.5"
+"0.7.7.6"