next up previous contents index
Next: The ``Shell" Client Up: Internals Previous: Transmitting Events

Suppressing Stand-Alone Client Behavior


  As described in § 13.5.1, page gif, if a Glish client is run without being given the special arguments telling it how to connect to the Glish interpreter, and if it is given the -glish argument, then it runs in a ``stand-alone" mode in which any text appearing on stdin is interpreted as an incoming event, and any events generated are written in text form on stdout.

This behavior can be annoying when the client uses stdin or stdout for a different purpose, or generates large events that you don't want to look at in text form, or is to be placed in the background (which can result in the client being ``stopped" by the terminal driver because its stdin disappears). For this reason, by default ``stand-alone'' is not enabled, and the   -noglish argument confirms this default; the client will not see any inbound events nor create any output when it generates events. To enable the stand-alone reading of events from stdin and writing events to stdout, you must invoke the client with the   -glish flag.

Thu Nov 13 16:44:05 EST 1997