TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

TinTin++ 1.98.1

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    The TinTin++ message board Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sun Apr 06, 2008 9:07 pm    Post subject: TinTin++ 1.98.1 Reply with quote


  • The command history is no longer automatically saved to file.
  • Added the #history read, and #history write options.
  • Braces in trigger arguments are now translated to \x codes.
  • Added the #line {gag|log} option to replace #gagline and #logline commands.
  • Added the 'program termination' and 'received line' events.
  • Fixed various bugs and typos that were reported.


To add scripted support to save and load the history file:

On startup before launching any sessions:

Code:

#script echo "#var HOME $HOME"

#history read $HOME/.tt_history

#event {PROGRAM TERMINATION} {#history write $HOME/.tt_history}


Or to simply put the history file in the launch directory:

Code:

#history read .tt_history

#event {PROGRAM TERMINATION} {#history write .tt_history}
Back to top
View user's profile Send private message Send e-mail
titeuf



Joined: 29 Jul 2006
Posts: 84

PostPosted: Mon Apr 07, 2008 5:20 am    Post subject: Reply with quote

Looks like #high is slightly broken now:
Code:

#high Drake  {bold red}
#HIGHLIGHT: VALID COLORS ARE:

reset, bold, light, faint, dim, dark, underscore, blink, reverse, black, red,
green, yellow, blue, magenta, cyan, white, b black, b red, b green, b yellow, b
blue, b magenta, b cyan, b white

it doesn't accept the combination of bold and red (and probably other combinations too)

Also, I wanted to try out the received line event, so first thing I do to try it out is the following:
Code:

#event {received line} {#showme test}

and I get a segmentation fault:
Code:

...
DEBUG_STACK[018] = parse_tintin_command(0x80d5550,showme test)
DEBUG_STACK[019] = [achaea] do_one_line(0x74,0x80d5550)
DEBUG_STACK[020] = [achaea] parse_input(0x80d5550,#showme test)
...

granted, this was probably a bad use of that event, but it shouldn't crash like that.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Mon Apr 07, 2008 11:40 am    Post subject: Reply with quote

I fixed it and uploaded a new file for the source code, linux binary, and wintin++. Looks like keyword abbreviation isn't an easy matter for highlights.

os x people will have to compile from source, assuming that's not an issue.
Back to top
View user's profile Send private message Send e-mail
louipc



Joined: 16 Jul 2006
Posts: 65

PostPosted: Wed Apr 09, 2008 12:24 am    Post subject: Reply with quote

Extra closing parenthesis on line 293 of misc.c causes compilation to fail.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Apr 09, 2008 7:54 am    Post subject: Reply with quote

Thanks, only affects people using BIG5, so I'll leave it be till the next release.
Back to top
View user's profile Send private message Send e-mail
murlyn



Joined: 17 Sep 2007
Posts: 27

PostPosted: Wed Apr 09, 2008 2:43 pm    Post subject: Re: TinTin++ 1.98.1 Reply with quote

Scandum wrote:
To add scripted support to save and load the history file:

On startup before launching any sessions:

Code:

#script echo "#var HOME $HOME"

#history read $HOME/.tt_history

#event {PROGRAM TERMINATION} {#history write $HOME/.tt_history}


Or to simply put the history file in the launch directory:

Code:

#history read .tt_history

#event {PROGRAM TERMINATION} {#history write .tt_history}


Ok do I need to manually type these in every single time I startup tintin? or is there some configuration file that tintin grabs when starting up? Right now every time I want to load my config file I actually have to type out #read blah/blah.tin for it to load up my mud, while before, I just typed #rea then the up arrow and it would fill that in for me...

Maybe there is an easy way so that right when I startup tintin it loads my config file automatically and connects to the only mud I play? I could then put in the history read and write without a problem...

Any help with this would be appreciated Smile
Back to top
View user's profile Send private message
louipc



Joined: 16 Jul 2006
Posts: 65

PostPosted: Wed Apr 09, 2008 5:57 pm    Post subject: Reply with quote

I just type:
tt++ myscript.tt

myscript.tt loads everything I need. I have about 50 other scripts that get loaded from there.

The command line options:
Usage: tt++ [-v] [file] [-e "command"] [-r file] [-t title]

I have no idea what -v or -t are supposed to do though.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Apr 09, 2008 6:33 pm    Post subject: Reply with quote

If you want it even shorter than that edit a file name 'tt' or something of that order and put the following in it:

./tt++ blah/blah.tin

in the command line type: chmod 700 tt

Then type ./tt to launch tintin while automatically loading your files.

louipc wrote:
Usage: tt++ [-v] [file] [-e "command"] [-r file] [-t title]

I have no idea what -v or -t are supposed to do though.

-v = verbose
-t = sets the window title.
Back to top
View user's profile Send private message Send e-mail
murlyn



Joined: 17 Sep 2007
Posts: 27

PostPosted: Fri Apr 11, 2008 4:28 pm    Post subject: Reply with quote

Ah I see, thanks, yeah I think that will work for me and hopefully it will work with my history also. So what was the reasoning of removing the history in this version and doing it the way you are currently doing it?

I wonder why this board isn't notifying me of responses Sad
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sat Apr 12, 2008 11:38 am    Post subject: Reply with quote

The main reasons are portability, privacy (passwords and other information might be stored), and the ability to define your own location to keep the history file.

Some people might simply want to load a custom file of history entries that they want to use.

Email notifications aren't working because the board doesn't send emails, I never figured out why.
Back to top
View user's profile Send private message Send e-mail
murlyn



Joined: 17 Sep 2007
Posts: 27

PostPosted: Mon Apr 14, 2008 11:19 am    Post subject: Reply with quote

I see.. ok. Hopefully one of these days emails start working again. Smile Not that it's a big deal, but Im so used to forums that I post on emailing me.. that it's only when I remember to come back and check if there are any answers to my questions that I get answers Smile Again not a big deal.. I would much rather actually get answers then post and never be notified because no one answered! Smile

Thanks for your hard work on this program.. there are absolutely no good mud clients for the Mac, until I found tintin.. and tintin is amazing, so thank you!

Oh btw.. I have noticed that the in program help and the online help are quite a bit different and some missing on the online help, like #history for example or any of the newer things you have put in. I just wanted to let you know incase you forgot about the online manual.. If you haven't and it's just a time issue, then gotcha.. I know how that goes Smile
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Mon Apr 14, 2008 5:47 pm    Post subject: Reply with quote

Thanks Blink

I've kind of neglected the online manual, but I'm planning to go through it and update all of the entries when I have the time.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    The TinTin++ message board Forum Index -> Announcements All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group