MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | NAME |
| 2 | commandline |
| 3 | |
| 4 | DESCRIPTION |
| 5 | The driver understands several command line options and |
| 6 | arguments. |
| 7 | |
| 8 | -f<string>: When the master object is loaded and fully |
| 9 | operational after startup, the function flag() |
| 10 | with argument string is applied to the master |
| 11 | object for each occurence of -f in the command line. |
| 12 | |
| 13 | -o : run in compat mode (thus sometimes also called |
| 14 | -o mode), instead of native mode. Note: the flag |
| 15 | is obsolete by now, the driver must be compiled |
| 16 | with the appropriate definitions in the config.h |
| 17 | instead. |
| 18 | |
| 19 | -c : trace compilations. |
| 20 | |
| 21 | -Dsymbol : Globally pre-#define symbol for preprocessor. |
| 22 | |
| 23 | -D : without symbol, this logs specific trace messages |
| 24 | to /log/D_TRACE (if the driver was compiled for it) |
| 25 | |
| 26 | -e : The number of occurences of the -e flag is |
| 27 | passed as argument to the epilog() function |
| 28 | in the master at startup time. |
| 29 | |
| 30 | -N : Don't start the erq demon. |
| 31 | |
| 32 | -M<master>: provide a different name for the master object. |
| 33 | |
| 34 | -m<dir> : provide a different mudlib directory. |
| 35 | |
| 36 | -ru<size> : set the size of the reserved user memory. |
| 37 | -rm<size> : set the size of the reserved master memory. |
| 38 | -rs<size> : set the size of the reserved system memory. |
| 39 | |
| 40 | -E<cost> : set the maximum allowed evaluation cost. |
| 41 | |
| 42 | --max_malloced : set maximum size of mallocable memory chunks. |
| 43 | --max_small_malloced : set max. size of mallocable memory chunks. |
| 44 | |
| 45 | -u<port> : set the UDP port number for IMP communication. |
| 46 | |
| 47 | -t : disable heart_beat and reset. |
| 48 | |
| 49 | -d : run with debug. |
| 50 | |
| 51 | -s<time> : Set the time between swapout attempts. -1 means |
| 52 | don't swap. |
| 53 | |
| 54 | -y : If the driver has been compiled with YYDEBUG, |
| 55 | this will enable debug output for the LPC compiler. |
| 56 | |
| 57 | <number> : the TCP port number to use for user connections. |
| 58 | |
| 59 | SEE ALSO |
| 60 | flag(M), epilog(M), native(C), imp(C) |