/**********************************************************************
 * do_go.c  -- SS command to switch to another meeting
 * tty lucy client using SS library
 *
 * $Author: brlewis $
 * $Source: /afs/athena.mit.edu/astaff/project/lucydev/src/tty/do_go.c,v $
 * $Header: /afs/athena.mit.edu/astaff/project/lucydev/src/tty/do_go.c,v 1.1 91/09/24 14:44:30 brlewis Exp Locker: brlewis $
 *
 * Copyright 1991 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 **********************************************************************/
#include <mit-copyright.h>

#ifndef lint
static char rcsid_do_go_c[] = "$Header: /afs/athena.mit.edu/astaff/project/lucydev/src/tty/do_go.c,v 1.1 91/09/24 14:44:30 brlewis Exp Locker: brlewis $";
#endif /* lint */

#include <stdio.h>
#include <ss/ss.h>
#include "lucy/lucy.h"
#include "lucy/memory.h"
#include "config.h"

void
do_go(argc, argv)
     int argc;
     char *argv[];
{
  if (argc == 2) {
    switch(argv[1][0]) {
    case 'a':
      luv_curmtgp = &luv_amtg;
      break;
    case 'b':
      luv_curmtgp = &luv_bmtg;
      break;
    case 'q':
      luv_curmtgp = &luv_qmtg;
      break;
    }
  }
  printf("Now in %s.\n", luv_curmtgp->info.long_name);
  return;
}
