/* $Id: pttbbs.conf,v 1.14 2003/07/06 03:41:08 in2 Exp $ */
/* �Ъ`�N! �o���ɮ׬O�����~�{(telnet://ptt2.cc)���]�w��,
 * �o�ӳ]�w�b�w��귽�������e�D�U, �i�H���ѵ��W�U�ӤH�P�ɦb�u�W. �Y�z���w
 * ��귽�ä�����, �]�����t���o��h���U�H��/�ݪO/�W�u�H��, �бz�ȥ��n�N��
 * ���]�w�ȧ�p, �_�h�N�|�ϥα������j�q���O����.
 */
/* �w�q BBS ���W��} */
#define BBSNAME         "�s����"			/* ���寸�W */
#define BBSENAME        "PTT2"				/* �^�寸�W */
#define MYHOSTNAME      "ptt2.cc"          		/* ������} */
#define MYIP            "140.112.30.143"		/* IP��} */

/* ����ְ� email �Q�� source ��X���U�X, �ڭ̧�ηs�������C
 * �U���o�ӬO�_�l���ؤl�ȡA�Ч令���N�r�� (1~13 chars) */
#define REGCODE_MAGIC 	"pttbbs"

/* �Q��C�t�Φw���ʡB���H���󳨳��F��ƽж}�� */
//#define LOW_SECURITY

/* �w�q�t�θ�T */
#define BBSUSER         "bbs"
#define BBSUID          9999
#define BBSGID          99

/* �̤j�s����, �H�����c�N�ϥΪ� post ���j�峹 */
#define MAX_EDIT_LINE   2048

/* �Y�w�q, �h�i�H�K�O���� */
#define HAVE_FREECLOAK  1

/* �i�H�]�w�h���i���e�� */
#define MULTI_WELCOME_LOGIN

/* �̤j CPU�t��, �W�L���ɭԱN�ڵ� login */
#define MAX_CPULOAD	(400)

/* �̦h���U�H��, �C�ӤH�|�α� 21 bytes �� shared-memory */
#define MAX_USERS	(150000)

/* �̦h�P�ɤW�u�H��, �C�ӤH�|�α� 3456 bytes �� shared-memory */
#define MAX_ACTIVE	(4096)

/* �̤j�}�O�Ӽ�, �C�ӷ|�α� 6420 bytes �� shared-memory */
#define	MAX_BOARD	(8192)

/* �D�D���\Ū�j�M�d��A�峹�h�i�յۥ[�j�A���p�߹�į�v�T */
#define THREAD_SEARCH_RANGE (500)

/* �����H�H�� server, �@��]���ۤv(�Yip: 127.0.0.1)�N�i�H */
#define	RELAY_SERVER_IP	"127.0.0.1"

/* ���Y��m */
#define TITLE_COLOR "\33[0;1;37;46m"

/* �Y�w�q, �h�Ҧ��s��峹�̤U�賣�|�[�J�s��ӷ�.
   �_�h�u�� SYSOP�O�|�[�J�ӷ�                    */
//#define ALL_REEDIT_LOG

/* �w�q�ݪO�n�ͦW��N�|�b�X�����ᥢ�ıj������ */
#define HBFLexpire	(432000)

/* �w�q�O�_�ϥΥ~�y�ϥΪ̵��U
   �Υ~��H�̪��~�d�ɶ��A����ݦV����ӽХä[�~�d�v */
//#define FOREIGN_REG
//#define FOREIGN_REG_DAY 30

/* �O�D�i�H���j�g H�������λP�_ */
#define BMCHS

/* ���y��z, �ݪO�ƥ������~���{�� */
#define OUTJOBSPOOL

/* �Y�w�q, �h�����|���L */
#define NO_GAMBLE

/* �i�ʺA�z�L GLOBALVAR[9]�վ�ϥΪ̤W�� */
#define	DYMAX_ACTIVE

/* �{���̦h�i�H�]�h�[ (in min) �]�������ɭԷ|�X�{�]������ process */
#define CPULIMIT	1

