Changes the default prompt to "ok".

Mike says the whole idea of a current device was a bad idea in first place,
and will be doing away with currdev.

Anyway, people are not supposed to even notice this. :-)
This commit is contained in:
Daniel C. Sobral 1999-11-01 08:05:22 +00:00
parent 47f6c74e96
commit 3206c41a3c
1 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,9 @@ interact(void)
*/
printf("\nType '?' for a list of commands, 'help' for more detailed help.\n");
if (getenv("prompt") == NULL)
setenv("prompt", "${currdev}>", 1);
setenv("prompt", "${interpret}\n", 1);
if (getenv("interpret") == NULL)
setenv("interpret", "ok", 1);
for (;;) {