Tinyfugue

by Alger

Back to Mechanic's Corner.

Alger2004-12-16 06:16:40
How many people use tf?

Just that if anybody needs help with it, while i wouldnt say im an expert, i still would be willing to help. What do i ask in return? Nothing really, just that I think having something like a support group for lusternian tf systems would be good. Gathering different ideas for dealing with scenarios and such in a tf environment.
Simimi2007-02-01 06:42:45
I use it, until the client I am coding is done.
Unknown2007-02-01 18:27:22
Heheh... I don't think Alger is around anymore. I've tried to use tf but even just connecting to Lusternia through Terminal is hard for me sad.gif
Veonira2007-02-01 19:57:03
Are you on a Mac? I use TF on a mac at the moment, if you need help I can try, or else I would suggest asking Deas because he's probably more familiar with it than I am.
Unknown2007-02-02 04:08:47
Yep, I use a Mac, though I'm sticking with Atlantis for now... it's slow-ish and cruddy for fighting/system-making without good knowledge of Perl (well, you probably already know about it), but it's okay otherwise... I think.
Veonira2007-02-02 14:52:07
QUOTE(Shou @ Feb 1 2007, 11:08 PM) 379647
Yep, I use a Mac, though I'm sticking with Atlantis for now... it's slow-ish and cruddy for fighting/system-making without good knowledge of Perl (well, you probably already know about it), but it's okay otherwise... I think.


I've found tinyfugue to be much faster, Atlantis gets a little laggy for me especially in combat, and I don't know enough perl for any sort of system atm. I use it on my laptop though, as I can't be bothered to install TF on that tongue.gif.
Deas2007-02-09 21:45:11
I got bwbettin's old system. It's outdated, but a damn nice reference when it comes to TF scripting.
Also I don't think that there's ANY difference between mac TF and a pc unix TF(theres some annoying limitations in the windows port). On that note, TF got really good documentation, it covers -everything-, just a bit hard to read for the less technical(or unused) people.
Gandal2007-02-10 02:18:36
And I was thinking that you were talking about some obscure bard skill. doh.gif
Neerth2007-02-10 05:08:56
I use TinyFugue from a Mac as well. Been quite a positive experience really - powerful scripting, and no latency despite the fact that I trigger everything on every prompt and message (yeah I know).
Unknown2007-02-11 16:32:48
Considering how many near-death experiences I've had with Atlantis, maybe I'll try tf again.

... if I can find out how to start it up. Ugh, why must they use those confusing brackets and syntaxes. You had to open Terminal first and then connect, or move the files around before doing that?

edit: scratch that... I can't even get it to install. I do 'cd tinyfugue' to get into the tinyfugue folder then use ./configure, and then get an error
CODE
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I'm assuming that's what you're supposed to do, since the README files assume the user knows how to use do these kind of things. *total noob*
Veonira2007-02-11 16:50:35
I open up TF by navigating to the folder my tf/tfrc files are in on my computer, and then using ./tf to run the program.

My only complaint about TF coding is how damn picky it is about spacing sometimes.
Neerth2007-02-11 23:49:27
QUOTE(Shou @ Feb 11 2007, 08:32 AM) 382291
Considering how many near-death experiences I've had with Atlantis, maybe I'll try tf again.

... if I can find out how to start it up. Ugh, why must they use those confusing brackets and syntaxes. You had to open Terminal first and then connect, or move the files around before doing that?

edit: scratch that... I can't even get it to install. I do 'cd tinyfugue' to get into the tinyfugue folder then use ./configure, and then get an error
CODE
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I'm assuming that's what you're supposed to do, since the README files assume the user knows how to use do these kind of things. *total noob*

Yeah, that part was a pain for me too. What you can do is download "xtools" or something like that from the Apple Developer's web site (it's included in your purchase of a Mac OS, just doesn't install automatically because few people use it). xtools has the c compiler, after which you can run ./configure .
Veonira2007-02-12 00:03:24
Ah, sorry I replied before you edited your post. I had to download xtools as well in order to get it to work as well.
Unknown2007-02-18 18:39:03
All right, well I've now installed Xtools and successfully installed tf too. Now when trying to run it, I do CD TINYFUGUE, CD BIN, and then run ./tf

However, this comes up:
CODE
TinyFugue version 5.0 beta 8
Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005,
    2006-2007 Ken Keys (kenkeys@users.sourceforge.net)
Type `/help copyright' for more information.
Using PCRE version 2.08 31-Aug-1999
Type `/help', `/help topics', or `/help intro' for help.
Type `/quit' to quit tf.

% LC_CTYPE category set to "C" locale.
% LC_TIME category set to "C" locale.
% /Users/Andy/share/tf-lib/stdlib.tf: No such file or directory
Can't read required library.


