annotate src/s/sunos4-0.h @ 50357:e5a09c97e444

Include blockinput.h. (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) (Qx_resource_name, Qface_set_after_frame_default): Define vars here. (Qauto_raise, Qauto_lower, ...): Define all frame parameter related vars here. (struct frame_parm_table, frame_parms): New table for describing frame parameters and their associated Q-variable. The order of the parameters corresponds to the sequence of the frame_parm_handlers table in redisplay_interface. (x_fullscreen_move, x_set_frame_parameters) (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) (x_set_screen_gamma, x_set_font, x_set_fringe_width) (x_set_border_width, x_set_internal_border_width, x_set_visibility) (x_set_autoraise, x_set_autolower, x_set_unsplittable) (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): Generic functions for processing of frame parameters. (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) (display_x_get_resource, x_get_resource_string): Functions for generic access to X resources. (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) (x_default_parameter, Fx_parse_geometry): Functions for generic access to frame parameters. (x_figure_window_size): Generic calculation of frame size. Fixed to add space needed for tool bar. Also setup size_hint_flags. (syms_of_frame): Intern and staticpro frame parameter variables. Defvar_lisp Vx_resource_class and Vx_resource_name here. Defsubr Sx_get_resource and Sx_parse_geometry.
author Kim F. Storm <storm@cua.dk>
date Mon, 31 Mar 2003 20:33:58 +0000
parents fbabb532002e
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 #include "bsd4-2.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
8757
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
3 #ifndef SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
4 #define SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
5 #endif
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
6
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 #if 0 /* This may have been needed for an earlier version of Sun OS 4.
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 It seems to cause warnings in 4.0.3 and 4.1. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 #endif
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11
7140
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
12 /* We use the Sun syntax -Bstatic unconditionally, because even when we
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
13 use GCC, these are passed through to the linker, not handled by GCC
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
14 directly. */
18569
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
15 #define LD_SWITCH_SYSTEM -Bstatic
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
16
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
17 /* We use this for linking temacs, but not for other programs
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
18 or for tests in configure. */
b751e29103f4 (LD_SWITCH_SYSTEM_TEMACS): Defined. Move -e here.
Richard M. Stallman <rms@gnu.org>
parents: 8757
diff changeset
19 #define LD_SWITCH_SYSTEM_TEMACS -e __start
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 /* In SunOS 4.1, a static function called by tzsetwall reportedly
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 clears the byte just past an eight byte region it mallocs, corrupting
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 #define SYSTEM_MALLOC
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
26
26528
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
27 /* SunOS 4.x cc <stdlib.h> declares abort and free to return int. */
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
28
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
29 #ifndef __STDC__
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
30 #define ABORT_RETURN_TYPE int
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
31 #define FREE_RETURN_TYPE int
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
32 #endif
6b226f263365 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
Paul Eggert <eggert@twinsun.com>
parents: 18569
diff changeset
33
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
34 #ifdef __GNUC__
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
35 /* We must define mkdir with this arg prototype
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
36 to match GCC's fixed stat.h. */
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
37 #define MKDIR_PROTOTYPE \
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
38 int mkdir (const char *dpath, unsigned short dmode)
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
39 #endif /* __GNUC__ */
30426
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
40
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
41 /* Must use the system's termcap, if we use any termcap.
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
42 It does special things. */
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
43
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
44 #ifndef TERMINFO
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
45 #define LIBS_TERMCAP -ltermcap
8674e7d48c7a (LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents: 26528
diff changeset
46 #endif
49356
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
47
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
48 #define GC_SETJMP_WORKS 1
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 30426
diff changeset
49 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS