PennMUSH Community

Changeset 267

Show
Ignore:
Timestamp:
04/19/06 22:35:47 (3 years ago)
Author:
pennmush
Message:

PennMUSH 1.7.3p4 Archival

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.7.3/CHANGES

    r265 r267  
    1515 
    1616========================================================================== 
     17 
     18Version 1.7.3 patchlevel 4                    August 8, 2000 
     19 
     20Major Changes: 
     21      * Internationalization: 
     22        * Support for international time formats via LC_TIME locale [SW] 
     23        * Support for message translation 
     24        * Support for locale-sensitive ordering of strings (LC_COLLATE) [SW] 
     25        To take advantage of the new features, you should have your 
     26        LANG environment variable set to an appropriate locale  
     27        before you 'make install' (which will cause the right message 
     28        catalog to be compiled), and you should see the section  
     29        in game/restart for setting it there (which will actually cause 
     30        the server to use it). 
     31      * IPv6 support [SW] 
     32Commands: 
     33      * @dolist/delim and @map/delim [SW] 
     34      * @stats/tables [SW] 
     35      * SESSION command displays session statistics (experimental) [SW] 
     36Functions: 
     37      * uldefault(), like udefault but saves registers like ulocal() [SW] 
     38      * switchall(), for Tiny compability. [SW] 
     39      * cemit() with an option to act like @cemit/noisy [SW] 
     40      * vmin() and vmax(), for returning the min and max of each pair in two 
     41        vectors. [SW] 
     42      * utctime(), convutcsecs() for UTC/GMT time instead of server-local. [SW] 
     43      * convtime() uses getdate() if present, along with a variety of templates 
     44      * that it can accept. [SW] 
     45      * timefmt() - like the strftime() C function. [SW] 
     46      * pcreate() side effect function suggested by Adamas and Padraic@M*U*S*H 
     47      * starttime() now returns the first startup time, and  
     48        restarttime() returns the time of the last @shutdown/reboot [SW] 
     49Minor Changes: 
     50      * +help is mentioned in help help. Suggested by Trispis@M*U*S*H. 
     51      * include directive for config files, with an example moving all 
     52        the restrict_command's to another file. [SW] 
     53      * make indent runs expand, then indent, because indent doesn't seem to 
     54        handle tabs very well. [SW] 
     55      * index-files.pl sorts patchlevels correctly. Patch by Jeff 
     56        Heinen. 
     57      * LASTLOGOUT attribute records logout time, like LAST, but not 
     58        visual. Suggested by Oriens@Alexandria, and others. 
     59      * Internal cleanup by David@M*U*S*H. New @config category 'messages', 
     60        no more OBJECT_ENDOWMENT or OBJECT_DEPOSIT macros, etc. 
     61      * Internal functions safe_integer(), safe_number(), and safe_dbref() 
     62        to replace safe_str(unparse_FOO(data), buff, bp) calls  [SW] 
     63      * You can now @trigger an attribute containing a $command or 
     64        ^listen and it'll work (skipping the $...: or ^...: parts). 
     65        So you can now do this: 
     66         &DO_WHO obj=$who *: @pemit %#=[u(who,%0)] 
     67         &DO_+WHO obj=$+who *: @tr me/do_who=%0 
     68        (But you can do this much more efficiently with regexp...) 
     69Fixes: 
     70      * table() is less CPU-intensive in extreme cases. [SW] 
     71      * Hopefully, Configure now determines pagesize on FreeBSD. 
     72        Method suggested by Matt Harris. 
     73      * CHAT_TOKEN_ALIAS comment clarification by Oleo@M*U*S*H. 
     74      * pcre regexp engine updated to version 3.4. 
     75      * Typo in @chan/who fixed by Vexon@M*U*S*H. 
     76      * @attribute/access won't modify AF_INTERNAL attributes now. 
     77      * Additional win32 portability fixes. [NJG] 
     78      * con() was buggy in a bad way. Fixed now. 
     79      * Configure -d should now work on linux systems that don't have 
     80        crypt libraries. Reports by mith and Inek@M*U*S*H. 
     81      * Fix to Z_TEL on things. 
     82      * Help fix to @lock5 by Datron@SW2. 
     83Languages: 
     84      * Swedish and Hungarian translations for most strings are 
     85        included in this patchlevel. 
     86 
    1787 
    1888Version 1.7.3 patchlevel 3                    July 12, 2000 
  • 1.7.3/Configure

    r265 r267  
    264264d_attribut='' 
    265265d_bcopy='' 
     266d_bindtextdomain='' 
    266267d_bzero='' 
    267268d_const='' 
     
    272273d_fpsetround='' 
    273274i_floatingpoint='' 
     275d_getadinf='' 
     276d_getdate='' 
     277d_getnminf='' 
    274278d_getpagsz='' 
    275279pagesize='' 
    276280d_getprior='' 
     281d_gettext='' 
    277282d_gnulibc='' 
    278283d_huge='' 
     
    282287d_maxint='' 
    283288d_ieee='' 
     289d_in2p='' 
     290d_internet='' 
    284291d_keepsig='' 
    285292d_memcpy='' 
     
    311318sockethdr='' 
    312319socketlib='' 
     320d_socklen='' 
    313321d_strccmp='' 
    314322d_index='' 
     
    317325d_strdup='' 
    318326d_sysconf='' 
     327d_sysctl='' 
     328d_sysctlbyname='' 
    319329d_tcl='' 
    320330i_tcl='' 
     331d_textdomain='' 
    321332d_timelocal='' 
    322333d_toupper='' 
     
    334345i_syserrno='' 
    335346i_fcntl='' 
     347i_libintl='' 
    336348i_limits='' 
    337349i_locale='' 
     
    537549libswanted='' 
    538550defvoidused=15 
    539 libswanted='nsl socket m c crypt bind resolv ld dl tcl
     551libswanted='nsl socket m c crypt bind resolv ld dl tcl intl
    540552 
    541553: Find the basic shell for Bourne shell scripts 
     
    18771889done 
    18781890 
     1891cat << EOM 
     1892 
     1893Configure uses the operating system name and version to set some defaults. 
     1894The default value is probably right if the name rings a bell. Otherwise, 
     1895since spelling matters for me, either accept the default or answer "none" 
     1896to leave it blank. 
     1897 
     1898EOM 
     1899case "$osname" in 
     1900    ''|' ') 
     1901        case "$hintfile" in 
     1902        ''|' '|none) dflt=none ;; 
     1903        *)  dflt=`echo $hintfile | $sed -e 's/\.sh$//' -e 's/_.*$//'` ;; 
     1904        esac 
     1905        ;; 
     1906    *) dflt="$osname" ;; 
     1907esac 
     1908rp="Operating system name?" 
     1909. ./myread 
     1910case "$ans" in 
     1911none)  osname='' ;; 
     1912*) osname=`echo "$ans" | $sed -e 's/[   ][  ]*/_/g' | ./tr '[A-Z]' '[a-z]'`;; 
     1913esac 
    18791914: who configured the system 
    18801915cf_time=`$date 2>&1` 
     
    36583693done' 
    36593694 
     3695: see if libintl.h can be included 
     3696set libintl.h i_libintl 
     3697eval $inhdr 
     3698: check for a new-style definitions 
     3699echo " " 
     3700$cat >test_bindtextdomain.c <<'EOCP' 
     3701#ifdef I_LIBINTL 
     3702#include <libintl.h> 
     3703#endif 
     3704int main(int argc, char **argv) { 
     3705   return (int) bindtextdomain (""); 
     3706} 
     3707EOCP 
     3708 
     3709if $cc $ccflags $ldflags -o test_bindtextdomain test_bindtextdomain.c $libs >/dev/null 2>&1 ; then 
     3710    d_bindtextdomain='define' 
     3711    echo 'Otima! You seem to have bindtextdomain for translations.' >&4 
     3712else 
     3713    d_bindtextdomain='undef' 
     3714    echo "You don't seem to have bindtextdomain. Sinto muito." >&4 
     3715fi 
     3716$rm -f test_bindtextdomain* core 
     3717 
    36603718: see if this is a unistd.h system 
    36613719set unistd.h i_unistd 
     
    38353893$rm -f test_fpset* core 
    38363894 
     3895: see if getaddrinfo exists 
     3896set getaddrinfo d_getadinf 
     3897eval $inlibc 
     3898 
     3899: see if getdate exists 
     3900set getdate d_getdate 
     3901eval $inlibc 
     3902 
     3903: see if getnameinfo exists 
     3904set getnameinfo d_getnminf 
     3905eval $inlibc 
     3906 
     3907: see if sysctl exists 
     3908set sysctl d_sysctl 
     3909eval $inlibc 
     3910: see if sysctlbyname exists 
     3911set sysctlbyname d_sysctlbyname 
     3912eval $inlibc 
     3913 
    38373914: see if getpagesize exists 
    38383915set getpagesize d_getpagsz 
    38393916eval $inlibc 
     3917 
     3918: determine the system page size 
     3919echo " " 
     3920guess=' (OK to guess)' 
     3921case "$pagesize" in 
     3922'') 
     3923    $cat >page.c <<EOP 
     3924#include <stdio.h> 
     3925extern int getpagesize(); 
     3926int main() 
     3927{ 
     3928    printf("%d\n", getpagesize()); 
     3929} 
     3930EOP 
     3931    echo "Computing the granularity of memory management calls..." >&4 
     3932    dflt='4096' 
     3933    case "$d_getpagsz" in 
     3934    "$define") 
     3935        if $cc $ccflags page.c -o page $libs >/dev/null 2>&1; then 
     3936            dflt=`./page` 
     3937            guess='' 
     3938        else 
     3939            echo "(I can't seem to compile the test program--guessing)" 
     3940        fi 
     3941        ;; 
     3942    *) 
     3943        if $cc $ccflags page.c -o page $libs -lPW >/dev/null 2>&1; then 
     3944            dflt=`./page` 
     3945            guess='' 
     3946            echo "(For your eyes only: I used the getpagesize() from -lPW.)" 
     3947        else 
     3948            if $contains PAGESIZE `./findhdr sys/param.h` >/dev/null 2>&1; then 
     3949                $cat >page.c <<EOP 
     3950#include <sys/param.h> 
     3951#include <stdio.h> 
     3952int main() 
     3953{ 
     3954    printf("%d\n", PAGESIZE); 
     3955} 
     3956EOP 
     3957                if $cc $ccflags page.c -o page $libs >/dev/null 2>&1; then 
     3958                    dflt=`./page` 
     3959                    guess='' 
     3960                    echo "(Using value of PAGESIZE found in <sys/param.h>.)" 
     3961                else  
     3962                  if $test "x$d_sysctlbyname" = "x$define"; then 
     3963                    $cat >page.c <<EOP 
     3964#include <sys/types.h> 
     3965#include <sys/sysctl.h> 
     3966#include <stdio.h> 
     3967int main() 
     3968{ 
     3969  int res, pgsize 
     3970  size_t len; 
     3971  len = sizeof(pgsize); 
     3972  res = sysctlbyname("hw.pagesize",&pgsize,&len,NULL,0); 
     3973  if (res < 0) 
     3974    res = sysctlbyname("hw_pagesize",&pgsize,&len,NULL,0); 
     3975  printf("%d\n", res ? -1 : pgsize); 
     3976} 
     3977EOP 
     3978                    if $cc $ccflags page.c -o page $libs >/dev/null 2>&1; then 
     3979                      dflt=`./page` 
     3980                      if $test $dflt -gt 0; then 
     3981            guess='' 
     3982            echo "(Using value from sysctlbyname)" 
     3983                      else 
     3984            dflt='4096' 
     3985                      fi 
     3986                    fi 
     3987                  fi 
     3988                fi 
     3989            fi 
     3990        fi 
     3991        ;; 
     3992    esac 
     3993    ;; 
     3994*) dflt="$pagesize"; guess='';; 
     3995esac 
     3996rp="What is the system page size, in bytes$guess?" 
     3997. ./myread 
     3998pagesize=$ans 
     3999$rm -f page.c page 
    38404000 
    38414001: see if getpriority exists 
     
    39274087$rm -f nofile* 
    39284088 
     4089: check for a new-style definitions 
     4090echo " " 
     4091$cat >test_gettext.c <<'EOCP' 
     4092#ifdef I_LIBINTL 
     4093#include <libintl.h> 
     4094#endif 
     4095int main(int argc, char **argv) { 
     4096   return (int) gettext (""); 
     4097} 
     4098EOCP 
     4099 
     4100if $cc $ccflags $ldflags -o test_gettext test_gettext.c $libs >/dev/null 2>&1 ; then 
     4101    d_gettext='define' 
     4102    echo 'Voila! You seem to have gettext for translations.' >&4 
     4103else 
     4104    d_gettext='undef' 
     4105    echo "You don't seem to have gettext. Quel dommage." >&4 
     4106fi 
     4107$rm -f test_gettext* core 
     4108 
    39294109: see if this is a values.h system 
    39304110set values.h i_values 
     
    41184298$rm -f test_ieee* core 
    41194299 
     4300: see inet_pton exists 
     4301set inet_pton d_in2p 
     4302eval $inlibc 
     4303 
    41204304: see which of string.h or strings.h is needed 
    41214305echo " " 
     
    41724356val="$vali" 
    41734357set d_index; eval $setvar 
     4358 
     4359: check for internet mailer 
     4360dflt=y 
     4361case "$d_internet" in 
     4362"$undef") dflt=n;; 
     4363esac 
     4364cat <<EOM 
     4365  
     4366Most mailers can deliver mail to addresses of the INTERNET persuasion, 
     4367such as user@host.edu.  Some older mailers, however, require the complete 
     4368path to the destination to be specified in the address. 
     4369 
     4370EOM 
     4371rp="Does your mailer understand INTERNET addresses?" 
     4372. ./myread 
     4373case "$ans" in 
     4374y*) val="$define";; 
     4375*)  val="$undef";; 
     4376esac 
     4377set d_internet 
     4378eval $setvar 
    41744379 
    41754380echo " " 
     
    42984503: check sys/file.h first to get FREAD on Sun 
    42994504if $test "`./findhdr sys/file.h`" && \ 
    4300         $cc $cppflags "-DI_SYS_FILE" open3.c -o open3 >/dev/null 2>&1 ; then 
     4505        $cc $ccflags $ldflags "-DI_SYS_FILE" open3.c -o open3 $libs >/dev/null 2>&1 ; then 
    43014506    h_sysfile=true; 
    43024507    echo "<sys/file.h> defines the O_* constants..." >&4 
     
    43094514    fi 
    43104515elif $test "`./findhdr fcntl.h`" && \ 
    4311         $cc "-DI_FCNTL" open3.c -o open3 >/dev/null 2>&1 ; then 
     4516        $cc $ccflags $ldflags "-DI_FCNTL" open3.c -o open3 $libs >/dev/null 2>&1 ; then 
    43124517    h_fcntl=true; 
    43134518    echo "<fcntl.h> defines the O_* constants..." >&4 
     
    45504755fi 
    45514756 
     4757: see if socketpair exists 
     4758set socketpair d_sockpair 
     4759eval $inlibc 
     4760 
     4761: see if we have socklen_t. 
     4762echo " " 
     4763$cat >d_socklen.c <<EOCP 
     4764#include <sys/socket.h> 
     4765#include <stdio.h> 
     4766main() 
     4767{ 
     4768    socklen_t test = 1; 
     4769    printf("%d\n",test); 
     4770} 
     4771EOCP 
     4772if $cc $ccflags $ldflags d_socklen.c -o d_socklen $libs >/dev/null 2>&1; then 
     4773    val="$define" 
     4774    set d_socklen; eval $setvar 
     4775    echo "socklen_t works." 
     4776else 
     4777    val="$undef" 
     4778    set d_socklen; eval $setvar 
     4779    echo "socklen_t doesn't work. Using int." 
     4780fi 
    45524781: see if strcasecmp exists 
    45534782set strcasecmp d_strccmp 
     
    45654794set sysconf d_sysconf 
    45664795eval $inlibc 
     4796 
     4797: check for a new-style definitions 
     4798echo " " 
     4799$cat >test_textdomain.c <<'EOCP' 
     4800#ifdef I_LIBINTL 
     4801#include <libintl.h> 
     4802#endif 
     4803int main(int argc, char **argv) { 
     4804   return (int) textdomain (""); 
     4805} 
     4806EOCP 
     4807 
     4808if $cc $ccflags $ldflags -o test_textdomain test_textdomain.c $libs >/dev/null 2>&1 ; then 
     4809    d_textdomain='define' 
     4810    echo 'Mabuhay! You seem to have textdomain for translations.' >&4 
     4811else 
     4812    d_textdomain='undef' 
     4813    echo "You don't seem to have textdomain. Sayang." >&4 
     4814fi 
     4815$rm -f test_textdomain* core 
    45674816 
    45684817: see if timelocal exists 
     
    61026351d_bcopy='$d_bcopy' 
    61036352d_berknames='$d_berknames' 
     6353d_bindtextdomain='$d_bindtextdomain' 
    61046354d_bsd='$d_bsd' 
    61056355d_bsdsetpgrp='$d_bsdsetpgrp' 
     
    61106360d_fpsetmask='$d_fpsetmask' 
    61116361d_fpsetround='$d_fpsetround' 
     6362d_getadinf='$d_getadinf' 
     6363d_getdate='$d_getdate' 
     6364d_getnminf='$d_getnminf' 
    61126365d_getpagsz='$d_getpagsz' 
    61136366d_getprior='$d_getprior' 
    61146367d_gettblsz='$d_gettblsz' 
     6368d_gettext='$d_gettext' 
    61156369d_gnulibc='$d_gnulibc' 
    61166370d_huge='$d_huge' 
    61176371d_huge_val='$d_huge_val' 
    61186372d_ieee='$d_ieee' 
     6373d_in2p='$d_in2p' 
    61196374d_index='$d_index' 
    61206375d_int_max='$d_int_max' 
     6376d_internet='$d_internet' 
    61216377d_keepsig='$d_keepsig' 
    61226378d_lrand48='$d_lrand48' 
     
    61486404d_signalproto='$d_signalproto' 
    61496405d_socket='$d_socket' 
     6406d_socklen='$d_socklen' 
    61506407d_sockpair='$d_sockpair' 
    61516408d_strccmp='$d_strccmp' 
     
    61546411d_strdup='$d_strdup' 
    61556412d_sysconf='$d_sysconf' 
     6413d_sysctl='$d_sysctl' 
     6414d_sysctlbyname='$d_sysctlbyname' 
    61566415d_tcl='$d_tcl' 
     6416d_textdomain='$d_textdomain' 
    61576417d_timelocal='$d_timelocal' 
    61586418d_toupper='$d_toupper' 
     
    61936453i_fcntl='$i_fcntl' 
    61946454i_floatingpoint='$i_floatingpoint' 
     6455i_libintl='$i_libintl' 
    61956456i_limits='$i_limits' 
    61966457i_locale='$i_locale' 
  • 1.7.3/MANIFEST

    r258 r267  
    3333hdrs/mushdb.h 
    3434hdrs/mymalloc.h 
     35hdrs/mysocket.h 
    3536hdrs/oldattrb.h 
    3637hdrs/parse.h 
     
    8889src/mycrypt.c 
    8990src/mymalloc.c 
     91src/mysocket.c 
    9092src/parse.c 
    9193src/pcre.c 
     
    122124hints/aix.sh 
    123125hints/a-u-x.sh 
    124 hints/bsd386.sh 
    125126hints/dec_osf.sh 
    126127hints/freebsd.sh 
    127128hints/hpux.sh 
    128 hints/i386.sh 
    129129hints/irix.sh 
    130 hints/linux_0.sh 
    131 hints/linux_1.sh 
    132130hints/linux_2.sh 
    133131hints/next.sh 
     
    135133hints/solaris_2.sh 
    136134hints/sunos_4.sh 
    137 hints/svr4.sh 
    138135hints/ultrix.sh 
    139136hints/win32-gcc.sh 
     
    148145utils/update.pl 
    149146game/access.README 
     147game/getdate.README 
     148game/getdate.template 
     149game/restrict.cnf 
    150150game/mushcnf.dst 
    151151game/names.cnf 
     
    191191os2/Penn-OS2.htm 
    192192os2/config.h 
     193po/Makefile 
     194po/nl_NL.po 
     195po/ru_RU.po 
     196po/sv_SE.po 
     197po/pennmush.pot 
     198win32/README.txt 
     199win32/cmds.h 
     200win32/config.h 
     201win32/confmagic.h 
     202win32/funs.h 
     203win32/options.h 
     204win32/patches.h 
     205win32/pennmush.dsp 
     206win32/pennmush.dsw 
  • 1.7.3/Makefile.SH

    r263 r267  
    7979    (cd utils; sh mkcmds.sh) 
    8080 
    81 install: all 
     81install: localized all 
    8282    -rm -f game/netmush 
    8383    -rm -f game/mkindx 
     
    101101    utils/make_access_cnf.sh game 
    102102 
     103pennmush.pot: 
     104    (cd src; make ../po/pennmush.pot) 
     105 
     106localized: 
     107    -echo "Localizing for your locale..." 
     108    -(cd po; make localized) 
     109 
    103110portmsg: 
    104111    (cd src; make portmsg "CC=$(CC)" "CCFLAGS=$(CCFLAGS)" \ 
  • 1.7.3/Patchlevel

    r265 r267  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.7.3p3 
     2This is PennMUSH 1.7.3p4 
  • 1.7.3/README

    r258 r267  
    125125           +-> hints  
    126126           +-> os2 
    127            \-> utils  
     127           +-> utils  
     128           \-> win32  
    128129                
    129130 
     
    131132     The quickstart version of the installation is: 
    132133 
    133 1. On win32 only, install proper tools
     1341. On win32 only, install proper tools or read win32/README.txt
    1341352. sh Configure -d 
    1351363. create options.h, or make update 
     
    140141     Here's the process in detail: 
    141142 
    142 1. If you're running on win32 (either 95 or NT, that is), install 
    143 the cygwin32 unix emulation tools (available free from Cygnus at 
    144 http://www.cygnus.com/misc/gnu-win32/).  You'll want the entire 
    145 Cygnus Developer's Kit (cdk), notably including 'make' and 'patch'. 
    146 These are required for compiling PennMUSH.  Make sure you set up 
    147 your environment variables properly as discussed in the Kit's 
    148 installation instructions.  
     1431. If you're running on win32 (either 95 or NT, that is),  
     144you have two options: compile with MS VC++ or compile with 
     145the cygwin32 unix emulation tools. 
     146 
     147If you want to compile with MS VC++, follow the instructions 
     148in win32/README.txt and then skip down to step #6 below. 
     149 
     150If you want to compile with cygwin, install the cygwin32 
     151unix emulation tools (available free from Cygnus at 
     152http://www.cygnus.com/misc/gnu-win32/).  You'll want the entire Cygnus 
     153Developer's Kit (cdk), notably including 'make' and 'patch'.  These are 
     154required for compiling PennMUSH.  Make sure you set up your environment 
     155variables properly as discussed in the Kit's installation instructions. 
    149156 
    150157VERY IMPORTANT: The rest of the instructions assume that you have 
  • 1.7.3/config_h.SH

    r265 r267  
    6969#endif 
    7070 
    71 /* HAS_GETPAGESIZE: 
    72  *  This symbol, if defined, indicates that the getpagesize system call 
    73  *  is available to get system page size, which is the granularity of 
    74  *  many memory management calls. 
    75  */ 
    76 #$d_getpagsz HAS_GETPAGESIZE        /**/ 
    77  
    7871/* HAS_GETPRIORITY: 
    7972 *  This symbol, if defined, indicates that the getpriority routine is 
     
    8174 */ 
    8275#$d_getprior HAS_GETPRIORITY        /**/ 
     76 
     77/* INTERNET: 
     78 *  This symbol, if defined, indicates that there is a mailer available 
     79 *  which supports internet-style addresses (user@site.domain). 
     80 */ 
     81#$d_internet    INTERNET    /**/ 
    8382 
    8483/* HAS_MEMSET: 
     
    149148 *  supported. 
    150149 */ 
     150/* HAS_SOCKETPAIR: 
     151 *  This symbol, if defined, indicates that the BSD socketpair() call is 
     152 *  supported. 
     153 */ 
    151154#$d_socket HAS_SOCKET       /**/ 
     155#$d_sockpair HAS_SOCKETPAIR /**/ 
    152156 
    153157/* HAS_STRCASECMP: 
     
    432436#endif 
    433437 
     438/* HAS_BINDTEXTDOMAIN: 
     439 *  Defined if bindtextdomain is available(). 
     440 */ 
     441#$d_bindtextdomain HAS_BINDTEXTDOMAIN /**/ 
     442 
    434443/* HAS_CRYPT: 
    435444 *  This symbol, if defined, indicates that the crypt routine is available 
     
    456465#$i_floatingpoint I_FLOATINGPOINT       /**/ 
    457466 
     467/* HAS_GETADDRINFO: 
     468 *  This symbol, if defined, indicates that the getaddrinfo() routine is 
     469 *  available to lookup internet addresses in some data base or other. 
     470 */ 
     471#$d_getadinf HAS_GETADDRINFO        /**/ 
     472 
     473/* HAS_GETDATE: 
     474 *  This symbol, if defined, indicates that the getdate() routine is 
     475 *  available to convert date strings into struct tm's. 
     476 */ 
     477#$d_getdate HAS_GETDATE     /**/ 
     478 
     479/* HAS_GETNAMEINFO: 
     480 *  This symbol, if defined, indicates that the getnameinfo() routine is 
     481 *  available to lookup host names in some data base or other. 
     482 */ 
     483#$d_getnminf HAS_GETNAMEINFO        /**/ 
     484 
     485/* HAS_GETPAGESIZE: 
     486 *  This symbol, if defined, indicates that the getpagesize system call 
     487 *  is available to get system page size, which is the granularity of 
     488 *  many memory management calls. 
     489 */ 
     490/* PAGESIZE_VALUE: 
     491 *  This symbol holds the size in bytes of a system page (obtained via 
     492 *  the getpagesize() system call at configuration time or asked to the 
     493 *  user if the system call is not available). 
     494 */ 
     495#$d_getpagsz HAS_GETPAGESIZE     /**/ 
     496#define PAGESIZE_VALUE $pagesize /* System page size, in bytes */ 
     497 
     498/* HAS_GETTEXT: 
     499 *  Defined if gettext is available(). 
     500 */ 
     501#$d_gettext HAS_GETTEXT /**/ 
     502 
    458503/* HAS_HUGE_VAL: 
    459504 *  If defined, this system has the HUGE_VAL constant. We like this, 
     
    488533 */ 
    489534#$d_ieee HAS_IEEE_MATH /**/ 
     535 
     536/* HAS_INET_PTON: 
     537 *  This symbol, if defined, indicates that the inet_pton() and 
     538 *     inet_ntop() routines are available to convert IP addresses.. 
     539 */ 
     540#$d_in2p HAS_INET_PTON      /**/ 
    490541 
    491542/* SIGNALS_KEPT: 
     
    563614#$d_signalproto CAN_PROTOTYPE_SIGNAL    /**/ 
    564615 
     616/* HAS_SOCKLEN_T: 
     617 *  If defined, this system has the socklen_t type. 
     618 */ 
     619#$d_socklen HAS_SOCKLEN_T   /**/ 
     620 
    565621/* HAS_STRCHR: 
    566622 *  This symbol is defined to indicate that the strchr()/strrchr() 
     
    590646 */ 
    591647#$i_tcl I_TCL       /**/ 
     648 
     649/* HAS_TEXTDOMAIN: 
     650 *  Defined if textdomain is available(). 
     651 */ 
     652#$d_textdomain HAS_TEXTDOMAIN /**/ 
    592653 
    593654/* HAS_TIMELOCAL: 
     
    633694#$i_syserrno I_SYS_ERRNO        /**/ 
    634695 
     696/* I_LIBINTL: 
     697 *  This symbol, if defined, indicates to the C program that it can 
     698 *  include <libintl.h>. 
     699 */ 
     700#$i_libintl I_LIBINTL       /**/ 
     701 
    635702/* I_MEMORY: 
    636703 *  This symbol, if defined, indicates to the C program that it should 
  • 1.7.3/game/mushcnf.dst

    r265 r267  
    9393base_room 0 
    9494 
    95  
     95# What's the filename of the @sitelock file, that controls 
     96# who can connect and who can't 
     97access_file access.cnf     
     98 
     99# Where are the names you want to ban players from 
     100# creation/rename? A good idea to start with are swear words, 
     101# and features names like 'Luke', 'Merlin', 'Gandalf', 'Picard', 
     102# 'Lessa', 'Dracula', 'Hercules', 'Scooby', 'Nancy Drew', etc, 
     103# depending on what type of MUSH you are running 
     104names_file name.cnf 
     105   
    96106### 
    97107### Limits, costs, and other constants 
     
    219229warn_interval 3600 
    220230 
     231# If compiled with FLOATING_POINTS support, this controls the 
     232# decimal precision of numbers. Default is 6 digits after the 
     233# decimal point. 
     234float_precision 6 
     235 
    221236# The password that must be given to do an @logwipe. You must also 
    222237# be God, of course. CHANGE THIS. 
     
    244259# can set to warn players when the dump is 5 minutes away, 
    245260# 1 minute away, in progress, and finished. You can  
    246 # comment out whatever messages you don't want. 
     261# leave messages you don't want blank, but don't comment 
     262# them out or remove them from the file or you'll get the 
     263# default messages. 
    247264dump_warning_5min GAME: Database save in 5 minutes. 
    248265dump_warning_1min GAME: Database save in 1 minute. 
     
    267284register_create_file txt/register.txt 
    268285guest_file txt/guest.txt 
     286full_file txt/full.txt 
    269287 
    270288# The equivalent files in html, shown to Pueblo clients. 
     
    277295register_create_html_file txt/register.html 
    278296guest_html_file txt/guest.html 
     297full_html_file txt/full.html 
    279298 
    280299# the big text files and corresponding index files 
     
    581600 
    582601### 
    583 ### Restrictions on usage 
    584 ### 
    585  
    586 
    587 # Commands to restrict 
    588 # Syntax: restrict_command <command> <restriction> 
    589 # <restriction> is *one* of: 
    590 #   nobody      Totally disable the command 
    591 #   nogagged    Gagged players can't use it 
    592 #   nofixed     Fixed players can't use it 
    593 #   noguest     Guests can't use it 
    594 #   noplayer    Player objects can't use it (things, rooms, exits may) 
    595 #   admin       Must be roy or wiz to use it 
    596 #   wizard      Must be wiz to use it 
    597 #   god     Must be god to use it 
    598 # You can use multiple restrictions on the same command to restrict 
    599 # to, for example, nongagged nonguests, by using more than one 
    600 # restrict_command line for that command.  
    601  
    602 # Don't let guests mess with the database 
    603 # (This replaces the HARSH_GUEST compile-time define) 
    604 # The "ATTRIB_SET" command controls the setting of attributes with 
    605 #  @attr obj=value or &attr obj=value 
    606