view src/s/ptx4.h @ 23894:f96c37cbdeef

New file. Mule related code extracted from ps-print.el. Require ps-print, provide ps-mule. (ps-multibyte-buffer): Add autoload cookie. (ps-mule-prepare-ascii-font): New fun. (ps-mule-set-ascii-font): New fun. (ps-mule-skip-same-charset): Fun deleted. (ps-mule-plot-string): Set ps-mule-current-charset. (ps-mule-initialize): Add autload cookie. Don't set ps-mule-font-info-database here. (ps-mule-begin-job): Renamed from ps-mule-begin. Update ps-mule-font-info-database and ps-control-or-escape-regexp. (ps-mule-begin-page): New fun. Doc fix. Require ps-print only when compiled. (ps-mule-prologue-generated): New fun. (ps-mule-plot-string): Add autoload cookie. (ps-mule-begin-job): Call ps-mule-prologue-generated. Programming uniformization and little code improvement. (ps-mule-prepare-font): Programming uniformization. (ps-mule-find-wrappoint, ps-mule-plot-rule-cmpchar) (ps-mule-string-encoding, ps-mule-begin-job): Little code improvement. Always require ps-print. Move some function definitions for Emacs 20.2 and the earlier to ps-print.el. (ps-mule-find-wrappoint): Make it work also with Emacs 20.2. (ps-mule-begin-job): Delete nil and unknown from a list of character sets found by find-charset-region.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 06:38:12 +0000
parents 469c3de61eb1
children 4dc06f8c8c33
line wrap: on
line source

/* s/ file for Sequent "ptx 4", which is a modified SVR5.4.  */

/* Tell usg5-4.h not to include filio.h.  */
#define NO_FILIO_H

#include "usg5-4.h"

/* Marcus Daniels <marcus@sysc.pdx.edu> says that SIGINFO is defined
   on ptx4 but it is not a signal.  Prevent process.c from doing the
   wrong thing.  */
#undef SIGINFO

/* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist.  */
#define HAVE_VFORK

/* pae@dim.com (Phil Ernhardt) says this correction to
   the definition in usg5-4.h is needed to prevent
   all asynchronous subprocesses from exiting right away.  */
#undef SETUP_SLAVE_PTY
#define SETUP_SLAVE_PTY \
  if (ioctl (xforkin, I_PUSH, "ldterm") == -1)	\
    fatal ("ioctl I_PUSH ldterm", errno);	\
  if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
    fatal ("ioctl I_PUSH ttcompat", errno);