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

⟦266b4c634⟧ TextFile

    Length: 1844 (0x734)
    Types: TextFile
    Names: »TtyP.h,v«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦34cc4e2f7⟧ »./UNRELEASED/xgdb3.2.tar.Z« 
        └─⟦80fac5d7c⟧ 
            └─⟦this⟧ »./RCS/TtyP.h,v« 

TextFile

head     1.1;
access   ;
symbols  ;
locks    hubbard:1.1; strict;
comment  @ * @;


1.1
date     89.07.05.15.35.45;  author hubbard;  state Exp;
branches ;
next     ;


desc
@Initial checkin, Beta version 0.1.
@



1.1
log
@Initial revision
@
text
@\f


/* $Header$ */

/*-
 * TtyP.h --
 *	Private header file for subclasses of the TTY widget.
 *
 * Copyright (c) 1987 by the Regents of the University of California
 *
 * Permission to use, copy, modify, and distribute this
 * software and its documentation for any purpose and without
 * fee is hereby granted, provided that the above copyright
 * notice appear in all copies.  The University of California
 * makes no representations about the suitability of this
 * software for any purpose.  It is provided "as is" without
 * express or implied warranty.
 *
 * Author: Adam deBoor, U.C. Berkeley.
 *
 * $Log$
 * 
 */

#ifndef _TtyP_h
#define _TtyP_h

#include    "AsciiTextP.h"
#include    "Tty.h"

/* New class fields */
typedef struct { int empty; } TtyClassPart;

/* Class record (Note: Tty is a subclass of Text) */
typedef struct _TtyClassRec {
    CoreClassPart 	core_class;
    SimpleClassPart	simple_class;
    TextClassPart 	text_class;
    TtyClassPart  	tty_class;
} TtyClassRec;

extern TtyClassRec	ttyClassRec;

/* New instance fields */
typedef struct _TtyPart {
    XtCallbackList	enter;	    /* Text entered */
    XtCallbackList	interrupt;  /* Interrupt character typed */
    XtTextBlock	  	prompt;	    /* Prompt string */
    XtTextPosition	startPos;   /* Start of entered text */
    Boolean		prompted;   /* Prompt given (i.e. startPos valid) */
    XtTextPosition	markPos;    /* Position of mark */
} TtyPart;

/* Instance record */
typedef struct _TtyRec {
    CorePart	  core;
    SimplePart	  simple;
    TextPart	  text;
    TtyPart	  tty;
} TtyRec;

#endif _TtyP_h
@