diff options
| author | Jim Blandy | 1992-09-13 11:44:06 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-13 11:44:06 +0000 |
| commit | ec558adcceffa21d313410a6d8ebfe11b47d083b (patch) | |
| tree | 2d78afc1cf127cc5eb02f12d39a623f297f7cbda | |
| parent | b7cceaf12a73559df9c2fcf135983b4c03b48061 (diff) | |
| download | emacs-ec558adcceffa21d313410a6d8ebfe11b47d083b.tar.gz emacs-ec558adcceffa21d313410a6d8ebfe11b47d083b.zip | |
entered into RCS
| -rw-r--r-- | lisp/frame.el | 16 | ||||
| -rw-r--r-- | lisp/loadup.el | 6 | ||||
| -rw-r--r-- | lisp/mouse.el | 18 | ||||
| -rw-r--r-- | src/.gdbinit | 43 | ||||
| -rw-r--r-- | src/Makefile.in | 6 | ||||
| -rw-r--r-- | src/gnu.h | 141 | ||||
| -rw-r--r-- | src/keyboard.h | 3 | ||||
| -rw-r--r-- | src/m/mips.h | 68 | ||||
| -rw-r--r-- | src/m/pmax.h | 30 | ||||
| -rw-r--r-- | src/s/bsd4-3.h | 6 | ||||
| -rw-r--r-- | src/s/newsos5.h | 37 | ||||
| -rw-r--r-- | src/s/osf1.h | 14 | ||||
| -rw-r--r-- | src/sinkmask.h | 118 |
13 files changed, 253 insertions, 253 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 2a598778245..36d4898f35b 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -115,10 +115,14 @@ These supercede the values given in default-frame-alist.") | |||
| 115 | (defun frame-notice-user-settings () | 115 | (defun frame-notice-user-settings () |
| 116 | (if frame-initial-frame | 116 | (if frame-initial-frame |
| 117 | (progn | 117 | (progn |
| 118 | |||
| 119 | ;; If the user wants a minibuffer-only frame, we'll have to | 118 | ;; If the user wants a minibuffer-only frame, we'll have to |
| 120 | ;; make a new one; you can't remove or add a root window to/from | 119 | ;; make a new one; you can't remove or add a root window to/from |
| 121 | ;; an existing frame. | 120 | ;; an existing frame. |
| 121 | ;; NOTE: default-frame-alist was nil when we created the | ||
| 122 | ;; existing frame. We need to explicitly include | ||
| 123 | ;; default-frame-alist in the parameters of the screen we | ||
| 124 | ;; create here, so that its new value, gleaned from the user's | ||
| 125 | ;; .emacs file, will be applied to the existing screen. | ||
| 122 | (if (eq (cdr (or (assq 'minibuffer initial-frame-alist) | 126 | (if (eq (cdr (or (assq 'minibuffer initial-frame-alist) |
| 123 | '(minibuffer . t))) | 127 | '(minibuffer . t))) |
| 124 | 'only) | 128 | 'only) |
| @@ -126,10 +130,18 @@ These supercede the values given in default-frame-alist.") | |||
| 126 | (setq default-minibuffer-frame | 130 | (setq default-minibuffer-frame |
| 127 | (new-frame | 131 | (new-frame |
| 128 | (append initial-frame-alist | 132 | (append initial-frame-alist |
| 133 | default-frame-alist | ||
| 129 | (frame-parameters frame-initial-frame)))) | 134 | (frame-parameters frame-initial-frame)))) |
| 135 | |||
| 136 | ;; Redirect events enqueued at this frame to the new frame. | ||
| 137 | ;; Is this a good idea? | ||
| 138 | (redirect-frame-focus frame-initial-frame | ||
| 139 | default-minibuffer-frame) | ||
| 140 | |||
| 130 | (delete-frame frame-initial-frame)) | 141 | (delete-frame frame-initial-frame)) |
| 131 | (modify-frame-parameters frame-initial-frame | 142 | (modify-frame-parameters frame-initial-frame |
| 132 | initial-frame-alist)))) | 143 | (append initial-frame-alist |
| 144 | default-frame-alist))))) | ||
| 133 | 145 | ||
| 134 | ;; Make sure the initial frame can be GC'd if it is ever deleted. | 146 | ;; Make sure the initial frame can be GC'd if it is ever deleted. |
| 135 | (makunbound 'frame-initial-frame)) | 147 | (makunbound 'frame-initial-frame)) |
diff --git a/lisp/loadup.el b/lisp/loadup.el index f9959966861..f13f6c7cc1e 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el | |||
| @@ -119,11 +119,9 @@ | |||
| 119 | (setq name (concat (expand-file-name "../etc/DOC-") name)) | 119 | (setq name (concat (expand-file-name "../etc/DOC-") name)) |
| 120 | (if (file-exists-p name) | 120 | (if (file-exists-p name) |
| 121 | (delete-file name)) | 121 | (delete-file name)) |
| 122 | (copy-file (expand-file-name "../etc/DOC") | 122 | (copy-file (expand-file-name "../etc/DOC") name t) |
| 123 | name | ||
| 124 | t) | ||
| 125 | (Snarf-documentation (file-name-nondirectory name))) | 123 | (Snarf-documentation (file-name-nondirectory name))) |
| 126 | (Snarf-documentation "DOC")) | 124 | (Snarf-documentation "DOC")) |
| 127 | (message "Finding pointers to doc strings...done") | 125 | (message "Finding pointers to doc strings...done") |
| 128 | 126 | ||
| 129 | ;Note: You can cause additional libraries to be preloaded | 127 | ;Note: You can cause additional libraries to be preloaded |
diff --git a/lisp/mouse.el b/lisp/mouse.el index bc3f8c1744d..1297325186e 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -40,13 +40,13 @@ | |||
| 40 | (defun mouse-delete-window (click) | 40 | (defun mouse-delete-window (click) |
| 41 | "Delete the window clicked on. | 41 | "Delete the window clicked on. |
| 42 | This must be bound to a mouse click." | 42 | This must be bound to a mouse click." |
| 43 | (interactive "K") | 43 | (interactive "e") |
| 44 | (delete-window (event-window click))) | 44 | (delete-window (event-window click))) |
| 45 | 45 | ||
| 46 | (defun mouse-delete-other-windows (click) | 46 | (defun mouse-delete-other-windows (click) |
| 47 | "Select Emacs window clicked on, then kill all other Emacs windows. | 47 | "Select Emacs window clicked on, then kill all other Emacs windows. |
| 48 | This must be bound to a mouse click." | 48 | This must be bound to a mouse click." |
| 49 | (interactive "K") | 49 | (interactive "e") |
| 50 | (select-window (event-window click)) | 50 | (select-window (event-window click)) |
| 51 | (delete-other-windows)) | 51 | (delete-other-windows)) |
| 52 | 52 | ||
| @@ -54,14 +54,14 @@ This must be bound to a mouse click." | |||
| 54 | "Select Emacs window mouse is on, then split it vertically in half. | 54 | "Select Emacs window mouse is on, then split it vertically in half. |
| 55 | The window is split at the line clicked on. | 55 | The window is split at the line clicked on. |
| 56 | This command must be bound to a mouse click." | 56 | This command must be bound to a mouse click." |
| 57 | (interactive "K") | 57 | (interactive "e") |
| 58 | (select-window (event-window click)) | 58 | (select-window (event-window click)) |
| 59 | (split-window-vertically (1+ (cdr (mouse-coords click))))) | 59 | (split-window-vertically (1+ (cdr (mouse-coords click))))) |
| 60 | 60 | ||
| 61 | (defun mouse-set-point (click) | 61 | (defun mouse-set-point (click) |
| 62 | "Move point to the position clicked on with the mouse. | 62 | "Move point to the position clicked on with the mouse. |
| 63 | This must be bound to a mouse click." | 63 | This must be bound to a mouse click." |
| 64 | (interactive "K") | 64 | (interactive "e") |
| 65 | (select-window (event-window click)) | 65 | (select-window (event-window click)) |
| 66 | (if (numberp (event-point click)) | 66 | (if (numberp (event-point click)) |
| 67 | (goto-char (event-point click)))) | 67 | (goto-char (event-point click)))) |
| @@ -70,7 +70,7 @@ This must be bound to a mouse click." | |||
| 70 | "Set mark at the position clicked on with the mouse. | 70 | "Set mark at the position clicked on with the mouse. |
| 71 | Display cursor at that position for a second. | 71 | Display cursor at that position for a second. |
| 72 | This must be bound to a mouse click." | 72 | This must be bound to a mouse click." |
| 73 | (interactive "K") | 73 | (interactive "e") |
| 74 | (let ((point-save (point))) | 74 | (let ((point-save (point))) |
| 75 | (unwind-protect | 75 | (unwind-protect |
| 76 | (progn (mouse-set-point click) | 76 | (progn (mouse-set-point click) |
| @@ -81,7 +81,7 @@ This must be bound to a mouse click." | |||
| 81 | (defun mouse-kill (click) | 81 | (defun mouse-kill (click) |
| 82 | "Kill the region between point and the mouse click. | 82 | "Kill the region between point and the mouse click. |
| 83 | The text is saved in the kill ring, as with \\[kill-region]." | 83 | The text is saved in the kill ring, as with \\[kill-region]." |
| 84 | (interactive "K") | 84 | (interactive "e") |
| 85 | (let ((click-posn (event-point click))) | 85 | (let ((click-posn (event-point click))) |
| 86 | (if (numberp click-posn) | 86 | (if (numberp click-posn) |
| 87 | (kill-region (min (point) click-posn) | 87 | (kill-region (min (point) click-posn) |
| @@ -90,20 +90,20 @@ The text is saved in the kill ring, as with \\[kill-region]." | |||
| 90 | (defun mouse-yank-at-click (click arg) | 90 | (defun mouse-yank-at-click (click arg) |
| 91 | "Insert the last stretch of killed text at the position clicked on. | 91 | "Insert the last stretch of killed text at the position clicked on. |
| 92 | Prefix arguments are interpreted as with \\[yank]." | 92 | Prefix arguments are interpreted as with \\[yank]." |
| 93 | (interactive "K\nP") | 93 | (interactive "e\nP") |
| 94 | (mouse-set-point click) | 94 | (mouse-set-point click) |
| 95 | (yank arg)) | 95 | (yank arg)) |
| 96 | 96 | ||
| 97 | (defun mouse-kill-ring-save (click) | 97 | (defun mouse-kill-ring-save (click) |
| 98 | "Copy the region between point and the mouse click in the kill ring. | 98 | "Copy the region between point and the mouse click in the kill ring. |
| 99 | This does not delete the region; it acts like \\[kill-ring-save]." | 99 | This does not delete the region; it acts like \\[kill-ring-save]." |
| 100 | (interactive "K") | 100 | (interactive "e") |
| 101 | (mouse-set-mark click) | 101 | (mouse-set-mark click) |
| 102 | (call-interactively 'kill-ring-save)) | 102 | (call-interactively 'kill-ring-save)) |
| 103 | 103 | ||
| 104 | (defun mouse-buffer-menu (event) | 104 | (defun mouse-buffer-menu (event) |
| 105 | "Pop up a menu of buffers for selection with the mouse." | 105 | "Pop up a menu of buffers for selection with the mouse." |
| 106 | (interactive "K") | 106 | (interactive "e") |
| 107 | (let ((menu | 107 | (let ((menu |
| 108 | (list "Buffer Menu" | 108 | (list "Buffer Menu" |
| 109 | (cons "Select Buffer" | 109 | (cons "Select Buffer" |
diff --git a/src/.gdbinit b/src/.gdbinit index a046876405b..f75d7532a7f 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -8,6 +8,10 @@ Print the emacs s-expression which is $. | |||
| 8 | Works only when an inferior emacs is executing. | 8 | Works only when an inferior emacs is executing. |
| 9 | end | 9 | end |
| 10 | 10 | ||
| 11 | # Set this to the same thing as the DATA_SEG_BITS macro in your | ||
| 12 | # machine-description files. | ||
| 13 | set $data_seg_bits = 0 | ||
| 14 | |||
| 11 | define xtype | 15 | define xtype |
| 12 | output (enum Lisp_Type) (($ >> 24) & 0x7f) | 16 | output (enum Lisp_Type) (($ >> 24) & 0x7f) |
| 13 | echo \n | 17 | echo \n |
| @@ -24,14 +28,14 @@ Print $, assuming it is an Elisp integer. This gets the sign right. | |||
| 24 | end | 28 | end |
| 25 | 29 | ||
| 26 | define xptr | 30 | define xptr |
| 27 | print (void *) ($ & 0x00ffffff) | 31 | print (void *) (($ & 0x00ffffff) | $data_seg_bits) |
| 28 | end | 32 | end |
| 29 | document xptr | 33 | document xptr |
| 30 | Print the pointer portion of $, assuming it is an Elisp value. | 34 | Print the pointer portion of $, assuming it is an Elisp value. |
| 31 | end | 35 | end |
| 32 | 36 | ||
| 33 | define xwindow | 37 | define xwindow |
| 34 | print (struct window *) ($ & 0x00ffffff) | 38 | print (struct window *) (($ & 0x00ffffff) | $data_seg_bits) |
| 35 | printf "%dx%d+%d+%d\n", $->width, $->height, $->left, $->top | 39 | printf "%dx%d+%d+%d\n", $->width, $->height, $->left, $->top |
| 36 | end | 40 | end |
| 37 | document xwindow | 41 | document xwindow |
| @@ -40,15 +44,15 @@ Print the window's position as "WIDTHxHEIGHT+LEFT+TOP". | |||
| 40 | end | 44 | end |
| 41 | 45 | ||
| 42 | define xmarker | 46 | define xmarker |
| 43 | print (struct Lisp_Marker *) ($ & 0x00ffffff) | 47 | print (struct Lisp_Marker *) (($ & 0x00ffffff) | $data_seg_bits) |
| 44 | end | 48 | end |
| 45 | document xmarker | 49 | document xmarker |
| 46 | Print $ as a marker pointer, assuming it is an Elisp marker value. | 50 | Print $ as a marker pointer, assuming it is an Elisp marker value. |
| 47 | end | 51 | end |
| 48 | 52 | ||
| 49 | define xbuffer | 53 | define xbuffer |
| 50 | print (struct buffer *) ($ & 0x00ffffff) | 54 | print (struct buffer *) (($ & 0x00ffffff) | $data_seg_bits) |
| 51 | output &((struct Lisp_String *) (($->name) & 0x00ffffff))->data | 55 | output &((struct Lisp_String *) ((($->name) & 0x00ffffff) | $data_seg_bits))->data |
| 52 | echo \n | 56 | echo \n |
| 53 | end | 57 | end |
| 54 | document xbuffer | 58 | document xbuffer |
| @@ -57,7 +61,7 @@ Print the name of the buffer. | |||
| 57 | end | 61 | end |
| 58 | 62 | ||
| 59 | define xsymbol | 63 | define xsymbol |
| 60 | print (struct Lisp_Symbol *) ($ & 0x00ffffff) | 64 | print (struct Lisp_Symbol *) (($ & 0x00ffffff) | $data_seg_bits) |
| 61 | output &$->name->data | 65 | output &$->name->data |
| 62 | echo \n | 66 | echo \n |
| 63 | end | 67 | end |
| @@ -67,7 +71,7 @@ This command assumes that $ is an Elisp symbol value. | |||
| 67 | end | 71 | end |
| 68 | 72 | ||
| 69 | define xstring | 73 | define xstring |
| 70 | print (struct Lisp_String *) ($ & 0x00ffffff) | 74 | print (struct Lisp_String *) (($ & 0x00ffffff) | $data_seg_bits) |
| 71 | output ($->size > 10000) ? "big string" : ($->data[0])@($->size) | 75 | output ($->size > 10000) ? "big string" : ($->data[0])@($->size) |
| 72 | echo \n | 76 | echo \n |
| 73 | end | 77 | end |
| @@ -77,7 +81,7 @@ This command assumes that $ is an Elisp string value. | |||
| 77 | end | 81 | end |
| 78 | 82 | ||
| 79 | define xvector | 83 | define xvector |
| 80 | print (struct Lisp_Vector *) ($ & 0x00ffffff) | 84 | print (struct Lisp_Vector *) (($ & 0x00ffffff) | $data_seg_bits) |
| 81 | output ($->size > 1000) ? "big vector" : ($->contents[0])@($->size) | 85 | output ($->size > 1000) ? "big vector" : ($->contents[0])@($->size) |
| 82 | echo \n | 86 | echo \n |
| 83 | end | 87 | end |
| @@ -86,15 +90,15 @@ Print the contents and address of the vector $. | |||
| 86 | This command assumes that $ is an Elisp vector value. | 90 | This command assumes that $ is an Elisp vector value. |
| 87 | end | 91 | end |
| 88 | 92 | ||
| 89 | define xscreen | 93 | define xframe |
| 90 | print (struct screen *) ($ & 0x00ffffff) | 94 | print (struct frame *) (($ & 0x00ffffff) | $data_seg_bits) |
| 91 | end | 95 | end |
| 92 | document xwindow | 96 | document xframe |
| 93 | Print $ as a screen pointer, assuming it is an Elisp screen value. | 97 | Print $ as a frame pointer, assuming it is an Elisp frame value. |
| 94 | end | 98 | end |
| 95 | 99 | ||
| 96 | define xcons | 100 | define xcons |
| 97 | print (struct Lisp_Cons *) ($ & 0x00ffffff) | 101 | print (struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits) |
| 98 | output *$ | 102 | output *$ |
| 99 | echo \n | 103 | echo \n |
| 100 | end | 104 | end |
| @@ -103,19 +107,28 @@ Print the contents of $, assuming it is an Elisp cons. | |||
| 103 | end | 107 | end |
| 104 | 108 | ||
| 105 | define xcar | 109 | define xcar |
| 106 | print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) ($ & 0x00ffffff))->car : 0) | 110 | print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits))->car : 0) |
| 107 | end | 111 | end |
| 108 | document xcar | 112 | document xcar |
| 109 | Print the car of $, assuming it is an Elisp pair. | 113 | Print the car of $, assuming it is an Elisp pair. |
| 110 | end | 114 | end |
| 111 | 115 | ||
| 112 | define xcdr | 116 | define xcdr |
| 113 | print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) ($ & 0x00ffffff))->cdr : 0) | 117 | print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits))->cdr : 0) |
| 114 | end | 118 | end |
| 115 | document xcdr | 119 | document xcdr |
| 116 | Print the cdr of $, assuming it is an Elisp pair. | 120 | Print the cdr of $, assuming it is an Elisp pair. |
| 117 | end | 121 | end |
| 118 | 122 | ||
| 123 | define xsubr | ||
| 124 | print (struct Lisp_Subr *) (($ & 0x00ffffff) | $data_seg_bits) | ||
| 125 | output *$ | ||
| 126 | echo \n | ||
| 127 | end | ||
| 128 | document xsubr | ||
| 129 | Print the address of the subr which the Lisp_Object $ points to. | ||
| 130 | end | ||
| 131 | |||
| 119 | set print pretty on | 132 | set print pretty on |
| 120 | 133 | ||
| 121 | unset environment TERMCAP | 134 | unset environment TERMCAP |
diff --git a/src/Makefile.in b/src/Makefile.in index 6e27031c407..045d3a439e3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | # DIST: This is the distribution Makefile for Emacs. configure can | ||
| 2 | # DIST: make most of the changes to this file you might want, so try | ||
| 3 | # DIST: that first. | ||
| 4 | |||
| 1 | MAKE = make | 5 | MAKE = make |
| 2 | # BSD doesn't have it as a default. | 6 | # BSD doesn't have it as a default. |
| 3 | 7 | ||
| @@ -16,7 +20,7 @@ doall: | |||
| 16 | #This is used in making a distribution. | 20 | #This is used in making a distribution. |
| 17 | #Do not use it on development directories! | 21 | #Do not use it on development directories! |
| 18 | distclean: | 22 | distclean: |
| 19 | -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ \#* *.o | 23 | -rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ m/*~ s/*~ \#* *.o |
| 20 | 24 | ||
| 21 | clean: | 25 | clean: |
| 22 | -rm -f temacs xemacs xmakefile* core \#* *.o | 26 | -rm -f temacs xemacs xmakefile* core \#* *.o |
| @@ -1,114 +1,33 @@ | |||
| 1 | #ifdef HAVE_X11 | ||
| 2 | #define gnu_width 50 | 1 | #define gnu_width 50 |
| 3 | #define gnu_height 50 | 2 | #define gnu_height 50 |
| 4 | static char gnu_bits[] = { | 3 | static char gnu_bits[] = { |
| 5 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 6 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, | 5 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 7 | 0xff, 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xfe, 0xff, 0xff, | 6 | 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, |
| 8 | 0xff, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0xff, 0xf7, 0xff, 0xff, 0xff, 0xf1, | 7 | 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0e, |
| 9 | 0xff, 0xff, 0xf3, 0xff, 0x8f, 0xff, 0xe1, 0xff, 0xff, 0xf9, 0x3f, 0x22, | 8 | 0x00, 0x00, 0x0c, 0x00, 0x70, 0x00, 0x1e, 0x00, 0x00, 0x06, 0xc0, 0xdd, |
| 10 | 0xfe, 0xcb, 0xff, 0xff, 0xf8, 0xc3, 0xf8, 0xfc, 0xcb, 0xff, 0x7f, 0xfc, | 9 | 0x01, 0x34, 0x00, 0x00, 0x07, 0x3c, 0x07, 0x03, 0x34, 0x00, 0x80, 0x03, |
| 11 | 0xe0, 0xf9, 0xf9, 0xdb, 0xff, 0x7f, 0xfc, 0xf0, 0xfb, 0xf3, 0xd9, 0xff, | 10 | 0x1f, 0x06, 0x06, 0x24, 0x00, 0x80, 0x03, 0x0f, 0x04, 0x0c, 0x26, 0x00, |
| 12 | 0x3f, 0x7e, 0xf8, 0xff, 0xf7, 0xcc, 0xff, 0x9f, 0x3e, 0x1c, 0x7f, 0x44, | 11 | 0xc0, 0x81, 0x07, 0x00, 0x08, 0x33, 0x00, 0x60, 0xc1, 0xe3, 0x80, 0xbb, |
| 13 | 0xce, 0xff, 0xcf, 0x1e, 0xcc, 0x01, 0x00, 0xe7, 0xff, 0xef, 0x0e, 0xce, | 12 | 0x31, 0x00, 0x30, 0xe1, 0x33, 0xfe, 0xff, 0x18, 0x00, 0x10, 0xf1, 0x31, |
| 14 | 0x38, 0x1c, 0xe0, 0xff, 0xef, 0x0e, 0x27, 0xfe, 0xfa, 0xc3, 0xff, 0xef, | 13 | 0xc7, 0xe3, 0x1f, 0x00, 0x10, 0xf1, 0xd8, 0x01, 0x05, 0x3c, 0x00, 0x10, |
| 15 | 0x7c, 0x93, 0xff, 0xe5, 0xbf, 0xff, 0xef, 0x99, 0xc9, 0xab, 0x2a, 0x00, | 14 | 0x83, 0x6c, 0x00, 0x1a, 0x40, 0x00, 0x10, 0x66, 0x36, 0x54, 0xd5, 0xff, |
| 16 | 0xff, 0xcf, 0xc3, 0x24, 0x54, 0xc5, 0xd5, 0xff, 0x9f, 0x7f, 0x16, 0xab, | 15 | 0x00, 0x30, 0x3c, 0xdb, 0xab, 0x3a, 0x2a, 0x00, 0x60, 0x80, 0xe9, 0x54, |
| 17 | 0xca, 0xff, 0xff, 0x1f, 0x1f, 0x93, 0x46, 0x95, 0xff, 0xff, 0x7f, 0xc8, | 16 | 0x35, 0x00, 0x00, 0xe0, 0xe0, 0x6c, 0xb9, 0x6a, 0x00, 0x00, 0x80, 0x37, |
| 18 | 0x49, 0x99, 0x8a, 0xff, 0xff, 0xff, 0xf0, 0x49, 0x4b, 0x95, 0xff, 0xff, | 17 | 0xb6, 0x66, 0x75, 0x00, 0x00, 0x00, 0x0f, 0xb6, 0xb4, 0x6a, 0x00, 0x00, |
| 19 | 0xff, 0xf9, 0x4c, 0x88, 0x8a, 0xff, 0xff, 0xff, 0x1e, 0xe6, 0x58, 0x95, | 18 | 0x00, 0x06, 0xb3, 0x77, 0x75, 0x00, 0x00, 0x00, 0xe1, 0x19, 0xa7, 0x6a, |
| 20 | 0xff, 0xff, 0x3f, 0x00, 0xe6, 0xb7, 0x0a, 0xff, 0xff, 0xbf, 0x8a, 0xea, | 19 | 0x00, 0x00, 0xc0, 0xff, 0x19, 0x48, 0xf5, 0x00, 0x00, 0x40, 0x75, 0x15, |
| 21 | 0x50, 0x15, 0xff, 0xff, 0xff, 0x8f, 0xca, 0x99, 0x2a, 0xff, 0xff, 0xff, | 20 | 0xaf, 0xea, 0x00, 0x00, 0x00, 0x70, 0x35, 0x66, 0xd5, 0x00, 0x00, 0x00, |
| 22 | 0xa7, 0x95, 0x7f, 0x15, 0xff, 0xff, 0xff, 0x23, 0x55, 0x7f, 0x2a, 0xfe, | 21 | 0x58, 0x6a, 0x80, 0xea, 0x00, 0x00, 0x00, 0xdc, 0xaa, 0x80, 0xd5, 0x01, |
| 23 | 0xff, 0xff, 0x63, 0xd8, 0xfc, 0x14, 0xfe, 0xff, 0xff, 0x43, 0x9a, 0xfb, | 22 | 0x00, 0x00, 0x9c, 0x27, 0x03, 0xeb, 0x01, 0x00, 0x00, 0xbc, 0x65, 0x04, |
| 24 | 0x2b, 0xfe, 0xff, 0xff, 0xc3, 0xaa, 0x12, 0x94, 0xfc, 0xff, 0xff, 0xc1, | 23 | 0xd4, 0x01, 0x00, 0x00, 0x3c, 0x55, 0xed, 0x6b, 0x03, 0x00, 0x00, 0x3e, |
| 25 | 0x32, 0xd5, 0xc1, 0xfd, 0xff, 0xff, 0x81, 0x46, 0xd5, 0x47, 0xfc, 0xff, | 24 | 0xcd, 0x2a, 0x3e, 0x02, 0x00, 0x00, 0x7e, 0xb9, 0x2a, 0xb8, 0x03, 0x00, |
| 26 | 0xff, 0x83, 0x6c, 0xc2, 0x6e, 0xfc, 0xff, 0xff, 0x83, 0x89, 0x88, 0x69, | 25 | 0x00, 0x7c, 0x93, 0x3d, 0x91, 0x03, 0x00, 0x00, 0x7c, 0x76, 0x77, 0x96, |
| 27 | 0xfe, 0xff, 0xff, 0x07, 0x92, 0x09, 0x3b, 0xfe, 0xff, 0xff, 0x07, 0x22, | 26 | 0x01, 0x00, 0x00, 0xf8, 0x6d, 0xf6, 0xc4, 0x01, 0x00, 0x00, 0xf8, 0xdd, |
| 28 | 0x01, 0x3c, 0xfe, 0xff, 0xff, 0x0f, 0x4e, 0x02, 0x03, 0xfe, 0xff, 0xff, | 27 | 0xfe, 0xc3, 0x01, 0x00, 0x00, 0xf0, 0xb1, 0xfd, 0xfc, 0x01, 0x00, 0x00, |
| 29 | 0x2f, 0xd0, 0x18, 0x3e, 0xff, 0xff, 0xff, 0x3f, 0xb0, 0x19, 0x9e, 0xff, | 28 | 0xd0, 0x2f, 0xe7, 0xc1, 0x00, 0x00, 0x00, 0xc0, 0x4f, 0xe6, 0x61, 0x00, |
| 30 | 0xff, 0xff, 0x7f, 0x00, 0x09, 0x80, 0xff, 0xff, 0xff, 0x7f, 0x01, 0xe3, | 29 | 0x00, 0x00, 0x80, 0xff, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0x80, 0xfe, 0x1c, |
| 31 | 0xc1, 0xff, 0xff, 0xff, 0xff, 0x05, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, | 30 | 0x3e, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 32 | 0x07, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f, 0xfd, 0xff, 0xff, 0xff, | 31 | 0xf8, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0x00, 0x00, 0x00, |
| 33 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 32 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 34 | 0xff, 0xff}; | 33 | 0x00, 0x00}; |
| 35 | #else /* X10 */ | ||
| 36 | #define sink_width 48 | ||
| 37 | #define sink_height 48 | ||
| 38 | #define sink_mask_width 48 | ||
| 39 | #define sink_mask_height 48 | ||
| 40 | short sink_bits[] = { | ||
| 41 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 42 | 0xffff, 0x9f80, 0xffff, 0xffff, | ||
| 43 | 0x9f9f, 0xffff, 0xffff, 0x8000, | ||
| 44 | 0xffff, 0x7fff, 0xbffe, 0xffff, | ||
| 45 | 0x7fff, 0xa003, 0xffff, 0x7fff, | ||
| 46 | 0xaffd, 0xffff, 0x3fff, 0xaff9, | ||
| 47 | 0xffff, 0xffff, 0xafff, 0xffff, | ||
| 48 | 0xffff, 0xaffc, 0xffff, 0x7fff, | ||
| 49 | 0xaff8, 0xffff, 0xffff, 0xaffc, | ||
| 50 | 0xffff, 0xffff, 0xafff, 0xffff, | ||
| 51 | 0xbfff, 0xaff7, 0xffff, 0x3fff, | ||
| 52 | 0xaff3, 0xffff, 0xffff, 0xaffc, | ||
| 53 | 0x003f, 0x0000, 0x2000, 0x007f, | ||
| 54 | 0x0000, 0xe000, 0xf8df, 0xffff, | ||
| 55 | 0x07ff, 0xf9cf, 0xff0f, 0xe7ff, | ||
| 56 | 0xf9cf, 0xfff7, 0xe7ff, 0xf9ff, | ||
| 57 | 0x63f7, 0xe7fb, 0xf9ff, 0x5a37, | ||
| 58 | 0xe7fb, 0xf9cf, 0x5af7, 0xe7fb, | ||
| 59 | 0xf9cf, 0x5af7, 0xe7f9, 0xf9ef, | ||
| 60 | 0xdb0f, 0xe7fa, 0xf9ff, 0xffff, | ||
| 61 | 0xe7ff, 0xf9df, 0xffff, 0xe7ff, | ||
| 62 | 0x19cf, 0xfffc, 0xe7ff, 0xd9cf, | ||
| 63 | 0xffff, 0xe7ff, 0xd9ff, 0xce47, | ||
| 64 | 0xe673, 0x19ff, 0xb5b6, 0xe7ad, | ||
| 65 | 0xd9cf, 0xb5b7, 0xe67d, 0xd9c7, | ||
| 66 | 0xb5b7, 0xe5ed, 0x19ef, 0x4db4, | ||
| 67 | 0xe673, 0xf1ff, 0xffff, 0xe3ff, | ||
| 68 | 0x03ff, 0x0380, 0xf000, 0x07ef, | ||
| 69 | 0x0100, 0xf800, 0xffc7, 0xf93f, | ||
| 70 | 0xffff, 0xffe7, 0xfd7f, 0xffe0, | ||
| 71 | 0xffff, 0x7d7f, 0xffdf, 0xffff, | ||
| 72 | 0xbd7f, 0xffb1, 0xffff, 0xbb7f, | ||
| 73 | 0xffae, 0xffef, 0xdaff, 0xffae, | ||
| 74 | 0xffc7, 0x66ff, 0xffaf, 0xffe7, | ||
| 75 | 0xbdff, 0xffaf, 0xffff, 0xc3ff, | ||
| 76 | 0xffaf, 0xffff, 0xffff, 0xffaf}; | ||
| 77 | short sink_mask_bits[] = { | ||
| 78 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 79 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 80 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 81 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 82 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 83 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 84 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 85 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 86 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 87 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 88 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 89 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 90 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 91 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 92 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 93 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 94 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 95 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 96 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 97 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 98 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 99 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 100 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 101 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 102 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 103 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 104 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 105 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 106 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 107 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 108 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 109 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 110 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 111 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 112 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 113 | 0xffff, 0xffff, 0xffff, 0xffff}; | ||
| 114 | #endif /* X10 */ | ||
diff --git a/src/keyboard.h b/src/keyboard.h index d1cb78d7827..66e7e10eec3 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -66,3 +66,6 @@ extern Lisp_Object Qscrollbar_click; | |||
| 66 | /* Symbols to use for non-text mouse positions. */ | 66 | /* Symbols to use for non-text mouse positions. */ |
| 67 | extern Lisp_Object Qmode_line, Qvertical_line; | 67 | extern Lisp_Object Qmode_line, Qvertical_line; |
| 68 | 68 | ||
| 69 | /* User-supplied string to translate input characters through. */ | ||
| 70 | extern Lisp_Object Vkeyboard_translate_table; | ||
| 71 | |||
diff --git a/src/m/mips.h b/src/m/mips.h index e41f11f8fe7..bd4466ee9ba 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* machine description file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1990 Free Software Foundation, Inc. | 2 | Copyright (C) 1987, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -23,8 +23,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 23 | USUAL-OPSYS="note" | 23 | USUAL-OPSYS="note" |
| 24 | 24 | ||
| 25 | NOTE-START | 25 | NOTE-START |
| 26 | Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD | 26 | Use m-mips4.h for RISCOS version 4; use s-bsd4-3.h with the BSD world. |
| 27 | world. | 27 | Note that the proper m- file for the Decstation is m-pmax.h. |
| 28 | NOTE-END */ | 28 | NOTE-END */ |
| 29 | 29 | ||
| 30 | /* The following three symbols give information on | 30 | /* The following three symbols give information on |
| @@ -51,6 +51,11 @@ NOTE-END */ | |||
| 51 | 51 | ||
| 52 | #undef WORD_MACHINE | 52 | #undef WORD_MACHINE |
| 53 | 53 | ||
| 54 | /* Define how to take a char and sign-extend into an int. | ||
| 55 | On machines where char is signed, this is a no-op. */ | ||
| 56 | |||
| 57 | #define SIGN_EXTEND_CHAR(c) ((signed char)(c)) | ||
| 58 | |||
| 54 | /* Now define a symbol for the cpu type, if your compiler | 59 | /* Now define a symbol for the cpu type, if your compiler |
| 55 | does not define it automatically: | 60 | does not define it automatically: |
| 56 | Ones defined so far include vax, m68000, ns16000, pyramid, | 61 | Ones defined so far include vax, m68000, ns16000, pyramid, |
| @@ -102,8 +107,11 @@ NOTE-END */ | |||
| 102 | Define neither one if an assembler-language alloca | 107 | Define neither one if an assembler-language alloca |
| 103 | in the file alloca.s should be used. */ | 108 | in the file alloca.s should be used. */ |
| 104 | 109 | ||
| 110 | #ifdef __GNUC__ | ||
| 111 | #define HAVE_ALLOCA | ||
| 112 | #else | ||
| 105 | #define C_ALLOCA | 113 | #define C_ALLOCA |
| 106 | /* #define HAVE_ALLOCA */ | 114 | #endif |
| 107 | 115 | ||
| 108 | /* Define NO_REMAP if memory segmentation makes it not work well | 116 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 109 | to change the boundary between the text section and data section | 117 | to change the boundary between the text section and data section |
| @@ -126,13 +134,32 @@ NOTE-END */ | |||
| 126 | 134 | ||
| 127 | #ifdef BSD | 135 | #ifdef BSD |
| 128 | 136 | ||
| 129 | /* Supposedly the dec machine doesn't have this library. | 137 | /* DECstations don't have this library. |
| 130 | #define LIBS_MACHINE -lmld */ | 138 | #define LIBS_MACHINE -lmld */ |
| 131 | 139 | ||
| 132 | #define LD_SWITCH_MACHINE -D 800000 | 140 | #define LD_SWITCH_MACHINE -D 800000 |
| 133 | #define LIBS_DEBUG | 141 | #define LIBS_DEBUG |
| 134 | 142 | ||
| 143 | #define LINKER /bsd43/bin/ld | ||
| 144 | |||
| 145 | #else /* not BSD */ | ||
| 146 | #ifdef NEWSOS5 | ||
| 147 | |||
| 148 | #define LIBS_MACHINE -lmld | ||
| 149 | #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o | ||
| 150 | #define LIB_STANDARD -lsocket -lnsl -lc /usr/ccs/lib/crtn.o /usr/ccs/lib/values-Xt.o | ||
| 151 | |||
| 152 | #ifdef __GNUC__ | ||
| 153 | #define C_DEBUG_SWITCH -g | ||
| 154 | #define C_OPTIMIZE_SWITCH -g -O | ||
| 155 | #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 | ||
| 135 | #else | 156 | #else |
| 157 | #define C_DEBUG_SWITCH -g3 | ||
| 158 | #define C_OPTIMIZE_SWITCH -g3 | ||
| 159 | #define LD_SWITCH_MACHINE -g3 -D 800000 | ||
| 160 | #endif | ||
| 161 | |||
| 162 | #else /* not NEWSOS5 */ | ||
| 136 | 163 | ||
| 137 | #define LIBS_MACHINE -lmld | 164 | #define LIBS_MACHINE -lmld |
| 138 | #define LD_SWITCH_MACHINE -D 800000 -g3 | 165 | #define LD_SWITCH_MACHINE -D 800000 -g3 |
| @@ -140,27 +167,36 @@ NOTE-END */ | |||
| 140 | #define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o | 167 | #define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o |
| 141 | #define LIBS_TERMCAP -lcurses | 168 | #define LIBS_TERMCAP -lcurses |
| 142 | 169 | ||
| 143 | #define C_SWITCH_SYSTEM -I/usr/include/bsd | 170 | #define C_SWITCH_MACHINE -I/usr/include/bsd |
| 144 | #define C_DEBUG_SWITCH -O -g3 | 171 | #define C_DEBUG_SWITCH -O -g3 |
| 145 | 172 | ||
| 146 | #if defined(HAVE_X_WINDOWS) && defined(HAVE_X11) | 173 | #if defined(HAVE_X_WINDOWS) && defined(HAVE_X11) |
| 147 | #define HAVE_VFORK /* Graciously provided by libX.a */ | 174 | #define HAVE_VFORK /* Graciously provided by libX.a */ |
| 148 | #endif | 175 | #endif |
| 149 | #endif | 176 | |
| 177 | #endif /* not NEWSOS5 */ | ||
| 178 | #endif /* not BSD */ | ||
| 150 | 179 | ||
| 151 | /* The standard definitions of these macros would work ok, | 180 | /* The standard definitions of these macros would work ok, |
| 152 | but these are faster because the constants are short. */ | 181 | but these are faster because the constants are short. */ |
| 153 | 182 | ||
| 154 | #define XUINT(a) (((unsigned)(a) << INTBITS-VALBITS) >> INTBITS-VALBITS) | 183 | #define XUINT(a) (((unsigned)(a) << (INTBITS-VALBITS)) >> (INTBITS-VALBITS)) |
| 155 | 184 | ||
| 156 | #define XSET(var, type, ptr) \ | 185 | #define XSET(var, type, ptr) \ |
| 157 | ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << INTBITS-VALBITS) >> INTBITS-VALBITS)) | 186 | ((var) = \ |
| 187 | ((int)(type) << VALBITS) \ | ||
| 188 | + (((unsigned) (ptr) << (INTBITS-VALBITS)) >> (INTBITS-VALBITS))) | ||
| 158 | 189 | ||
| 159 | #define XSETINT(a, b) XSET(a, XTYPE(a), b) | 190 | #define XSETINT(a, b) XSET(a, XTYPE(a), b) |
| 160 | #define XSETUINT(a, b) XSET(a, XTYPE(a), b) | 191 | #define XSETUINT(a, b) XSET(a, XTYPE(a), b) |
| 161 | #define XSETPNTR(a, b) XSET(a, XTYPE(a), b) | 192 | #define XSETPNTR(a, b) XSET(a, XTYPE(a), b) |
| 162 | 193 | ||
| 163 | #define XUNMARK(a) ((a) = (((unsigned)(a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS)) | 194 | #define XUNMARK(a) \ |
| 195 | ((a) = \ | ||
| 196 | (((unsigned)(a) << (INTBITS-GCTYPEBITS-VALBITS)) \ | ||
| 197 | >> (INTBITS-GCTYPEBITS-VALBITS))) | ||
| 198 | |||
| 199 | #ifndef NEWSOS5 | ||
| 164 | #ifdef USG | 200 | #ifdef USG |
| 165 | 201 | ||
| 166 | /* Cancel certain parts of standard sysV support. */ | 202 | /* Cancel certain parts of standard sysV support. */ |
| @@ -177,7 +213,7 @@ NOTE-END */ | |||
| 177 | #define HAVE_SYSVIPC | 213 | #define HAVE_SYSVIPC |
| 178 | 214 | ||
| 179 | #define HAVE_TIMEVAL | 215 | #define HAVE_TIMEVAL |
| 180 | #if defined(emacs) | 216 | #if defined(emacs) && !defined(INHIBIT_BSD_TIME) |
| 181 | #include <bsd/sys/time.h> | 217 | #include <bsd/sys/time.h> |
| 182 | #endif | 218 | #endif |
| 183 | 219 | ||
| @@ -198,7 +234,7 @@ NOTE-END */ | |||
| 198 | /* ??? */ | 234 | /* ??? */ |
| 199 | #define IRIS | 235 | #define IRIS |
| 200 | 236 | ||
| 201 | #endif | 237 | #endif /* USG */ |
| 202 | 238 | ||
| 203 | #ifdef BSD | 239 | #ifdef BSD |
| 204 | #define COFF | 240 | #define COFF |
| @@ -206,3 +242,5 @@ NOTE-END */ | |||
| 206 | #undef MAIL_USE_FLOCK /* Someone should check this. */ | 242 | #undef MAIL_USE_FLOCK /* Someone should check this. */ |
| 207 | #undef HAVE_UNION_WAIT | 243 | #undef HAVE_UNION_WAIT |
| 208 | #endif /* BSD */ | 244 | #endif /* BSD */ |
| 245 | |||
| 246 | #endif /* not NEWSOS5 */ | ||
diff --git a/src/m/pmax.h b/src/m/pmax.h index 393b7351a67..71e0fbb18b2 100644 --- a/src/m/pmax.h +++ b/src/m/pmax.h | |||
| @@ -1,14 +1,25 @@ | |||
| 1 | /* Machine description file for DEC MIPS machines. */ | ||
| 2 | |||
| 1 | #include "mips.h" | 3 | #include "mips.h" |
| 2 | 4 | ||
| 3 | /* The following line tells the configuration script what sort of | 5 | /* The following line tells the configuration script what sort of |
| 4 | operating system this machine is likely to run. | 6 | operating system this machine is likely to run. |
| 5 | USUAL-OPSYS="bsd4-2" */ | 7 | USUAL-OPSYS="note" |
| 8 | |||
| 9 | NOTE-START | ||
| 10 | Use -opsystem=osf1 for OSF/1, and -opsystem=bsd4-3 otherwise. | ||
| 11 | NOTE-END */ | ||
| 6 | 12 | ||
| 7 | #undef BIG_ENDIAN | 13 | #undef BIG_ENDIAN |
| 8 | #define LIBS_DEBUG | 14 | #undef LIB_STANDARD |
| 15 | #undef START_FILES | ||
| 16 | #undef COFF | ||
| 17 | #undef TERMINFO | ||
| 18 | #define MAIL_USE_FLOCK | ||
| 19 | #define HAVE_UNION_WAIT | ||
| 9 | 20 | ||
| 10 | /* This line starts being needed with ultrix 4.0. */ | 21 | /* This line starts being needed with ultrix 4.0. */ |
| 11 | /* You may need to delete it on version 3.1. */ | 22 | /* You must delete it for version 3.1. */ |
| 12 | #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o | 23 | #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o |
| 13 | 24 | ||
| 14 | /* Supposedly the following will overcome a kernel bug. */ | 25 | /* Supposedly the following will overcome a kernel bug. */ |
| @@ -20,3 +31,16 @@ | |||
| 20 | /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist | 31 | /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist |
| 21 | on defining malloc itself. This should avoid conflicting with it. */ | 32 | on defining malloc itself. This should avoid conflicting with it. */ |
| 22 | #define SYSTEM_MALLOC | 33 | #define SYSTEM_MALLOC |
| 34 | |||
| 35 | /* Override what m-mips.h says about this. */ | ||
| 36 | #undef LINKER | ||
| 37 | |||
| 38 | /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK | ||
| 39 | but it doesn't work right; | ||
| 40 | and it causes hanging in read_process_output. */ | ||
| 41 | #define BROKEN_O_NONBLOCK | ||
| 42 | |||
| 43 | #ifdef OSF1 | ||
| 44 | #undef C_ALLOCA | ||
| 45 | #define HAVE_ALLOCA | ||
| 46 | #endif | ||
diff --git a/src/s/bsd4-3.h b/src/s/bsd4-3.h index 583e6eb05a9..22330ba85b0 100644 --- a/src/s/bsd4-3.h +++ b/src/s/bsd4-3.h | |||
| @@ -23,12 +23,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 23 | * Define all the symbols that apply correctly. | 23 | * Define all the symbols that apply correctly. |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| 26 | /* We give these symbols the numeric values found in <sys/param.h> to | ||
| 27 | avoid warnings about redefined macros. */ | ||
| 26 | #ifndef BSD4_3 | 28 | #ifndef BSD4_3 |
| 27 | #define BSD4_3 | 29 | #define BSD4_3 1 |
| 28 | #endif /* BSD4_3 */ | 30 | #endif /* BSD4_3 */ |
| 29 | 31 | ||
| 30 | #ifndef BSD | 32 | #ifndef BSD |
| 31 | #define BSD | 33 | #define BSD 43 |
| 32 | #endif /* BSD */ | 34 | #endif /* BSD */ |
| 33 | 35 | ||
| 34 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 36 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
diff --git a/src/s/newsos5.h b/src/s/newsos5.h new file mode 100644 index 00000000000..8a37cb0f68b --- /dev/null +++ b/src/s/newsos5.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Sony's NEWS-OS 5.0.1 | ||
| 2 | Copyright (C) 1992 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 1, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 19 | |||
| 20 | /* Use the SysVr4 file for at least base configuration. */ | ||
| 21 | |||
| 22 | #include "s-usg5-4.h" | ||
| 23 | |||
| 24 | #define NEWSOS5 | ||
| 25 | |||
| 26 | /* These will be defined by "m-mips.h". */ | ||
| 27 | #undef START_FILES | ||
| 28 | #undef LIB_STANDARD | ||
| 29 | |||
| 30 | /* Disable use of "unexelf.c" and shared libraries, | ||
| 31 | because NEWS-OS on MIPS doesn't support ELF. */ | ||
| 32 | #undef UNEXEC | ||
| 33 | #undef USG_SHARED_LIBRARIES | ||
| 34 | |||
| 35 | #ifndef HAVE_SOCKETS | ||
| 36 | #define HAVE_SOCKETS | ||
| 37 | #endif | ||
diff --git a/src/s/osf1.h b/src/s/osf1.h new file mode 100644 index 00000000000..65e80861cc1 --- /dev/null +++ b/src/s/osf1.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #include "s-bsd4-3.h" | ||
| 2 | |||
| 3 | /* Identify OSF1 for the m- files. */ | ||
| 4 | |||
| 5 | #define OSF1 | ||
| 6 | |||
| 7 | /* Define _BSD to tell the inlcude files we're running under | ||
| 8 | the BSD universe and not the SYSV universe. */ | ||
| 9 | |||
| 10 | #define C_SWITCH_SYSTEM -D_BSD | ||
| 11 | #define LIBS_SYSTEM -lbsd | ||
| 12 | #define LD_SWITCH_SYSTEM -non_shared | ||
| 13 | |||
| 14 | #define SYSV_SYSTEM_DIR | ||
diff --git a/src/sinkmask.h b/src/sinkmask.h index 1ad645df82f..6453cfbd6f0 100644 --- a/src/sinkmask.h +++ b/src/sinkmask.h | |||
| @@ -1,91 +1,27 @@ | |||
| 1 | #define sink_mask_width 48 | 1 | #define sinkmask_width 48 |
| 2 | #define sink_mask_height 48 | 2 | #define sinkmask_height 48 |
| 3 | #ifdef HAVE_X11 | 3 | static char sinkmask_bits[] = { |
| 4 | static char sink_mask_bits[] = { | 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x60, |
| 5 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 5 | 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, |
| 6 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 6 | 0x00, 0x00, 0x00, 0x80, 0x01, 0x40, 0x00, 0x00, 0x00, 0x80, 0xfc, 0x5f, |
| 7 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 7 | 0x00, 0x00, 0x00, 0x80, 0x02, 0x50, 0x00, 0x00, 0x00, 0xc0, 0x06, 0x50, |
| 8 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 8 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, 0x03, 0x50, |
| 9 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 9 | 0x00, 0x00, 0x00, 0x80, 0x07, 0x50, 0x00, 0x00, 0x00, 0x00, 0x03, 0x50, |
| 10 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 10 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x40, 0x08, 0x50, |
| 11 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 11 | 0x00, 0x00, 0x00, 0xc0, 0x0c, 0x50, 0x00, 0x00, 0x00, 0x00, 0x03, 0x50, |
| 12 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 12 | 0xc0, 0xff, 0xff, 0xff, 0xff, 0xdf, 0x80, 0xff, 0xff, 0xff, 0xff, 0x1f, |
| 13 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 13 | 0x20, 0x07, 0x00, 0x00, 0x00, 0xf8, 0x30, 0x06, 0xf0, 0x00, 0x00, 0x18, |
| 14 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 14 | 0x30, 0x06, 0x08, 0x00, 0x00, 0x18, 0x00, 0x06, 0x08, 0x9c, 0x04, 0x18, |
| 15 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 15 | 0x00, 0x06, 0xc8, 0xa5, 0x04, 0x18, 0x30, 0x06, 0x08, 0xa5, 0x04, 0x18, |
| 16 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 16 | 0x30, 0x06, 0x08, 0xa5, 0x06, 0x18, 0x10, 0x06, 0xf0, 0x24, 0x05, 0x18, |
| 17 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 17 | 0x00, 0x06, 0x00, 0x00, 0x00, 0x18, 0x20, 0x06, 0x00, 0x00, 0x00, 0x18, |
| 18 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 18 | 0x30, 0xe6, 0x03, 0x00, 0x00, 0x18, 0x30, 0x26, 0x00, 0x00, 0x00, 0x18, |
| 19 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 19 | 0x00, 0x26, 0xb8, 0x31, 0x8c, 0x19, 0x00, 0xe6, 0x49, 0x4a, 0x52, 0x18, |
| 20 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 20 | 0x30, 0x26, 0x48, 0x4a, 0x82, 0x19, 0x38, 0x26, 0x48, 0x4a, 0x12, 0x1a, |
| 21 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 21 | 0x10, 0xe6, 0x4b, 0xb2, 0x8c, 0x19, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x1c, |
| 22 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 22 | 0x00, 0xfc, 0x7f, 0xfc, 0xff, 0x0f, 0x10, 0xf8, 0xff, 0xfe, 0xff, 0x07, |
| 23 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 23 | 0x38, 0x00, 0xc0, 0x06, 0x00, 0x00, 0x18, 0x00, 0x80, 0x02, 0x1f, 0x00, |
| 24 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 24 | 0x00, 0x00, 0x80, 0x82, 0x20, 0x00, 0x00, 0x00, 0x80, 0x42, 0x4e, 0x00, |
| 25 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 25 | 0x00, 0x00, 0x80, 0x44, 0x51, 0x00, 0x10, 0x00, 0x00, 0x25, 0x51, 0x00, |
| 26 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 26 | 0x38, 0x00, 0x00, 0x99, 0x50, 0x00, 0x18, 0x00, 0x00, 0x42, 0x50, 0x00, |
| 27 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | 27 | 0x00, 0x00, 0x00, 0x3c, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00}; |
| 28 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 29 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 30 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 31 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 32 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 33 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 34 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 35 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 36 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 37 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 38 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 39 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 40 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 41 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 42 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 43 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 44 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 45 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 46 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 47 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 48 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 49 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 50 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 51 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | ||
| 52 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; | ||
| 53 | #else | ||
| 54 | short sink_mask_bits[] = { | ||
| 55 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 56 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 57 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 58 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 59 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 60 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 61 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 62 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 63 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 64 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 65 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 66 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 67 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 68 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 69 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 70 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 71 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 72 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 73 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 74 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 75 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 76 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 77 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 78 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 79 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 80 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 81 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 82 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 83 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 84 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 85 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 86 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 87 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 88 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 89 | 0xffff, 0xffff, 0xffff, 0xffff, | ||
| 90 | 0xffff, 0xffff, 0xffff, 0xffff}; | ||
| 91 | #endif /* HAVE_X11 */ | ||