[mw-devel] MW3 r1116 - in branches/nomud: . scripthelp src talkhelp

welshbyte at sucs.org welshbyte at sucs.org
Sun Dec 6 17:46:18 GMT 2009


Author: welshbyte
Date: 2009-12-06 17:46:17 +0000 (Sun, 06 Dec 2009)
New Revision: 1116

Removed:
   branches/nomud/mudhelp/
   branches/nomud/rooms/
   branches/nomud/scripthelp/mudexec
   branches/nomud/scripthelp/mudexits
   branches/nomud/scripthelp/mudmode
   branches/nomud/src/mud.c
   branches/nomud/src/mud.h
   branches/nomud/src/mudtable.c
   branches/nomud/src/mudtable.h
   branches/nomud/talkhelp/mudmode
Modified:
   branches/nomud/Makefile
   branches/nomud/src/Makefile
   branches/nomud/src/Parse.c
   branches/nomud/src/bb.h
   branches/nomud/src/chattable.c
   branches/nomud/src/completion.c
   branches/nomud/src/main.c
   branches/nomud/src/proto.h
   branches/nomud/src/rooms.c
   branches/nomud/src/scrcomplete.h
   branches/nomud/src/script_inst.c
   branches/nomud/src/script_inst.h
   branches/nomud/src/talker.c
   branches/nomud/src/talker.h
   branches/nomud/src/talker_privs.c
   branches/nomud/src/talker_privs.h
   branches/nomud/src/who.c
Log:
- Rip out all the stuff I could find relating to mudmode
- Source builds and runs as of this commit
- Debian package builds OK
- Need to check that it copes with upgrades from mw installs where mudmode was previously used


Modified: branches/nomud/Makefile
===================================================================
--- branches/nomud/Makefile	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/Makefile	2009-12-06 17:46:17 UTC (rev 1116)
@@ -5,7 +5,7 @@
 VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_TWEAK)
 
 # the non source files that should get installed
-INSTALLFILES = colour help login.banner mudhelp rooms scripthelp talkhelp wizhelp COPYING INSTALL LICENSE README
+INSTALLFILES = colour help login.banner scripthelp talkhelp wizhelp COPYING INSTALL LICENSE README
 
 ifndef TMPDIR
 rpm deb:

Deleted: branches/nomud/scripthelp/mudexec
===================================================================
--- branches/nomud/scripthelp/mudexec	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/scripthelp/mudexec	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1 +0,0 @@
-link boardexec
\ No newline at end of file

Deleted: branches/nomud/scripthelp/mudexits
===================================================================
--- branches/nomud/scripthelp/mudexits	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/scripthelp/mudexits	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,13 +0,0 @@
-Miscellaneous Instructions
-
-NAME
-     MUDEXITS - Returns a list of MUD exits for the current room
-
-SYNOPSIS
-     MUDEXITS variable
-
-DESCRIPTION
-     Returns a space-delimited list of MUD exits for the current room to
-     variable.
-
- 
\ No newline at end of file

Deleted: branches/nomud/scripthelp/mudmode
===================================================================
--- branches/nomud/scripthelp/mudmode	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/scripthelp/mudmode	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,9 +0,0 @@
-NAME
-     MUDMODE - Turn mudmode on or off
-
-SYNOPSIS
-     MUDMODE <ON | OFF>
-
-DESCRIPTION
-     Equivalent to talker command .mudmode <on | off>.
-

Modified: branches/nomud/src/Makefile
===================================================================
--- branches/nomud/src/Makefile	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/Makefile	2009-12-06 17:46:17 UTC (rev 1116)
@@ -98,7 +98,7 @@
 newmain.o init.o talker.o talker_privs.o colour.o bork.o rooms.o alarm.o\
 topten.o sort.o tidyup.o gags.o script_inst.o script.o\
 incoming.o command.o chattable.o alias.o frl.o hash.o vars.o expand.o\
-mud.o mudtable.o files.o completion.o sentinel.o iconv.o gagtable.o \
+files.o completion.o sentinel.o iconv.o gagtable.o \
 js.o sqlite.o ipc.o log.o uri.o
 	$(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^
 
@@ -121,7 +121,7 @@
 test:
 	make TESTDIR=$(CURDIR)/mwtest $@
 else
-TESTFILES=../colour ../help ../login.banner ../mudhelp ../rooms ../scripthelp ../talkhelp ../wizhelp
+TESTFILES=../colour ../help ../login.banner ../rooms ../scripthelp ../talkhelp ../wizhelp
 test:
 	mkdir -p $(TESTDIR)
 	cd $(TESTDIR) && mkdir -p mw run/mw log/mw lib/mw

Modified: branches/nomud/src/Parse.c
===================================================================
--- branches/nomud/src/Parse.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/Parse.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -11,7 +11,6 @@
 extern unsigned long rights;
 extern CommandList table[];
 extern CommandList chattable[];
-extern CommandList mudtable[];
 extern struct person *user;
 extern long userposn;
 
@@ -270,8 +269,6 @@
 	printf("Command '%s' not found.",dowhat);
 	if (backup==chattable)
 		printf(" Use %chelp for a list of commands.\n", CMD_TALK_CHAR);
-	else if (backup==mudtable)
-		printf(" Use %chelp for a list of commands.\n", CMD_MUD_CHAR);
 	else if (!cm_flags(user->chatmode, CM_ONCHAT, CM_MODE_ALL))
 		printf(" Use help for a list of commands.\n");
 	else

Modified: branches/nomud/src/bb.h
===================================================================
--- branches/nomud/src/bb.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/bb.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -37,7 +37,6 @@
 #define WIZHELP		"wizhelp"
 #define SCRIPTHELP	"scripthelp"
 #define TALKHELP	"talkhelp"
-#define MUDHELPDIR	"mudhelp"
 
 #define USERSQL		"users.db"
 #define USERDB_PRIVATE	"private"
@@ -52,8 +51,6 @@
 #define TRUE 		!FALSE
 #define SETALLLONG 	0xFFFFFFFF
 
-#define CMD_MUD_CHAR	'['
-#define CMD_MUD_STR	"["
 #define CMD_BOARD_CHAR	'!'
 #define CMD_BOARD_STR	"!"
 #define CMD_TALK_CHAR	'.'

Modified: branches/nomud/src/chattable.c
===================================================================
--- branches/nomud/src/chattable.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/chattable.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -17,7 +17,6 @@
 	  80 = summon
 	 100 = spy
 	 200 = script
-	 400 = mud
 	 800 = SU
 	1000 = Advanced Scripts
 	2000 = Developer Mode
@@ -48,7 +47,6 @@
 {"load"		,0x0200	,1, "Usage: load <file>", "Load script from file", t_load, 1},
 {"kick"		,0x0804	,1, "Usage: kick <user> [reason]", "Eject user from talker, ignoring protection", t_kick, 1},
 {"mrod"		,0x0008	,1, "Usage: mrod <user> [reason]", "Eject user from the BBS", t_mrod, 1},
-{"mudmode"	,0x0000	,1, "Usage: mudmode <on|off>", "Toggle MUD Mode - allow MUD extensions", t_mudmode, 1},
 {"mwrc"		,0x0200	,0, "Usage: mwrc [filename]", "Set/View your mwrc startup file", t_mwrc, 1},
 {"notsayto"	,0x0003	,2, "Usage: notsayto <user> <message>", "Talk normally but exclude a single user", t_notsayto, 1},
 {"protect"	,0x0020	,1, "Usage: protect <user> [level]", "Protect user from harm [to optional level]", t_protect, 1},

Modified: branches/nomud/src/completion.c
===================================================================
--- branches/nomud/src/completion.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/completion.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -8,7 +8,6 @@
   modes:	0 - commands
   		1 - talker commands
   		2 - script function
-  		3 - mud command
   farg:		argument you want to tab-complete
   larg:		argument to tab-complete to (-1 for all)
 */

Modified: branches/nomud/src/main.c
===================================================================
--- branches/nomud/src/main.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/main.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -26,8 +26,6 @@
 
 #include "talker.h"
 #include "chattable.h"
-#include "mud.h"
-#include "mudtable.h"
 #include "completion.h"
 
 #include <readline/readline.h>
@@ -110,7 +108,6 @@
 
 /* readline stuff */
 int UseRL=0;
-char *list_mudcommands(const char *text, int state);
 char *list_commands(const char *text, int state);
 char *list_chat_commands(const char *text, int state);
 char *dummy_list(const char *text, int state);
@@ -749,34 +746,7 @@
 	else
 	{
 		if (cm_flags(user->chatmode,CM_ONCHAT,CM_MODE_ANY)) 
-		{
-			if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY))
-			{	
-				if (myroom.name!=NULL)
-				{
-					if (myroom.hidden>0)
-					{
-						if (myroom.prompt!=NULL)
-							snprintf(prompt,40, "%s%s}-* ",pre,myroom.prompt);
-						else
-							snprintf(prompt,40, "%s%s}-* ",pre,myroom.name);
-					}
-					else if (cm_flags(user->chatmode,CM_VERBOSE,CM_MODE_ALL))
-					{
-						if (myroom.prompt!=NULL)
-							snprintf(prompt,40, "%s%s,%d}-* ",pre,myroom.prompt,user->room);
-						else
-							snprintf(prompt,40, "%stalk{%d}-* ",pre,user->room);
-					}
-					else
-						snprintf(prompt,40, "%stalk{%d}-* ",pre,user->room);
-				}
-				else
-					snprintf(prompt,40, "%stalk{%d}-* ",pre,user->room);
-			}
-			else
-				snprintf(prompt,40, "%stalk{%d}-* ",pre,user->room);
-		}
+			snprintf(prompt,40, "%stalk{%d}-* ",pre,user->room);
 		else
 		if (u_god(user->status))
 			snprintf(prompt,40,"%s{%s}---* ",pre,fold->name);
@@ -873,11 +843,6 @@
 		{
 			set_talk_rights();
 			DoScript(&comm[1]);
-		}else
-		if (comm[0]==CMD_MUD_CHAR && cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY))
-		{
-			set_talk_rights();
-			c=DoCommand(&comm[1], mudtable);
 		}else {
 			char *event_name=NULL;
 			script_output=1;
@@ -1570,13 +1535,6 @@
 			tct = chattable;
 			set_talk_rights();
 		}else
-		if (rl_line_buffer[0]==CMD_MUD_CHAR && cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY))
-		{
-			strcpy(line, &rl_line_buffer[1]);
-			tct = mudtable;
-			mode=3;
-			set_talk_rights();
-		}else
 		if (rl_line_buffer[0]==CMD_SCRIPT_CHAR && cp_flags(user->chatprivs,CP_SCRIPT,CM_MODE_ANY))
 		{
 			strcpy(line, &rl_line_buffer[1]);
@@ -1611,8 +1569,6 @@
 			matches=rl_completion_matches(text, list_commands);
 		else if (mode==1)
 			matches=rl_completion_matches(text, list_chat_commands);
-		else if (mode==3)
-			matches=rl_completion_matches(text, list_mudcommands);
 		else
 			matches = rl_completion_matches(text, list_bind_rl);
 	}else if (mode==2)
@@ -1699,7 +1655,7 @@
 			}
 		}
 	}
-	else if ((mode==0) || (mode==1) || (mode==3 && cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY)))
+	else if ((mode==0) || (mode==1))
 	{
 		/* not a command name, or script, so check number of arguments.
 		   if not an argument we wish to tab-complete, then dont :) */
@@ -1847,35 +1803,6 @@
 	return(NULL);
 }	
 
-/* tab completion feature for mud commands */
-char *list_mudcommands(const char *text, int state)
-{
-	static int index, len;
-	char *name;
-	char *rtext;
-
-	if (state==0)
-	{
-		index=0;
-		len=strlen(text)-1;
-	}
-
-	rtext = strdup(&text[1]);
-
-	while ((name=mudtable[index].Command)!=NULL)
-	{
-		if (!strncasecmp(name, rtext, len))
-		{
-			free(rtext);
-			index++;
-			return (dupstr(name, CMD_MUD_STR));
-		}
-		index++;
-	}
-	free(rtext);
-	return(NULL);
-}	
-
 /* tab completion feature for talker commands */
 char *list_chat_commands(const char *text, int state)
 {

Deleted: branches/nomud/src/mud.c
===================================================================
--- branches/nomud/src/mud.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/mud.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,229 +0,0 @@
-#include <stdio.h>
-#include <signal.h>
-#include <string.h>
-#include <fcntl.h>
-#include <sys/wait.h>
-#include <arpa/telnet.h>
-#include <ctype.h>
-
-#include "bb.h"
-#include "Parse.h"
-#include "talker_privs.h"
-#include "special.h"
-#include "proto.h"
-#include "talker.h"
-#include "mud.h"
-#include "gags.h"
-#include "strings.h"
-
-#include "rooms.h"
-
-extern int busy; /* if true dont display messages  i.e. during new/write */
-extern unsigned long rights;
-
-extern struct person *user;
-extern struct folder *fold;
-extern long userposn;
-extern unsigned long loggedin; 
-extern int quietmode;
-
-extern struct room myroom;
-extern DirInfo *roomlink;
-
-extern GagInfo gaglist[];
-
-/* ignore list for current user */
-extern struct IgnoreList *ignored;
-
-extern CommandList mudtable[];
-
-void help_list(CommandList *cm, unsigned int hidestuff);
-
-
-void room_msg(int result)
-{
-	switch(result)
-	{
-	case 0:
-		/* success */
-		break;
-	case 1:
-		display_message(_("You cannot find that room"), 1, 1);
-		break;
-	case 2:
-		display_message(_("Sorry. You're frozen and can't change rooms."), 1, 1);
-		break;
-	case 3:
-		display_message(_("Sorry, you cannot go in that direction.\n"), 1, 1);
-		break;
-	case 4:
-		display_message(_("Invalid Room ID (0-65535 only)"), 1, 1);
-		break;
-	default:
-		display_message(_("Undefined Error changing room"), 1, 1);
-		break;
-	}
-}
-
-void m_north(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("north", 0));
-}
-
-void m_northeast(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("northeast", 0));
-}
-
-void m_east(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("east", 0));
-}
-
-void m_southeast(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("southeast", 0));
-}
-
-void m_south(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("south", 0));
-}
-
-void m_southwest(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("southwest", 0));
-}
-
-void m_west(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("west", 0));
-}
-
-void m_northwest(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("northwest", 0));
-}
-
-void m_up(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("up", 0));
-}
-
-void m_down(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("down", 0));
-}
-
-void m_in(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("in", 0));
-}
-
-void m_out(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_msg(ChangeRoom("out", 0));
-}
-
-void m_look(CommandList *cm, int argc, char **argv, char *args)
-{
-	if (myroom.name != NULL) RoomLook(&myroom, 1); else RoomLook(NULL, 1);
-}
-
-void m_users(CommandList *cm, int argc, char **argv, char *args)
-{
-	room_who_list();
-}
-
-void m_help(CommandList *cm, int argc, char **argv, char *args)
-{
-	if (argc > 1)
-		mud_help(argv[1]);
-	else
-		help_list(mudtable, 1);
-}
-
-
-void mud_help(char *args)
-{
-	CommandList	*c;
-	char		*x;
-	int		found=FALSE;
-
-	if (args!=NULL && (strchr(args,'.')!=NULL || strchr(args,'/')!=NULL))
-	{
-		printf(_("Sorry, no help available on that subject.\n"));
-		return;
-	}
-
-	if (args==NULL)
-	{
-		x = makepath(MUDHELPDIR,"/","general");
-		if (!access(x,00))
-			printfile(x);
-		else
-			printf(_("No general help available for talker commands.\n"));
-	}else
-	{
-		/* find the command in the list */
-		c = mudtable;
-		while (c->Command && strcasecmp(c->Command, args)) c++;
-
-		/* do a permissions check */
-		if (c->Command)
-		{
-			if ((rights & c->Rights) != c->Rights)
-			{
-				printf(_("Sorry, no help available on that subject.\n"));
-				return;
-			}
-		}
-
-		/* display the file */
-		x=makepath(MUDHELPDIR,"/",args);
-		if (!access(x,00))
-		{
-			printfile(x);
-			found=TRUE;
-		}
-		if (!found) printf(_("Sorry, no help available on that subject.\n"));
-	}
-}
-
-
-void m_verbose(CommandList *cm, int argc, char **argv, char *args)
-{
-	int		z=BoolOpt(argv[1]);
-	unsigned long	global=cm_flags(user->chatmode,CM_VERBOSE,CM_MODE_ALL);
-
-	if (z==1)
-	{
-		if (!global)
-		{
-			user->chatmode=cm_flags(user->chatmode,CM_VERBOSE,CM_MODE_SET);
-			display_message(_("MUD navigation is Verbosed."), 1, 1);
-		}else
-			display_message(_("Already in verbose mode."), 1, 1);
-	}else
-	if (z==0)
-	{
-		if (global)
-		{
-			user->chatmode=cm_flags(user->chatmode,CM_VERBOSE,CM_MODE_CLEAR);
-			display_message(_("MUD navigation is Brief."), 1, 1);
-		}else
-			display_message(_("Already in brief mode."), 1, 1);
-	}else
-		printf("%s\n",cm->ArgError);
-	update_user(user,userposn);
-}
-
-
-void m_rreload(CommandList *cm, int argc, char **argv, char *args)
-{
-	printf(_("Attempting to reload room %d... "), user->room);
-	RoomDestroy(&myroom);
-	RoomInit(&myroom);
-	printf("%s\n", LoadRoom(&myroom, user->room)?_("OK"):_("Failed"));
-}
-

Deleted: branches/nomud/src/mud.h
===================================================================
--- branches/nomud/src/mud.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/mud.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,23 +0,0 @@
-#include "Parse.h"
-
-/* talker.c */
-void m_north(CommandList *cm, int argc, char **argv, char *args);
-void m_northeast(CommandList *cm, int argc, char **argv, char *args);
-void m_east(CommandList *cm, int argc, char **argv, char *args);
-void m_southeast(CommandList *cm, int argc, char **argv, char *args);
-void m_south(CommandList *cm, int argc, char **argv, char *args);
-void m_southwest(CommandList *cm, int argc, char **argv, char *args);
-void m_west(CommandList *cm, int argc, char **argv, char *args);
-void m_northwest(CommandList *cm, int argc, char **argv, char *args);
-void m_in(CommandList *cm, int argc, char **argv, char *args);
-void m_out(CommandList *cm, int argc, char **argv, char *args);
-void m_up(CommandList *cm, int argc, char **argv, char *args);
-void m_down(CommandList *cm, int argc, char **argv, char *args);
-void m_look(CommandList *cm, int argc, char **argv, char *args);
-void m_users(CommandList *cm, int argc, char **argv, char *args);
-void m_help(CommandList *cm, int argc, char **argv, char *args);
-void m_rreload(CommandList *cm, int argc, char **argv, char *args);
-void m_verbose(CommandList *cm, int argc, char **argv, char *args);
-
-
-void mud_help(char *args);

Deleted: branches/nomud/src/mudtable.c
===================================================================
--- branches/nomud/src/mudtable.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/mudtable.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,38 +0,0 @@
-#include <stdlib.h>
-#include "Parse.h"
-#include "mudtable.h"
-
-/* command string table, whilst in talker mode
- * "command", perms, #args, usage, descr, function, showable
- * privs: NOT APPLICABLE - 0x0000
- */
-
-CommandList mudtable[]={
-/* name, privs, argc, usage, help, function, visible */
-{"down"		,0x0000 ,0 ,"Usage: down" ,"Move down", m_down, 1},
-{"e"		,0x0000 ,0 ,"Usage: e" ,"Move east", m_east, 0},
-{"east"		,0x0000	,0 ,"Usage: east" ,"Move east", m_east, 1},
-{"help"		,0x0000	,0, "Usage: help", "List of available commands", m_help, 1},
-{"in"		,0x0000 ,0 ,"Usage: in" ,"Move in", m_in, 1},
-{"look"		,0x0000 ,0 ,"Usage: look", "Shows Current Room Description", m_look, 1},
-{"n"		,0x0000	,0 ,"Usage: n" ,"Move north", m_north, 0},
-{"ne"		,0x0000	,0 ,"Usage: ne" ,"Move northeast", m_northeast, 0},
-{"north"	,0x0000	,0 ,"Usage: north" ,"Move north", m_north, 1},
-{"northeast"	,0x0000	,0 ,"Usage: northeast" ,"Move northeast", m_northeast, 1},
-{"northwest"	,0x0000	,0 ,"Usage: northwest" ,"Move northwest", m_northwest, 1},
-{"nw"		,0x0000	,0 ,"Usage: nw" ,"Move northwest", m_northwest, 0},
-{"out"		,0x0000 ,0 ,"Usage: out" ,"Move out", m_out, 1},
-{"rreload"      ,0x2400 ,0, "Usage: rreload", "Reloads the current room file", m_rreload, 1},
-{"s"		,0x0000	,0 ,"Usage: s" ,"Move south", m_south, 0},
-{"se"		,0x0000	,0 ,"Usage: se" ,"Move southeast", m_southeast, 0},
-{"south"	,0x0000	,0 ,"Usage: south" ,"Move south", m_south, 1},
-{"southeast"	,0x0000	,0 ,"Usage: southeast" ,"Move southeast", m_southeast, 1},
-{"southwest"	,0x0000	,0 ,"Usage: southwest" ,"Move southwest", m_southwest, 1},
-{"sw"		,0x0000	,0 ,"Usage: sw" ,"Move southwest", m_southwest, 0},
-{"u"		,0x0000 ,0 ,"Usage: u" ,"Move up", m_up, 0},
-{"up"		,0x0000 ,0 ,"Usage: up" ,"Move up", m_up, 1},
-{"users"	,0x0000 ,0 ,"Usage: users" ,"Shows the Users in the Current Room", m_users, 1},
-{"verbose"      ,0x0400 ,1, "Usage: verbose <on|off>", "Turns auto-look on and off in MUD navigation", m_verbose, 1},
-{"west"		,0x0000	,0 ,"Usage: west" ,"Move west", m_west, 1},
-{NULL		,0x0000	,0 ,"", "", NULL, 1}
-};

Deleted: branches/nomud/src/mudtable.h
===================================================================
--- branches/nomud/src/mudtable.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/mudtable.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,8 +0,0 @@
-#include "mud.h"
-#include "talker.h"
-#include "Parse.h"
-
-/* command string table, whilst in talker mode */
-extern CommandList mudtable[];
-
-/* Now defined in mudtable.c */

