[comp.lang.pascal] Redefining prompt after push to operating system

pilgrimk@lafcol.UUCP (Kenwyn A. Pilgrim) (03/19/89)

If any of you out there are familiar with Word Perfect, you'd
realise that the prompt is redefined when the command to push to OS
is executed.

It is done from within word perfect

New prompt is:

"type EXIT to return to word perfect"
 along with whatever the prompt was defined as before. (e.g. C:\WP>)

Is it possible to do the same in TP40 (I don't have TP50
but if it's possible in 5.0 please post as well)?

Algorithm may look like
 GetPrompt;
 SetPrompt OldPrompt+Whatever must be added.
 PushToDos

Thanks
-Kenwyn