/* �Y�w�q, �Y�{������, �|���� 86400 ���H�� gdb�� attach */
#define DEBUGSLEEP

/* �Y�w�q, �b��H��}��J���~�ɷ|�����ϥΪ̦^���T�������� */
/* �o�ӿﶵ�s�b����]�O�]���������ϥΪ̫H�}�������L�̨S�������ݤ��X�{�����~ */
//#define DEBUG_FWDADDRERR

/* �Y�w�q, �Τ@�ө_�Ǫ��Ʀr���ˬd�ڪ��̷R�M�ݪO�C���O�_���~ */
#define MEM_CHECK 0x98761234

/* �Y�w�q, �h�H�������W���ѥ�����K */
#define GLOBAL_DIGEST "PttDigest"

/* �Y�w�q, �h�����Ҧ����l��/�H�Ѵ��г��|�����b���O */
//#define GLOBAL_FIVECHESS_LOG "PttFive"
//#define GLOBAL_CCHESS_LOG    "PttCChess"

/* �Y�w�q, �h�i�b�~�� (shmctl cmsignal) �n�D�N mbbsd�N zapbuf ����.
   �|�ϥΫD���W���O����n�D�禡. (�ثe�u�b FreeBSD�W���չL)
   !!�Ъ`�N!!
   ���D�z�T�����D�o�ӯ��b������åB�����n,
   �_�h�Ф��n���}�o�ӥ\��!!                                           */
//#define CRITICAL_MEMORY

/* �]�w�̤j�i�A�R�X�ʫH�c (default: 1000) */
#define MAX_EXKEEPMAIL    (1000)

/* ��� port 23��, �|�w�� fork �X���X��. �p���b�t�έt�������ɭ�,
   ���i���n���W���v */
//#define PRE_FORK 10

/* �Y�w�q, �h�� shmctl utmpsortd �N time(NULL) �g�J SHM->GV2.e.now,
   �h�����C�� mbbsd���ۤv�z�L time(NULL) ���o�ɶ�, �ɭP�j�q�� system call.
   ���n�[�] shmctl timed �Ӵ��Ѯɶ�                                        */
//#define OUTTA_TIMER

/* �Y�w�q, �h�}�ҥ��餤���� ²�餤��/UTF-8 ���\�� */
//#define CONVERT

/* �Y�w�q, �h�Ұ� bbs���s�� BLOG �� interface
   �аѾ\ pttbbs/blog/ */
//#define BLOGDB_HOST   "10.1.1.1"
//#define BLOGDB_USER   "USER"
//#define BLOGDB_PASSWD "PASSWORD"
//#define BLOGDB_DB     "DATABASE"
//#define BLOGDB_PORT   3306
//#define BLOGDB_SOCK   NULL

/* �Y�w�q, �h�b�峹�C�����ɭԤ��P����|�ФW���P�C�� */
//#define COLORDATE

/* �Y�w�q, �b�ϥΪ̵��U���e, �|����ܥX���ɮ�, �g�ϥΪ̽T�{��~����U */
//#define HAVE_USERAGREEMENT "etc/UserAgreement"

/* DBCS Aware: ������|�]�� DBCS trailing bytes �W */
//#define DBCSAWARE
/* �]�� DBCS �n�������A�ҥH�i�H�Q�Ϋ��w�U�����ɶ��ӧP�_�ϥΪ̦��_�����L
 * �д����A�u���W�u���ɶ� (time_t) */
//#define DBCSAWARE_UPGRADE_STARTTIME (0)

/* �ϥηs���� pmore (piaip's more) �N���¦� bug �줣���� more */
#define USE_PIAIP_MORE

/* �ϥ� rfork()���N fork() . �ثe�u�b FreeBSD�W���� */
//#define USE_RFORK

/* �ϥ� HUGETLB shared memory . �ثe�u�b Linux �W���� */
//#define USE_HUGETLB

/* �b�Y�ǥ��x���U, shared-memory�W�w�ݭn���@�w�� aligned size,
   �p�b linux x86_64 �U�ϥ� HUGETLB �ɻݬ� 4MB aligned,
   �Ӧb linux ia64 �U�ϥ� HUGETLB�ɻݬ� 256MB aligned.
   ��쬰 bytes */