Modified: branches/nomud/src/proto.h
===================================================================
--- branches/nomud/src/proto.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/proto.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -45,7 +45,6 @@
 void list_matches(char **a);
 char *list_commands(const char *text, int state);
 char *list_chat_commands(const char *text, int state);
-char *list_mudcommands(const char *text, int state);
 char *find_folder(const char *text, int state);
 int word_count(char *text);
 char *part_who(const char *text, int status);
@@ -213,7 +212,6 @@
 void chat_sayto(char *to,char *text, int exclude);
 void set_talk_rights(void);
 void talk_send(char *text, int state, int channel);
-void talk_send_mud(char *text, char *mudtext, int state, int channel);
 void talk_single(char *to, char *text);
 void talk_sayto(char *text, char *to, int channel, int exclude);
 void apply_gag(char *text);

Modified: branches/nomud/src/rooms.c
===================================================================
--- branches/nomud/src/rooms.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/rooms.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -658,128 +658,16 @@
  */
 int ChangeRoom(char *room, int quiet)
 {
-	struct room rm, tmp;
-	DirInfo *temprl;
-	int indx;
-	int loaded;
+	struct room tmp;
 	int i;
 	unsigned short oldroom = user->room;
-	char buff[MAXTEXTLENGTH], mbuff[MAXTEXTLENGTH];
+	char buff[MAXTEXTLENGTH];
 
 	if (cm_flags(user->chatmode,CM_FROZEN,CM_MODE_ANY))
 	{
 		return(2);
 	}
 
-	if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY))
-	{
-		RoomInit(&rm);
-		if (LoadRoom(&rm, user->room))
-		{
-			int where=-1;
-			char *link=NULL;
-			char *enter=NULL;
-			char *leave=NULL;
-			char *leaving=NULL;
-
-			indx=0;
-			temprl=roomlink;
-			while (temprl!=NULL)
-			{
-				char *temp;
-				if (rm.dirdef[indx]!=NULL)
-					temp = strdup(rm.dirdef[indx]);
-				else
-					temp = strdup(temprl->link);
-				if (!strcasecmp(temp, room))
-				{
-					if (rm.dir[indx] >= 0)
-					{
-						where=rm.dir[indx];
-						if (rm.todef[indx]==NULL)
-							leave=strdup(temprl->to);
-						else
-							leave=strdup(rm.todef[indx]);
-						if (rm.fromdef[indx]==NULL)
-							enter=strdup(temprl->from);
-						else
-							enter=strdup(rm.fromdef[indx]);
-						if (rm.leavedef[indx]==NULL)
-							leaving=strdup(temprl->leaving);
-						else
-							leaving=strdup(rm.leavedef[indx]);
-						if (rm.link[indx]!=NULL) link=strdup(rm.link[indx]);
-					} else {
-						RoomDestroy(&rm);
-						free(temp);
-						return(3);
-					}
-				}
-				free(temp);
-				indx++;
-				temprl=temprl->next;
-			}
-
-			if (leave!=NULL)
-			{
-				RoomInit(&tmp);
-				if (!LoadRoom(&tmp, where))
-				{
-					tmp.name=strdup("a Nameless Void");
-					loaded = 0;
-				}
-				else loaded = 1;
-
-				snprintf(buff,MAXTEXTLENGTH-1,"\03312%s has arrived in room %d",user->name,where);
-				snprintf(mbuff,MAXTEXTLENGTH-1,"\03312%s has %s from %s",user->name,enter,room_name(rm, where));
-				if (!quiet) talk_send_raw(buff,where); /*talk_send_mud(buff,mbuff,2,where);*/
-				user->room=(unsigned short)where;
-				update_user(user,userposn);
-
-				RoomDestroy(&myroom);
-				RoomInit(&myroom);
-				LoadRoom(&myroom, user->room);
-
-				snprintf(buff,MAXTEXTLENGTH-1,"\03313%s has left to room %d",user->name,user->room);
-				snprintf(mbuff,MAXTEXTLENGTH-1,"\03313%s has %s to %s",user->name,leave,room_name(tmp, oldroom));
-				if (!quiet) talk_send_raw(buff,where); /*talk_send_mud(buff,mbuff,2,oldroom);*/
-
-				snprintf(buff,MAXTEXTLENGTH-1,"\03316Leaving %s %s to %s", rm.name, leaving, tmp.name);
-				if (!quiet) { display_message(buff, 1, 1); }
-
-				if (link!=NULL)
-				{
-					char *a;
-					char *backup = link;
-
-					a = strtok(link, "\n");
-					while (a!=NULL)
-					{
-						snprintf(buff, MAXTEXTLENGTH-1, "\03320%s", a);
-						if (!quiet) { display_message(buff, 1, 1); }
-						a = strtok(NULL, "\n");
-					}
-					free(backup);
-				}
-
-				if (cm_flags(user->chatmode,CM_VERBOSE,CM_MODE_ALL))
-				{
-					if (loaded) RoomLook(&tmp, 0); else RoomLook(NULL, 0);
-				}
-
-				free(enter);
-				free(leave);
-				free(leaving);
-
-				RoomDestroy(&tmp);
-				RoomDestroy(&rm);
-
-				return(0);
-			}
-		}
-		RoomDestroy(&rm);
-	}
-
 	i = 0;
 	if (isanum(room, &i, 1))
 	{
@@ -790,11 +678,7 @@
 			{
 				int found = 1;
 
-				if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY))
-				{
-					if (tmp.hidden>0 || tmp.locked>0) found = 0;
-				}
-				else if (tmp.locked>0) found = 0;
+				if (tmp.locked>0) found = 0;
 
 				if (!found)
 				{

Modified: branches/nomud/src/scrcomplete.h
===================================================================
--- branches/nomud/src/scrcomplete.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/scrcomplete.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -9,7 +9,6 @@
 {"boardexec"	,list_commands},
 {"exec"		,list_chat_commands},
 {"script"	,list_script},
-{"mud"		,list_mudcommands},
 {"null"		,NULL},
 {NULL		,NULL}
 };

