⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defines.h

📁 Free Chat beta release 2 fot linux,采用C语言写的运行在linux下的聊天室程序
💻 H
字号:
/*  defines.h    For Free Chat  (for beta release 2e)    By Bill Kendrick  kendrick@zippy.sonona.edu  http://zippy.sonoma.edu/kendrick/  September 29, 1996 - June 7, 1998*/#define YES 1#define SMALL 2#define NO 0#define OFF 0#define ON 1#define SYSOPS_ONLY 2#define REGISTERED_ONLY 3/* --- Global defines for Free Chat source files. --- *//* Enter your e-mail address here.  Administration problems will be routed   to this address: */#define ADMIN_EMAIL ___please_enter_your_ADMIN_EMAIL_address_in_quotes___/* Whether you want any SYSOP or GOD actions to be mailed to you.   YES, NO or SMALL if you want only BAN's to be e-mailed: */#define INFORM_ADMIN NO   /* Enter YES if users MUST be registered to use chat.  Enter NO if anyone   can enter: */#define MUST_BE_REGISTERED NO/* Enter the name for your access file (so people can't just call it up): */#define ACCESS_FILE "access.dat"/* Comment out the following line if you're not using a flavor of   System V Unix; uncomment if you ARE using System V: */#define SYSV/* Max # of lines to keep around in chat: */#define MAXLINES 16/* Number of minutes people can be idle without being removed: */#define IDLE 3/* Whether or not to keep a lot of all chat activity:   (YES=on, NO=off, SMALL="join"s only) */#define LOG NO/* Location of the "date" command (use "which date" to find out): */#define DATE_CMD "/bin/date"/* Location of the "mail" command (use "which mail" to find out): */#define MAIL_CMD "/bin/mail"/* Location of a banner ad command (comment out to turn off): *//* #define AD_CMD "./random chatads.dat" *//* Path to prepend to graphics and HTML files (required if you're CGI's   will be placed in a "cgi-bin" directory, where normal HTML and GIF   files can't be accessed): */#define PREPEND ""#define UNIX_PREPEND ""/* Enter YES to allow characters with ASCII decimal values of less than   32 and greater than 127 (good for International chat).  Enter NO   to convert these characters to spaces: */#define INTERNATIONAL NO/* Frame sizes.  These are recommended.  Change as needed: */#define FRAME1_HEIGHT 85#define FRAME2_HEIGHT 80/* Button sizes.  These are the sizes (in pixels) of the buttons that come   with Free Chat.  Change as needed: */#define SEND_W 80#define SEND_H 20#define REFRESH_W 80#define REFRESH_H 20#define WHO_W 80#define WHO_H 20#define HELP_W 80#define HELP_H 20#define LEAVE_W 80#define LEAVE_H 20/* Who can whisper.   ON = anyone, OFF = nobody, SYSOPS_ONLY = only sysops/gods: */#define WHISPERING ON/* What to say when a SYSOP or GOD joins: */#define SYSOP_JOIN_WARNING "(sysop!)"/* --- Misc. defines:  (don't change!)  --- */#define STRLEN 512/* -- End of file --- */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -