annotate src/s/ptx4.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 566fd2a966aa
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15845
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* s/ file for Sequent "ptx 4", which is a modified SVR5.4. */
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
15860
bad765e6a8d9 Fix include file name.
Richard M. Stallman <rms@gnu.org>
parents: 15845
diff changeset
3 /* Tell usg5-4.h not to include filio.h. */
bad765e6a8d9 Fix include file name.
Richard M. Stallman <rms@gnu.org>
parents: 15845
diff changeset
4 #define NO_FILIO_H
bad765e6a8d9 Fix include file name.
Richard M. Stallman <rms@gnu.org>
parents: 15845
diff changeset
5
bad765e6a8d9 Fix include file name.
Richard M. Stallman <rms@gnu.org>
parents: 15845
diff changeset
6 #include "usg5-4.h"
15845
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 /* Marcus Daniels <marcus@sysc.pdx.edu> says that SIGINFO is defined
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 on ptx4 but it is not a signal. Prevent process.c from doing the
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 wrong thing. */
26090
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 24210
diff changeset
11 #define BROKEN_SIGINFO
15845
574a328ee4b2 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12
21145
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
13 /* pae@dim.com (Phil Ernhardt) says this correction to
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
14 the definition in usg5-4.h is needed to prevent
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
15 all asynchronous subprocesses from exiting right away. */
24210
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
16
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
17 /* James Youngman <jay@gnu.org> found that on "DYNIX/ptx ARNIE 4.0
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
18 * V4.4.2 i386", the push of the ttcompat module would fail. It seems
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
19 * that PTX 4.4.2 doesn't have that module, so if the push fails we
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
20 * don't kill ourselves. While this version lacks ttcompat, it also
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
21 * has ptem, but the manual page for ptem indicates that it should
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
22 * be pushed onto the slave side before the line discipline module.
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
23 * See also the streampty manual page, if you're curious (and have
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
24 * a ptx system).
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
25 */
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
26
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
27 /* rms: I hope that older versions which do have ttcompat
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
28 will not get confused by the code to use ptem. */
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
29
21145
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
30 #undef SETUP_SLAVE_PTY
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
31 #define SETUP_SLAVE_PTY \
24210
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
32 if (ioctl (xforkin, I_PUSH, "ptem") == -1 && errno != EINVAL) \
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
33 fatal ("ioctl I_PUSH ptem", errno); \
21145
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
34 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
35 fatal ("ioctl I_PUSH ldterm", errno); \
24210
4dc06f8c8c33 (SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents: 21145
diff changeset
36 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1 && errno != EINVAL) \
21145
469c3de61eb1 (SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 15860
diff changeset
37 fatal ("ioctl I_PUSH ttcompat", errno);