[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] Re: Re: Where is the on-line archive?



Robert A. Schmied wrote:
jecxz112 wrote:


All of those packages were installed on Ubuntu - and I finally by trial and error found some fonts
that seemed to do the trick.
For the record:
/usr/share/fonts/truetype/freefonts/ FreeSans.ttf - FreeMono.ttf and FreeSerif.ttf.

so for Ubuntu linux you needed lines something like the following
in your $HOME/.gt/options file?

Path::Font::Arial    /usr/share/fonts/truetype/freefonts/FreeSans.ttf
Path::Font::Courier    /usr/share/fonts/truetype/freefonts/FreeMono.ttf
Path::Font::Times    /usr/share/fonts/truetype/freefonts/FreeSerif.ttf
That is correct

note the gt wiki page 'The user config file' (gt webpage box upper right)
discusses the $HOME/.gt/options file in some detail and specifically
addresses Ubuntu linux fonts. if these notes are mis-leading or wrong
you can correct them yourself provided you register and login.
I'm far too new at this to dare edit wikis unannounced  ;-)
In fact I have not been to the wiki as yet, though I will now have a look there as well.


Also, FWIW, the page first_use.html  shows

$ ./backtest.pl 'TFS[30,7,7]' 13000 | less

As a test. On my machine, I needed to omit the ticks.

the ticks are only *needed* if your shell considers something
in the string being quoted as a shell meta-character.
the culprit in this case are the square brackets (e.g. []),
in other cases it may be the curly brackets (e.g. {}). if you
has embedded spaces they also would need to be escaped ...
of course you can quote (in other words escape) the shell
meta-characters with a leading backslash (e.g. \)

 %  ./backtest.pl TFS\[30,7,7\] 13000

the csh is one shell that needs both squares and curlys escaped.
here, bash, sh, and ksh don't care about the squares. i didn't
look at the curlys.

the perplexing bit is that you had to remove them for ./backtest.pl
to work. i'm not seeing that here with any of the tested shells. maybe
there's an argument cleanup that removes them internally that is still
missing from the gt trunk version?

you do have the TFS[] alias defined in your $HOME/.gt/options file
something like this?

Aliases::Global::TFS[]    SY:TFS #1 #2|CS:SY:TFS #1|CS:Stop:Fixed #3
Yes I triple checked that line

and you are using the correct quote character (e.g. ')?
I believe Ubuntu is running bash.
I tried them both and eventually without; I have Ubuntu on some machines mainly for convenience because I need some of the features it offers and which Windows does not; other than that most of my time is spent under Windows, which is why the Linux way was my second try after failing with the Windows install and why I
was having such a time with it.

I'm sure for people running Linux, already long ago have installed many of the prerequisites for other reasons, but on a very new and clean system, things are
different.

--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml