anchor.diff:  			send_query(change_prompt(P#dp{buffer = []}),lists:reverse(P#dp.buffer));
   		{commit,B} ->
   			cmd(cmd(P,<<>>,commit),B);
  +		_ when P#dp.curdb == actordb ->
  +			append(P,Bin);
  +		% Let actordb deal with it, unless it is config db
  +		{fail,_} when P#dp.curdb /= config andalso (P#dp.wait orelse P#dp.curdb == schema)  ->
  +			append(P,Bin);
  +		{fail,_} ->
  +			print(P,"Unrecognized command.");
  +		R when element(1,R) == show ->
  +			cmd_show(P,R);
  +		{actor,Type,SubType} ->
  +			cmd_actor(P,{actor,Type,SubType},Bin);
   		% create_table ->
   		% 	change_prompt(cmd_create(P,Bin));
   		R when element(1,R) == select ->
  
positive.code: 	cmd(P,Bin,actordb_sql:parse(Bin)).
  cmd(P,Bin,Tuple) ->
  	case Tuple of
  		% Let actordb deal with it, unless it is config db
  		{fail,_} when P#dp.curdb /= config andalso (P#dp.wait orelse P#dp.curdb == schema)  ->
  			append(P,Bin);
  		{fail,_} ->
  			print(P,"Unrecognized command.");
  		{use,Name} ->
  			case string:to_lower(binary_to_list(Name)) of
  				"actordb" ->
  
negative.code: % - if yes, print standard commands
  
  -define(COMMANDS,delim()++"Databases:\n"++
  "use config (use c)  initialize/add nodes and user account management\n"++
  "use schema (use s)  set schema\n"++
  "use actordb (use a) (default) run queries on database\n"++
  delim()++
  "Commands:\n"++
  "open         (windows only) open and execute .sql file\n"++
  "q            exit\n"++
  "h            print this header\n"++
  "commit (c)   execute transaction\n"++
  "rollback (r) abort transaction\n"++
  "print (p)    print transaction\n"++delim()).
  
  delim() ->
  	"*******************************************************************\n".
  