GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/****************************************************************************1**2*W xgap.h XGAP Source Frank Celler3**4**5*Y Copyright 1995-1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany6*Y Copyright 1997, Frank Celler, Huerth, Germany7*/8#ifndef _xgap_h9#define _xgap_h101112/****************************************************************************13**1415*T TypeMenuItem . . . . . . . . . . . . . . . . . . . . . menu description16*/17#define S_ALWAYS 018#define S_INPUT_ONLY 119#define S_ERROR_ONLY 220#define S_NORMAL_ONLY 321#define S_RUNNING_ONLY 422#define S_HELP_ONLY 52324typedef struct _menu_item25{26char * label;27void (*click)();28int sensitive;29Widget entry;30}31TypeMenuItem;323334/****************************************************************************35**3637*F * * * * * * * * * * * * * * global variables * * * * * * * * * * * * * *38*/394041/****************************************************************************42**4344*V AppContext . . . . . . . . . . . . . . . . . . . . . aplication context45*/46extern XtAppContext AppContext;474849/****************************************************************************50**51*V GapDisplay . . . . . . . . . . . . . . . . . . . . . . . current display52*/53extern Display * GapDisplay;545556/****************************************************************************57**58*V GapScreen . . . . . . . . . . . . . . . . . . . . . . . . current screen59*/60extern long GapScreen;616263/****************************************************************************64**65*V GapTalk . . . . . . . . . . . . . . . . . . . . . . . . . gap text window66*/67extern Widget GapTalk;686970/****************************************************************************71**72*V GapState . . . . . . . . . . . . . . . . . . . . . . . . . status of gap73*/74#define GAP_NOGAP 075#define GAP_RUNNING 176#define GAP_INPUT 277#define GAP_ERROR 378#define GAP_HELP 47980extern Int GapState;818283/****************************************************************************84**85*V MyRootWindow . . . . . . . . . . . . . . . . . . . . current root window86*/87extern Drawable MyRootWindow;888990/****************************************************************************91**92*V SpyMode . . . . . . . . . . . . . . . . . . . . copy GAP output to stderr93*/94extern Boolean SpyMode;959697/****************************************************************************98**99*V WmDeleteWindowAtom . . . . . . . window manager "delete window" request100*/101extern Atom WmDeleteWindowAtom;102103104/****************************************************************************105**106*V XGap . . . . . . . . . . . . . . . . . . . . . . . . . . toplevel shell107*/108extern Widget XGap;109110111/****************************************************************************112**113114*F * * * * * * * * * * * * * * various symbols * * * * * * * * * * * * * * *115*/116117118119/****************************************************************************120**121122*V CheckMarkSymbol . . . . . . . . . . . . . symbol for checked menu entries123*/124extern Pixmap CheckMarkSymbol;125126127/****************************************************************************128**129*V CursorTL . . . . . . . . . . . . . . . . . . . . . . . . top left arrow130*/131extern Cursor CursorTL;132133134/****************************************************************************135**136*V EmptyMarkSymbol . . . . . . . . . . . . symbol for unchecked menu entries137*/138extern Pixmap EmptyMarkSymbol;139140141/****************************************************************************142**143*V MenuSymbol . . . . . . . . . . . . . . . . . symbol for drop down menus144*/145extern Pixmap MenuSymbol;146147148/****************************************************************************149**150*V ExMarkSymbol . . . . . . . . . . . . . . . . . . . . . exclamation mark151*/152extern Pixmap ExMarkSymbol;153154155/****************************************************************************156**157158*P Prototypes . . . . . . . . . . . prototypes of public gap text functions159*/160extern void SimulateInput( String );161extern void UpdateMenus( Int );162extern void UpdateMemoryInfo( Int, Int );163164#endif165166167/****************************************************************************168**169170*E xgap.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here171*/172173174