phantasmal_dgd_v1/
phantasmal_dgd_v1/bin/
phantasmal_dgd_v1/doc/
phantasmal_dgd_v1/mud/doc/
phantasmal_dgd_v1/mud/doc/api/
phantasmal_dgd_v1/mud/doc/kernel/
phantasmal_dgd_v1/mud/doc/kernel/hook/
phantasmal_dgd_v1/mud/doc/kernel/lfun/
phantasmal_dgd_v1/mud/include/
phantasmal_dgd_v1/mud/include/kernel/
phantasmal_dgd_v1/mud/kernel/lib/
phantasmal_dgd_v1/mud/kernel/lib/api/
phantasmal_dgd_v1/mud/kernel/obj/
phantasmal_dgd_v1/mud/kernel/sys/
phantasmal_dgd_v1/mud/tmp/
phantasmal_dgd_v1/mud/usr/System/
phantasmal_dgd_v1/mud/usr/System/keys/
phantasmal_dgd_v1/mud/usr/System/obj/
phantasmal_dgd_v1/mud/usr/System/open/lib/
phantasmal_dgd_v1/mud/usr/common/data/
phantasmal_dgd_v1/mud/usr/common/lib/parsed/
phantasmal_dgd_v1/mud/usr/common/obj/telopt/
phantasmal_dgd_v1/mud/usr/common/obj/ustate/
phantasmal_dgd_v1/mud/usr/game/
phantasmal_dgd_v1/mud/usr/game/include/
phantasmal_dgd_v1/mud/usr/game/obj/
phantasmal_dgd_v1/mud/usr/game/object/
phantasmal_dgd_v1/mud/usr/game/object/stuff/
phantasmal_dgd_v1/mud/usr/game/sys/
phantasmal_dgd_v1/mud/usr/game/text/
phantasmal_dgd_v1/mud/usr/game/users/
phantasmal_dgd_v1/src/host/
phantasmal_dgd_v1/src/host/beos/
phantasmal_dgd_v1/src/host/mac/
phantasmal_dgd_v1/src/host/unix/
phantasmal_dgd_v1/src/host/win32/res/
phantasmal_dgd_v1/src/kfun/
phantasmal_dgd_v1/src/lpc/
phantasmal_dgd_v1/src/parser/
# define USERD			"/kernel/sys/userd"
# define LIB_CONN		("/kernel" + INHERITABLE_SUBDIR + "connection")
# define LIB_USER		("/kernel" + INHERITABLE_SUBDIR + "user")
# define LIB_WIZTOOL		("/kernel" + INHERITABLE_SUBDIR + "wiztool")
# define TELNET_CONN		("/kernel" + CLONABLE_SUBDIR + "telnet")
# define BINARY_CONN		("/kernel" + CLONABLE_SUBDIR + "binary")
# define API_USER		("/kernel" + INHERITABLE_SUBDIR + "api/user")

# define DEFAULT_USER		("/kernel" + CLONABLE_SUBDIR + "user")
# define DEFAULT_WIZTOOL	("/kernel" + CLONABLE_SUBDIR + "wiztool")
# define DEFAULT_USER_DIR	"/kernel/data"

# define MODE_DISCONNECT	0
# define MODE_NOECHO		1	/* telnet */
# define MODE_ECHO		2	/* telnet */
# define MODE_LINE		2	/* binary */
# define MODE_RAW		3	/* binary */
# define MODE_NOCHANGE		4	/* telnet + binary */
# define MODE_UNBLOCK		5	/* unblock to previous mode */
# define MODE_BLOCK		6	/* block input */

# define DEFAULT_TIMEOUT	120	/* two minutes */