Re: configuration persistence?

Paul Jimenez <[email protected]>
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
Yeah, I'd found the 'commandchar' variable, but setting it
in my .ini file doesn't work.  When I try it, then start 
up lyntin, I get:

#config                                                                                             
lyntin: Commandline:                                                                                
lyntin:    commandchar      /                                                                       
lyntin:    datadir          /home/pj/.lyntin/data/                                                  
lyntin:    moduledir        /home/pj/.lyntin/modules                                                
lyntin:    readfile         (None)                                                                  
lyntin:    snoopdefault     1                                                                       
lyntin:    ui               text                                                                    
lyntin: Global:                                                                                     
lyntin:    ansicolor        on (bool)                                                               
lyntin:    commandchar      '#' (char)                                                              
lyntin:    datadir          '/home/pj/.lyntin/data/' (string)                                       
lyntin:    debugmode        off (bool)                                                              
lyntin:    mudecho          on (bool)                                                               
lyntin:    promptdetection  off (bool)                                                              
lyntin:    repeathistory    on (bool)                                                               

Note the double definition of 'commandchar'. My ini file looks like:

[Lyntin]
datadir:   /home/pj/.lyntin/data
moduledir: /home/pj/.lyntin/modules
commandchar: /

Is there a way to specify a file to be /read on startup?
Then I could just put '#config commandchar /' in that file.

  --pj


On Thursday, Apr 15, 2004, will guaraldi writes:
>
>There's no way to write out the configuration information.  Just add it to
>your ini file by hand.  The config property for the command character is
>"commandchar".  You can tell by starting up Lyntin and typing
>"#config"--this will list all the ocnfig properties that are currently
>present and what their current values are.
>
>Then you can type "#config commandchar" and it'll give you a bit more
>description.
>
>There's more help in "#help config".
>
>Hope that helps--
>/will
>
>
>On Thu, 15 Apr 2004, Paul Jimenez wrote:
>>
>> I'm probably missing something, but I can't figure out how
>> to write out my existing configuration to a .ini file, and
>> I also can't figure out what the variable name in the config
>> file is to set my commandchar.  Thanks for any help!
>>
>>   --pj
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of
>GenToo technologies. Learn everything from fundamentals to system
>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
>_______________________________________________
>Lyntin-devl mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/lyntin-devl
>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.