Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re: A new package.


From   "David Harrison" <[email protected]>
To   <[email protected]>
Subject   RE: st: Re: A new package.
Date   Mon, 13 Feb 2006 10:13:48 -0000

You hit on the reason exactly yourself... It is *run* as a normal
do-file, so type -nois njc-

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Neil Shephard
Sent: 13 February 2006 10:01
To: [email protected]
Subject: Re: st: Re: A new package.

This is very much in the vein of the UNIX command 'fortune'  which is
often used to provide little welcome messages to when people log into a
system (one reference being http://www.redellipse.net/code/fortune).

I therefore thought it would be nice to have a comment displayed on
starting, and I thought that adding the following to the end of my
~/bin/profile.do would do just that...

----------------start profile.do-------------------- quietly{ adopath ++
"~/ado/updates"
adopath +  "~/ado/new"
}
njc

-----------------end profile.do--------------------

...but to no avail.

Any suggestions as to why this?

Setting -set trace on- on the line after the closing '}' and before
-njc- shows that the call is made and the file parsed, but I can't the
message shown.

-man profileu- indicates that it is run and sourced exactly as a normal
do-file, the only difference being that it is automatically sourced upon
starting Stata, so why are the results ommited?

. about

Stata/SE 9.1 for Unix
Born 20 Jan 2006
Copyright (C) 1985-2006


Thanks in advance,

Neil

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index