Method. Waits until the specified string plus the host prompt character is received in the incoming datastream. The HP host prompt character (typically a DC1 character that follows the MPE colon prompt) indicates that the host is ready to receive input. If no host prompt character is being used or the host prompt is disabled (with Inhibit handshake and Inhibit DC2 in the Advanced HP Terminal Items dialog box of the Terminal Setup dialog box), this method waits for only the specified string, acting exactly like the waitForString method. You can configure which host prompt character to wait for, and whether the host prompt character is used, with the Host prompt and Use host prompt options in the Advanced HP Terminal Items dialog box of the Terminal Setup dialog box.
public boolean waitForHostPrompt(String inString,long timeout)