[Top][All Lists]

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

Re: [Bug-gnubg] running commands at startup

From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] running commands at startup
Date: Wed, 15 Nov 2006 11:15:45 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20061025 Thunderbird/ Mnenhy/

Christian Anthon wrote:
> Hi all,
> this post is (I suppose) from Jon in the gammonline forum about how to
> run a default command script at startup:
> Re: Default gnubg settings
> Posted By: Jon
> Date: Wednesday, 15 November 2006, at 1:10 a.m.
> In Response To: Re: Default gnubg settings (Chase)
> 2) Yes - put any commands you like in a file called .gnubgrc in the
> same place as the .gnubgautorc settings file and it should work...
> However that doesn't quite work as the gtk interface is not finished
> when the script is loaded. For example, put the following in .gnubgrc
> new session
> and gnubg starts as expected when the user gets the first roll, but
> segfaults after a bunch of warnings when gnubg wins the initial roll.
> Perhaps we could move the loading of the script til just before
> gtk_main(), but I'm not sure if this has implications for other things
> you could do with .gnubgrc.

It was me...  And I thought things might not work.  I think we should
keep .gnubgrc for user settings changes and possibly add another file
.gnubgbatch or something that runs after everything is started?


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]