view src/s/esix.h @ 20608:a6cca06d5aaf

(count_size_as_multibyte): New function. (insert_from_string_1, insert_from_buffer_1): Use it. (copy_text): New function. (insert_from_buffer_1): Call copy_text to convert between single-byte and multibyte text. (insert_from_string_1): Likewise. (insert_1_both): New function. (insert_from_string): New args POS_BYTE, LENGTH. (insert_from_string_before_markers): (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES. Don't fail to use POS_BYTE! (insert_from_buffer_1): Get both inschars and insbytes from NEW.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Jan 1998 22:46:07 +0000
parents 191acacfa1ec
children 695cf19ef79e
line wrap: on
line source

/* Definitions for ESIX, a variant of v.5.3 for the 386.  */
/* These are based on reports for ESIX 5.3.2 D.  */

#include "usg5-3.h"

/* Some versions of V.3 have this, but not all. ESIX does. */
#define HAVE_PTYS
#define SYSV_PTYS

/* Have -lg be used for debugging. */
#undef LIBS_DEBUG
#define LIBS_DEBUG -lg

/* If using Roell's X server, define X11R4 */
#ifdef X11R4			/* Roell's X server */
#define select sys_select /* Emacs select() not good enough? */
#undef LIBX11_SYSTEM
#define LIBX11_SYSTEM -lpt
#endif /* X11R4 */

/* ESIX does not need <sys/sioctl.h>, but needs <sys/ptem.h> */
#define NO_SIOCTL_H
#define NEED_PTEM_H
#define BROKEN_FIONREAD