//#define SHMALIGNEDSIZE (1048576*4) // 4MB for x86_64

/* ���L������γQ�x�����N�R, SHM �|�ܤj�@�Ǩ� */
#define USE_COOLDOWN

/* �Y�w�q, �h�b�R���ݪO�峹���ɭ�, �ȷ|�b .DIR ���Щ�, �ä��|�N�Ӹ��
   �q .DIR ������. �i�H�קK�h�����D (�ר�O�����ݪO�@����ˤνs���)
   ���t�X�ϥ� (�|������)                                              */
//#define SAFE_ARTICLE_DELETE

/* �Y�w�q, �h�b�ǰe���y���ɭ�, ���|���� kill �ӵ{��. �z�פW�i�H��֤j
   �q���t�έt�M                                                       */
//#define NOKILLWATERBALL

/* �Y�w�q, �h�b�t�ζW�L�t�����ɭ�, �s�����s�u�|�d�� OVERLOADBLOCKFDS
   �o��h�� fd , �H�קK�ϥΪ̨g�s�y����j���t�� (default: 0)          */
//#define OVERLOADBLOCKFDS 128

/* �Y�w�q, �h SYSOP�b���ä��|�۰ʥ[�W�����v��.
   �b�Ĥ@���Ұʮ�, �z�ä���w�q (�_�h�N�����쯸���v�F) .
   �Ӧb�]�w������, �Y�z�����b���ä��s�� SYSOP,
   �h�i�z�L NO_SYSOP_ACCOUNT �����ӱb��, �H�קK�w�����D�o��.          */
//#define NO_SYSOP_ACCOUNT

/* �Y�w�q, �h�����ݪO�C���|��� shmctl utmpsortd �ӭp��, �Ӥ��O�C
   �ӨϥΪ̦ۤv��. �b���W�|�P�ɦ��ܦh�H�P�ɶ]�h�ݼ����ݪO���ɭԥ�.
   �Y���W�ä��|�@�����ܦh�H�]�h�ݼ����ݪO, �|�o��ϮĪG.              */
//#define HOTBOARDCACHE 128

/* �b��H�ɪ��W���ɰ�. �Y�b�x�W, ����j�����a, �ιw�]���Y�i.          */
//#define INNTIMEZONE "+0800 (CST)"

/* �j���p�Ҭd�]�t�� */
//#define HAVE_JCEE (1)

/* �}�Ҥp�ѨϤp�D�H�\�� */
//#define PLAY_ANGEL

/* �Y�w�q, �h�ϥ��¦����� */
#define OLDRECOMMEND

/* �w�q�X������ֳt���� */
#define FASTRECMD_LIMIT (90)

/* �Y�w�q, �i�]�w����۰ʦb���d�U�O�� */
#define USE_AUTOCPLOG

/* �Y�w�q, �s�O�]�w�۰ʶ}�O���A���L USE_AUTOCPLOG �٬O�n�}�~���� */
#define DEFAULT_AUTOCPLOG

/* �ذe�H�c */
//#define ADD_EXMAILBOX 100

/* �p�G�O�b IA32 ���U����, �i�H�w�q IA32 �H���o�O����έp��T */
//#define IA32

/* �p�G time_t �O 8 bytes���� (�p X86_64) */
//#define TIMET64

/* �ϥ� cacheserver, �b�~���B��n�͸��, �p�G�z�T�w�o�Ӧb������~�}�� */
//#define OUTTACACHE
//#define OUTTACACHEHOST "192.168.0.1"
//#define OUTTACACHEPORT 5120
/* �b cacheserver �W���ױ��g�W�U�����ϥΪ� */
//#define NOFLOODING

/* �Y�w�q, �h�����\���U guest */
//#define NO_GUEST_ACCOUNT_REG

/* �e�i���e�� */
#define INSCREEN \
"�e�i���e�� (�Ц� pttbbs.conf �ק�z���e�i���e��)"