1995-01-19 21:28:01 +00:00
|
|
|
/*
|
|
|
|
* prompt.c: Routines for retrieving and setting a prompt.
|
|
|
|
*
|
1995-05-30 05:51:47 +00:00
|
|
|
* Header: prompt.c,v 1.2 89/01/18 18:27:02 raeburn Exp
|
1995-01-19 21:28:01 +00:00
|
|
|
*
|
|
|
|
* Copyright 1987, 1988 by MIT Student Information Processing Board
|
|
|
|
*
|
|
|
|
* For copyright information, see copyright.h.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "copyright.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "ss_internal.h"
|
|
|
|
|
|
|
|
static const char rcsid[] =
|
|
|
|
"Header: prompt.c,v 1.2 89/01/18 18:27:02 raeburn Exp ";
|
|
|
|
|
1996-07-12 18:57:58 +00:00
|
|
|
void
|
1995-01-19 21:28:01 +00:00
|
|
|
ss_set_prompt(sci_idx, new_prompt)
|
|
|
|
int sci_idx;
|
|
|
|
char *new_prompt;
|
|
|
|
{
|
|
|
|
ss_info(sci_idx)->prompt = new_prompt;
|
|
|
|
}
|
|
|
|
|
|
|
|
char *
|
|
|
|
ss_get_prompt(sci_idx)
|
|
|
|
int sci_idx;
|
|
|
|
{
|
|
|
|
return(ss_info(sci_idx)->prompt);
|
|
|
|
}
|