Modified: branches/nomud/src/script_inst.c
===================================================================
--- branches/nomud/src/script_inst.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/script_inst.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -15,7 +15,6 @@
 #include "special.h"
 #include "command.h"
 #include "chattable.h"
-#include "mudtable.h"
 #include "alarm.h"
 #include "rooms.h"
 #include "alias.h"
@@ -79,9 +78,6 @@
 { "lt",		0x0000, 2, "Less than comparison check (<)", scr_compare },
 { "makestr",	0x0000, 3, "Create a string of multiple identical characters", scr_makestr },
 { "mod",	0x0000, 2, "Numerical modulus", scr_math },
-{ "mudexec",	0x0400, -1, "Feed command to mud command parser", scr_exec },
-{ "mudexits",	0x0400, 1, "Returns a list of MUD exits from the current room", scr_mudexit },
-{ "mudmode",	0x0000, 1, "Turn MUD mode ON or OFF", scr_mudmode },
 { "mul",	0x0000, 2, "Numerical multiply", scr_math },
 { "ne",		0x0000, 2, "Not equals comparison check (!=)", scr_compare },
 { "nprint",	0x0000, 1, "Print text to screen without newline appended", scr_print },
@@ -132,7 +128,7 @@
 { "userroom",	0x0000, 2, "Gets the room number of the specified user", scr_roomnum },
 { "version",	0x0000, 1, "Gets the milliways version string", scr_version },
 { "whenami",	0x0000, 1, "Gets the current timestamp (HH:MM)", scr_time },
-{ "whereami",	0x0000, 1, "Unless lost in MUD mode, gets your room number", scr_roomnum },
+{ "whereami",	0x0000, 1, "Gets your room number", scr_roomnum },
 { "whoami",	0x0000, 1, "Gets your username", scr_user },
 { "wholist",	0x0000, 1, "Gets a list of users currently on the talker", scr_wholist },
 { "xor",	0x0000, 2, "Bitwise XOR", scr_math },
@@ -353,37 +349,6 @@
 	free(what);
 }
 
-void scr_mudmode( struct code *pc, int fargc, char **fargv )
-{
-	char *what;
-	int i;
-
-	if (pc->argc != 1) {
-		if (script_debug) printf("Error in %s at %s, incorrect number of arguments.\n", pc->inst->name, pc->debug);
-		return;
-	}
-	what=eval_arg(pc->argv[0], fargc, fargv);
-	
-	if ((i=BoolOpt(what))==-1)
-	{
-		if (script_debug) printf("- MUDMODE: Error, invalid argument\n");
-	}
-	else
-	{
-		if (i) {
-			user->chatprivs=cp_flags(user->chatprivs,CP_MUD,CM_MODE_SET);
-			if (script_debug) printf("- MUDMODE: Mudmode enabled\n");
-		} else {
-			user->chatprivs=cp_flags(user->chatprivs,CP_MUD,CM_MODE_CLEAR);
-			if (script_debug) printf("- MUDMODE: Mudmode disabled\n");
-		}
-		update_user(user,userposn);
-	}
-
-	free(what);
-
-}
-
 void scr_wholist( struct code *pc, int fargc, char **fargv )
 {
 	struct person u2;
@@ -459,8 +424,8 @@
 		}
 		else
 		{
-			/* if have the global script priv, or not mudmode, then will always return your room number */
-			if (cm_flags(user->chatprivs, CP_CANGLOBAL, CM_MODE_ALL) || !cm_flags(user->chatprivs, CP_MUD, CM_MODE_ALL))
+			/* if have the global script priv, then will always return your room number */
+			if (cm_flags(user->chatprivs, CP_CANGLOBAL, CM_MODE_ALL))
 			{
 				snprintf(rn, 9, "%d", user->room);
 			}
@@ -518,14 +483,6 @@
 					if (cm_flags(u2.chatmode,CM_ONCHAT,CM_MODE_ANY))
 					{
 						rnum = u2.room;
-						if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ALL))
-						{
-							if (myroom.name != NULL)
-							{
-								if (myroom.hidden>0 && u2.room==user->room) rnum = -1;
-							}
-						}
-
 						snprintf(rn, 9, "%d", rnum);
 					}
 				}
@@ -540,62 +497,6 @@
 	free(what);
 }
 
