That's kinda what I guessed. Viz by modifying: main_init_jgtkide_
On Mon, Feb 14, 2011 at 4:02 AM, bill lam <[email protected]> wrote: > gtkide will run jfe 1 during booting and only after that will smoutput > redirect to Term. So that you need to put motd after that jfe. > > Пнд, 14 Фев 2011, Ian Clark писал(а): >> smoutput in startup.ijs causes a message to appear in jconsole, >> whether running JCON, JHS or JGTK. >> (...which weakly satisfies your original request). >> But I've only verified this for the Mac. >> >> bin/jgtk.command contains the text: >> #!/bin/sh >> "`dirname "$0"`/jconsole" gtkide >> >> so my guess is that by the time gtkide gets run, startup.ijs has >> already been loaded and has had time to perform its definitions and >> overrides. >> So it would be up to the "gtkide" function (main_jgtkide_ ??) to look >> for a welcome noun or verb. >> >> >> >> On Mon, Feb 14, 2011 at 3:23 AM, Ric Sherlock <[email protected]> wrote: >> > Yes I was thinking along similar lines. >> > >> > Each of the JFEs could set an appropriate message in Welcome_j_. >> > >> > The Welcome_j_ non could be overwritten by the user's various >> > startup.ijs scripts (unless this gets run before the JFE scripts - I >> > need to check) >> > >> > Depending on the setting of ShowWelcome in ~config/base.cfg the >> > Welcome_j_ noun gets displayed in the session (jconsole/Term/jijx >> > window). >> > >> > On Mon, Feb 14, 2011 at 4:05 PM, Ian Clark <[email protected]> wrote: >> >> How about smoutputting the noun WELCOME if it is present, and not >> >> otherwise? >> >> >> >> Maybe also executing: welcome'' >> >> >> >> The user could define or override either of these words in startup.ijs >> >> >> >> >> >> >> >> On Mon, Feb 14, 2011 at 2:21 AM, Ric Sherlock <[email protected]> wrote: >> >>> I think it would be good to have a default "Welcome message" >> >>> (especially for jconsole). >> >>> >> >>> It just needs to be something simple to let the user know they are in >> >>> a Jconsole session and how to exit. IME there is nothing worse than >> >>> knowing you are in some application, but not knowing what it is or how >> >>> to get out of it! >> >>> >> >>> Obviously the Welcome message would be able to be turned off, for >> >>> example using an option in ~config/base.cfg ( ShowWelcome=: 0 ) >> >>> ---------------------------------------------------------------------- >> >>> For information about J forums see http://www.jsoftware.com/forums.htm >> >>> >> >> ---------------------------------------------------------------------- >> >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> > >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