The problem is this part I think: % /Users/Andy/share/tf-lib/stdlib.tf: No such file or directory, because when I move the folders bin and share into the 'Andy' directory, ./tf works.

So is there any way to change the path so that it goes /Users/Andy/tinyfugue/share? Since I like to keep all my files and folders in organized places. Aand is there a way to make tf start right away, without having to go through the folders, like an alias or something? Sorry for all the newbish questions, and thanks =D

P.S. transparency in Terminal = awesome!!!
Unknown2007-02-20 21:52:19
Mmkay, so it's not that bad if I have to leave the shared folder in my main directory, though it'd still be nice if there was a shortcut for it biggrin.gif

Been reading the newbie guide to tf and I'm starting to get the gist of it now... however, I'm wondering if tf has a way of organizing all the triggers and macros into groups? Kind of like how Rapscallion allowed you to, I really miss that feature. And better yet, is there a way to show separate 'palettes' or windows showing those aliases and triggers?

Oh and how do you use .tfrc to automatically load things on start up? Is it making a text file with just the .tfrc extension and writing the commands in there? *confused*

Note: Oh finally, managed to reliably save my macros and world files, though I'm not sure where they go to. The stlib.tf file? And how come there is a tf-lib folder in the 'share' folder -and- 'tinyfugue folder'? Which one is being used for all the saving and loading? Uugh so many questions, and I can only read the user guide for minutes at a time before getting dizzy :S
Neerth2007-02-22 06:52:25
QUOTE(Shou @ Feb 20 2007, 01:52 PM) 384912
... however, I'm wondering if tf has a way of organizing all the triggers and macros into groups? Kind of like how Rapscallion allowed you to, I really miss that feature. And better yet, is there a way to show separate 'palettes' or windows showing those aliases and triggers?

Oh and how do you use .tfrc to automatically load things on start up? Is it making a text file with just the .tfrc extension and writing the commands in there? *confused*

Note: Oh finally, managed to reliably save my macros and world files, though I'm not sure where they go to. The stlib.tf file? And how come there is a tf-lib folder in the 'share' folder -and- 'tinyfugue folder'? Which one is being used for all the saving and loading? Uugh so many questions, and I can only read the user guide for minutes at a time before getting dizzy :S

Here's what I do - sort of a workaround to all of the issues you mentioned.

In my terminal application, I have the following line automatically loaded (in my .bash_proflile - other people's config files can have different names):
CODE
alias lusternia='~/bin/tf -f~/Lusternia/Macros/master.txt'

So when I type "lusternia" at the command line, it starts TinyFugue and automatically loads the file master.txt - which contains things like:
CODE
/telnet lusternia.com 23
/lcd ~/Lusternia/Macros
/load astrology.txt
/load curing.txt
/load debating.txt
...

So now the connection to Lusternia is automatically opened, and all my various macros and triggers are loaded - note that I force it with the "lcd" command to look in a particular directory that I made up (I couldn't figure out where it was looking either). With this setup, I can group my macros/triggers into lots of different .txt files, to make it easier for me to develop them.

Hope this has been of some help! Send me a PM if you have questions, or just post em here.
Isuka2007-02-23 00:40:06
I use TF to connect to Lusternia, and after having used it for a while I can't imagine switching to anything else.

As a note: I have a fairly advanced knowledge of TF's scripting, so if anyone needs assistance feel free to contact me.
Neerth2007-02-23 04:49:38
Shou asked me this question privately but I thought the answer might be useful for everyone.

QUOTE
Was meaning to ask ... is there a way to keep the commands in the prompt instead of having to re-type the same command over and over again?

You can use up-arrow and down-arrow to scroll at will through your command history.

In fact, put this macro definition in one of your macro files if you want:

CODE
/def keys = \\
    /echo -paCblue $
Isuka2007-02-23 07:31:06
As a reference: everyone should bother to load kbstack.tf. It is a file from the standard included libraries.

If you're in the middle of typing something, and for some reason you have to stop and type something else, you can hit ESC+down and the line will be saved in memory, and cleared. Once you're ready to go back to typing, you hit ESC+up and your line will return at the point you left off. I've found it essential while typing long lines (descriptions, for example).
Neerth2007-02-23 20:16:13
QUOTE(Isuka @ Feb 22 2007, 11:31 PM) 385392
As a reference: everyone should bother to load kbstack.tf. It is a file from the standard included libraries.

If you're in the middle of typing something, and for some reason you have to stop and type something else, you can hit ESC+down and the line will be saved in memory, and cleared. Once you're ready to go back to typing, you hit ESC+up and your line will return at the point you left off. I've found it essential while typing long lines (descriptions, for example).

worthy.gif