Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
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 (as described in § 15.5.1, page ). In this mode 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 or 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.