/* $Id: ckmres.h,v 1.7 91/12/15 23:17:49 rick Exp $ * $Source: /uw/mackermit/RCS/ckmres.h,v $ *------------------------------------------------------------------ * $Log: ckmres.h,v $ * Revision 1.7 91/12/15 23:17:49 rick * ut9 * * Revision 1.6 91/10/13 13:43:35 rick * UT(7) * * Revision 1.5 91/10/01 12:16:54 rick * UT(5) * * Revision 1.4 91/09/25 12:17:28 rick * Command window in TE. Multiple vt100 windows for command window. * * Revision 1.3 91/09/12 21:50:50 rick * UT(3). Install on watsun * * Revision 1.2 1991/09/10 22:21:47 rick * Update to UTexas(2) * * Revision 1.1 1991/09/10 19:18:01 rick * Initial revision * *------------------------------------------------------------------ * $Endlog$ */ /* ckmres.h - MAC C Kermit resource file equates */ /* Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New York. Permission is granted to any individual or institution to use this software as long as it is not sold for profit. This copyright notice must be retained. This software may not be included in commercial products without written permission of Columbia University. */ #define TERMBOXID 1000 /* terminal window ID */ #define RCMDBOXID 1001 /* remote command window ID */ #define LCMDBOXID 1017 /* local command process window ID */ #define RCMDHSCROLL 1001 #define RCMDVSCROLL 1000 #define LCMDHSCROLL 1002 #define LCMDVSCROLL 1003 #define ALERT_HELP 1009 /* key macro help alert */ #define ALERT_ERROR 1010 /* error alert */ #define ALERT_DEBUG 1011 /* debug alert */ #define ALERT_ABORT 1012 /* abort protocol */ #define ALERT_MODHELP 1013 /* key modifier help alert */ #define KSET_TYPE 'KSET' /* key set */ #define KSVER 4 /* current version number for bit table */ #define MSET_TYPE 'MSET' /* meta prefix string */ #define KMVER 5 /* current version number for macro table */ #define SAVI_TYPE 'SAVI' /* rsrc integer types */ #define SIVER 5 /* version & rsrc ID number for integers */ #define SAVC_TYPE 'SAVC' /* rsrc character types */ #define SCVER 5 /* version & rsrc ID number for characters */ #define SAVS_TYPE 'SAVS' /* saved strings type */ /* 1 -- old C-string ID_FONT */ #define SAVS_ID_FONT 2 /* font name */ #define PORTVER 5 #define PORT_TYPE 'PORT' /* rsrc for port name */ #define NODEAD_KCHR 13000 /* I.D. of our special KCHR resource */ #define NODEAD_SICN 13000 /* I.D. of our special SICN res. */ /* MENUS */ #define APPL_MENU 1 /* APPLE: */ #define ABOUT_APL 1 /* about kermit */ /* the font menu isn't REALLY part of the */ /* standard menus -- we handle it specially */ #define FONT_MENU 2 /* FONT: */ #define BIGSZ_FONT 7 /* (- (leave a space) */ #define MIN_MENU 3 /* first menu resource ID */ /* (Apple menu doesn't count) */ /* * John A. Oberschelp for Emory University -- vt102 printer support * 22 May 1989 * Emory contact is Peter W. Day, ospwd@emoryu1.cc.emory.edu */ #define FILE_MENU 3 /* FILE: */ #define FILE_MEN2 35 /* FILE: (w/o menu keys) */ #define LOAD_FIL 1 /* load settings */ #define SAVE_FIL 2 /* save settings */ /* (- (leave a space) */ #define NEW_FIL 4 /* New */ #define OPEN_FIL 5 /* Open... */ #define CLOSE_FIL 6 /* Close */ #define SAVEF_FIL 7 /* Save */ #define SAVEAS_FIL 8 /* Save As... */ /* (- (leave a space) */ #define TAKE_FIL 10 /* Take command file... */ #define TAKEW_FIL 11 /* Take Command from Window */ /* (- (leave a space) */ #define PGSTUP_FIL 13 #define PRINT_FIL 14 /* Print... */ #define PBUF_FIL 15 /* Send the print buffer now */ #define PSTAT_FIL 16 /* Give print buffer status */ #ifdef COMMENT #define PDISC_FIL 16 /* Discard the print buffer */ #define POPEN_FIL 17 /* Open Captured Text */ #endif /* (- (leave a space) */ #define LOG_FIL 18 #define XFER_FIL 19 /* transfer... (to another pgm) */ #define QUIT_FIL 20 /* quit this program */ #define EDIT_MENU 4 /* EDIT: */ #define EDIT_MEN2 36 /* EDIT: (w/o menu keys) */ #define UNDO_EDIT 1 /* undo */ /* (- (space) */ #define CUT_EDIT 3 /* cut */ #define COPY_EDIT 4 /* copy */ #define PASTE_EDIT 5 /* paste */ #define CLEAR_EDIT 6 /* clear */ #define SETG_MENU 5 /* SETTINGS: */ #define SETG_MEN2 37 /* SETTINGS: */ #define FILE_SETG 1 /* file settings */ #define COMM_SETG 2 /* communications settings */ #define PROT_SETG 3 /* protocol settings */ #define TERM_SETG 4 /* terminal settings */ #define CHARS_SETG 5 /* character set */ /* (- (leave a space) */ #define SCRD_SETG 7 /* screen dumping... */ #define MCDM_SETG 8 /* menu command keys */ #define KEYM_SETG 9 /* keyboard macros */ #define MODF_SETG 10 /* modifier settings */ #define SPCL_MENU 6 /* Special */ #define SPCL_MENU2 38 /* Special */ #define BREAK_SPCL 1 /* send break */ #define LBREAK_SPCL 2 /* send long break */ #define XON_SPCL 3 /* send XON */ #define DTR_SPCL 4 /* toggle DTR */ #define RESET_SPCL 5 /* Reset terminal */ #define REMO_MENU 7 /* REMOTE: */ #define REMO_MEN2 39 /* REMOTE: */ /* (- (leave a space) */ #define GETS_REMO 1 /* get a file from server */ #define SEND_REMO 2 /* send a file */ #define RECV_REMO 3 /* receive a file */ #define STATS_REMO 4 /* show transfer stats */ #define LCD_REMO 5 /* set transfer directory */ /* (- (leave a space) */ #define FIN_REMO 7 /* finish, exit remote server */ #define BYE_REMO 8 /* bye (log out server) */ /* (- (leave a space) */ #define CWD_REMO 10 /* cwd - change working directory */ #define DEL_REMO 11 /* delete remote file */ #define DIR_REMO 12 /* remote directory */ #define HELP_REMO 13 /* remote help */ #define HOST_REMO 14 /* arbitrary command */ #define SPAC_REMO 15 /* disk usage */ #define TYPE_REMO 16 /* type a file */ #define WHO_REMO 17 /* who is logged in */ /* (- */ #define SERV_REMO 19 /* be a server */ #define WIND_MENU 8 /* Window: */ #define WIND_MENU2 40 /* Window: */ #define TERM_WIND 1 /* show terminal window */ #define CMDW_WIND 2 /* show connect window */ #define RESP_WIND 3 /* show response window */ #define PRNT_WIND 4 /* show printer window */ #define WIND_MENU_DIVIDER 5 /* --- (new windows are listed under this */ #define LOG_MENU 9 /* LOG: */ #define LOG_MEN2 41 /* LOG: */ #define SLOG_LOG 1 /* log session */ #define SDMP_LOG 2 /* dump screen to session log */ #define TLOG_LOG 3 /* log transactions */ #define PLOG_LOG 4 /* log packets */ #define DLOG_LOG 5 /* debugging */ #define DBGR_LOG 6 /* call debugger */ #define MAX_MENU WIND_MENU /* last menu rsrc id, past here are submenus */ #define LAST_MENU LOG_MENU /* highest menu id */ /* DLOG 257 - About Kermit */ #define ABOUTID 257 /* ID of dialog in resource file */ #define AB_VERS 2 /* The MacKermit version string */ #define AB_PROV 3 /* the protocol version string */ #define AB_COPY 16 /* "Permission is granted..." */ #define AB_CPY2 19 #define AB_CPY3 20 #define AB_BUGS 17 /* "Bugs to:" */ /* DLOG 230 - Status display (during transfer) */ #define SCRBOXID 230 /* resource ID for status display */ #define SRES_UNDEF 1 /* do nothing */ #define SRES_CANF 1 /* cancel xmit of single file */ #define SRES_CANG 2 /* cancel xmit of entire group */ #define SRES_DIR 3 /* "receiving" or "sending" */ #define SRES_FILN 4 /* filename goes here */ #define SRES_AS 5 /* "as" or blank */ #define SRES_AFILN 6 /* as filename or blank */ #define SRES_KXFER 8 /* numeric for "Kbytes" */ #define SRES_NPKT 10 /* numeric for "Packets" */ #define SRES_NRTY 12 /* numeric for "Retries" */ #define SRES_FFORK 13 /* "RSRC FORK" or "DATA FORK" */ #define SRES_FMODE 14 /* "TEXT MODE" or "BINARY MODE" */ #define SRES_BTEXT 15 /* arbitrary big text */ #define SRES_PACSZ 17 /* numeric for "Rec'd pkt size" */ #define SRES_CKSUM 19 /* numeric for "Checksum" */ #define SRES_WINSZ 21 /* numeric for "Window size" */ #define SRES_PTTXT 22 /* "Emergency exit: hold down \0x11 */ /* and type a period." */ #define SRES_ITEXT 23 /* info text */ #define SRES_PTEXT 24 /* previous file status text */ #define SRES_THERM 25 /* "thermometer" user item for graphic % done */ /* DLOG 1001 - Communications setup dialog */ #define COMMBOXID 1001 /* resource ID for comm setup */ #define CR_BAUD300 5 #define CR_BAUD600 6 #define CR_BAUD1200 7 #define CR_BAUD1800 8 #define CR_BAUD2400 9 #define CR_BAUD3600 10 /* RAM driver only */ #define CR_BAUD4800 11 #define CR_BAUD7200 12 #define CR_BAUD9600 13 #define CR_BAUD14400 14 /* RAM driver only */ #define CR_BAUD19200 15 #define CR_BAUD28800 16 /* RAM driver only */ #define CR_BAUD38400 17 /* RAM driver only */ #define CR_BAUD57600 18 /* 19: "Parity/Bits" */ #define CR_PARMARK 20 #define CR_PARSPACE 21 #define CR_PAREVEN 22 #define CR_PARODD 23 #define CR_PARNONE 24 #define CR_XONXOFF 25 /* flow control check box */ /* 26: "Serial Port" */ #define CR_PORT 27 /* port popup user item */ #define CR_DROPDTR 28 /* drop DTR on Quit */ #define CR_DTRIN 29 /* DTR input flow control */ #define CR_CTSOUT 30 /* CTS output flow control */ /* DLOG 1002 - Protocol setup dialog */ #define PROTOBOXID 1002 #define PR_BLK1 5 /* block check types */ #define PR_BLK2 6 #define PR_BLK3 7 #define PR_HSBELL 9 /* hand shake character */ #define PR_HSCR 10 #define PR_HSESC 11 #define PR_HSLF 12 #define PR_HSNONE 13 #define PR_HSXON 14 #define PR_HSXOFF 15 #define PR_INSOP 19 /* start of packet edit text */ #define PR_INEOP 21 /* end of packet edit text */ #define PR_INPADC 23 /* pad character edit text */ #define PR_INPADN 25 /* pad count edit text */ #define PR_INTIMEO 27 /* seconds timeout edit text */ #define PR_INPKTLEN 29 /* packet length edit text */ #define PR_OUTSOP 30 /* start of packet edit text */ #define PR_OUTEOP 31 /* end of packet edit text */ #define PR_OUTPADC 32 /* pad character edit text */ #define PR_OUTPADN 33 /* pad count edit text */ #define PR_OUTTIMEO 34 /* seconds timeout edit text */ #define PR_OUTPKTLEN 35 /* packet length edit text */ #define PR_WINSIZ 37 /* sliding window size */ /* DLOG 1003 - remote dialog */ #define REMOTEBOXID 1003 #define RRES_ARG1 5 #define RRES_ARG2 7 /* DLOG 1004 - file default dialog */ #define FILEBOXID 1004 #define FSET_ATTEND 4 #define FSET_UNATTEND 5 #define FSET_SUPERSEDE 6 #define FSET_NEWNAMES 7 #define FSET_KEEP 16 #define FSET_XMITTOO 17 /* DLOG 1005 - remote dialog */ #define TERMINALBOXID 1005 #define TR_AUTOWRAP 4 /* auto wrap around at end of line */ #define TR_AUTOREPT 5 /* auto repeat keys */ #define TR_INVERT 6 /* inverted terminal window */ #define TR_SMOOTH 7 /* smooth scrolling */ #define TR_AUTOLF 8 /* send LF after CR */ #define TR_LOCLECHO 9 /* local character echo */ #define TR_TRANSP 10 /* transparent mode */ #define TR_BLOCKC 11 /* block cursor */ #define TR_MOUSE 12 /* mouse -> arrow keys */ #define TR_VISBELL 13 /* do visible bell */ #define TR_EIGHTBIT 14 /* accept eight bit input */ #define TR_BLINKC 15 /* blinking cursor */ #define TR_RESETBTN 16 /* button: reset the terminal */ #define TR_NUMLINES 17 /* edit text: number of lines on the screen */ /* DLOG 1006 - key dialog (main) */ #define KEYBOXID 1006 #define KY_MODIFIER 3 /* modifier text display */ /* DLOG 1007 - key dialog (subdialog) */ #define KEY2BOXID 1007 #define KY_TEXT 3 /* function text */ #define KY_HELP 4 /* function text */ /* DLOG 1008 - modifier dialog */ #define MODBOXID 1008 #define MOD_CHK1 3 /* 1st check box */ #define MOD_CHKL 38 /* last check box */ #define MOD_PRF1 39 /* 1st prefix string */ #define MOD_PRFL 42 /* last prefix string */ #define MOD_LIN1 43 /* 1st line */ #define MOD_LINL 46 /* last line */ #define MOD_HELP 51 /* PWP: help button */ /* DLOG 1014 - character set dialog */ #define CHARBOXID 1014 /* the order of these must match that of ckmdef.h */ #define CS_USA 4 #define CS_UK 5 #define CS_DUTCH 6 #define CS_FINNISH 7 #define CS_FRENCH 8 #define CS_FRCAN 9 #define CS_GERMAN 10 #define CS_ITALIAN 11 #define CS_NORDAN 12 #define CS_PORTUGUESE 13 #define CS_SPANISH 14 #define CS_SWEDISH 15 #define CS_SWISS 16 #define CS_ISOLATIN1 17 #define CS_ISOLATIN2 18 #define CS_ISOLATIN3 19 #define CS_ISOLATIN4 20 #define CS_ISOCYRILLIC 21 #define CS_ISOARABIC 22 #define CS_ISOGREEK 23 #define CS_ISOHEBREW 24 #define CS_ISOLATIN5 25 #define CS_VTGRAPH 26 #define CS_VTTECH 27 /* DLOG 1015 - set transfer directory dialog */ #define CWDBOXID 1015 /* DLOG 1016 - show transfer stats */ #define STATBOXID 1016 #define ST_TSEC 8 /* total seconds */ #define ST_TLCI 9 /* serial characters in */ #define ST_TLCO 10 /* serial characters out */ #define ST_TFC 11 /* total file characters xfered */ #define ST_EBAUD 12 /* effective baud rate (10*cps) */ #define ST_EEFF 14 /* efficiency of line */ /* DLOG 1018 - save modified file */ #define SAVEBOXID 1018 #define SV_YES 1 #define SV_NO 2 #define SV_CANCEL 3 #define SV_TEXT 4 /* DLOG 1019 - Yes/No */ #define YESNOID 1019 #define YN_NO 1 #define YN_YES 2 #define YN_TEXT 3 /* DLOG 2001 - print buffer dialog */ /*JAO*/ #define PRINTBOXID 2001 #define PRINT_ARG1 6 #define PRINT_ARG2 5 #define PRINT_ARG3 4 /* DLOG 2002 - buffering dialog */ /*JAO*/ #define BUFFERINGBOXID 2002 /* DLOG 2003 - overflowing dialog */ /*JAO*/ #define OVERFLOWINGBOXID 2003 /* DLOG 2004 - overflowed dialog */ /*JAO*/ #define OVERFLOWEDBOXID 2004 /* DLOG 2005 - command-. dialog */ /*JAO*/ #define PRINTINGBOXID 2005 /* DLOG 3998 - SFPutFile DLOG replacement */ #define DLG_GETF 3998 #define GETF_GETB ok /* "Get" button */ #define GETF_REMF 4 /* remote file name */ /* DLOG 3999 - SFPutFile DLOG replacement */ #define DLG_RECV 3999 #define RECV_RBTN putSave /* "Receive" button */ #define RECV_PROC 16 /* proceed without more dialogs */ #define RADITM_DATA 11 #define RADITM_RSRC 12 #define RADITM_TEXT 13 #define RADITM_BINA 14 #define RADITM_MACB 15 /* MacBinary */ #define RADITM_FIRST RADITM_DATA #define RADITM_LAST RADITM_BINA /* should be last of data,rsrc,text,binary */ /* DLOG 4000 - SFGetFile DLOG replacement */ #define DLG_SEND 4000 #define SEND_ASFN 18 /* "As" file name */ #define SEND_INVT 17 /* invisible edit text */ #define SEND_ALL 20 /* send all files check box */ /* * Junk so Emacs will set local variables to be compatible with Mac/MPW. * Should be at end of file. * this module uses 8 * * Local Variables: * tab-width: 8 * End: */