-void scr_mudexit( struct code *pc, int fargc, char **fargv )
-{
-	char *what;
-	char *exits;
-	
-	if (pc->argc < 1) {
-		if (script_debug) printf("Error in %s at %s too few arguments.\n", pc->inst->name, pc->debug); 
-		return;
-	}
-	what=eval_arg(pc->argv[0], fargc, fargv);
-	exits = strdup("");
-
-	/* only calculate exits if on the talker */
-	if (cm_flags(user->chatmode, CM_ONCHAT, CM_MODE_ANY))
-	{
-		/* only add exits, if in mudmode */
-		if (cm_flags(user->chatprivs, CP_MUD, CM_MODE_ALL))
-		{
-			/* only return exits if a room is loaded */
-			if (myroom.name != NULL)
-			{
-				DirInfo *temp;
-				int i;
-				int count;
-
-				/* go through all available room directions */
-				i = 0;
-				temp = roomlink;
-				count=0;
-				while(temp!=NULL)
-				{
-					/* if direction is linked, and not 'invisible' */
-					if (myroom.dir[i] >= 0 && myroom.hidedir[i] < 1)
-					{
-						/* grab name, or redefined name */
-						if (count) string_add(&exits, " ");
-						if (myroom.dirdef[i]!=NULL)
-							string_add(&exits, myroom.dirdef[i]);
-						else
-							string_add(&exits, temp->link);
-						count++;
-					}
-					i++;
-					temp=temp->next;
-				}
-			}
-		}
-	}
-
-	if (script_debug) printf("- %s: visible exits: %s\n", pc->inst->name, strcmp(exits, "")?exits:"(none)");
-
-	var_str_force_2(what, strdup(exits));
-	free(what);
-	free(exits);
-}
-
 void scr_talkpriv( struct code *pc, int fargc, char **fargv )
 {
 	char *what;
@@ -611,7 +512,6 @@
 	/* Empty string "" means no privs. For every extra priv/mode available, the following character is added:
 	 *  T     - Timestamps enabled
 	 *  F     - Force
-	 *  M     - Mudmode enabled
 	 *  B     - Beeps on
 	 *  S     - Superuser
 	 *  <a-z> - chatmodes
@@ -620,7 +520,6 @@
 	mask &= ~(CM_ONCHAT);
 	mask &= ~(CM_STICKY);
 	if (s_timestamp(user->special)) buff = strdup("T"); else buff = strdup("");
-	if (cm_flags(user->chatprivs, CP_MUD, CM_MODE_ALL)) string_add(&buff, "M");
 	if (!u_beep(user->status)) string_add(&buff, "B");
 	if (u_god(user->status)) string_add(&buff, "S");
 	string_add(&buff, display_cmflags(user->chatmode & mask));
@@ -662,10 +561,6 @@
 			if (script_debug) printf("Error in function '%s' at %s invalid instruction execution.\n", pc->inst->name, pc->debug);
 		}
 	}
-	else if (!strcasecmp(pc->inst->name, "mudexec"))
-	{
-		if (cm_flags(user->chatmode, CM_ONCHAT, CM_MODE_ANY)) DoCommand(p, mudtable);
-	};
 
 	free(p);
 }

Modified: branches/nomud/src/script_inst.h
===================================================================
--- branches/nomud/src/script_inst.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/script_inst.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -23,8 +23,6 @@
 void scr_makestr( struct code *, int, char **);
 void scr_math( struct code *, int, char **);
 void scr_math2( struct code *, int, char **);
-void scr_mudexit( struct code *, int, char **);
-void scr_mudmode( struct code *, int, char **);
 void scr_output( struct code *, int, char **);
 void scr_print( struct code *, int, char **);
 void scr_qignore( struct code *, int, char **);

Modified: branches/nomud/src/talker.c
===================================================================
--- branches/nomud/src/talker.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/talker.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -277,10 +277,7 @@
 
 void t_who(CommandList *cm, int argc, char **argv, char *args)
 {
-	if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ALL))
-		talker_who(0);
-	else
-		who_list(0);
+	who_list(0);
 }
 
 void t_what(CommandList *cm, int argc, char **argv, char *args)
@@ -708,33 +705,6 @@
 	update_user(user,userposn);
 }
 
-void t_mudmode(CommandList *cm, int argc, char **argv, char *args)
-{
-	int z=BoolOpt(argv[1]);
-	unsigned long mm=cp_flags(user->chatprivs,CP_MUD,CM_MODE_ALL);
-
-	if (z==1)
-	{
-		if (!mm)
-		{
-			user->chatprivs=cp_flags(user->chatprivs,CP_MUD,CM_MODE_SET);
-			display_message("MUD mode Enabled.", 1, 1);
-		}else
-			display_message("Already in MUD mode.", 1, 1);
-	}else
-	if (z==0)
-	{
-		if (mm)
-		{
-			user->chatprivs=cp_flags(user->chatprivs,CP_MUD,CM_MODE_CLEAR);
-			display_message("MUD mode Disabled.", 1, 1);
-		}else
-			display_message("You are not in MUD mode.", 1, 1);
-	}else
-		printf("%s\n",cm->ArgError);
-	update_user(user,userposn);
-}
-
 /* SCRIPT HELP function */
 void t_scrhelp(CommandList *cm, int argc, char **argv, char *args)
 {
@@ -1446,7 +1416,7 @@
 	else
 		snprintf(mtext,MAXTEXTLENGTH-1,"\03310%s has just joined talker room %d",user->name, user->room);
 	snprintf(text,MAXTEXTLENGTH-1,"\03310%s has just joined talker room %d",user->name, user->room);
-	if (!quietmode) talk_send_rawbcast(text); /*talk_send_mud(text,mtext,3,0);*/
+	if (!quietmode) talk_send_rawbcast(text);
 	printf("\nNow entering the Talker. Use \".quit\" to leave and \".help\" for help.\n");
 
 	/* run the common stuff for entering the talker */
@@ -1504,7 +1474,6 @@
 	if (cp_flags(user->chatprivs,CP_SUMMON,CM_MODE_ANY)) rights|=0x0080;
 	if (cp_flags(user->chatprivs,CP_SPY,CM_MODE_ANY)) rights|=0x0100;
 	if (cp_flags(user->chatprivs,CP_SCRIPT,CM_MODE_ANY)) rights|=0x0200;
-	if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ANY)) rights|=0x0400;
 	if (u_god(user->status)) rights|=0x0800;
 	if (cp_flags(user->chatprivs,CP_ADVSCR,CM_MODE_ANY)) rights|=0x1000;
 	if (cp_flags(user->chatprivs,CP_DEVEL,CM_MODE_ANY)) rights|=0x2000;

