|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1072 (0x430) Types: TextFile Notes: UNIX file Names: »div.h«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦f4b8d8c84⟧ UNIX Filesystem └─⟦this⟧ »cmd/nroff/div.h«
/* * Nroff/Troff. * Diversions and traps. */ #define nsm cdivp->d_nspm /* No space mode */ /* * Vertical trap list. */ typedef struct tpl { struct tpl *t_next; /* Pointer to next */ int t_rpos; /* Relative trap position */ unsigned t_apos; /* Absolute position */ char t_name[2]; /* Name of macro to execute */ } TPL; /* * Diversions. */ typedef struct div { struct div *d_next; /* Pointer to next */ char d_name[2]; /* Name of diversion */ int d_rpos; /* Real vertical position */ int d_nspm; /* No space mode */ int d_maxh; /* Maximum height of diversion */ int d_maxw; /* Maximum width of diversion */ long d_seek; /* Last seek position */ struct mac *d_macp; /* Pointer to macro desc */ struct tpl *d_stpl; /* Start of trap list */ struct tpl *d_trap; /* Start of usable traps */ struct tpl *d_ctpp; /* Current trap pointer */ int d_mk; /* Marked vertical pos'n, see .mk */ } DIV; /* * Global variables. */ extern DIV *mdivp; /* Pointer to main diversion */ extern DIV *cdivp; /* Pointer to current diversion */