/*
 * This file is part of some an snmp query application.
 * This file contains miscellaneous commands.
 *
 * Copyright 1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 *
 * Tom Coppeto
 * MIT Network Services
 * 15 April 1990
 *
 *    $Source: /afs/net.mit.edu/tools/src/simon/RCS/misc.c,v $
 *    $Author: tom $
 *    $Locker:  $
 *    $Log:	misc.c,v $
 * Revision 1.1  90/07/20  21:17:38  tom
 * Initial revision
 * 
 *
 */

#ifndef lint
static char *rcsid = "$Header: /afs/net.mit.edu/tools/src/simon/RCS/misc.c,v 1.1 90/07/20 21:17:38 tom Exp $";
#endif
		
#include <simon.h>
#include <mit-copyright.h>
	
/*
 * random commands
 */

	
void 
cmd_quit(argc, argv)
     int argc;
     char **argv;
{
  ss_quit(argc, argv);
}



void
cmd_clear(argc, argv)
     int argc;
     char **argv;
{
  int i;
  
  srandom((int) time((long *) 0));

  for(i=0; i < BUF_SIZE*10; i++)
    putchar((char) (random() % 200));
}

  

/*
 * Function:    null()
 */

void 
null(argc, argv)
     int argc;
     char **argv;
{
  if(**argv)
    printf("Are you really that bored?\n");
  else
    printf("\"\"\"\n");
  return;
}