Modified: branches/nomud/src/talker.h
===================================================================
--- branches/nomud/src/talker.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/talker.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -35,7 +35,6 @@
 void t_ungag(CommandList *cm, int argc, char **argv, char *args);
 void t_zod(CommandList *cm, int argc, char **argv, char *args);
 void t_mrod(CommandList *cm, int argc, char **argv, char *args);
-void t_mudmode(CommandList *cm, int argc, char **argv, char *args);
 void t_kick(CommandList *cm, int argc, char **argv, char *args);
 void t_remove(CommandList *cm, int argc, char **argv, char *args);
 void t_ignore(CommandList *cm, int argc, char **argv, char *args);

Modified: branches/nomud/src/talker_privs.c
===================================================================
--- branches/nomud/src/talker_privs.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/talker_privs.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -490,7 +490,7 @@
 		else
 			snprintf(mtext,MAXTEXTLENGTH-1,"\03310%s has just joined talker room %d",user->name, user->room);
 		snprintf(text,MAXTEXTLENGTH-1,"\03310%s has just joined talker room %d",user->name, user->room);
-		if (!quietmode) talk_send_rawbcast(text); /*talk_send_mud(text,mtext,3,0);*/
+		if (!quietmode) talk_send_rawbcast(text);
 
 		printf("\nNow entering the Talker. Use \".quit\" to leave and \".help\" for help.\n");
 
@@ -535,7 +535,6 @@
 	if (cm & CP_SUMMON) strcat(s, "S");
 	if (cm & CP_SPY) strcat(s, "Y");
 	if (cm & CP_SCRIPT) strcat(s, "s");
-	if (cm & CP_MUD) strcat(s, "m");
 	if (cm & CP_ADVSCR) strcat(s, "A");
 	if (cm & CP_DEVEL) strcat(s, "D");
 	return (s);
@@ -555,7 +554,6 @@
 	if (cp & CP_SUMMON) tmp[i++]='S'; else if (flag) tmp[i++]='-';
 	if (cp & CP_SPY) tmp[i++]='Y'; else if (flag) tmp[i++]='-';
 	if (cp & CP_SCRIPT) tmp[i++]='s'; else if (flag) tmp[i++]='-';
-	if (cp & CP_MUD) tmp[i++]='m'; else if (flag) tmp[i++]='-';
 	if (cp & CP_ADVSCR) tmp[i++]='A'; else if (flag) tmp[i++]='-';
 	if (cp & CP_DEVEL) tmp[i++]='D'; else if (flag) tmp[i++]='-';
 
@@ -583,7 +581,6 @@
 			case 'S': p=p|CP_SUMMON;break;
 			case 'Y': p=p|CP_SPY;break;
 			case 's': p=p|CP_SCRIPT;break;
-			case 'm': p=p|CP_MUD;break;
 			case 'A': p=p|CP_ADVSCR;break;
 			case 'D': p=p|CP_DEVEL;break;
 		};

Modified: branches/nomud/src/talker_privs.h
===================================================================
--- branches/nomud/src/talker_privs.h	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/talker_privs.h	2009-12-06 17:46:17 UTC (rev 1116)
@@ -39,7 +39,6 @@
 #define CP_SUMMON	0x00000080
 #define CP_SPY		0x00000100
 #define CP_SCRIPT	0x00000200
-#define CP_MUD		0x00000400
 #define CP_ADVSCR	0x00000800
 #define CP_DEVEL	0x00001000
 #define CP_PROTMASK	0x0000E000

Modified: branches/nomud/src/who.c
===================================================================
--- branches/nomud/src/who.c	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/src/who.c	2009-12-06 17:46:17 UTC (rev 1116)
@@ -159,28 +159,9 @@
 					mask&= ~(CM_PROTECTED);
 				else if (u.chatmode & CM_PROTMASK)
 					mask |= CM_PROTECTED; /* looks like temp protect */
-				if (cp_flags(user->chatprivs,CP_MUD,CM_MODE_ALL))
-				{
-					if (!strcmp(u.name, user->name))
-					{
-						if (myroom.name != NULL)
-						{
-							if(myroom.hidden>0)
-								snprintf(u.doing,DOINGSIZE, "------");
-							else
-								snprintf(u.doing,DOINGSIZE, "Room %d",u.room);
-						}
-						else
-							snprintf(u.doing,DOINGSIZE, "Room %d",u.room);
-					}
-					else if (myroom.hidden>0 && u.room==user->room)
-						snprintf(u.doing,DOINGSIZE, "------");
-					else
-						snprintf(u.doing,DOINGSIZE, "Room %d",u.room);
-				}
-				else
-					snprintf(u.doing,DOINGSIZE, "Room %d",u.room); 
 
+				snprintf(u.doing,DOINGSIZE, "Room %d",u.room);
+
 				off=strlen(u.doing);
 				snprintf(&u.doing[off],DOINGSIZE-off," (");
 				/* Show chatmode flags */

Deleted: branches/nomud/talkhelp/mudmode
===================================================================
--- branches/nomud/talkhelp/mudmode	2009-12-06 17:01:29 UTC (rev 1115)
+++ branches/nomud/talkhelp/mudmode	2009-12-06 17:46:17 UTC (rev 1116)
@@ -1,14 +0,0 @@
-NAME
-     mudmode - Toggle MUD Mode - allow MUD extensions
-
-SYNOPSIS
-     mudmode on | off
-
-DESCRIPTION
-     Enables/disables the Multi User Dungeon (MUD) element of Milliways. When
-     enabled, you can go on an adventure through the Milliways virtual world.
-     
-     In mudmode, use the [verbose command to change between the
-     normal and MUD talker prompt.
-
-     For help on MUD Mode commands, use [help.
\ No newline at end of file




More information about the mw-devel mailing list