/*
 * This file is part of the OLH system.
 *
 *      Lucien Van Elsen
 *	MIT Project Athena
 *
 * Copyright (C) 1990 by the Massachusetts Institute of Technology.
 * For copying and distribution information, see the file "mit-copyright.h".
 *
 *	$Source: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/ascii/olc.c,v $
 *	$Id: olc.c,v 1.1 1993/10/12 05:45:01 probe Exp $
 *	$Author: probe $
 */

#ifndef lint
#ifndef SABER
static char *RCSid = "$Header: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/ascii/olc.c,v 1.1 1993/10/12 05:45:01 probe Exp $";
#endif
#endif

#include "olh.h"

void
  invoke_olc()
{
  set_current_screen(SCR_VIEW);
  
  nocbreak();
  echo();
  
  fprintf(stdout, "Calling the On-Line Consulting system...\n\n");
  system("/usr/athena/olc");
  
  cbreak();
  noecho();
  
  wait_for_key(win_view_wait);
  set_current_screen(SCR_PRIM);
}
