relocate examples
export GOSH_DIR, GOSH_PATH, and GOSH_SCRIPTS

This allows submenus.
GS1 -> GOSH_PROMPT
flush_stdin -> drain_stdin

More portable without messing with terminal line settings.