DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T x

⟦1b0e7b4c7⟧ TextFile

    Length: 1186 (0x4a2)
    Types: TextFile
    Names: »xterm.h«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦46d41b2d0⟧ »./emacs-18.55.tar.Z« 
        └─⟦fa971747f⟧ 
            └─⟦this⟧ »dist-18.55/src/xterm.h« 

TextFile

#include <X/Xlib.h>

#define XREPBUFSIZE 64

typedef struct 
  {
    int rindex;
    int windex;
    int mindex;
    XEvent xrep[XREPBUFSIZE];
  }
XREPBUFFER;

extern int x_edges_specified;

#ifndef sigmask
#define sigmask(no) (1L << ((no) - 1))
#endif

#ifdef SIGIO

#define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask;
#define BLOCK_INPUT() BLOCK_INPUT_mask = sigblock (sigmask (SIGIO))
#define UNBLOCK_INPUT() sigsetmask (BLOCK_INPUT_mask)
#define SIGNAL_INPUT() kill (XXpid, SIGIO)

#define RESIGNAL_INPUT()						\
do									\
{									\
  if (QLength () > 0)							\
    SIGNAL_INPUT ();							\
} while (0)

#define SIGNAL_INPUT_WHILE(flag)					\
do									\
{									\
  while (flag)								\
    SIGNAL_INPUT ();							\
} while (0)

#define UNBLOCK_INPUT_RESIGNAL()					\
do									\
{									\
  UNBLOCK_INPUT ();							\
  RESIGNAL_INPUT ();							\
} while (0)

#else /* SIGIO undefined */

#define BLOCK_INPUT_DECLARE()
#define BLOCK_INPUT()
#define UNBLOCK_INPUT()
#define SIGNAL_INPUT() /* input_available_signal (0) */
#define RESIGNAL_INPUT()
#define SIGNAL_INPUT_WHILE(bitblt) /* input_available_signal (0) */
#define UNBLOCK_INPUT_RESIGNAL()

#endif /* SIGIO */